Frequent Crashes of GrowlHelperApp 1.1.4

8 views
Skip to first unread message

dkocher

unread,
Jul 21, 2008, 4:47:59 AM7/21/08
to Growl Discuss
Sorry I am posting here, it seems that Trac is no longer running.

-David

Process: GrowlHelperApp [770]
Path: /Library/PreferencePanes/Growl.prefPane/Contents/
Resources/GrowlHelperApp.app/Contents/MacOS/GrowlHelperApp
Identifier: com.Growl.GrowlHelperApp
Version: 1.1.4 (1.1.4)
Code Type: X86 (Native)
Parent Process: launchd [327]

Date/Time: 2008-07-21 10:42:05.559 +0200
OS Version: Mac OS X 10.5.4 (9E17)
Report Version: 6

Exception Type: EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000002, 0x0000000000000000
Crashed Thread: 0

Application Specific Information:
*** Terminating app due to uncaught exception
'NSInvalidArgumentException', reason: '*** -[NSCFString drain]:
unrecognized selector sent to instance 0x10b230'

Thread 0 Crashed:
0 com.apple.CoreFoundation 0x9447aff4
___TERMINATING_DUE_TO_UNCAUGHT_EXCEPTION___ + 4
1 libobjc.A.dylib 0x94bcc0fb objc_exception_throw +
40
2 com.apple.AppKit 0x9292de88 -[NSApplication run] +
944
3 com.Growl.GrowlHelperApp 0x000228ac 0x1000 + 137388
4 com.Growl.GrowlHelperApp 0x00006c38 0x1000 + 23608
5 com.Growl.GrowlHelperApp 0x0000243e 0x1000 + 5182
6 com.Growl.GrowlHelperApp 0x00002365 0x1000 + 4965



Process: GrowlHelperApp [899]
Path: /Library/PreferencePanes/Growl.prefPane/Contents/
Resources/GrowlHelperApp.app/Contents/MacOS/GrowlHelperApp
Identifier: com.Growl.GrowlHelperApp
Version: 1.1.4 (1.1.4)
Code Type: X86 (Native)
Parent Process: launchd [327]

Date/Time: 2008-07-21 10:46:47.557 +0200
OS Version: Mac OS X 10.5.4 (9E17)
Report Version: 6

Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x00000000c007a037
Crashed Thread: 0

Thread 0 Crashed:
0 libobjc.A.dylib 0x94bd76e8 objc_msgSend + 24
1 com.Growl.GrowlHelperApp 0x000228ac 0x1000 + 137388
2 com.Growl.GrowlHelperApp 0x00006c38 0x1000 + 23608
3 com.Growl.GrowlHelperApp 0x0000243e 0x1000 + 5182
4 com.Growl.GrowlHelperApp 0x00002365 0x1000 + 4965

Peter Hosey

unread,
Jul 21, 2008, 1:41:31 PM7/21/08
to growld...@googlegroups.com
On Jul 21, 2008, at 01:47:59, dkocher wrote:
> 'NSInvalidArgumentException', reason: '*** -[NSCFString drain]:
> unrecognized selector sent to instance 0x10b230'

Please try running it directly, with NSZombieEnabled=1.

lmjabreu

unread,
Jul 28, 2008, 1:12:24 PM7/28/08
to Growl Discuss
I'm also having this problem, VERY frequent crashes,

I should add NSZombieEnabled to the growl prefpane plist right?

Peter Hosey

unread,
Jul 28, 2008, 1:16:29 PM7/28/08
to growld...@googlegroups.com
On Jul 28, 2008, at 10:12:24, lmjabreu wrote:
> I should add NSZombieEnabled to the growl prefpane plist right?

Nope. It's an environment variable. You'd do something like this in
the Terminal (/Applications/Utilities/Terminal.app):

NSZombieEnabled=1 /Library/PreferencePanes/Growl.prefPane/\
Contents/Resources/GrowlHelperApp.app/Contents/MacOS/GrowlHelperApp

Then you watch the Console (/Applications/Utilities/Console.app) for
output from GrowlHelperApp. When it goes to touch a dead object, the
object records lines in the Console, which you copy and send to us.

Evan Schoenberg

unread,
Jul 28, 2008, 1:23:17 PM7/28/08
to growld...@googlegroups.com

You need to quit GrowlHelperApp via Activity Monitor before executing
the above command.

If you don't quit GHA first, your request to run it won't do anything
useful.
If you quit GHA via the System Preferences pain [sic] ("stop growl"),
you'll tell Growl not to run at all, and your request to run it won't
do anything useful.

-Evan

PGP.sig

lmjabreu

unread,
Jul 28, 2008, 1:36:20 PM7/28/08
to Growl Discuss
Thanks you all.

Fortunately it crashed for the 20th time today in no time.

Jul 28 18:31:54 lmjabreu-mbp ReportCrash[11530]: Formulating crash
report for process GrowlHelperApp[11478]
Jul 28 18:31:56 lmjabreu-mbp ReportCrash[11530]: Saved crashreport to /
Users/lmjabreu/Library/Logs/CrashReporter/
GrowlHelperApp_2008-07-28-183142_lmjabreu-mbp.crash using uid: 501
gid: 20, euid: 501 egid: 20
Jul 28 18:33:51 lmjabreu-mbp SubmitReport[11547]: Submitted compressed
crash report for GrowlHelperApp

log:

Process: GrowlHelperApp [11478]
Path: /Library/PreferencePanes/Growl.prefPane/Contents/
Resources/GrowlHelperApp.app/Contents/MacOS/GrowlHelperApp
Identifier: com.Growl.GrowlHelperApp
Version: 1.1.4 (1.1.4)
Code Type: X86 (Native)
Parent Process: bash [11466]

Date/Time: 2008-07-28 18:31:42.567 +0100
OS Version: Mac OS X 10.5.4 (9E17)
Report Version: 6

Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x00000000c0000023
Crashed Thread: 0

Thread 0 Crashed:
0 libobjc.A.dylib 0x928026e8 objc_msgSend + 24
1 com.Growl.GrowlHelperApp 0x000228ac 0x1000 + 137388
2 com.Growl.GrowlHelperApp 0x00006c38 0x1000 + 23608
3 com.Growl.GrowlHelperApp 0x0000243e 0x1000 + 5182
4 com.Growl.GrowlHelperApp 0x00002365 0x1000 + 4965

Thread 1:
0 libSystem.B.dylib 0x901c64a6 mach_msg_trap + 10
1 libSystem.B.dylib 0x901cdc9c mach_msg + 72
2 com.apple.CoreFoundation 0x93ad60ce CFRunLoopRunSpecific +
1790
3 com.apple.CoreFoundation 0x93ad6cf8 CFRunLoopRunInMode + 88
4 com.apple.Foundation 0x93eeccb8 -[NSConnection run] +
280
5 com.apple.Foundation 0x93decf1d -[NSThread main] + 45
6 com.apple.Foundation 0x93decac4 __NSThread__main__ + 308
7 libSystem.B.dylib 0x901f76f5 _pthread_start + 321
8 libSystem.B.dylib 0x901f75b2 thread_start + 34

