[Adium-devl] Running Adium with Guard Malloc

Evan Schoenberg evan.s at dreskin.net
Mon Jul 21 02:36:25 UTC 2008


When Guard Malloc is enabled, Adium quickly (relatively speaking)  
crashes in Apple code:

(gdb) bt
#0  0x95640a21 in _LSCopyInfoForNode ()
#1  0x9565bd9e in LSCopyItemInfoForRef ()
#2  0x92e06d82 in IterateFolder ()
#3  0x92e072f6 in HandleGDUT ()
#4  0x960e0c74 in _fixupAppleEventHandler ()
#5  0x960d2648 in aeDispatchAppleEvent ()
#6  0x960d257e in dispatchEventAndSendReply ()
#7  0x960d2425 in aeProcessAppleEvent ()
#8  0x9117d47d in AEProcessAppleEvent ()
#9  0x939ac719 in _DPSNextEvent ()
#10 0x939abdb8 in -[NSApplication  
nextEventMatchingMask:untilDate:inMode:dequeue:] ()
#11 0x939a4df3 in -[NSApplication run] ()
#12 0x93972030 in NSApplicationMain ()
#13 0x000030e7 in main (argc=0x1, argv=0xbffff624) at /Users/evands/ 
adium/Source/main.m:3

This is even after disabling our registration as an apple event  
handler, stopping Sparkle from checking for updates (done because a  
sparkle update window was what i originally saw with the crash), and  
disabling Address Book integration (because it's really really slow to  
load with guard malloc enabled), done by the attached patch.


Oh, I also turned off our Applescript support entirely, as someone http://lists.apple.com/archives/Applescript-implementors/2006/Feb/msg00040.html 
  suggested that an AS parsing bug might anger Guard Malloc.

Anyone have any thoughts as to what's causing this?  The Googles do  
not appear, to me anyways, to have an answer.  One or two people  
mention a similar problem tangentially, but there's never discussion  
nor resolution.

-Evan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://adium.im/pipermail/devel_adium.im/attachments/20080720/e0c1ea5c/attachment-0002.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: guard_malloc.diff
Type: application/octet-stream
Size: 1612 bytes
Desc: not available
URL: <http://adium.im/pipermail/devel_adium.im/attachments/20080720/e0c1ea5c/attachment.obj>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://adium.im/pipermail/devel_adium.im/attachments/20080720/e0c1ea5c/attachment-0003.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 194 bytes
Desc: This is a digitally signed message part
URL: <http://adium.im/pipermail/devel_adium.im/attachments/20080720/e0c1ea5c/attachment.sig>


More information about the devel mailing list