Apache OpenOffice (AOO) Bugzilla – Issue 88286
crash changing the iconset on Aqua version
Last modified: 2008-05-27 07:59:04 UTC
Mac OS X Intel / 10.4.11 / crash when changing the iconset The log of the crash shown SvtMiscOptions_Impl::CallListeners() as potential candidate. After tracing a bit, looks list, for some reason, aList is not defined, or the right member is missing, or, dont know exactly. Testing if aList != NULL and I can no longer repeat the crash. @pl : can you please have a look ? ( I'll attach a patch ) The log of the crash (randomly repeatable) : Command: soffice.bin Path: /Users/ericb/Desktop/Prague2008/OpenOffice.org.app/Contents/MacOS/soffice.bin Parent: WindowServer [58] Version: 3.0.0 (???) PID: 3911 Thread: 0 Exception: EXC_BAD_ACCESS (0x0001) Codes: KERN_INVALID_ADDRESS (0x0001) at 0x573d0431 Thread 0 Crashed: 0 <<00000000>> 0x573d0431 0 + 1463616561 1 libfwkmxi.dylib 0x1644abd9 component_writeInfo + 364471 2 libsvtmxi.dylib 0x01771c8d SvtMiscOptions_Impl::CallListeners() + 65 3 libsvtmxi.dylib 0x01772480 SvtMiscOptions_Impl::ImplSetSymbolsStyle(bool, short, rtl::OUString const&) + 294 4 libsvtmxi.dylib 0x0177259e SvtMiscOptions::SetSymbolsStyle(short) + 72 5 libcuimxi.dylib 0x26c4edab CreateDialogFactory + 193467 6 libcuimxi.dylib 0x26c7c74b CreateDialogFactory + 380251 7 libvclmxi.dylib 0x02184547 Control::ImplCallEventListenersAndHandler(unsigned long, Link const&, void*) + 115 8 libvclmxi.dylib 0x02175daf Button::Click() + 39 9 libvclmxi.dylib 0x02172c52 Window::EndTracking(unsigned short) + 262 10 libvclmxi.dylib 0x0216d560 ImplHandleMouseEvent(Window*, unsigned short, unsigned char, long, long, unsigned long, unsigned short, unsigned short) + 874 11 libvclmxi.dylib 0x0216f57d ImplWindowFrameProc(Window*, SalFrame*, unsigned short, void const*) + 579 12 libvclmxi.dylib 0x021e182c AquaSalFrame::~AquaSalFrame [in-charge deleting]() + 10494 13 libvclmxi.dylib 0x021df6b5 AquaSalFrame::~AquaSalFrame [in-charge deleting]() + 1927
Add pl on CC
Created attachment 52824 [details] a patch (as workaround)
*** Issue 88285 has been marked as a duplicate of this issue. ***
Related issue: Issue 86098 - 'crash when switching icons' ?
should be a duplicate to issue 86098 *** This issue has been marked as a duplicate of 86098 ***
closing
@pl : the patch from issue 86098 fixed nothing for me, but the one I used ( probably uggly) did. What do ?
I forgot: I tested the patch from issue 86098 with DEV300_m8
reopen
if this patch fixes the crash and the one in issu 88098 doesn't this would seem to indicate that CallListeners is called on a dead instance of SvtMiscOptions_Impl. I don't see how that could happen, but this is not really my code. The only thing noticeable is that SvtMiscOptions_Impl seems to have a quaint self implemented refcounting system.
cd: Accepted and must be fixed for OOo 3.0.
cd: Crash must be P2.
cd->pl,ericb: I couldn't reproduce a crash using a DEV300m14. Could you please confirm it? The patch looks strange as you try to check a normal member object, not a object pointer. I don't know why that fixed the crash. As Philipp already stated the root cause is based on the fact that SvtMiscOptions_Impl gets destroyed although some other code has a reference. That should never happen! Currently I am lost as I cannot reproduce the crash.
@cd I'll trust you :) My patch was just a try, and since you can no longer reproduce, there is no problem for me to close the issue as invalid or wontfix
cd: Closing issue as WORKSFORME.
cd: Closed.