Thread 2:
0 libSystem.B.dylib 0x901c64a6 mach_msg_trap + 10
1 libSystem.B.dylib 0x901cdc9c mach_msg + 72
2 com.apple.CoreFoundation 0x93ad60ce CFRunLoopRunSpecific +
1790
3 com.apple.CoreFoundation 0x93ad6cf8 CFRunLoopRunInMode + 88
4 com.apple.CFNetwork 0x956a9a32
CFURLCacheWorkerThread(void*) + 396
5 libSystem.B.dylib 0x901f76f5 _pthread_start + 321
6 libSystem.B.dylib 0x901f75b2 thread_start + 34

Thread 3:
0 libSystem.B.dylib 0x901c64a6 mach_msg_trap + 10
1 libSystem.B.dylib 0x901cdc9c mach_msg + 72
2 com.apple.CoreFoundation 0x93ad60ce CFRunLoopRunSpecific +
1790
3 com.apple.CoreFoundation 0x93ad6cf8 CFRunLoopRunInMode + 88
4 com.apple.Foundation 0x93e50460 +
[NSURLConnection(NSURLConnectionReallyInternal) _resourceLoadLoop:] +
320
5 com.apple.Foundation 0x93decf1d -[NSThread main] + 45
6 com.apple.Foundation 0x93decac4 __NSThread__main__ + 308
7 libSystem.B.dylib 0x901f76f5 _pthread_start + 321
8 libSystem.B.dylib 0x901f75b2 thread_start + 34

Thread 0 crashed with X86 Thread State (32-bit):
eax: 0x00141980 ebx: 0x92cc5ae3 ecx: 0x928116bc edx: 0xc0000003
edi: 0x001141a0 esi: 0xa0471b40 ebp: 0xbffff758 esp: 0xbffff698
ss: 0x0000001f efl: 0x00010202 eip: 0x928026e8 cs: 0x00000017
ds: 0x0000001f es: 0x0000001f fs: 0x00000000 gs: 0x00000037
cr2: 0xc0000023

