Save file as .doc fails

I encountered the following problem with Libre Office.

  1. Opened file x.odt file without problem
  2. Saved the file as x.doc
  3. Closed the file
  4. Attempted to open the file x.doc and received the following message:

Version Incompatability. Incorrect file version.

Libre Office Version: 4.1.0.4, Build ID: 410m0(Build:4)

System running Kubuntu (Ubuntu 12.04 LTS):
OS Version: 3.2.0-51-generic
KDE SC Version: 4.8.5(4.8.5)

Processor:
Intel Celeron 900 @ 2.20Ghz

Memory: 3 Gb

Exiting and restarting Libre Office did not change the result.

This is what gdbtrace.log shows:

warning: Currently logging to gdbtrace.log.  Turn the logging off and on to make the new setting effective.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffe1a20700 (LWP 3025)]
[New Thread 0x7fffd5fc1700 (LWP 3026)]
[New Thread 0x7fffd57c0700 (LWP 3027)]
[New Thread 0x7fffcffff700 (LWP 3028)]
[New Thread 0x7fffcf1cc700 (LWP 3031)]
[Thread 0x7fffcf1cc700 (LWP 3031) exited]
[Thread 0x7fffd5fc1700 (LWP 3026) exited]
[New Thread 0x7fffd5fc1700 (LWP 3032)]
[Thread 0x7fffd5fc1700 (LWP 3032) exited]
[New Thread 0x7fffd5fc1700 (LWP 3033)]
[Thread 0x7fffd5fc1700 (LWP 3033) exited]
[New Thread 0x7fffd5fc1700 (LWP 3034)]

Program received signal SIGINT, Interrupt.
0x00007ffff3d8c313 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
87	../sysdeps/unix/sysv/linux/poll.c: No such file or directory.
#0  0x00007ffff3d8c313 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fffe07d9072 in ?? () from /usr/lib/libreoffice/program/libvclplug_kde4lo.so
#2  0x00007ffff2039036 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ffff2039164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fffdf1ef3bf in QEventDispatcherGlib::processEvents (this=0x622b60, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#5  0x00007fffde5ead5e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#6  0x00007fffe07d9e5a in ?? () from /usr/lib/libreoffice/program/libvclplug_kde4lo.so
#7  0x00007ffff68b8301 in Application::Yield(bool) () from /usr/lib/libreoffice/program/libmergedlo.so
#8  0x00007ffff68b83b7 in Application::Execute() () from /usr/lib/libreoffice/program/libmergedlo.so
#9  0x00007ffff5c10d71 in ?? () from /usr/lib/libreoffice/program/libmergedlo.so
#10 0x00007ffff68bf7b1 in ?? () from /usr/lib/libreoffice/program/libmergedlo.so
#11 0x00007ffff68bf7d2 in SVMain() () from /usr/lib/libreoffice/program/libmergedlo.so
#12 0x00007ffff5c3e085 in soffice_main () from /usr/lib/libreoffice/program/libmergedlo.so
#13 0x000000000040067b in ?? ()
#14 0x00007ffff3cc576d in __libc_start_main (main=0x400670, argc=2, ubp_av=0x7fffffffe0f8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffffffe0e8) at libc-start.c:226
#15 0x00000000004006b1 in ?? ()
#16 0x00007fffffffe0e8 in ?? ()
#17 0x000000000000001c in ?? ()
#18 0x0000000000000002 in ?? ()
#19 0x00007fffffffe3ec in ?? ()
#20 0x00007fffffffe415 in ?? ()
#21 0x0000000000000000 in ?? ()

