To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=109000
                 Issue #|109000
                 Summary|crash when removing entries in toolbar
               Component|porting
                 Version|1.0.0
                Platform|Macintosh
                     URL|
              OS/Version|Mac OS X, all
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|MacOSX
             Assigned to|macport
             Reported by|ericb





------- Additional comments from er...@openoffice.org Fri Feb  5 23:19:29 +0000 
2010 -------
crash fully repeatable on Mac OS X 10.4.11  Intel 

crash fully reproductible :  try to remove several entries on the toolbars 

Stack with stripped libs : 

Thread 0 Crashed:
0   libobjc.A.dylib             0x90a5a092 _objc_search_builtins + 24
1   libobjc.A.dylib             0x90a59fd6 __sel_registerName + 38
2   libobjc.A.dylib             0x90a59e9d fixupSelectorsInMethodList + 131
3   libobjc.A.dylib             0x90a59621 _class_lookupMethodAndLoadCache + 233
4   libobjc.A.dylib             0x90a59506 objc_msgSend + 86
5   com.apple.CoreFoundation    0x90824fbc __CFDictionaryDeallocate + 460
6   com.apple.CoreFoundation    0x9080e109 _CFRelease + 188
7   com.apple.Foundation        0x927db8af NSPopAutoreleasePool + 530
8   libvclmxi.dylib             0x024ce0db 
ReleasePoolHolder::~ReleasePoolHolder [in-charge]() + 39 
(salinst.cxx:671)
9   libvclmxi.dylib             0x023a2f30 AquaSalInstance::Yield(bool, bool) + 
1546 (salinst.cxx:805)

-> I added symbols in libvcl, sfx2 and framework, and finally, gdb leads me 
regularly to :

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_PROTECTION_FAILURE at address: 0x0b8395bb
0x90a59eb5 in fixupSelectorsInMethodList ()

with the stack :

(gdb) bt
#0  0x90a59eb5 in fixupSelectorsInMethodList ()
#1  0x90a59621 in _class_lookupMethodAndLoadCache ()
#2  0x90a59506 in objc_msgSend ()
#3  0x90824fbc in __CFDictionaryDeallocate ()
#4  0x9080e109 in _CFRelease ()

After some tries, I think I found the real cause : an extra release in 
ReleasePoolHolder::~ReleasePoolHolder  ( vcl/aqua/salinst.cxx line around 679 )

Remonving the [pool release]  fixed all the crashes, but maybe introduces a 
leak ..
 
@pl : I'll attach a patch, but I'm not sure the patch occurs elsewhere than 
Tiger ( not Leopard on my 
machines)

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@porting.openoffice.org
For additional commands, e-mail: issues-h...@porting.openoffice.org


---------------------------------------------------------------------
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org

Reply via email to