Binary Images:
0x1000 - 0x2cfff +com.Growl.GrowlHelperApp 1.1.4 (1.1.4)
<ae9de5e33c923e2bfc5c0bcefc7832d9> /Library/PreferencePanes/
Growl.prefPane/Contents/Resources/GrowlHelperApp.app/Contents/MacOS/
GrowlHelperApp
0x3d000 - 0x56fff com.apple.frameworks.preferencepanes 12.1
(12.1) <6532fbd0843b6b97c871a71248ae1731> /System/Library/Frameworks/
PreferencePanes.framework/Versions/A/PreferencePanes
0x73000 - 0x74ffc +com.growl.Speech ??? (0.6)
<45604c13ea9b85bf4f24b64ea9dcee88> /Library/PreferencePanes/
Growl.prefPane/Contents/Resources/GrowlHelperApp.app/Contents/PlugIns/
Speech.growlView/Contents/MacOS/Speech
0xaa000 - 0xacfff +net.wonderboots.multiclutchinputmanager ???
(1.0) <9e7f545987565ae48e64ca5fadf74e62> /Library/InputManagers/
MultiClutchInputManager/MultiClutchInputManager.bundle/Contents/MacOS/
MultiClutchInputManager
0xb1000 - 0xb3fff +net.culater.SIMBL 0.8.2 (8) /Library/
InputManagers/SIMBL/SIMBL.bundle/Contents/MacOS/SIMBL
0x728000 - 0x72effb +com.Growl.Bezel ??? (1.2)
<def7e124ce6c6db39128e12ca83e5080> /Library/PreferencePanes/
Growl.prefPane/Contents/Resources/GrowlHelperApp.app/Contents/PlugIns/
Bezel.growlView/Contents/MacOS/Bezel
0x734000 - 0x739fff +com.Growl.Brushed 1.0 (1.0)
<fe36fffea64213f4d7bc0410e2843adb> /Library/PreferencePanes/
Growl.prefPane/Contents/Resources/GrowlHelperApp.app/Contents/PlugIns/
Brushed.growlView/Contents/MacOS/Brushed
0x73f000 - 0x744ffb +com.Growl.Bubbles 1.1 (1.1)
<a80fe994dc48766da7393af484bde741> /Library/PreferencePanes/
Growl.prefPane/Contents/Resources/GrowlHelperApp.app/Contents/PlugIns/
Bubbles.growlView/Contents/MacOS/Bubbles
0x74a000 - 0x74fffb +com.Growl.iCal 1.0 (1.0)
<9d82d820224706db83b147fe4b82d5ec> /Library/PreferencePanes/
Growl.prefPane/Contents/Resources/GrowlHelperApp.app/Contents/PlugIns/
iCal.growlView/Contents/MacOS/iCal
0x755000 - 0x756ffe +com.Growl.MailMe ??? (1.0)
<6f63d2962fe9f5680be9f697a8992265> /Library/PreferencePanes/
Growl.prefPane/Contents/Resources/GrowlHelperApp.app/Contents/PlugIns/
MailMe.growlView/Contents/MacOS/MailMe
0x75b000 - 0x75dfff com.apple.ExceptionHandling 1.5 (10) /System/
Library/Frameworks/ExceptionHandling.framework/Versions/A/
ExceptionHandling
0x764000 - 0x788fe7
com.apple.speech.LatentSemanticMappingFramework 2.6.4 (2.6.4)
<32045add5f408ba4193bfaf296908bd2> /System/Library/Frameworks/
LatentSemanticMapping.framework/Versions/A/LatentSemanticMapping
0x79d000 - 0x7a2fff +com.Growl.MusicVideo ??? (0.2)
<8119ab2bfd3605261378cca9c2fa0007> /Library/PreferencePanes/
Growl.prefPane/Contents/Resources/GrowlHelperApp.app/Contents/PlugIns/
MusicVideo.growlView/Contents/MacOS/MusicVideo
0x7a8000 - 0x7adfff +com.Growl.Nano ??? (0.2)
<713c34e25aae143f5f2b7005b0401320> /Library/PreferencePanes/
Growl.prefPane/Contents/Resources/GrowlHelperApp.app/Contents/PlugIns/
Nano.growlView/Contents/MacOS/Nano
0x11e13000 - 0x11e18fff +com.Growl.Smoke ??? (1.1)
<fac670e62a6a2c3f6d0e544226a800aa> /Library/PreferencePanes/
Growl.prefPane/Contents/Resources/GrowlHelperApp.app/Contents/PlugIns/
Smoke.growlView/Contents/MacOS/Smoke
0x11e1e000 - 0x11e21ffe +com.Growl.SMS ??? (1.0)
<06a225dd195cad5afde4f07241b173f7> /Library/PreferencePanes/
Growl.prefPane/Contents/Resources/GrowlHelperApp.app/Contents/PlugIns/
SMS.growlView/Contents/MacOS/SMS
0x11e89000 - 0x11fa7ff7 com.apple.RawCamera.bundle 2.0.8 (2.0.8)
<56067945130800a348eb076676d41e92> /System/Library/CoreServices/
RawCamera.bundle/Contents/MacOS/RawCamera
0x14625000 - 0x14879ff3 com.apple.MessageFramework 3.4 (928.1)
<eb4365318266f14754831179bedb477d> /System/Library/Frameworks/
Message.framework/Versions/B/Message
0x8fe00000 - 0x8fe2da53 dyld 96.2 (???)
<5013f43c4d2c33c9619011f103ec3238> /usr/lib/dyld
0x90003000 - 0x9003ffff com.apple.DAVKit 3.0.4 (651) /System/Library/
PrivateFrameworks/DAVKit.framework/Versions/A/DAVKit
0x90040000 - 0x900fdfff com.apple.WebKit 5525.18 (5525.18)
<7e41e38368974ed048c2f027a961dbd4> /System/Library/Frameworks/
WebKit.framework/Versions/A/WebKit
0x90116000 - 0x9013afff libxslt.1.dylib ??? (???)
<59399cc446ed903fd9479526ee9f116b> /usr/lib/libxslt.1.dylib
0x9013b000 - 0x90140fff com.apple.CommonPanels 1.2.4 (85)
<3b64ef0de184d09c6f99a1a7e77e42be> /System/Library/Frameworks/
Carbon.framework/Versions/A/Frameworks/CommonPanels.framework/Versions/
A/CommonPanels
0x90141000 - 0x901c0ff5 com.apple.SearchKit 1.2.0 (1.2.0)
<5abfde5537969168b8a8743ccb9ec735> /System/Library/Frameworks/
CoreServices.framework/Versions/A/Frameworks/SearchKit.framework/
Versions/A/SearchKit
0x901c1000 - 0x901c4fff com.apple.help 1.1 (36)
<175489f8adf287b3ebd259362b0292c0> /System/Library/Frameworks/
Carbon.framework/Versions/A/Frameworks/Help.framework/Versions/A/Help
0x901c5000 - 0x90325ff3 libSystem.B.dylib ??? (???)
<a12f397abf2285077b89bd726bff5b18> /usr/lib/libSystem.B.dylib
0x9032c000 - 0x90359feb libvDSP.dylib ??? (???)
<2ee4eb005babc90eaa352b33eb09226e> /System/Library/Frameworks/
Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/
libvDSP.dylib
0x905c3000 - 0x90c5ffff com.apple.CoreGraphics 1.351.31 (???)
<c97a42498636b2596764e48669f98e00> /System/Library/Frameworks/
ApplicationServices.framework/Versions/A/Frameworks/
CoreGraphics.framework/Versions/A/CoreGraphics
0x90c60000 - 0x90c99ffe com.apple.securityfoundation 3.0 (32989)
<d25780b149d9b0b518899c8aade0b61f> /System/Library/Frameworks/
SecurityFoundation.framework/Versions/A/SecurityFoundation
0x90c9a000 - 0x90cf4ff7 com.apple.CoreText 2.0.2 (???)
<9fde11f84a72e890bbf2aa8b0b13b79a> /System/Library/Frameworks/
ApplicationServices.framework/Versions/A/Frameworks/CoreText.framework/
Versions/A/CoreText
0x90cf5000 - 0x90d15ff2 libGL.dylib ??? (???) /System/Library/
Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
0x90d1b000 - 0x90d6bff7 com.apple.HIServices 1.7.0 (???)
<f83f0cb838a646c69f08fd38a31265f3> /System/Library/Frameworks/
ApplicationServices.framework/Versions/A/Frameworks/
HIServices.framework/Versions/A/HIServices
0x90d6c000 - 0x91073ff7 com.apple.HIToolbox 1.5.3 (???)
<e36f5c553e5a32f64b7eb458dadadc71> /System/Library/Frameworks/
Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/
HIToolbox
0x91074000 - 0x91126ffb libcrypto.0.9.7.dylib ??? (???)
<8f92cbdc8777bea2ec49b06ee79fabc0> /usr/lib/libcrypto.0.9.7.dylib
0x91127000 - 0x91137fff com.apple.speech.synthesis.framework 3.7.1
(3.7.1) <06d8fc0307314f8ffc16f206ad3dbf44> /System/Library/Frameworks/
ApplicationServices.framework/Versions/A/Frameworks/
SpeechSynthesis.framework/Versions/A/SpeechSynthesis
0x9113c000 - 0x91207fff com.apple.ColorSync 4.5.0 (4.5.0) /System/
Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/
ColorSync.framework/Versions/A/ColorSync
0x91208000 - 0x91293fff com.apple.framework.IOKit 1.5.1 (???)
<60cfc4b175c4ef60bb8e9036716a29f4> /System/Library/Frameworks/
IOKit.framework/Versions/A/IOKit
0x91294000 - 0x912c3fe3 com.apple.AE 402.2 (402.2)
<d0da935e781446faa4563e7a9c587cce> /System/Library/Frameworks/
CoreServices.framework/Versions/A/Frameworks/AE.framework/Versions/A/
AE
0x912c4000 - 0x912d2ffd libz.1.dylib ??? (???)
<545ca09467025f77131cfac09d8b9375> /usr/lib/libz.1.dylib
0x912d3000 - 0x912f7feb libssl.0.9.7.dylib ??? (???)
<0ee18f8589ed06aabdc1df5b37a801cd> /usr/lib/libssl.0.9.7.dylib
0x912f8000 - 0x913d8fff com.apple.syncservices 3.1 (389.6)
<51037594e950b0331d4996691cf4acba> /System/Library/Frameworks/
SyncServices.framework/Versions/A/SyncServices
0x913d9000 - 0x914baff7 libxml2.2.dylib ??? (???)
<1baef3d4972ee789d8fa6c1fa44da45c> /usr/lib/libxml2.2.dylib
0x914bb000 - 0x91514ff7 libGLU.dylib ??? (???) /System/Library/
Frameworks/OpenGL.framework/Versions/A/Libraries/libGLU.dylib
0x91515000 - 0x9151afff com.apple.backup.framework 1.0 (1.0) /System/
Library/PrivateFrameworks/Backup.framework/Versions/A/Backup
0x9151b000 - 0x91b6bfff com.apple.WebCore 5525.18.1 (5525.18.1)
<9fcf69305c5b48dd8a5cb77107f66c7a> /System/Library/Frameworks/
WebKit.framework/Versions/A/Frameworks/WebCore.framework/Versions/A/
WebCore
0x91b6c000 - 0x91ba6fff com.apple.coreui 1.1 (61) /System/Library/
PrivateFrameworks/CoreUI.framework/Versions/A/CoreUI
0x91c4a000 - 0x91c55fff com.apple.dotMacLegacy 3.1 (244.1)
<dc5b306b079718439c199d386ff60cc4> /System/Library/PrivateFrameworks/
DotMacLegacy.framework/Versions/A/DotMacLegacy
0x91c56000 - 0x91d57fef com.apple.PubSub 1.0.3 (65.1.1) /System/
Library/Frameworks/PubSub.framework/Versions/A/PubSub
0x91d58000 - 0x91e7cfe3 com.apple.audio.toolbox.AudioToolbox 1.5.1
(1.5.1) /System/Library/Frameworks/AudioToolbox.framework/Versions/A/
AudioToolbox
0x91e7d000 - 0x91eb4fff com.apple.SystemConfiguration 1.9.2 (1.9.2)
<8b26ebf26a009a098484f1ed01ec499c> /System/Library/Frameworks/
SystemConfiguration.framework/Versions/A/SystemConfiguration
0x91eb5000 - 0x91ef6fe7 libRIP.A.dylib ??? (???)
<c8d988d3880d7268468112c64c626d86> /System/Library/Frameworks/
ApplicationServices.framework/Versions/A/Frameworks/
CoreGraphics.framework/Versions/A/Resources/libRIP.A.dylib
0x91ef7000 - 0x91fb1fe3 com.apple.CoreServices.OSServices 226.5
(226.5) <7e10d25c615a39fe1ab4d48e24a3b555> /System/Library/Frameworks/
CoreServices.framework/Versions/A/Frameworks/OSServices.framework/
Versions/A/OSServices
0x91fb2000 - 0x91ffcfe1 com.apple.securityinterface 3.0 (32532)
<e849f522f5055fb9083609a3c6e32280> /System/Library/Frameworks/
SecurityInterface.framework/Versions/A/SecurityInterface
0x91ffd000 - 0x9207afef libvMisc.dylib ??? (???) /System/Library/
Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/
Versions/A/libvMisc.dylib
0x92099000 - 0x92373ff3 com.apple.CoreServices.CarbonCore 786.4
(786.4) <059c4803a7a95e3c1a95a332baeb1edf> /System/Library/Frameworks/
CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/
Versions/A/CarbonCore
0x9246e000 - 0x924a0fff com.apple.LDAPFramework 1.4.3 (106)
<fd2a420db8e3bf599c9c41713d7ad0a6> /System/Library/Frameworks/
LDAP.framework/Versions/A/LDAP
0x924a1000 - 0x924c9fff libcups.2.dylib ??? (???)
<ece20dff2a2c8ed3ae6ef735ef440c37> /usr/lib/libcups.2.dylib
0x924ca000 - 0x924d0fff com.apple.print.framework.Print 218.0.2
(220.1) <2979f3be4e7e8adc875bf21658e9be94> /System/Library/Frameworks/
Carbon.framework/Versions/A/Frameworks/Print.framework/Versions/A/
Print
0x924d1000 - 0x92501ff3 com.apple.DotMacSyncManager 1.2.3 (283)
<3f521a1391d7740aca012fe3e4772095> /System/Library/PrivateFrameworks/
DotMacSyncManager.framework/Versions/A/DotMacSyncManager
0x92502000 - 0x92502ffa com.apple.CoreServices 32 (32)
<2760719f7a81e8c2bdfd15b0939abc29> /System/Library/Frameworks/
CoreServices.framework/Versions/A/CoreServices
0x92503000 - 0x92542fef libTIFF.dylib ??? (???)
<4b7d3b3b9a9c8335c2538371cb39b60b> /System/Library/Frameworks/
ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/
Versions/A/Resources/libTIFF.dylib
0x92543000 - 0x92553ffc com.apple.LangAnalysis 1.6.4 (1.6.4)
<8b7831b5f74a950a56cf2d22a2d436f6> /System/Library/Frameworks/
ApplicationServices.framework/Versions/A/Frameworks/
LangAnalysis.framework/Versions/A/LangAnalysis
0x92710000 - 0x9278cfeb com.apple.audio.CoreAudio 3.1.0 (3.1)
<be7120e91df91425e904d5327b4338b7> /System/Library/Frameworks/
CoreAudio.framework/Versions/A/CoreAudio
0x9278d000 - 0x9278ffff com.apple.securityhi 3.0 (30817)
<020419ad33b8638b174e1a472728a894> /System/Library/Frameworks/
Carbon.framework/Versions/A/Frameworks/SecurityHI.framework/Versions/A/
SecurityHI
0x92790000 - 0x927ecff7 com.apple.htmlrendering 68 (1.1.3)
<a9f65fa1c4668dc7c49af5bf7d5287ad> /System/Library/Frameworks/
Carbon.framework/Versions/A/Frameworks/HTMLRendering.framework/
Versions/A/HTMLRendering
0x927ed000 - 0x927edfff com.apple.Carbon 136 (136)
<ec1d4184925e652dbe1b9200a5a552ec> /System/Library/Frameworks/
Carbon.framework/Versions/A/Carbon
0x927ee000 - 0x928cdfff libobjc.A.dylib ??? (???)
<99a9ad33ca07114848fdd7580968a572> /usr/lib/libobjc.A.dylib
0x928ce000 - 0x92c8cfea libLAPACK.dylib ??? (???) /System/Library/
Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/
Versions/A/libLAPACK.dylib
0x92c8d000 - 0x9348afef com.apple.AppKit 6.5.3 (949.33)
<84b236f43802f4c15011513d18efa101> /System/Library/Frameworks/
AppKit.framework/Versions/C/AppKit
0x9348b000 - 0x9348bffd com.apple.Accelerate.vecLib 3.4.2 (vecLib
3.4.2) /System/Library/Frameworks/Accelerate.framework/Versions/A/
Frameworks/vecLib.framework/Versions/A/vecLib
0x934ff000 - 0x93592fff com.apple.ink.framework 101.3 (86)
<dfa9debcd7537849d228021d1d9c0f63> /System/Library/Frameworks/
Carbon.framework/Versions/A/Frameworks/Ink.framework/Versions/A/Ink
0x93593000 - 0x935a4ffe com.apple.CFOpenDirectory 10.5 (10.5)
<01a0034b48d63524057b5f57dfc0605c> /System/Library/PrivateFrameworks/
OpenDirectory.framework/Versions/A/Frameworks/
CFOpenDirectory.framework/Versions/A/CFOpenDirectory
0x935a5000 - 0x935b4ffe com.apple.DSObjCWrappers.Framework 1.2.1
(1.2.1) <43c5b91223501f917392f59fbf9d7ace> /System/Library/
PrivateFrameworks/DSObjCWrappers.framework/Versions/A/DSObjCWrappers
0x936ed000 - 0x936f8ff9 com.apple.helpdata 1.0 (14) /System/Library/
PrivateFrameworks/HelpData.framework/Versions/A/HelpData
0x936fa000 - 0x93760ffb com.apple.ISSupport 1.7 (38) /System/Library/
PrivateFrameworks/ISSupport.framework/Versions/A/ISSupport
0x93761000 - 0x937a7fef com.apple.Metadata 10.5.2 (398.18)
<adbb3a14e8f7da444e16d2fd61862771> /System/Library/Frameworks/
CoreServices.framework/Versions/A/Frameworks/Metadata.framework/
Versions/A/Metadata
0x937a8000 - 0x937c3ff3 libPng.dylib ??? (???)
<c0484bec6e2432b406755591924fe664> /System/Library/Frameworks/
ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/
Versions/A/Resources/libPng.dylib
0x937c4000 - 0x9388bff2 com.apple.vImage 3.0 (3.0) /System/Library/
Frameworks/Accelerate.framework/Versions/A/Frameworks/vImage.framework/
Versions/A/vImage
0x93907000 - 0x93910fff com.apple.speech.recognition.framework 3.7.24
(3.7.24) <6a6518b392d3d41ace3dcea69d6809d9> /System/Library/Frameworks/
Carbon.framework/Versions/A/Frameworks/SpeechRecognition.framework/
Versions/A/SpeechRecognition
0x93911000 - 0x93939ff7 com.apple.shortcut 1 (1.0)
<5b57f8f162f77a1739b436900517d672> /System/Library/PrivateFrameworks/
Shortcut.framework/Versions/A/Shortcut
0x9393a000 - 0x939c1ff7 libsqlite3.0.dylib ??? (???)
<11311084bc4be9d4555dfac74fe7218a> /usr/lib/libsqlite3.0.dylib
0x939c2000 - 0x939c2ffd com.apple.vecLib 3.4.2 (vecLib 3.4.2) /System/
Library/Frameworks/vecLib.framework/Versions/A/vecLib
0x939c3000 - 0x93a20ffb libstdc++.6.dylib ??? (???)
<6106b1f2b0b303b06ae476253dbb5f3f> /usr/lib/libstdc++.6.dylib
0x93a21000 - 0x93a63fef com.apple.NavigationServices 3.5.2 (163)
<91844980804067b07a0b6124310d3f31> /System/Library/Frameworks/
Carbon.framework/Versions/A/Frameworks/NavigationServices.framework/
Versions/A/NavigationServices
0x93a64000 - 0x93b96fff com.apple.CoreFoundation 6.5.3 (476.14)
<7ef7f5db09ff6dd0135a6165872803cc> /System/Library/Frameworks/
CoreFoundation.framework/Versions/A/CoreFoundation
0x93b97000 - 0x93bdbfeb
com.apple.DirectoryService.PasswordServerFramework 3.0.3 (3.0.3)
<7e80635e8f1380dbf4af27e17e709fcb> /System/Library/PrivateFrameworks/
PasswordServer.framework/Versions/A/PasswordServer
0x93cbd000 - 0x93cc8fe7 libCSync.A.dylib ??? (???)
<8011fc1963cebdde0c6f101dbee5afd7> /System/Library/Frameworks/
ApplicationServices.framework/Versions/A/Frameworks/
CoreGraphics.framework/Versions/A/Resources/libCSync.A.dylib
0x93cc9000 - 0x93daeff3 com.apple.CoreData 100.1 (186)
<9187380c86061cb4c37b6bec8abeae75> /System/Library/Frameworks/
CoreData.framework/Versions/A/CoreData
0x93dc3000 - 0x93de1fff libresolv.9.dylib ??? (???)
<32ccbe19e89a3fdd09a0c88151ea508c> /usr/lib/libresolv.9.dylib
0x93de2000 - 0x9405dfe7 com.apple.Foundation 6.5.5 (677.19)
<bfd4ebea1a7739dd6b523f15dca01a37> /System/Library/Frameworks/
Foundation.framework/Versions/C/Foundation
0x9405e000 - 0x9405fffc libffi.dylib ??? (???)
<596e0dbf626b211741cecaa9698f271b> /usr/lib/libffi.dylib
0x94060000 - 0x94060ffc com.apple.audio.units.AudioUnit 1.5 (1.5) /
System/Library/Frameworks/AudioUnit.framework/Versions/A/AudioUnit
0x9407e000 - 0x9407eff8 com.apple.ApplicationServices 34 (34)
<e9cd7c823062c4382d89e3c9997f4739> /System/Library/Frameworks/
ApplicationServices.framework/Versions/A/ApplicationServices
0x9407f000 - 0x94086ff7 libCGATS.A.dylib ??? (???)
<02a2c63ef94a180f9a0924cbff8d01ef> /System/Library/Frameworks/
ApplicationServices.framework/Versions/A/Frameworks/
CoreGraphics.framework/Versions/A/Resources/libCGATS.A.dylib
0x94087000 - 0x94091feb com.apple.audio.SoundManager 3.9.2 (3.9.2)
<caa41909dcb5a18a94bc68cd13999bd5> /System/Library/Frameworks/
Carbon.framework/Versions/A/Frameworks/CarbonSound.framework/Versions/
A/CarbonSound
0x94092000 - 0x94096fff libGIF.dylib ??? (???)
<75b4fd9684d792add088205f987fb02e> /System/Library/Frameworks/
ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/
Versions/A/Resources/libGIF.dylib
0x94097000 - 0x94121fe3 com.apple.DesktopServices 1.4.6 (1.4.6)
<94d1a28b351b7dff77becadab0967772> /System/Library/PrivateFrameworks/
DesktopServicesPriv.framework/Versions/A/DesktopServicesPriv
0x94122000 - 0x94138fff com.apple.DictionaryServices 1.0.0 (1.0.0)
<7e9ff586b5c9d02b09e2a5527d98524f> /System/Library/Frameworks/
CoreServices.framework/Versions/A/Frameworks/
DictionaryServices.framework/Versions/A/DictionaryServices
0x94189000 - 0x9465cffe libGLProgrammability.dylib ??? (???)
<475db64244e011cd8811e076035b2632> /System/Library/Frameworks/
OpenGL.framework/Versions/A/Libraries/libGLProgrammability.dylib
0x9465d000 - 0x94669fff libbz2.1.0.dylib ??? (???)
<e266a580d35c4518eee864dc064e4b98> /usr/lib/libbz2.1.0.dylib
0x9466a000 - 0x94711feb com.apple.QD 3.11.52 (???)
<d6efc4827b91e646965d15c409a6610f> /System/Library/Frameworks/
ApplicationServices.framework/Versions/A/Frameworks/QD.framework/
Versions/A/QD
0x94712000 - 0x94728fe7 com.apple.CoreVideo 1.5.1 (1.5.1)
<ed7bb95fb94817ea3212090aac5c65f3> /System/Library/Frameworks/
CoreVideo.framework/Versions/A/CoreVideo
0x94729000 - 0x94747ff3 com.apple.DirectoryService.Framework 3.5.4
(3.5.4) <fe27e80e1a9e86403fd9ed16dcfe4e11> /System/Library/Frameworks/
DirectoryService.framework/Versions/A/DirectoryService
0x94748000 - 0x947c2ff8 com.apple.print.framework.PrintCore 5.5.3
(245.3) <222dade7b33b99708b8c09d1303f93fc> /System/Library/Frameworks/
ApplicationServices.framework/Versions/A/Frameworks/
PrintCore.framework/Versions/A/PrintCore
0x947c3000 - 0x947cffe7 com.apple.opengl 1.5.6 (1.5.6)
<125de77ea2434a91364e79a0905a7771> /System/Library/Frameworks/
OpenGL.framework/Versions/A/OpenGL
0x947d0000 - 0x947dffff libsasl2.2.dylib ??? (???)
<75b9d97ca7c3d53cd38bdd420a377522> /usr/lib/libsasl2.2.dylib
0x947e0000 - 0x94814fef com.apple.bom 9.0 (136)
<eca0b933894328d4b005df53c80b67cb> /System/Library/PrivateFrameworks/
Bom.framework/Versions/A/Bom
0x94815000 - 0x948a1ff7 com.apple.LaunchServices 289.2 (289.2)
<3577886e3a6d56ee3949850c4fde76c9> /System/Library/Frameworks/
CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/
Versions/A/LaunchServices
0x94bc4000 - 0x94c02ff7 libGLImage.dylib ??? (???)
<093b1b698ca93a0380f5fa262459ea28> /System/Library/Frameworks/
OpenGL.framework/Versions/A/Libraries/libGLImage.dylib
0x94c03000 - 0x94c0affe libbsm.dylib ??? (???)
<5582985a86ea36504cca31788bccf963> /usr/lib/libbsm.dylib
0x94c0b000 - 0x94d6bfee com.apple.CalendarStore 3.0.4 (833) /System/
Library/Frameworks/CalendarStore.framework/Versions/A/CalendarStore
0x94d6c000 - 0x9517cfef libBLAS.dylib ??? (???) /System/Library/
Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/
Versions/A/libBLAS.dylib
0x9517d000 - 0x95191ff3 com.apple.ImageCapture 4.0 (5.0.0) /System/
Library/Frameworks/Carbon.framework/Versions/A/Frameworks/
ImageCapture.framework/Versions/A/ImageCapture
0x95192000 - 0x95199fe9 libgcc_s.1.dylib ??? (???)
<28a7cbc3a5ca2982d124668306f422d9> /usr/lib/libgcc_s.1.dylib
0x951c5000 - 0x951c5ffb com.apple.installserver.framework 1.0 (8) /
System/Library/PrivateFrameworks/InstallServer.framework/Versions/A/
InstallServer
0x951c6000 - 0x95394fff com.apple.security 5.0.4 (34102)
<f01d6cbd6a0f24f6c13952ed448e77d6> /System/Library/Frameworks/
Security.framework/Versions/A/Security
0x95469000 - 0x9549ffef libtidy.A.dylib ??? (???)
<f1d1742e06280444baa5637b209fd0af> /usr/lib/libtidy.A.dylib
0x954a0000 - 0x955e6ff7 com.apple.ImageIO.framework 2.0.2 (2.0.2)
<77dfee73f4c0d230425a5151ee0bce05> /System/Library/Frameworks/
ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/
Versions/A/ImageIO
0x955e7000 - 0x955ebfff libmathCommon.A.dylib ??? (???) /usr/lib/
system/libmathCommon.A.dylib
0x955ec000 - 0x95604fff com.apple.openscripting 1.2.6 (???)
<4e0b05f9f47c6f7e2b01b321b2eb1413> /System/Library/Frameworks/
Carbon.framework/Versions/A/Frameworks/OpenScripting.framework/
Versions/A/OpenScripting
0x95605000 - 0x95612ff7 com.apple.DMNotification 1.1.0 (143)
<03a2cc6f170007bdd90642a01769e55a> /System/Library/PrivateFrameworks/
DMNotification.framework/Versions/A/DMNotification
0x95613000 - 0x9563efe7 libauto.dylib ??? (???)
<2072d673706bbe463ed2426af57a28d7> /usr/lib/libauto.dylib
0x9563f000 - 0x9565effa libJPEG.dylib ??? (???)
<c776945af9d960ccf5a80aa2d89fd918> /System/Library/Frameworks/
ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/
Versions/A/Resources/libJPEG.dylib
0x9569e000 - 0x95720ff3 com.apple.CFNetwork 330.4 (330.4)
<ce5b085df34a78b7f198aff9db5b52ec> /System/Library/Frameworks/
CoreServices.framework/Versions/A/Frameworks/CFNetwork.framework/
Versions/A/CFNetwork
0x95721000 - 0x95723ff5 libRadiance.dylib ??? (???)
<c307054a6d8337c85ef501780b54704d> /System/Library/Frameworks/
ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/
Versions/A/Resources/libRadiance.dylib
0x95724000 - 0x957f2ff3 com.apple.JavaScriptCore 5525.18 (5525.18)
<672d1c7f16a4300addabeff4830f5024> /System/Library/Frameworks/
JavaScriptCore.framework/Versions/A/JavaScriptCore
0x957f3000 - 0x95972fff com.apple.AddressBook.framework 4.1.1 (695)
<24a448ba4f9f784189bd3183e3474d81> /System/Library/Frameworks/
AddressBook.framework/Versions/A/AddressBook
0x95973000 - 0x95973ff8 com.apple.Cocoa 6.5 (???)
<e9318c93615b27231498bbe585b8da98> /System/Library/Frameworks/
Cocoa.framework/Versions/A/Cocoa
0x9597e000 - 0x959ebffb com.apple.WhitePagesFramework 1.2 (119.0) /
System/Library/PrivateFrameworks/WhitePages.framework/Versions/A/
WhitePages
0x959ec000 - 0x95a3cfeb com.apple.framework.familycontrols 1.0.2
(1.0.2) <90f740755beef77835545ede9e5e975d> /System/Library/
PrivateFrameworks/FamilyControls.framework/Versions/A/FamilyControls
0x95a3d000 - 0x95a41fff com.apple.OpenDirectory 10.5 (10.5)
<29f7b10aad34ba8eb15b55d69dff6ddf> /System/Library/PrivateFrameworks/
OpenDirectory.framework/Versions/A/OpenDirectory
0x95a42000 - 0x95dd8fff com.apple.QuartzCore 1.5.3 (1.5.3)
<1b65c05f89e81a499302fd63295b242d> /System/Library/Frameworks/
QuartzCore.framework/Versions/A/QuartzCore
0x95dd9000 - 0x95e6cff3 com.apple.ApplicationServices.ATS 3.3 (???)
<064eb6d96417afa38a80b1735c4113aa> /System/Library/Frameworks/
ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/
Versions/A/ATS
0x95f62000 - 0x95f62ffd com.apple.Accelerate 1.4.2 (Accelerate
1.4.2) /System/Library/Frameworks/Accelerate.framework/Versions/A/
Accelerate
0x95f63000 - 0x96013fff edu.mit.Kerberos 6.0.12 (6.0.12)
<1dc515ebe407292db8e603938c72d4e8> /System/Library/Frameworks/
Kerberos.framework/Versions/A/Kerberos
0x96014000 - 0x9614cff7 libicucore.A.dylib ??? (???)
<5031226ea28b371d8dfdbb32acfb48b5> /usr/lib/libicucore.A.dylib
0x9614d000 - 0x96155fff com.apple.DiskArbitration 2.2.1 (2.2.1)
<42908e7ecc17a83cec4afef2850ec79e> /System/Library/Frameworks/
DiskArbitration.framework/Versions/A/DiskArbitration
0x96156000 - 0x9615bffc com.apple.KerberosHelper 1.1 (1.0)
<86b1b4589baa557d067d07efc01890d2> /System/Library/PrivateFrameworks/
KerberosHelper.framework/Versions/A/KerberosHelper
0xfffe8000 - 0xfffebfff libobjc.A.dylib ??? (???) /usr/lib/
libobjc.A.dylib
0xffff0000 - 0xffff1780 libSystem.B.dylib ??? (???) /usr/lib/
libSystem.B.dylib