Thread 9 (Thread 0x7fffd5fc1700 (LWP 3034)):
#0  0x00007ffff3d8c313 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fffde112940 in ?? () from /usr/lib/libreoffice/program/libvclplug_genlo.so
#2  0x00007ffff407a72f in ?? () from /usr/lib/libreoffice/program/../ure-link/lib/libuno_sal.so.3
#3  0x00007ffff2744e9a in start_thread (arg=0x7fffd5fc1700) at pthread_create.c:308
#4  0x00007ffff3d97ccd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7fffcffff700 (LWP 3028)):
#0  0x00007ffff3d8c313 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fffde12d432 in ?? () from /usr/lib/libreoffice/program/libvclplug_genlo.so
#2  0x00007fffde12d67f in ?? () from /usr/lib/libreoffice/program/libvclplug_genlo.so
#3  0x00007ffff407a72f in ?? () from /usr/lib/libreoffice/program/../ure-link/lib/libuno_sal.so.3
#4  0x00007ffff2744e9a in start_thread (arg=0x7fffcffff700) at pthread_create.c:308
#5  0x00007ffff3d97ccd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#6  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7fffd57c0700 (LWP 3027)):
#0  0x00007ffff3d98a7d in accept () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007ffff4074d8f in osl_acceptPipe () from /usr/lib/libreoffice/program/../ure-link/lib/libuno_sal.so.3
#2  0x00007ffff5c39b9e in ?? () from /usr/lib/libreoffice/program/libmergedlo.so
#3  0x00007fffeb063c06 in salhelper::Thread::run() () from /usr/lib/libreoffice/program/../ure-link/lib/libuno_salhelpergcc3.so.3
#4  0x00007fffeb063e6a in ?? () from /usr/lib/libreoffice/program/../ure-link/lib/libuno_salhelpergcc3.so.3
#5  0x00007ffff407a72f in ?? () from /usr/lib/libreoffice/program/../ure-link/lib/libuno_sal.so.3
#6  0x00007ffff2744e9a in start_thread (arg=0x7fffd57c0700) at pthread_create.c:308
#7  0x00007ffff3d97ccd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#8  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fffe1a20700 (LWP 3025)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:215
#1  0x00007ffff408141f in ?? () from /usr/lib/libreoffice/program/../ure-link/lib/libuno_sal.so.3
#2  0x00007ffff2744e9a in start_thread (arg=0x7fffe1a20700) at pthread_create.c:308
#3  0x00007ffff3d97ccd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7ffff7fad9c0 (LWP 3022)):
#0  0x00007ffff3d8c313 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fffe07d9072 in ?? () from /usr/lib/libreoffice/program/libvclplug_kde4lo.so
#2  0x00007ffff2039036 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ffff2039164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fffdf1ef3bf in QEventDispatcherGlib::processEvents (this=0x622b60, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#5  0x00007fffde5ead5e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#6  0x00007fffe07d9e5a in ?? () from /usr/lib/libreoffice/program/libvclplug_kde4lo.so
#7  0x00007ffff68b8301 in Application::Yield(bool) () from /usr/lib/libreoffice/program/libmergedlo.so
#8  0x00007ffff68b83b7 in Application::Execute() () from /usr/lib/libreoffice/program/libmergedlo.so
#9  0x00007ffff5c10d71 in ?? () from /usr/lib/libreoffice/program/libmergedlo.so
#10 0x00007ffff68bf7b1 in ?? () from /usr/lib/libreoffice/program/libmergedlo.so
#11 0x00007ffff68bf7d2 in SVMain() () from /usr/lib/libreoffice/program/libmergedlo.so
#12 0x00007ffff5c3e085 in soffice_main () from /usr/lib/libreoffice/program/libmergedlo.so
#13 0x000000000040067b in ?? ()
#14 0x00007ffff3cc576d in __libc_start_main (main=0x400670, argc=2, ubp_av=0x7fffffffe0f8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffffffe0e8) at libc-start.c:226
#15 0x00000000004006b1 in ?? ()
#16 0x00007fffffffe0e8 in ?? ()
#17 0x000000000000001c in ?? ()
#18 0x0000000000000002 in ?? ()
#19 0x00007fffffffe3ec in ?? ()
#20 0x00007fffffffe415 in ?? ()
#21 0x0000000000000000 in ?? ()
A debugging session is active.

     Inferior 1 [process 3022] will be killed.

Quit anyway? (y or n) [answered Y; input not from terminal]

