Issue 59587 - OOo segfaults on attached file
Summary: OOo segfaults on attached file
Status: CLOSED FIXED
Alias: None
Product: Writer
Classification: Application
Component: code (show other issues)
Version: OOo 2.0.1
Hardware: PC Linux, all
: P3 Trivial (vote)
Target Milestone: ---
Assignee: michael.ruess
QA Contact: issues@sw
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-20 11:14 UTC by maxbritov
Modified: 2013-08-07 14:42 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
My OOo segfaults on this file (35.27 KB, application/vnd.oasis.opendocument.text)
2005-12-20 11:16 UTC, maxbritov
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description maxbritov 2005-12-20 11:14:11 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
.......
Comment 1 maxbritov 2005-12-20 11:16:07 UTC
Created attachment 32605 [details]
My OOo segfaults on this file
Comment 2 michael.ruess 2005-12-20 12:37:15 UTC
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).
Comment 3 Oliver-Rainer Wittmann 2005-12-20 15:39:52 UTC
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.
Comment 4 archimedr 2005-12-21 08:21:42 UTC
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
Comment 5 archimedr 2005-12-21 08:47:21 UTC
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.
Comment 6 Oliver-Rainer Wittmann 2006-01-09 16:01:32 UTC
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?
Comment 7 Oliver-Rainer Wittmann 2006-06-23 13:09:57 UTC
OD->MRU:
crash fixed by internal issue b6364738 - please verify and close this issue.
Comment 8 Oliver-Rainer Wittmann 2006-06-23 13:11:28 UTC
set status to FIXED
Comment 9 michael.ruess 2006-07-24 14:05:52 UTC
Fixed in OOo 2.0.4.