lmjabreu

unread,
Jul 28, 2008, 1:39:46 PM7/28/08
to Growl Discuss
maybe this is more relevant.

Jul 28 16:46:33 lmjabreu-mbp com.apple.launchd[96]
([0x0-0x16c16c].com.Growl.GrowlHelperApp[10125]): Exited abnormally:
Trace/BPT trap
Jul 28 16:46:50 lmjabreu-mbp SubmitReport[10186]: Submitted compressed
crash report for GrowlHelperApp
Jul 28 17:12:44 lmjabreu-mbp Finder[129]: growlimage://%25image%25 is
not an acceptable request
Jul 28 18:28:45 lmjabreu-mbp com.apple.launchd[96]
([0x0-0x172172].com.Growl.GrowlHelperApp[10185]): Exited: Killed

Evan Schoenberg

unread,
Jul 28, 2008, 1:41:22 PM7/28/08
to growld...@googlegroups.com

You're pasting Console output. If you followed the steps Peter
specified to run GrowlHelperApp from the Terminal with
NSZombieEnabled, you will have output in that Terminal window. That's
the important part for this issue, as all the crashes submitted are
while releasing memory.

-Evan

PGP.sig

Peter Hosey

unread,
Jul 28, 2008, 1:41:32 PM7/28/08
to growld...@googlegroups.com
On Jul 28, 2008, at 10:39:46, lmjabreu wrote:
> maybe this is more relevant.
>
> [Console log]