warning: Currently logging to gdbtrace.log.  Turn the logging off and on to make the new setting effective.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffe1a20700 (LWP 9765)]
[New Thread 0x7fffd5f47700 (LWP 9766)]
[Thread 0x7fffd5f47700 (LWP 9766) exited]
[Thread 0x7fffe1a20700 (LWP 9765) exited]
[Inferior 1 (process 9762) exited normally]
/usr/lib/libreoffice/program/gdbtrace:9: Error in sourced command file:
No stack.
warning: Currently logging to gdbtrace.log.  Turn the logging off and on to make the new setting effective.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffe1a20700 (LWP 3248)]
[New Thread 0x7fffd5fc1700 (LWP 3249)]
[New Thread 0x7fffd57c0700 (LWP 3250)]
[New Thread 0x7fffcffff700 (LWP 3251)]
[New Thread 0x7fffcf1cc700 (LWP 3254)]
[Thread 0x7fffcf1cc700 (LWP 3254) exited]
[Thread 0x7fffd5fc1700 (LWP 3249) exited]
[New Thread 0x7fffd5fc1700 (LWP 3255)]
[Thread 0x7fffd5fc1700 (LWP 3255) exited]
[New Thread 0x7fffd5fc1700 (LWP 3256)]
[Thread 0x7fffd5fc1700 (LWP 3256) exited]
[New Thread 0x7fffd5fc1700 (LWP 3257)]
[New Thread 0x7fffcf1cc700 (LWP 3258)]
[New Thread 0x7fffc175a700 (LWP 3259)]
[Thread 0x7fffc175a700 (LWP 3259) exited]
[Thread 0x7fffcf1cc700 (LWP 3258) exited]
[New Thread 0x7fffcf1cc700 (LWP 3260)]
[New Thread 0x7fffc175a700 (LWP 3264)]
[New Thread 0x7fffb7fff700 (LWP 3273)]
[New Thread 0x7fffb77fe700 (LWP 3274)]
[Thread 0x7fffb7fff700 (LWP 3273) exited]
[Thread 0x7fffb77fe700 (LWP 3274) exited]

