Apache OpenOffice (AOO) Bugzilla – Issue 104896
AndrewMacro.odt crashes OOo on exit
Last modified: 2013-08-07 14:44:07 UTC
If you load AndrewMacro.odt (http://www.pitonyak.org/AndrewMacro.odt), you can inspect and edit the document with no problems. When you exit OOo, however, OOo crashes (or freezes the closed window). This has been observed with similar variations on Windows XP and Ubuntu. I will perform more tests after I upload a cpoy of the document known to cause the problem.
Created attachment 64619 [details] AndrewMacro.odt
Splitting the document allows both portions to be read and closed with no issues, I do remember a discussion, that I cannot find, regarding a large document that used too many styles in a single document. This document uses the same styles many times, as opposed to different styles.
On Fedora, this triggers a sending of an email with an error description.This does not occur from Windows. Writer ================ Open, then close AndrewMacro.odt ================ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE errormail:errormail PUBLIC "-//OpenOffice.org//DTD ErrorMail 1.0//EN" "errormail.dtd"> <errormail:errormail xmlns:errormail="http://openoffice.org/2002/errormail" usertype=""> <reportmail:mail xmlns:reportmail="http://openoffice.org/2002/reportmail" version="1.1" feedback="true" email="andrew@pitonyak.org"> <reportmail:title>Write</reportmail:title> <reportmail:attachment name="description.txt" media-type="text/plain" class="UserComment"/> <reportmail:attachment name="stack.txt" media-type="text/plain" class="pstack output"/> </reportmail:mail> <officeinfo:officeinfo xmlns:officeinfo="http://openoffice.org/2002/officeinfo" build="310m11(Build:9399)" platform="unxlngx6.pro" language="" exceptiontype="11" product="OpenOffice.org 3.1" procpath="/opt/openoffice.org3/program/"/> <systeminfo:systeminfo xmlns:systeminfo="http://openoffice.org/2002/systeminfo"> <systeminfo:System name="Linux" version="#1 SMP Mon Aug 24 17:17:40 EDT 2009" build="2.6.29.6-217.2.16.fc11.x86_64" locale="en_US.UTF-8"/> <systeminfo:CPU type="x86_64"/> </systeminfo:systeminfo> <errormail:Stack type="Linux"> <errormail:StackInfo pos="0" ip="0x7fe7527727f7" rel="0x367f7" name="libuno_sal.so.3" path="/opt/openoffice.org/ure/lib/"/> <errormail:StackInfo pos="1" ip="0x7fe7527733fa" rel="0x373fa" name="libuno_sal.so.3" path="/opt/openoffice.org/ure/lib/"/> <errormail:StackInfo pos="2" ip="0x3772a0eee0" rel="0xeee0" name="libpthread.so.0" path="/lib64/"/> <errormail:StackInfo pos="3" ip="0x7fe75248a8f0" rel="0x2e98f0" name="libstdc++.so.6" path="/opt/openoffice.org/ure/lib/" ordinal="_ZTVN10__cxxabiv120__si_class_type_infoE+0x10"/> </errormail:Stack> <errormail:Checksums type="MD5"> <errormail:Checksum sum="0x4F494129CB99322C58F8C9B8E6D2EDB5" bytes="2018264" file="libuno_sal.so.3"/> <errormail:Checksum sum="0x4F494129CB99322C58F8C9B8E6D2EDB5" bytes="2018264" file="libuno_sal.so.3"/> <errormail:Checksum sum="0x8AE75A0944A3E28C36B04EE79077D15E" bytes="148528" file="libpthread.so.0"/> <errormail:Checksum sum="0x4EF5127CE5EB5FCE780CDF1C68DBF9D5" bytes="969488" file="libstdc++.so.6"/> </errormail:Checksums> </errormail:errormail>
Can confirm with DEV300_m57, on Fedora 11 x86_64 gdb backtrace (no debugging symbols: (gdb) backtrace #0 0x00007ffff12a68f0 in vtable for __cxxabiv1::__si_class_type_info () from /home/ariel/OOo-sun-DEV300_m57/ooo-dev3/program/../basis-link/ure- #1 0x00007fffbd9a8f96 in SwModify::Modify(SfxPoolItem*, SfxPoolItem*) () from /home/ariel/OOo-sun-DEV300_m57/ooo-dev3/program/../basis- #2 0x00007fffbd9aad1e in SwFmt::Modify(SfxPoolItem*, SfxPoolItem*) () from /home/ariel/OOo-sun-DEV300_m57/ooo-dev3/program/../basis- #3 0x00007fffbd9ac0b4 in SwFmt::~SwFmt() () from /home/ariel/OOo-sun- #4 0x00007fffbdbd5b03 in ?? () from /home/ariel/OOo-sun-DEV300_m57/ooo- #5 0x00007fffbdb4415e in ?? () from /home/ariel/OOo-sun-DEV300_m57/ooo- #6 0x00007fffbdb5b3e1 in SwDoc::~SwDoc() () from /home/ariel/OOo-sun- #7 0x00007fffbdef0f9f in ?? () from /home/ariel/OOo-sun-DEV300_m57/ooo- #8 0x00007fffbdef10f6 in SwDocShell::~SwDocShell() () from /home/ariel/OOo- #9 0x00007ffff694df52 in ?? () from /home/ariel/OOo-sun-DEV300_m57/ooo- #10 0x00007ffff695be5e in SfxTopViewFrame::~SfxTopViewFrame() () from /home/ariel/OOo-sun-DEV300_m57/ooo-dev3/program/../basis- #11 0x00007ffff695c9a4 in SfxTopViewFrame::Close() () from /home/ariel/OOo-sun- #12 0x00007ffff693d206 in ?? () from /home/ariel/OOo-sun-DEV300_m57/ooo- #13 0x00007ffff69675e2 in SfxBaseController::dispose() () from /home/ariel/OOo-sun-DEV300_m57/ooo-dev3/program/../basis- #14 0x00007fffdef63279 in FontList::~FontList() () from /home/ariel/OOo-sun- #15 0x00007fffdef1797d in FontList::~FontList() () from /home/ariel/OOo-sun- #16 0x00007fffdef18c2a in FontList::~FontList() () from /home/ariel/OOo-sun- #17 0x00007ffff4bbe08a in ?? () from /home/ariel/OOo-sun-DEV300_m57/ooo- #18 0x00007ffff4b5e638 in ?? () from /home/ariel/OOo-sun-DEV300_m57/ooo- #19 0x00007fffe93463ff in SalDisplay::DispatchInternalEvent() () from /home/ariel/OOo-sun-DEV300_m57/ooo- #20 0x00007fffe9346429 in SalX11Display::Yield() () from /home/ariel/OOo-sun- #21 0x00007fffe9346867 in ?? () from /home/ariel/OOo-sun-DEV300_m57/ooo- #22 0x00007fffe933fd62 in SalXLib::Yield(bool, bool) () from /home/ariel/OOo- #23 0x00007ffff497a95e in Application::Yield(bool) () from /home/ariel/OOo-sun- #24 0x00007ffff497aa37 in Application::Execute() () from /home/ariel/OOo-sun- #25 0x00007ffff77957b9 in Config::SetGroup(ByteString const&) () from /home/ariel/OOo-sun-DEV300_m57/ooo-dev3/program/../basis- #26 0x00007ffff4980326 in ?? () from /home/ariel/OOo-sun-DEV300_m57/ooo- #27 0x00007ffff4980415 in SVMain() () from /home/ariel/OOo-sun-DEV300_m57/ooo- #28 0x00007ffff77ced4c in soffice_main () from /home/ariel/OOo-sun- #29 0x000000000040125b in main ()
Notice that it does not crash on OOo exit like Andrew reports, but when the document starts being closed (try closing by clicking the menubar closer for example). The program receives a SIGSEGV when the document starts closing, when gdb catches it the document is still visible: Program received signal SIGSEGV, Segmentation fault. 0x00007ffff12a68f0 in vtable for __cxxabiv1::__si_class_type_info ()
Interesting.... I noticed that on Windows, it seems to freeze that window. If I have another document open, I can use that still open document to tell OOo to exit. I usually have my document open on Linux rather than Windows.
Created attachment 64632 [details] stack on Windows
Target set
Duplicate *** This issue has been marked as a duplicate of 84159 ***
Closing duplicate.