Actually, what would be more relevant is a crash log, since we don't
know that you're having the same crashes that dkocher is.

If it is, *then* you should run with NSZombieEnabled.

lmjabreu

unread,
Jul 28, 2008, 1:47:39 PM7/28/08
to Growl Discuss
on the Terminal I got: Segmentation fault
>  PGP.sig
> 1KDownload

lmjabreu

unread,
Jul 28, 2008, 1:51:42 PM7/28/08
to Growl Discuss
and now: Bus error

Evan Schoenberg

unread,
Jul 28, 2008, 2:01:23 PM7/28/08
to growld...@googlegroups.com

On Jul 28, 2008, at 1:51 PM, lmjabreu wrote:

> and now: Bus error
>
> On Jul 28, 6:47 pm, lmjabreu <lmjab...@gmail.com> wrote:
>> on the Terminal I got: Segmentation fault
>

Could you please:
1) Paste the actual output, from when you entered the command in the
Terminal until GrowlHelperApp quit?
2) Not top-post? It makes an already hard-to-follow thread even
harder. Your replies to emails should go underneath the quoted text to
which you are replying.

-Evan

PGP.sig

Evan Schoenberg

unread,
Jul 28, 2008, 2:00:12 PM7/28/08
to growld...@googlegroups.com

On Jul 28, 2008, at 1:41 PM, Peter Hosey wrote:

>
> On Jul 28, 2008, at 10:39:46, lmjabreu wrote:
>> maybe this is more relevant.
>>
>> [Console log]
>
> Actually, what would be more relevant is a crash log, since we don't
> know that you're having the same crashes that dkocher is.

His posted crash logs all show:
---


Identifier: com.Growl.GrowlHelperApp
Version: 1.1.4 (1.1.4)
Code Type: X86 (Native)

Exception Type: EXC_BAD_ACCESS (SIGSEGV)


Exception Codes: KERN_INVALID_ADDRESS at 0x00000000c0000023

Thread 0 Crashed:


0 libobjc.A.dylib 0x928026e8 objc_msgSend + 24
1 com.Growl.GrowlHelperApp 0x000228ac 0x1000 + 137388
2 com.Growl.GrowlHelperApp 0x00006c38 0x1000 + 23608
3 com.Growl.GrowlHelperApp 0x0000243e 0x1000 + 5182
4 com.Growl.GrowlHelperApp 0x00002365 0x1000 + 4965

---

which is indeed the same crash as dkocher's by binary offsets


1 com.Growl.GrowlHelperApp 0x000228ac 0x1000 + 137388

is in
-(void)[GrowlApplication run]

whereas dkocher's shows a stack trace of
---


0 com.apple.CoreFoundation 0x9447aff4
___TERMINATING_DUE_TO_UNCAUGHT_EXCEPTION___ + 4
1 libobjc.A.dylib 0x94bcc0fb objc_exception_throw +
40
2 com.apple.AppKit 0x9292de88 -[NSApplication run] +
944