Program received signal SIGINT, Interrupt.
0x00007ffff3d8c313 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
87	../sysdeps/unix/sysv/linux/poll.c: No such file or directory.
#0  0x00007ffff3d8c313 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fffe07d9072 in ?? () from /usr/lib/libreoffice/program/libvclplug_kde4lo.so
#2  0x00007ffff2039036 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ffff2039164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fffdf1ef3bf in QEventDispatcherGlib::processEvents (this=0x622b60, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#5  0x00007fffde5ead5e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#6  0x00007fffe07d9e5a in ?? () from /usr/lib/libreoffice/program/libvclplug_kde4lo.so
#7  0x00007ffff68b8301 in Application::Yield(bool) () from /usr/lib/libreoffice/program/libmergedlo.so
#8  0x00007ffff6b14890 in Dialog::Execute() () from /usr/lib/libreoffice/program/libmergedlo.so
#9  0x00007ffff5e537db in ?? () from /usr/lib/libreoffice/program/libmergedlo.so
#10 0x00007ffff66ea3db in ErrorHandler::HandleError_Impl(unsigned long, unsigned short, unsigned char, rtl::OUString&) () from /usr/lib/libreoffice/program/libmergedlo.so
#11 0x00007ffff66ea683 in ErrorHandler::HandleError(unsigned long, unsigned short) () from /usr/lib/libreoffice/program/libmergedlo.so
#12 0x00007ffff5adbc05 in ?? () from /usr/lib/libreoffice/program/libmergedlo.so
#13 0x00007ffff5c00dd0 in ?? () from /usr/lib/libreoffice/program/libmergedlo.so
#14 0x00007ffff5bfa8e8 in ?? () from /usr/lib/libreoffice/program/libmergedlo.so
#15 0x00007ffff5bfc445 in SfxDispatcher::_Execute(SfxShell&, SfxSlot const&, SfxRequest&, unsigned short) () from /usr/lib/libreoffice/program/libmergedlo.so
#16 0x00007ffff597ca24 in ?? () from /usr/lib/libreoffice/program/libmergedlo.so
#17 0x00007ffff59b8926 in ?? () from /usr/lib/libreoffice/program/libmergedlo.so
#18 0x00007ffff59ba782 in ?? () from /usr/lib/libreoffice/program/libmergedlo.so
#19 0x00007ffff55e6297 in ?? () from /usr/lib/libreoffice/program/libmergedlo.so
#20 0x00007ffff6ba45d8 in ?? () from /usr/lib/libreoffice/program/libmergedlo.so
#21 0x00007ffff6bab63e in SalGenericDisplay::DispatchInternalEvent() () from /usr/lib/libreoffice/program/libmergedlo.so
#22 0x00007fffdf1d4281 in QMetaObject::activate (sender=0x622090, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3547
#23 0x00007fffdf1d9179 in QObject::event (this=0x622090, e=<optimized out>) at kernel/qobject.cpp:1157
#24 0x00007fffde542894 in notify_helper (e=0x7fffffffd750, receiver=0x622090, this=0x651af0) at kernel/qapplication.cpp:4559
#25 QApplicationPrivate::notify_helper (this=0x651af0, receiver=0x622090, e=0x7fffffffd750) at kernel/qapplication.cpp:4531
#26 0x00007fffde547713 in QApplication::notify (this=0x6461c0, receiver=0x622090, e=0x7fffffffd750) at kernel/qapplication.cpp:4420
#27 0x00007fffdfc253f6 in KApplication::notify (this=0x6461c0, receiver=0x622090, event=0x7fffffffd750) at ../../kdeui/kernel/kapplication.cpp:311
#28 0x00007fffdf1bfe9c in QCoreApplication::notifyInternal (this=0x6461c0, receiver=0x622090, event=0x7fffffffd750) at kernel/qcoreapplication.cpp:876
#29 0x00007fffdf1f11f2 in sendEvent (event=0x7fffffffd750, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#30 QTimerInfoList::activateTimers (this=0x654f60) at kernel/qeventdispatcher_unix.cpp:611
#31 0x00007fffdf1eec0d in timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:186
#32 timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:180
#33 0x00007ffff2038d53 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#34 0x00007ffff20390a0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#35 0x00007ffff2039164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#36 0x00007fffdf1ef3bf in QEventDispatcherGlib::processEvents (this=0x622b60, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#37 0x00007fffde5ead5e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#38 0x00007fffe07d9e17 in ?? () from /usr/lib/libreoffice/program/libvclplug_kde4lo.so
#39 0x00007ffff68b8301 in Application::Yield(bool) () from /usr/lib/libreoffice/program/libmergedlo.so
#40 0x00007ffff68b83b7 in Application::Execute() () from /usr/lib/libreoffice/program/libmergedlo.so
#41 0x00007ffff5c10d71 in ?? () from /usr/lib/libreoffice/program/libmergedlo.so
#42 0x00007ffff68bf7b1 in ?? () from /usr/lib/libreoffice/program/libmergedlo.so
#43 0x00007ffff68bf7d2 in SVMain() () from /usr/lib/libreoffice/program/libmergedlo.so
#44 0x00007ffff5c3e085 in soffice_main () from /usr/lib/libreoffice/program/libmergedlo.so
#45 0x000000000040067b in ?? ()
#46 0x00007ffff3cc576d in __libc_start_main (main=0x400670, argc=2, ubp_av=0x7fffffffe0f8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffffffe0e8) at libc-start.c:226
#47 0x00000000004006b1 in ?? ()
#48 0x00007fffffffe0e8 in ?? ()
#49 0x000000000000001c in ?? ()
#50 0x0000000000000002 in ?? ()
#51 0x00007fffffffe3eb in ?? ()
#52 0x00007fffffffe414 in ?? ()
#53 0x0000000000000000 in ?? ()

