Apache OpenOffice (AOO) Bugzilla – Issue 19743
ThisComponent.Dispose crash when execute on script asociated to "open document" event
Last modified: 2004-03-18 15:30:43 UTC
Script asociated to "open document" event: Sub Main ThisComponent.Dispose End Sub also tested Sub Main ThisComponent.close(true) End Sub and other equibalent code
Created attachment 9447 [details] Document that crash on Linux
I try the problem on OpenOffice 1.1 RC4(default Install, US), Win XP Pro Sp1. (And MS Office XP Sp2). I can open it and after that it close the Openoffice writer. is that the one you mention about crash ?
Yes is that, but only crash on Linux System. I test it with Suse 8.2 and RedHat 9.0 with OpenOffice 1.1 RC4(default Install, US).
I saw the crash on Red Hat 9 with ooo1.1.0rc4, and submitted a crash report that mentioned this issue number. FWIW, here's gdb's view of the crash: Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 16384 (LWP 21038)] 0x411340c2 in pthread_mutex_lock () from /lib/libpthread.so.0 (gdb) bt #0 0x411340c2 in pthread_mutex_lock () from /lib/libpthread.so.0 #1 0x40bbabde in osl_acquireMutex () from /opt/OpenOffice.org1.1.0rc4-pre/program/libsal.so.3 #2 0x40b586db in cppu::OInterfaceIteratorHelper::~OInterfaceIteratorHelper() () from /opt/OpenOffice.org1.1.0rc4-pre/program/libcppuhelpergcc3.so.3 #3 0x43ba700a in SfxBaseModel::postEvent_Impl(SfxEventHint const&) () from /opt/OpenOffice.org1.1.0rc4-pre/program/libsfx645li.so ... And the mangled view on stdout: Fatal exception: Signal 11 Stack: ... /opt/OpenOffice.org1.1.0rc4-pre/program/libsal.so.3(osl_acquireMutex+0x23)[0x40bbabde] /opt/OpenOffice.org1.1.0rc4-pre/program/libcppuhelpergcc3.so.3(_ZN4cppu24OInterfaceIteratorHelperD1Ev+0x2f)[0x40b586db] /opt/OpenOffice.org1.1.0rc4-pre/program/libsfx645li.so(_ZN12SfxBaseModel14postEvent_ImplERK12SfxEventHint+0x14c)[0x43ba700a] /opt/OpenOffice.org1.1.0rc4-pre/program/libsfx645li.so(_ZN12SfxBaseModel6NotifyER14SfxBroadcasterRK7SfxHint+0x367)[0x43ba57bf] ... By searching Issuezilla for _ZN4cppu24OInterfaceIteratorHelperD1Ev, I saw that this is a dup of the earlier bug 19711. *** This issue has been marked as a duplicate of 19711 ***
Created attachment 12761 [details] Test document: just load it and grant macro execution
.