3 com.Growl.GrowlHelperApp 0x000228ac 0x1000 + 137388 (-
[GrowlApplication run])
---

Both traces are consistent with an over-released object crashing as it
hits its NSAutorelease pool being released.

-Evan

PGP.sig

lmjabreu

unread,
Jul 28, 2008, 2:14:34 PM7/28/08
to Growl Discuss
>  PGP.sig
> 1KDownload


lmjabreu-mbp:~ lmjabreu$ killall GrowlHelperApp ; NSZombieEnabled=1 /
Library/PreferencePanes/Growl.prefPane/Contents/Resources/
GrowlHelperApp.app/Contents/MacOS/GrowlHelperApp
No matching processes belonging to you were found
Segmentation fault
lmjabreu-mbp:~ lmjabreu$


Peter Hosey

unread,
Jul 28, 2008, 2:17:52 PM7/28/08
to growld...@googlegroups.com
On Jul 28, 2008, at 11:00:12, Evan Schoenberg wrote:
> 2 com.apple.AppKit 0x9292de88 -[NSApplication run] +
> 944
> 3 com.Growl.GrowlHelperApp 0x000228ac 0x1000 + 137388 (-
> [GrowlApplication run])

Interesting. That's nowhere near where atos says 0x000228ac is. I'm
beginning to think that my build with debug symbols doesn't have the
same addresses as the release build…

Is there a reason we aren't simply sending ourselves an event every 30
seconds or so? That seems much less fragile than forcibly draining
(or, worse, releasing) Cocoa's autorelease pool out from under it.

Evan Schoenberg

unread,
Jul 28, 2008, 2:52:29 PM7/28/08
to growld...@googlegroups.com

On Jul 28, 2008, at 2:17 PM, Peter Hosey wrote:

> On Jul 28, 2008, at 11:00:12, Evan Schoenberg wrote:
>> 2 com.apple.AppKit 0x9292de88 -[NSApplication run] +
>> 944
>> 3 com.Growl.GrowlHelperApp 0x000228ac 0x1000 + 137388 (-
>> [GrowlApplication run])
>
> Interesting. That's nowhere near where atos says 0x000228ac is. I'm
> beginning to think that my build with debug symbols doesn't have the
> same addresses as the release build…

Interesting, indeed. I got the address using otx on the buld
downloaded from the site directly.

> Is there a reason we aren't simply sending ourselves an event every 30
> seconds or so? That seems much less fragile than forcibly draining
> (or, worse, releasing) Cocoa's autorelease pool out from under it.


We're not actually calling drain; we're just releasing. Same
difference, though. It does seem like a mistake to change autorelease
pools in the middle of a run loop, which is what we end up doing with
a normal NSTimer.

I think the correct solution is to use a run loop observer. The
attached patch does this; if it looks okay to you, I'll commit it.

runloopobserver-for-autorelease.diff
PGP.sig

Peter Hosey

unread,
Jul 28, 2008, 3:03:15 PM7/28/08
to growld...@googlegroups.com
On Jul 28, 2008, at 11:52:29, Evan Schoenberg wrote:
> I think the correct solution is to use a run loop observer.
>
> <runloopobserver-for-autorelease.diff>