Thread 13 (Thread 0x7fffc175a700 (LWP 3264)):
#0  0x00007ffff3d8c313 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007ffff2039036 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ffff2039164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fffdf1ef3bf in QEventDispatcherGlib::processEvents (this=0x7fffb8001800, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007fffdf1bec82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fffdf1beed7 in QEventLoop::exec (this=0x7fffc1759b90, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007fffdf0bdfa7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007fffdf19e9ff in QInotifyFileSystemWatcherEngine::run (this=0x311ea20) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007fffdf0c0fcb in QThreadPrivate::start (arg=0x311ea20) at thread/qthread_unix.cpp:298
#9  0x00007ffff2744e9a in start_thread (arg=0x7fffc175a700) at pthread_create.c:308
#10 0x00007ffff3d97ccd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 12 (Thread 0x7fffcf1cc700 (LWP 3260)):
#0  0x00007ffff3d8c313 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007ffff2039036 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ffff2039164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fffdf1ef3bf in QEventDispatcherGlib::processEvents (this=0x7fffbc004930, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007fffdf1bec82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fffdf1beed7 in QEventLoop::exec (this=0x7fffcf1cbb90, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007fffdf0bdfa7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007fffdf19e9ff in QInotifyFileSystemWatcherEngine::run (this=0x81bf60) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007fffdf0c0fcb in QThreadPrivate::start (arg=0x81bf60) at thread/qthread_unix.cpp:298
#9  0x00007ffff2744e9a in start_thread (arg=0x7fffcf1cc700) at pthread_create.c:308
#10 0x00007ffff3d97ccd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 9 (Thread 0x7fffd5fc1700 (LWP 3257)):
#0  0x00007ffff3d8c313 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fffde112940 in ?? () from /usr/lib/libreoffice/program/libvclplug_genlo.so
#2  0x00007ffff407a72f in ?? () from /usr/lib/libreoffice/program/../ure-link/lib/libuno_sal.so.3
#3  0x00007ffff2744e9a in start_thread (arg=0x7fffd5fc1700) at pthread_create.c:308
#4  0x00007ffff3d97ccd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7fffcffff700 (LWP 3251)):
#0  0x00007ffff3d8c313 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fffde12d432 in ?? () from /usr/lib/libreoffice/program/libvclplug_genlo.so
#2  0x00007fffde12d67f in ?? () from /usr/lib/libreoffice/program/libvclplug_genlo.so
#3  0x00007ffff407a72f in ?? () from /usr/lib/libreoffice/program/../ure-link/lib/libuno_sal.so.3
#4  0x00007ffff2744e9a in start_thread (arg=0x7fffcffff700) at pthread_create.c:308
#5  0x00007ffff3d97ccd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#6  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7fffd57c0700 (LWP 3250)):
#0  0x00007ffff3d98a7d in accept () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007ffff4074d8f in osl_acceptPipe () from /usr/lib/libreoffice/program/../ure-link/lib/libuno_sal.so.3
#2  0x00007ffff5c39b9e in ?? () from /usr/lib/libreoffice/program/libmergedlo.so
#3  0x00007fffeb063c06 in salhelper::Thread::run() () from /usr/lib/libreoffice/program/../ure-link/lib/libuno_salhelpergcc3.so.3
#4  0x00007fffeb063e6a in ?? () from /usr/lib/libreoffice/program/../ure-link/lib/libuno_salhelpergcc3.so.3
#5  0x00007ffff407a72f in ?? () from /usr/lib/libreoffice/program/../ure-link/lib/libuno_sal.so.3
#6  0x00007ffff2744e9a in start_thread (arg=0x7fffd57c0700) at pthread_create.c:308
#7  0x00007ffff3d97ccd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#8  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fffe1a20700 (LWP 3248)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:215
#1  0x00007ffff408141f in ?? () from /usr/lib/libreoffice/program/../ure-link/lib/libuno_sal.so.3
#2  0x00007ffff2744e9a in start_thread (arg=0x7fffe1a20700) at pthread_create.c:308
#3  0x00007ffff3d97ccd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7ffff7fad9c0 (LWP 3245)):
#0  0x00007ffff3d8c313 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fffe07d9072 in ?? () from /usr/lib/libreoffice/program/libvclplug_kde4lo.so
#2  0x00007ffff2039036 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ffff2039164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fffdf1ef3bf in QEventDispatcherGlib::processEvents (this=0x622b60, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#5  0x00007fffde5ead5e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#6  0x00007fffe07d9e5a in ?? () from /usr/lib/libreoffice/program/libvclplug_kde4lo.so
#7  0x00007ffff68b8301 in Application::Yield(bool) () from /usr/lib/libreoffice/program/libmergedlo.so
#8  0x00007ffff6b14890 in Dialog::Execute() () from /usr/lib/libreoffice/program/libmergedlo.so
#9  0x00007ffff5e537db in ?? () from /usr/lib/libreoffice/program/libmergedlo.so
#10 0x00007ffff66ea3db in ErrorHandler::HandleError_Impl(unsigned long, unsigned short, unsigned char, rtl::OUString&) () from /usr/lib/libreoffice/program/libmergedlo.so
#11 0x00007ffff66ea683 in ErrorHandler::HandleError(unsigned long, unsigned short) () from /usr/lib/libreoffice/program/libmergedlo.so
#12 0x00007ffff5adbc05 in ?? () from /usr/lib/libreoffice/program/libmergedlo.so
#13 0x00007ffff5c00dd0 in ?? () from /usr/lib/libreoffice/program/libmergedlo.so
#14 0x00007ffff5bfa8e8 in ?? () from /usr/lib/libreoffice/program/libmergedlo.so
#15 0x00007ffff5bfc445 in SfxDispatcher::_Execute(SfxShell&, SfxSlot const&, SfxRequest&, unsigned short) () from /usr/lib/libreoffice/program/libmergedlo.so
#16 0x00007ffff597ca24 in ?? () from /usr/lib/libreoffice/program/libmergedlo.so
#17 0x00007ffff59b8926 in ?? () from /usr/lib/libreoffice/program/libmergedlo.so
#18 0x00007ffff59ba782 in ?? () from /usr/lib/libreoffice/program/libmergedlo.so
#19 0x00007ffff55e6297 in ?? () from /usr/lib/libreoffice/program/libmergedlo.so
#20 0x00007ffff6ba45d8 in ?? () from /usr/lib/libreoffice/program/libmergedlo.so
#21 0x00007ffff6bab63e in SalGenericDisplay::DispatchInternalEvent() () from /usr/lib/libreoffice/program/libmergedlo.so
#22 0x00007fffdf1d4281 in QMetaObject::activate (sender=0x622090, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3547
#23 0x00007fffdf1d9179 in QObject::event (this=0x622090, e=<optimized out>) at kernel/qobject.cpp:1157
#24 0x00007fffde542894 in notify_helper (e=0x7fffffffd750, receiver=0x622090, this=0x651af0) at kernel/qapplication.cpp:4559
#25 QApplicationPrivate::notify_helper (this=0x651af0, receiver=0x622090, e=0x7fffffffd750) at kernel/qapplication.cpp:4531
#26 0x00007fffde547713 in QApplication::notify (this=0x6461c0, receiver=0x622090, e=0x7fffffffd750) at kernel/qapplication.cpp:4420
#27 0x00007fffdfc253f6 in KApplication::notify (this=0x6461c0, receiver=0x622090, event=0x7fffffffd750) at ../../kdeui/kernel/kapplication.cpp:311
#28 0x00007fffdf1bfe9c in QCoreApplication::notifyInternal (this=0x6461c0, receiver=0x622090, event=0x7fffffffd750) at kernel/qcoreapplication.cpp:876
#29 0x00007fffdf1f11f2 in sendEvent (event=0x7fffffffd750, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#30 QTimerInfoList::activateTimers (this=0x654f60) at kernel/qeventdispatcher_unix.cpp:611
#31 0x00007fffdf1eec0d in timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:186
#32 timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:180
#33 0x00007ffff2038d53 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#34 0x00007ffff20390a0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#35 0x00007ffff2039164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#36 0x00007fffdf1ef3bf in QEventDispatcherGlib::processEvents (this=0x622b60, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#37 0x00007fffde5ead5e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#38 0x00007fffe07d9e17 in ?? () from /usr/lib/libreoffice/program/libvclplug_kde4lo.so
#39 0x00007ffff68b8301 in Application::Yield(bool) () from /usr/lib/libreoffice/program/libmergedlo.so
#40 0x00007ffff68b83b7 in Application::Execute() () from /usr/lib/libreoffice/program/libmergedlo.so
#41 0x00007ffff5c10d71 in ?? () from /usr/lib/libreoffice/program/libmergedlo.so
#42 0x00007ffff68bf7b1 in ?? () from /usr/lib/libreoffice/program/libmergedlo.so
#43 0x00007ffff68bf7d2 in SVMain() () from /usr/lib/libreoffice/program/libmergedlo.so
#44 0x00007ffff5c3e085 in soffice_main () from /usr/lib/libreoffice/program/libmergedlo.so
#45 0x000000000040067b in ?? ()
#46 0x00007ffff3cc576d in __libc_start_main (main=0x400670, argc=2, ubp_av=0x7fffffffe0f8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffffffe0e8) at libc-start.c:226
#47 0x00000000004006b1 in ?? ()
#48 0x00007fffffffe0e8 in ?? ()
#49 0x000000000000001c in ?? ()
#50 0x0000000000000002 in ?? ()
#51 0x00007fffffffe3eb in ?? ()
#52 0x00007fffffffe414 in ?? ()
#53 0x0000000000000000 in ?? ()
A debugging session is active.

     Inferior 1 [process 3245] will be killed.

