Apache OpenOffice (AOO) Bugzilla – Issue 59587
OOo segfaults on attached file
Last modified: 2013-08-07 14:42:31 UTC
Fedora RawHide: openoffice.org-core-2.0.1-145.3.2 OOo segfaults on attached document. Try open and scroll down. My gdb output: (gdb) run test.odt Starting program: /usr/lib/openoffice.org2.0/program/soffice.bin test.odt Reading symbols from shared object read from target memory...(no debugging symbols found)...done. Loaded system supplied DSO at 0xffffe000 [Thread debugging using libthread_db enabled] [New Thread -1208822096 (LWP 11953)] warning: Lowest section in /usr/lib/libicudata.so.34 is .hash at 479ce0b4 [New Thread -1226441808 (LWP 11956)] [New Thread -1234969680 (LWP 11957)] [New Thread -1245783120 (LWP 11958)] [New Thread -1265955920 (LWP 11959)] [New Thread -1279784016 (LWP 11960)] [New Thread -1288397904 (LWP 11961)] [Thread -1288397904 (LWP 11961) exited] [Thread -1279784016 (LWP 11960) exited] [New Thread -1279784016 (LWP 11963)] [Thread -1279784016 (LWP 11963) exited] Program received signal SIGSEGV, Segmentation fault. [Switching to Thread -1208822096 (LWP 11953)] 0x4a56090e in osl_acquireMutex () from /usr/lib/openoffice.org2.0/program/libuno_sal.so.3 bt is: #0 0x4a56090e in osl_acquireMutex () from /usr/lib/openoffice.org2.0/program/libuno_sal.so.3 #1 0xb4aabfc3 in non-virtual thunk to OInputCompStream::closeInput() () from /usr/lib/openoffice.org2.0/program/libxstor.so #2 0xb4aabff1 in non-virtual thunk to OInputCompStream::closeInput() () from /usr/lib/openoffice.org2.0/program/libxstor.so #3 0xb4abadbc in OStorage_Impl::ReadContents () from /usr/lib/openoffice.org2.0/program/libxstor.so #4 0xb4abbb92 in OStorage_Impl::FindElement () from /usr/lib/openoffice.org2.0/program/libxstor.so #5 0xb4abbee6 in OStorage::hasByName () from /usr/lib/openoffice.org2.0/program/libxstor.so #6 0x4cb4ca4a in SwMirrorGrf::QueryValue () from /usr/lib/openoffice.org2.0/program/libsw680li.so #7 0x4cb4da8f in SwMirrorGrf::QueryValue () from /usr/lib/openoffice.org2.0/program/libsw680li.so #8 0x4cb4db66 in SwMirrorGrf::QueryValue () from /usr/lib/openoffice.org2.0/program/libsw680li.so #9 0x4b8c633a in GraphicObject::StartAnimation () from /usr/lib/openoffice.org2.0/program/libgo680li.so #10 0x4b8c3222 in GraphicObject::GetSwapStream () from /usr/lib/openoffice.org2.0/program/libgo680li.so #11 0x4b8c3e3c in GraphicObject::ImplAutoSwapIn () from /usr/lib/openoffice.org2.0/program/libgo680li.so #12 0x4b8c465b in GraphicObject::FireSwapInRequest () from /usr/lib/openoffice.org2.0/program/libgo680li.so #13 0x4b8cd006 in GraphicCacheEntry::TryToSwapIn () from /usr/lib/openoffice.org2.0/program/libgo680li.so #14 0x4b8cd048 in GraphicCache::GetUniqueID () from /usr/lib/openoffice.org2.0/program/libgo680li.so #15 0x4b8c6752 in GraphicManager::ImplGetUniqueID () from /usr/lib/openoffice.org2.0/program/libgo680li.so #16 0x4b8c37f5 in GraphicObject::GetUniqueID () from /usr/lib/openoffice.org2.0/program/libgo680li.so #17 0x4cb4cae7 in SwMirrorGrf::QueryValue () from /usr/lib/openoffice.org2.0/program/libsw680li.so #18 0x4cb4da8f in SwMirrorGrf::QueryValue () from /usr/lib/openoffice.org2.0/program/libsw680li.so #19 0x4cb4db66 in SwMirrorGrf::QueryValue () from /usr/lib/openoffice.org2.0/program/libsw680li.so #20 0x4b8c633a in GraphicObject::StartAnimation () from /usr/lib/openoffice.org2.0/program/libgo680li.so #21 0x4b8c3222 in GraphicObject::GetSwapStream () from /usr/lib/openoffice.org2.0/program/libgo680li.so .......
Created attachment 32605 [details] My OOo segfaults on this file
MRU->OD: open attached document and scroll down to ca. page 11. It looks that OO crashes when trying to display the graphic with the corrupt content (read Error in OO 1.1.5).
accepted. Investigation reveals that the embedded graphic with the name "10.1.gif" is *not* contained in the document. A fallback, implemented with issue 48434, causes an endless, recursive call of the load of this unexisting graphic. OD->maxbritov: Do you have any information about the creation of the document? How is the graphic inserted into the document? This information would help me to fix the root cause of the missing graphic, if the document is created with OOo. Thx.
This file came to me with my clients. They just copy web-page from IE 6.0 and paste it into Writer. About missing gif-file – when one is trying to copy/paste from IE to Writer objects from html-page never come to odt document because of IE generates relative links for inserted objects, but Writer needs an absolute. WinXP HE, Ooo 2.0 Infra
In addition I would like to write that I have few files like test.odt. I had no problem opening this files in OOo 1.1.5, except missing pictures.
OD->maxbritov: On trying to reproduce the defect I also copied contents of a web page from Internet Explorer into a new Writer document with the following result: - the pictures are missing, but the picture are inserted as *linked* pictures. - saving, closing and loading such a document is no problem, because the missing pictures are *linked* pictures and not *embedded* ones. Question: How do you copy the contents of a web page from Internet Explorer into the Writer with the result that the missing pictures as inserted as *embedded* pictures?
OD->MRU: crash fixed by internal issue b6364738 - please verify and close this issue.
set status to FIXED
Fixed in OOo 2.0.4.