Well, for one thing, watching for kCFRunLoopExit is going to get us
only called at the end of the program, if that. kCFRunLoopAfterWaiting
would be better.

But this still doesn't resolve my original objection: Draining or
releasing Cocoa's autorelease pool. Even after this patch,
GrowlApplication would still do that; it would just do it differently.

What we should do is post an event periodically, in order to provoke
Cocoa to drain/release its own pool. I thought we were already doing
this, but apparently not.

Evan Schoenberg

unread,
Jul 28, 2008, 3:27:12 PM7/28/08
to growld...@googlegroups.com

On Jul 28, 2008, at 3:03 PM, Peter Hosey wrote:

> On Jul 28, 2008, at 11:52:29, Evan Schoenberg wrote:
>> I think the correct solution is to use a run loop observer.
>>
>> <runloopobserver-for-autorelease.diff>
>
> Well, for one thing, watching for kCFRunLoopExit is going to get us
> only called at the end of the program, if that. kCFRunLoopAfterWaiting
> would be better.

Not true. The run loop is considered exited when all sources are
handled. Our callback is called at the end of every run loop which
does anything, and is not called continuously in the absence of
anything needing handling (so it doesn't idly release and recreate the
pool continuously).

I did, of course, test this before sending it to the list.

> But this still doesn't resolve my original objection: Draining or
> releasing Cocoa's autorelease pool. Even after this patch,
> GrowlApplication would still do that; it would just do it differently.

We're not messing with Cocoa's own autorelease pool; we set up a new
one within the run method.
Differently in that it's done at a safe time instead of a potentially
dangerous one.

> What we should do is post an event periodically, in order to provoke
> Cocoa to drain/release its own pool. I thought we were already doing
> this, but apparently not.

*shrug* As long as Growl doesn't retain memory as it used to, I have
no desire to argue over the implementation. Sending a periodic event
means that we will (1) not idle at no-activity, because we'll wake up
to send an event every X seconds and (2) still have the bizarre effect
of building up autoreleased objects for a period of time before our
pool gets emptied.

Cheers,
Evan

PGP.sig

Peter Hosey

unread,
Jul 29, 2008, 2:02:03 AM7/29/08
to growld...@googlegroups.com
On Jul 28, 2008, at 12:27:12, Evan Schoenberg wrote:
> Not true. The run loop is considered exited when all sources are
> handled.

The CFRunLoopObserver documentation says:

kCFRunLoopExit
The exit of the run loop, after exiting the event processing loop.
This activity occurs once for each call to CFRunLoopRun and
CFRunLoopRunInMode.

If -[NSApplication run] is calling CFRunLoopRun repeatedly, I would
call that a bug in NSApplication; it probably should use one of the
CFRunLoop* classes for whatever it's doing.

> We're not messing with Cocoa's own autorelease pool; we set up a new
> one within the run method.

Around Cocoa's -run method. If processing an event resets the
autorelease pool, that suggests that Cocoa creates its pool during -
run, which puts its autorelease pool inside our autorelease pool—
which means that when we release ours, we also drain/release Cocoa's.

> Differently in that it's done at a safe time instead of a
> potentially dangerous one.

It doesn't seem any safer.

> Sending a periodic event means that we will (1) not idle at no-
> activity, because we'll wake up to send an event every X seconds and
> (2) still have the bizarre effect of building up autoreleased
> objects for a period of time before our pool gets emptied.

Doing anything on a timer has those results.

I suggest combining the two solutions: When our observer is called for
kCFRunLoopAfterWaiting (or kCFRunLoopExit, if that really is more
appropriate), post an NSEvent.

Evan Schoenberg

unread,
Jul 29, 2008, 7:35:39 AM7/29/08
to growld...@googlegroups.com
On Jul 29, 2008, at 2:02 AM, Peter Hosey wrote:


On Jul 28, 2008, at 12:27:12, Evan Schoenberg wrote:
Not true.  The run loop is considered exited when all sources are  
handled.

The CFRunLoopObserver documentation says:

kCFRunLoopExit
The exit of the run loop, after exiting the event processing loop.  
This activity occurs once for each call to CFRunLoopRun and  
CFRunLoopRunInMode.

If -[NSApplication run] is calling CFRunLoopRun repeatedly, I would  
call that a bug in NSApplication; it probably should use one of the  
CFRunLoop* classes for whatever it's doing.

My guess is that it calls CFRunLoopRunInMode() with a 'seconds' parameter of 0:
seconds

The length of time to run the run loop. If 0, only one pass is made through the run loop before returning; if multiple sources or timers are ready to fire immediately, only one (possibly two if one is a version 0 source) will be fired, regardless of the value of returnAfterSourceHandled.

We're not messing with Cocoa's own autorelease pool; we set up a new  
one within the run method.

Around Cocoa's -run method. If processing an event resets the  
autorelease pool, that suggests that Cocoa creates its pool during -
run, which puts its autorelease pool inside our autorelease pool—
which means that when we release ours, we also drain/release Cocoa's.
That does seem reasonable.

Differently in that it's done at a safe time instead of a  
potentially dangerous one.

It doesn't seem any safer.

We're releasing the pool when everything is done instead of when an arbitrary timeout is called at some point during the run loop... I had assumed that all available sources were handled in the same run loop, but the documentation for CFRunLoopRunInMode() does say that if 0 is passed for seconds, only one source would be handled.. given that, perhaps it's the same level of safety.  The timing definitely seems safer to me, though...

...safer isn't the same as safe.

Sending a periodic event means that we will (1) not idle at no-
activity, because we'll wake up to send an event every X seconds and  
(2) still have the bizarre effect of building up autoreleased  
objects for a period of time before our pool gets emptied.

Doing anything on a timer has those results.
True.  The event solution is no worse in this regard than our previous implementation.  My point was that using a run loop observer eliminated the timer aspect entirely.

I suggest combining the two solutions: When our observer is called for  
kCFRunLoopAfterWaiting (or kCFRunLoopExit, if that really is more  
appropriate), post an NSEvent.
Thinking about this, it seems quite wasteful to create and produce an extra NSEvent for every iteration of the run loop.  Furthermore, wouldn't this produce an infinite loop?

I'd say we're better off with the existing timer posting an NSEvent rather than draining the pool.

-Evan
PGP.sig

Peter Hosey

unread,
Jul 29, 2008, 4:24:46 PM7/29/08
to growld...@googlegroups.com
On Jul 29, 2008, at 04:35:39, Evan Schoenberg wrote:
> Thinking about this, it seems quite wasteful to create and produce
> an extra NSEvent for every iteration of the run loop.

Premature optimization. If we have to spend a few bytes per (30
seconds|run loop) to safely keep memory from exploding, I'm fine with
that.

> Furthermore, wouldn't this produce an infinite loop?

Hm. I'm not sure. Worth a test app.

If it does, I'd guess that it's because of the aforementioned Cocoa bug.

> I'd say we're better off with the existing timer posting an NSEvent
> rather than draining the pool.

Could be.

lmjabreu

unread,
Sep 15, 2008, 11:20:59 AM9/15/08
to Growl Discuss
any updates?
Reply all
Reply to author
Forward
0 new messages