Quit anyway? (y or n) [answered Y; input not from terminal]

warning: Currently logging to gdbtrace.log.  Turn the logging off and on to make the new setting effective.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffe1a20700 (LWP 3295)]
[New Thread 0x7fffd5f47700 (LWP 3296)]
[New Thread 0x7fffd5746700 (LWP 3297)]
[New Thread 0x7fffcffff700 (LWP 3298)]
[New Thread 0x7fffcf1cc700 (LWP 3301)]
[Thread 0x7fffcf1cc700 (LWP 3301) exited]
[Thread 0x7fffd5f47700 (LWP 3296) exited]
[New Thread 0x7fffd5f47700 (LWP 3302)]
[Thread 0x7fffd5f47700 (LWP 3302) exited]
[New Thread 0x7fffd5f47700 (LWP 3303)]
[Thread 0x7fffd5f47700 (LWP 3303) exited]
[New Thread 0x7fffd5f47700 (LWP 3304)]
[New Thread 0x7fffcf1cc700 (LWP 3305)]
[New Thread 0x7fffc170a700 (LWP 3306)]
[Thread 0x7fffc170a700 (LWP 3306) exited]
[Thread 0x7fffcf1cc700 (LWP 3305) exited]
[New Thread 0x7fffcf1cc700 (LWP 3307)]
[Thread 0x7fffcf1cc700 (LWP 3307) exited]
[New Thread 0x7fffcf1cc700 (LWP 3372)]
[Thread 0x7fffcf1cc700 (LWP 3372) exited]
[Thread 0x7fffcffff700 (LWP 3298) exited]
[New Thread 0x7fffcffff700 (LWP 3373)]
[Thread 0x7fffcffff700 (LWP 3373) exited]
[Thread 0x7fffd5746700 (LWP 3297) exited]
[Thread 0x7fffd5f47700 (LWP 3304) exited]
[Thread 0x7fffe1a20700 (LWP 3295) exited]
[Inferior 1 (process 3292) exited normally]
/usr/lib/libreoffice/program/gdbtrace:9: Error in sourced command file:
No stack.
warning: Currently logging to gdbtrace.log.  Turn the logging off and on to make the new setting effective.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffe1a20700 (LWP 3745)]
[New Thread 0x7fffd5fc1700 (LWP 3746)]
[New Thread 0x7fffd57c0700 (LWP 3747)]
[New Thread 0x7fffcffff700 (LWP 3748)]
[New Thread 0x7fffced90700 (LWP 3749)]
[New Thread 0x7fffce369700 (LWP 3752)]
[Thread 0x7fffce369700 (LWP 3752) exited]
[Thread 0x7fffd5fc1700 (LWP 3746) exited]
[New Thread 0x7fffd5fc1700 (LWP 3758)]
[Thread 0x7fffcffff700 (LWP 3748) exited]
[Thread 0x7fffd5fc1700 (LWP 3758) exited]
[Thread 0x7fffd57c0700 (LWP 3747) exited]
[Thread 0x7fffced90700 (LWP 3749) exited]
[Thread 0x7fffe1a20700 (LWP 3745) exited]
[Inferior 1 (process 3741) exited normally]
/usr/lib/libreoffice/program/gdbtrace:9: Error in sourced command file:
No stack.
warning: Currently logging to gdbtrace.log.  Turn the logging off and on to make the new setting effective.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffe1a20700 (LWP 3034)]
[New Thread 0x7fffd5fc1700 (LWP 3035)]
[Thread 0x7fffd5fc1700 (LWP 3035) exited]
[Thread 0x7fffe1a20700 (LWP 3034) exited]
[Inferior 1 (process 3031) exited normally]
/usr/lib/libreoffice/program/gdbtrace:9: Error in sourced command file:
No stack.

