Today, after working for a few hours on a document, while trying to open another openoffice crashed with a very ugly sigsegv. Confident in the recovery mechanism I started oowriter again, accepted the recovery and BUMP, it crashed again with the same error:

Fatal exception: Signal 11<br></br>Stack:<br></br>/usr/lib/openoffice/program/libuno_sal.so.3[0xb7198d4b]<br></br>/usr/lib/openoffice/program/libuno_sal.so.3[0xb7198e84]<br></br>/usr/lib/openoffice/program/libuno_sal.so.3[0xb7198efe]<br></br>[0xb7fd0420]<br></br>/usr/lib/openoffice/program/libucpdav1.so[0xacc988e0]<br></br>/usr/lib/openoffice/program/libucpdav1.so[0xacc9a931]<br></br>/usr/lib/openoffice/program/libucbhelper4gcc3.so[0xb746a7b5]<br></br>/usr/lib/openoffice/program/libucbhelper4gcc3.so(_ZN9ucbhelper7Content19openWriteableStreamEv+0x2e8)[0xb74746d8]<br></br>/usr/lib/openoffice/program/libcomphelp4gcc3.so[0xb7566ce8]<br></br>/usr/lib/openoffice/program/libcomphelp4gcc3.so(_ZN10comphelper15MediaDescriptor14addInputStreamEv+0x2fb)[0xb7568d2b]<br></br>/usr/lib/openoffice/program/libsw680li.so[0xaef04521]<br></br>/usr/lib/openoffice/program/libsw680li.so[0xaef033ca]<br></br>/usr/lib/openoffice/program/libsw680li.so[0xaef07562]<br></br>/usr/lib/openoffice/program/libuno_sal.so.3[0xb719087d]<br></br>/lib/tls/i686/cmov/libpthread.so.0[0xb69c84fb]<br></br>/lib/tls/i686/cmov/libc.so.6(clone+0x5e)[0xb6826e5e]<br></br>

Unfortunately there is no way to select just one document for recovery and thus my only apparent choice was to loose all the changes on the first document.

Finally I found (thanks to rodiq) the wonderfull:

.openoffice.org2/user/registry/data/org/openoffice/Office/Recovery.xcu

which is an XML file containing all the recovery documents. I just had to comment the hole node element related to the bad document and the recovery worked as expected for the first document.

Not so nice however that openoffice could not open it’s own format and crashed either with the error above or with:

terminate called after throwing an instance of 'webdav_ucp::DAVException'<br></br><br></br><br></br>Fatal exception: Signal 6<br></br>Stack:<br></br>/usr/lib/openoffice/program/libuno_sal.so.3[0xb70c9d4b]<br></br>/usr/lib/openoffice/program/libuno_sal.so.3[0xb70c9e84]<br></br>/usr/lib/openoffice/program/libuno_sal.so.3[0xb70c9efe]<br></br>[0xb7f01420]<br></br>/lib/tls/i686/cmov/libc.so.6(abort+0x101)[0xb66ada01]<br></br>/usr/lib/libstdc++.so.6(_ZN9__gnu_cxx27__verbose_terminate_handlerEv+0x150)[0xb68bc480]<br></br>/usr/lib/libstdc++.so.6[0xb68b9d05]<br></br>/usr/lib/libstdc++.so.6[0xb68b9d42]<br></br>/usr/lib/libstdc++.so.6[0xb68b9e6a]<br></br>/usr/lib/openoffice/program/libucpdav1.so[0xae1fa159]<br></br>/usr/lib/openoffice/program/libucpdav1.so[0xae1fcc7e]<br></br>/usr/lib/openoffice/program/libucpdav1.so[0xae1ed628]<br></br>/usr/lib/openoffice/program/libucpdav1.so[0xae1f497c]<br></br>/usr/lib/openoffice/program/libucpdav1.so[0xae1f4b61]<br></br>/usr/lib/openoffice/program/libuno_sal.so.3[0xb70c99b7]<br></br>/usr/lib/openoffice/program/libuno_sal.so.3[0xb70c9ee7]<br></br>[0xb7f01420]<br></br>/usr/lib/openoffice/program/libucpdav1.so[0xae1ed830]<br></br>/usr/lib/openoffice/program/libucpdav1.so[0xae1d58e0]<br></br>/usr/lib/openoffice/program/libucpdav1.so[0xae1d7931]<br></br>/usr/lib/openoffice/program/libucbhelper4gcc3.so[0xb739b7b5]<br></br>/usr/lib/openoffice/program/libucbhelper4gcc3.so(_ZN9ucbhelper7Content19openWriteableStreamEv+0x2e8)[0xb73a56d8]<br></br>/usr/lib/openoffice/program/libcomphelp4gcc3.so[0xb7497ce8]<br></br>/usr/lib/openoffice/program/libcomphelp4gcc3.so(_ZN10comphelper15MediaDescriptor14addInputStreamEv+0x2fb)[0xb7499d2b]<br></br>/usr/lib/openoffice/program/libsw680li.so[0xaeea6521]<br></br>/usr/lib/openoffice/program/libsw680li.so[0xaeea53ca]<br></br>/usr/lib/openoffice/program/libsw680li.so[0xaeea9562]<br></br>/usr/lib/openoffice/program/libuno_sal.so.3[0xb70c187d]<br></br>/lib/tls/i686/cmov/libpthread.so.0[0xb68f94fb]<br></br>/lib/tls/i686/cmov/libc.so.6(clone+0x5e)[0xb6757e5e]<br></br>

Talk about 30 lost minutes.