Are you saving locally or over a network? If over a network, what kind of share are you saving to? Try saving locally (if you are not already doing so) to confirm the problem. Also, what type of content does the file contain? You may have found a bug, but an example file will be required to allow others to reproduce the problem. Can you link to an example file?

I am saving locally to a USB stick.

I just edited another file and when I tried to save it as a .odt I got:
Error saving the document ~:
General Error.
General input/output error.
And the file is trashed (went from 240.0 KiB to 4.0 KiB.
LibreOffice 4.1
The file ~.odt is corrupt and therefore cannot be opened. LibreOffice can try to repair the file.
etc.
Looking at the first part of the file (00 to ff), the header is corrupt. It looks OK thru byte 54 but is garbage after that.
How do I sent longer messages? Via answer?

I just edited another file and when I tried to save it as a .odt I got:
Error saving the document ~:
General Error.
General input/output error.
And the file is trashed (went from 240.0 KiB to 4.0 KiB.
LibreOffice 4.1
The file ~.odt is corrupt and therefore cannot be opened. LibreOffice can try to repair the file.
etc.
Looking at the first part of the file (00 to ff), the header is corrupt. It looks OK thru byte 54 but is garbage after that.
How do I sent longer messages? Via answer?

The file contains text only. Unfortunately the file is rather large. I will try to reproduce the problem with a smaller file.

Avoid saving directly to USB sticks. They are known to have problems in general. They are designed for data portability rather than as a HDD replacement. GNU/Linux in particular has recently revealed a problem with the polling of USB devices. Try repeating the problem by saving to the local HDD. A large file could have a lot of different content (markup) in it, one small element of which may be the problem.

I was just able to reproduce the problem with a smaller file. I have it all zipped up ,including the gdbtrace.log, the files involved (including hex dumps of up to 8193 bytes), and an explanation of what I did. It is about 335 KiB. It works for LibO 4.1.0.4 on WinXP Media Center Edition (included). How do I get this to you? I will try what you suggest and see how that works.

I tried saving to the HDD and got the same error message, except that the file is much larger (651 KiB rather that 1.5 KiB). I have added both the .doc file and a hex dump of the first 8192 bytes to the zip file. It is now about 374 KiB. I am wondering if I should just upgrade LibO on this system to 4.1 (a mild pain but doable).

You can either edit your question to include a link to the files or post the link in a comment here. Thanks for performing the tests. If the file is being reduced dramatically in size then this is a corruption / data lost issue, and thus very serious. Bug fdo#61410 may be related. Please post a link to your file for others to test.

The zip file is at Online Storage - Download File. The text file Save file as doc problem.txt - explains the steps I took and has some of the information about the results. All dumps are hex/ASCII.

Thanks for providing the examples. I am not sure what is going on. I can’t replicate the DOC corruption here under GNU/Linux with either v3.5.7.2 or v4.1.0.4, however my saved DOC files are ~652-653KB (i.e., about the same size as your corrupt HDD version) rather than your working 4-1Win example of ~138KB. All I can suggest you do is raise a bug and include the example files and traces.

OK, I raised a bug on Bugzilla about this, and included the zip file with all the docs. Since 4.1.1 is out now I thought I’d try that, but ran into some issues updating Kubuntu 12.04, so I have to work through those before I can continue.

I am just providing this answer for the information of others. This problem has been reported as a bug (by the OP) and confirmed under v4.1.1.2: fdo#69850.