Growl crashing on Network notification

The Growl forums have moved to Google Groups, this forum is read only.
rubymatt
Harmless
Posts: 9
Joined: Mon Jan 16, 2006 7:34 pm
Location: London
Contact:

Growl crashing on Network notification

Post by rubymatt »

I'm trying to use the ruby-growl gem library to do notifications from my Ruby application. This, in turn, uses UDP to talk to your growl instance.

From the system preferences I enabled the preference:

"Listen for incoming notifications"

However when I run the ruby-growl unit tests it seems to crash GrowlHelperApp on about the second or third run through. As you can see I am using Growl 0.7.3 on MacOSX 10.4.4

Can anyone help with this?

Regards,

Matt

From console.log:
GrowlHelperApp(2530,0xa000ed68) malloc: *** Deallocation of a pointer not malloced: 0x9073baa8; This could be a double free(), or free() called with the middle of an allocated block; Try setting environment variable MallocHelp to see tools to help debug
From the GrowlHelperApp crash log:
Host Name: Irulan
Date/Time: 2006-01-16 19:31:47.070 +0000
OS Version: 10.4.4 (Build 8G32)
Report Version: 3

Command: GrowlHelperApp
Path: /Library/PreferencePanes/Growl.prefPane/Contents/Resources/GrowlHelperApp.app/Contents/MacOS/GrowlHelperApp
Parent: WindowServer [125]

Version: 0.7.3 (0.7.3)

PID: 2530
Thread: 0

Exception: EXC_BAD_ACCESS (0x0001)
Codes: KERN_INVALID_ADDRESS (0x0001) at 0xdbd4289d

Thread 0 Crashed:
0 libSystem.B.dylib 0x900705cc CC_MD5_Update + 220
1 com.apple.security 0x91155e08 MD5Object::digestUpdate(void const*, unsigned long) + 164
2 com.apple.security 0x91256b94 Security::CSPFullPluginSession::CSPContext::update(Security::CssmData const*, unsigned long) + 72
3 com.apple.security 0x9117f904 cssm_DigestDataUpdate(unsigned long, unsigned long long, cssm_data const*, unsigned long) + 92
4 com.apple.security 0x91128dcc CSSM_DigestDataUpdate + 100
5 com.Growl.GrowlHelperApp 0x00011b74 0x1000 + 68468
6 com.Growl.GrowlHelperApp 0x00011c7c 0x1000 + 68732
7 com.Growl.GrowlHelperApp 0x0001225c 0x1000 + 70236
8 com.apple.Foundation 0x928e6018 _nsnote_callback + 180
9 com.apple.CoreFoundation 0x907844c4 __CFXNotificationPost + 368
10 com.apple.CoreFoundation 0x9077c5a0 _CFXNotificationPostNotification + 684
11 com.apple.Foundation 0x928d0420 -[NSNotificationCenter postNotificationName:object:userInfo:] + 92
12 com.apple.Foundation 0x92908080 _performFileHandleSource + 1100
13 com.apple.CoreFoundation 0x9075da68 __CFRunLoopDoSources0 + 384
14 com.apple.CoreFoundation 0x9075cf98 __CFRunLoopRun + 452
15 com.apple.CoreFoundation 0x9075ca18 CFRunLoopRunSpecific + 268
16 com.apple.HIToolbox 0x9318e1e0 RunCurrentEventLoopInMode + 264
17 com.apple.HIToolbox 0x9318d874 ReceiveNextEventCommon + 380
18 com.apple.HIToolbox 0x9318d6e0 BlockUntilNextEventMatchingListInMode + 96
19 com.apple.AppKit 0x9368c104 _DPSNextEvent + 384
20 com.apple.AppKit 0x9368bdc8 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 116
21 com.apple.AppKit 0x9368830c -[NSApplication run] + 472
22 com.Growl.GrowlHelperApp 0x0000fe1c 0x1000 + 60956
23 com.Growl.GrowlHelperApp 0x00009678 0x1000 + 34424
24 com.Growl.GrowlHelperApp 0x00009520 0x1000 + 34080

Thread 1:
0 libSystem.B.dylib 0x9000b208 mach_msg_trap + 8
1 libSystem.B.dylib 0x9000b15c mach_msg + 60
2 com.unsanity.ape 0xc0002afc __ape_internal + 3300 (icplusplus.c:28)
3 com.unsanity.ape 0xc0001910 __ape_agent + 64 (icplusplus.c:28)
4 libSystem.B.dylib 0x9002b200 _pthread_body + 96

Thread 2:
0 libSystem.B.dylib 0x9001f20c select + 12
1 com.apple.CoreFoundation 0x9076f9a8 __CFSocketManager + 472
2 libSystem.B.dylib 0x9002b200 _pthread_body + 96

Thread 0 crashed with PPC Thread State 64:
srr0: 0x00000000900705cc srr1: 0x000000000000f030 vrsave: 0x0000000000000000
cr: 0x42002422 xer: 0x0000000000000004 lr: 0x0000000091155e08 ctr: 0x00000000900704f0
r0: 0x0000000000000014 r1: 0x00000000bfffde90 r2: 0x000000005eb83b22 r3: 0x000000000036044c
r4: 0x0000000000360464 r5: 0x000000005eb83b0b r6: 0x00000000ffffffff r7: 0x0000000000000001
r8: 0x0000000000360478 r9: 0x0000000000000003 r10: 0x0000000000000005 r11: 0x0000000000747365
r12: 0x00000000900704f0 r13: 0x0000000000000000 r14: 0x0000000000000001 r15: 0x0000000000000000
r16: 0x0000000000000000 r17: 0x0000000000000000 r18: 0x000000000039e938 r19: 0x0000000000000000
r20: 0x000000000039e918 r21: 0x000000000000001b r22: 0x0000000000000005 r23: 0x000000000039e8fc
r24: 0x0000000000000001 r25: 0x00000000bfffe2b8 r26: 0x0000000000000001 r27: 0x000000000036044c
r28: 0x00000000003711b0 r29: 0x000000005eb83b0b r30: 0x00000000dbd4289d r31: 0x0000000091155d74

Binary Images Description:
0x1000 - 0x26fff com.Growl.GrowlHelperApp 0.7.3 /Library/PreferencePanes/Growl.prefPane/Contents/Resources/GrowlHelperApp.app/Contents/MacOS/GrowlHelperApp
0x205000 - 0x230fff com.unsanity.windowshadex.cocoa ??? (4.0) /Users/matt/Library/Application Enhancers/WindowShade X.ape/Contents/PlugIns/WindowShade X Cocoa.ape/Contents/MacOS/WindowShade X Cocoa
0x23b000 - 0x270fff com.unsanity.fruitmenu FruitMenu version 3.4.3 (3.4.3) /Users/matt/Library/Application Enhancers/FruitMenu.ape/Contents/MacOS/FruitMenu
0x2f0000 - 0x2f6fff com.Growl.Bubbles 1.1 /Library/PreferencePanes/Growl.prefPane/Contents/Resources/GrowlHelperApp.app/Contents/PlugIns/Bubbles.growlView/Contents/MacOS/Bubbles
0x482000 - 0x483fff com.li.hao.saftloader 1.3.0 (411) /Library/InputManagers/Saft/SaftLoader.bundle/Contents/MacOS/SaftLoader
0x560000 - 0x567fff com.unsanity.smartcrashreports Smart Crash Reports version 1.0.2 (1.0.2) /Users/matt/Library/InputManagers/Smart Crash Reports/Smart Crash Reports.bundle/Contents/MacOS/Smart Crash Reports
0x56c000 - 0x56ffff com.macromates.edit_in_textmate ??? (1.0) /Applications/TextMate.app/Contents/Resources/Edit in TextMate/Edit in TextMate.bundle/Contents/MacOS/Edit in TextMate
0x7c7000 - 0x7d4fff thePatchCocoa ??? (0.0.1d1) /Applications/CodeTek VirtualDesktop Pro.app/Contents/Resources/patch.bundle/Contents/Resources/thePatchCocoa.bundle/Contents/MacOS/thePatchCocoa
0x8fa79000 - 0x8fd27fff com.apple.QuickTime 7.0.4 /System/Library/Frameworks/QuickTime.framework/Versions/A/QuickTime
0x8fe00000 - 0x8fe54fff dyld 44.2 /usr/lib/dyld
0x90000000 - 0x901b3fff libSystem.B.dylib /usr/lib/libSystem.B.dylib
0x9020b000 - 0x9020ffff libmathCommon.A.dylib /usr/lib/system/libmathCommon.A.dylib
0x90211000 - 0x90264fff com.apple.CoreText 1.0.1 (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreText.framework/Versions/A/CoreText
0x90291000 - 0x90342fff ATS /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/ATS
0x90371000 - 0x906aefff com.apple.CoreGraphics 1.256.30 (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics
0x9073a000 - 0x90813fff com.apple.CoreFoundation 6.4.4 (368.25) /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
0x9085c000 - 0x9085cfff com.apple.CoreServices 10.4 (???) /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices
0x9085e000 - 0x90960fff libicucore.A.dylib /usr/lib/libicucore.A.dylib
0x909ba000 - 0x90a3efff libobjc.A.dylib /usr/lib/libobjc.A.dylib
0x90a68000 - 0x90ad6fff com.apple.framework.IOKit 1.4 (???) /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
0x90aed000 - 0x90afffff libauto.dylib /usr/lib/libauto.dylib
0x90b06000 - 0x90ddefff com.apple.CoreServices.CarbonCore 681.3 (671.2) /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/CarbonCore
0x90e44000 - 0x90ec4fff com.apple.CoreServices.OSServices 4.1 /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServices.framework/Versions/A/OSServices
0x90f0e000 - 0x90f4ffff com.apple.CFNetwork 10.4.4 (129.9) /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CFNetwork.framework/Versions/A/CFNetwork
0x90f64000 - 0x90f7cfff com.apple.WebServices 1.1.2 (1.1.0) /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/WebServicesCore.framework/Versions/A/WebServicesCore
0x90f8c000 - 0x9100dfff com.apple.SearchKit 1.0.5 /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SearchKit.framework/Versions/A/SearchKit
0x91053000 - 0x9107dfff com.apple.Metadata 10.4.4 (121.34) /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadata.framework/Versions/A/Metadata
0x9108e000 - 0x9109cfff libz.1.dylib /usr/lib/libz.1.dylib
0x9109f000 - 0x91262fff com.apple.security 4.3 (25966) /System/Library/Frameworks/Security.framework/Versions/A/Security
0x91365000 - 0x9136efff com.apple.DiskArbitration 2.1 /System/Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration
0x91375000 - 0x9139cfff com.apple.SystemConfiguration 1.8.2 /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfiguration
0x913af000 - 0x913b7fff libgcc_s.1.dylib /usr/lib/libgcc_s.1.dylib
0x913bc000 - 0x913dcfff libmx.A.dylib /usr/lib/libmx.A.dylib
0x913e2000 - 0x913eafff libbsm.dylib /usr/lib/libbsm.dylib
0x913ee000 - 0x9146efff com.apple.audio.CoreAudio 3.0.2 /System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio
0x914ad000 - 0x914adfff com.apple.ApplicationServices 10.4 (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices
0x914af000 - 0x914e7fff com.apple.AE 1.5 (297) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/AE.framework/Versions/A/AE
0x91502000 - 0x915cffff com.apple.ColorSync 4.4.4 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ColorSync.framework/Versions/A/ColorSync
0x91624000 - 0x916b7fff com.apple.print.framework.PrintCore 4.3 (172.3) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/PrintCore.framework/Versions/A/PrintCore
0x916fe000 - 0x917bbfff com.apple.QD 3.8.18 (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/QD.framework/Versions/A/QD
0x917f9000 - 0x91857fff com.apple.HIServices 1.5.1 (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/HIServices.framework/Versions/A/HIServices
0x91885000 - 0x918a9fff com.apple.LangAnalysis 1.6.1 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/LangAnalysis.framework/Versions/A/LangAnalysis
0x918bd000 - 0x918e2fff com.apple.FindByContent 1.5 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/FindByContent.framework/Versions/A/FindByContent
0x918f5000 - 0x91937fff com.apple.LaunchServices 10.4.6 (168.3) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/LaunchServices
0x91953000 - 0x91967fff com.apple.speech.synthesis.framework 3.3 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/SpeechSynthesis.framework/Versions/A/SpeechSynthesis
0x91975000 - 0x919affff com.apple.ImageIO.framework 1.4.4 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/ImageIO
0x919c4000 - 0x91a8cfff libcrypto.0.9.7.dylib /usr/lib/libcrypto.0.9.7.dylib
0x91ada000 - 0x91aeffff libcups.2.dylib /usr/lib/libcups.2.dylib
0x91af4000 - 0x91b11fff libJPEG.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libJPEG.dylib
0x91b16000 - 0x91b85fff libJP2.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libJP2.dylib
0x91b9c000 - 0x91ba0fff libGIF.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libGIF.dylib
0x91ba2000 - 0x91bd3fff libRaw.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libRaw.dylib
0x91bd7000 - 0x91c1afff libTIFF.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libTIFF.dylib
0x91c21000 - 0x91c3afff libPng.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libPng.dylib
0x91c3f000 - 0x91c42fff libRadiance.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libRadiance.dylib
0x91c44000 - 0x91c44fff com.apple.Accelerate 1.1.1 (Accelerate 1.1.1) /System/Library/Frameworks/Accelerate.framework/Versions/A/Accelerate
0x91c46000 - 0x91d30fff com.apple.vImage 2.0 /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vImage.framework/Versions/A/vImage
0x91d38000 - 0x91d57fff com.apple.Accelerate.vecLib 3.1.1 (vecLib 3.1.1) /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/vecLib
0x91dc3000 - 0x91e28fff libvMisc.dylib /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvMisc.dylib
0x91e32000 - 0x91ec4fff libvDSP.dylib /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvDSP.dylib
0x91ede000 - 0x9246efff libBLAS.dylib /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib
0x924b6000 - 0x927c6fff libLAPACK.dylib /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libLAPACK.dylib
0x927f3000 - 0x9287ffff com.apple.DesktopServices 1.3.1 /System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/DesktopServicesPriv
0x928c1000 - 0x92aebfff com.apple.Foundation 6.4.2 (567.21) /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
0x92c09000 - 0x92ce7fff libxml2.2.dylib /usr/lib/libxml2.2.dylib
0x92d07000 - 0x92df5fff libiconv.2.dylib /usr/lib/libiconv.2.dylib
0x92e07000 - 0x92e25fff libGL.dylib /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
0x92e30000 - 0x92e8afff libGLU.dylib /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLU.dylib
0x92ea8000 - 0x92ea8fff com.apple.Carbon 10.4 (???) /System/Library/Frameworks/Carbon.framework/Versions/A/Carbon
0x92eaa000 - 0x92ebefff com.apple.ImageCapture 3.0 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/ImageCapture.framework/Versions/A/ImageCapture
0x92ed6000 - 0x92ee6fff com.apple.speech.recognition.framework 3.4 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SpeechRecognition.framework/Versions/A/SpeechRecognition
0x92ef2000 - 0x92f07fff com.apple.securityhi 2.0 (203) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SecurityHI.framework/Versions/A/SecurityHI
0x92f19000 - 0x92fa0fff com.apple.ink.framework 101.2 (69) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Ink.framework/Versions/A/Ink
0x92fb4000 - 0x92fbffff com.apple.help 1.0.3 (32) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Help.framework/Versions/A/Help
0x92fc9000 - 0x92ff6fff com.apple.openscripting 1.2.4 (???) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/OpenScripting.framework/Versions/A/OpenScripting
0x93010000 - 0x93020fff com.apple.print.framework.Print 5.0 (190.1) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Print.framework/Versions/A/Print
0x9302c000 - 0x93092fff com.apple.htmlrendering 1.1.2 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HTMLRendering.framework/Versions/A/HTMLRendering
0x930c3000 - 0x93115fff com.apple.NavigationServices 3.4.2 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/NavigationServices.framework/Versions/A/NavigationServices
0x93141000 - 0x9315efff com.apple.audio.SoundManager 3.9 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CarbonSound.framework/Versions/A/CarbonSound
0x93170000 - 0x9317dfff com.apple.CommonPanels 1.2.2 (73) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CommonPanels.framework/Versions/A/CommonPanels
0x93186000 - 0x93498fff com.apple.HIToolbox 1.4.5 (???) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox
0x935e4000 - 0x935f0fff com.apple.opengl 1.4.7 /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL
0x93682000 - 0x93682fff com.apple.Cocoa 6.4 (???) /System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa
0x93684000 - 0x93cb7fff com.apple.AppKit 6.4.4 (824.33) /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
0x94044000 - 0x940b4fff com.apple.CoreData 80 /System/Library/Frameworks/CoreData.framework/Versions/A/CoreData
0x940ed000 - 0x941b7fff com.apple.audio.toolbox.AudioToolbox 1.4.1 /System/Library/Frameworks/AudioToolbox.framework/Versions/A/AudioToolbox
0x9420b000 - 0x9420bfff com.apple.audio.units.AudioUnit 1.4 /System/Library/Frameworks/AudioUnit.framework/Versions/A/AudioUnit
0x9420d000 - 0x94385fff com.apple.QuartzCore 1.4.5 /System/Library/Frameworks/QuartzCore.framework/Versions/A/QuartzCore
0x943cf000 - 0x9440cfff libsqlite3.0.dylib /usr/lib/libsqlite3.0.dylib
0x94414000 - 0x94464fff libGLImage.dylib /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLImage.dylib
0x9454f000 - 0x94561fff com.apple.frameworks.preferencepanes 11.0.1 /System/Library/Frameworks/PreferencePanes.framework/Versions/A/PreferencePanes
0x9456e000 - 0x9458afff com.apple.securityfoundation 2.1 (24988) /System/Library/Frameworks/SecurityFoundation.framework/Versions/A/SecurityFoundation
0x9459e000 - 0x945e2fff com.apple.securityinterface 2.1 (24981) /System/Library/Frameworks/SecurityInterface.framework/Versions/A/SecurityInterface
0x94606000 - 0x94615fff libCGATS.A.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/Resources/libCGATS.A.dylib
0x9461d000 - 0x94629fff libCSync.A.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/Resources/libCSync.A.dylib
0x9466f000 - 0x94687fff libRIP.A.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/Resources/libRIP.A.dylib
0x9468e000 - 0x94711fff libstdc++.6.dylib /usr/lib/libstdc++.6.dylib
0x9565d000 - 0x956e9fff com.apple.WebKit 417.9 /System/Library/Frameworks/WebKit.framework/Versions/A/WebKit
0x95744000 - 0x95839fff com.apple.JavaScriptCore 417.8 /System/Library/Frameworks/WebKit.framework/Versions/A/Frameworks/JavaScriptCore.framework/Versions/A/JavaScriptCore
0x95875000 - 0x95b7ffff com.apple.WebCore 417.17 /System/Library/Frameworks/WebKit.framework/Versions/A/Frameworks/WebCore.framework/Versions/A/WebCore
0x95d06000 - 0x95d2ffff libxslt.1.dylib /usr/lib/libxslt.1.dylib
0x96a55000 - 0x96af8fff libcrypto.0.9.dylib /usr/lib/libcrypto.0.9.dylib
0xc0000000 - 0xc000ffff com.unsanity.ape 1.5.1 /Library/Frameworks/ApplicationEnhancer.framework/Versions/A/ApplicationEnhancer
Keeper
Harmless
Posts: 2
Joined: Mon Jan 16, 2006 7:58 pm

Post by Keeper »

Hello,

I've exactly the same Problem, but using the php Script. Growl crashes when using the Script or the Commandline utility with special Characters (like '(').
I tried the Beta Version too (but it still shows 0.7.3!?), nothing changed...

Thanks in advance,
Keeper

Edit:
Ok, uninstalled 0.7.3, now is showing 0.7.4, but still crashes :(
BTW: Is there a way to add a new line!? And where do I find the log from Growl? Sorry, new to Mac ...
rubymatt
Harmless
Posts: 9
Joined: Mon Jan 16, 2006 7:34 pm
Location: London
Contact:

Post by rubymatt »

Keeper wrote:And where do I find the log from Growl? Sorry, new to Mac ...
~/Library/Logs/CrashReporter/GrowlHelperApp.crash.log

Regards,

Matt
User avatar
The_Tick
Cocoaforge Admin
Posts: 4642
Joined: Thu Dec 02, 2004 6:06 am
Contact:

Post by The_Tick »

Why are you not using the ruby bindings included in the sdk?
rubymatt
Harmless
Posts: 9
Joined: Mon Jan 16, 2006 7:34 pm
Location: London
Contact:

Post by rubymatt »

The_Tick wrote:Why are you not using the ruby bindings included in the sdk?
Thanks for the pointer!

My original answer was along the lines that I didn't realise there were Ruby bindings in the SDK.

I've checked them out and I guess I'm a little uncomfortable at the Ruby/Cocoa dependency. Nevertheless I'll give it a try.

Thanks again,

Matt
User avatar
The_Tick
Cocoaforge Admin
Posts: 4642
Joined: Thu Dec 02, 2004 6:06 am
Contact:

Post by The_Tick »

rubymatt wrote:
The_Tick wrote:Why are you not using the ruby bindings included in the sdk?
Thanks for the pointer!

My original answer was along the lines that I didn't realise there were Ruby bindings in the SDK.

I've checked them out and I guess I'm a little uncomfortable at the Ruby/Cocoa dependency. Nevertheless I'll give it a try.

Thanks again,

Matt
I'm not sure why you'd be uncomfortable with that, but you're more than welcome to change that.
IngmarStein
Latté
Posts: 63
Joined: Fri Dec 03, 2004 5:35 pm

Post by IngmarStein »

Back to the original problem: can you describe a way to reproduce the problem? I've tried growlnotify with messages that contain various unicode characters but GHA doesn't crash.
rubymatt
Harmless
Posts: 9
Joined: Mon Jan 16, 2006 7:34 pm
Location: London
Contact:

Post by rubymatt »

IngmarStein wrote:Back to the original problem: can you describe a way to reproduce the problem? I've tried growlnotify with messages that contain various unicode characters but GHA doesn't crash.
On my system (with Listen for incoming notifications enabled):

Code: Select all

sudo gem install ruby-growl
cd /opt/local/lib/ruby/gems/1.8/gems/ruby-growl-1.0.1/
ruby -rubygems test/test_ruby-growl.rb
That will usually kill GrowlHelperApp.
Irulan:~ matt$ cd /opt/local/lib/ruby/gems/1.8/gems/ruby-growl-1.0.1/
Irulan:/opt/local/lib/ruby/gems/1.8/gems/ruby-growl-1.0.1 matt$ dir
total 24
drwxr-xr-x 8 root admin 272 Jan 16 18:09 .
drwxr-xr-x 26 root admin 884 Jan 16 18:09 ..
-rw-r--r-- 1 root admin 1453 Jan 16 18:09 LICENSE
-rw-r--r-- 1 root admin 82 Jan 16 18:09 Manifest.txt
-rw-r--r-- 1 root admin 1535 Jan 16 18:09 Rakefile
drwxr-xr-x 3 root admin 102 Jan 16 18:09 bin
drwxr-xr-x 3 root admin 102 Jan 16 18:09 lib
drwxr-xr-x 3 root admin 102 Jan 16 18:09 test
Irulan:/opt/local/lib/ruby/gems/1.8/gems/ruby-growl-1.0.1 matt$ dir test
total 16
drwxr-xr-x 3 root admin 102 Jan 16 18:09 .
drwxr-xr-x 8 root admin 272 Jan 16 18:09 ..
-rw-r--r-- 1 root admin 8037 Jan 16 18:09 test_ruby-growl.rb
Irulan:/opt/local/lib/ruby/gems/1.8/gems/ruby-growl-1.0.1 matt$ ruby -rubygems test/test_ruby-growl.rb
Loaded suite test/test_ruby-growl
Started
..........
Finished in 0.84353 seconds.

10 tests, 12 assertions, 0 failures, 0 errors
Irulan:/opt/local/lib/ruby/gems/1.8/gems/ruby-growl-1.0.1 matt$ growlnotify -n "Test" -m "Test"
growlnotify[4270]: Welcome to the WSX:Carbon
2006-01-17 08:28:36.786 growlnotify[4270] could not find local GrowlApplicationBridgePathway, falling back to NSDNC
Irulan:/opt/local/lib/ruby/gems/1.8/gems/ruby-growl-1.0.1 matt$
Regards,

Matt
User avatar
The_Tick
Cocoaforge Admin
Posts: 4642
Joined: Thu Dec 02, 2004 6:06 am
Contact:

Post by The_Tick »

Do you have anything in the password field?
rubymatt
Harmless
Posts: 9
Joined: Mon Jan 16, 2006 7:34 pm
Location: London
Contact:

Post by rubymatt »

The_Tick wrote:Do you have anything in the password field?
I don't. I assumed that this was onlyl required if you check "Allow remote application registrations"

Regards,

Matt
Keeper
Harmless
Posts: 2
Joined: Mon Jan 16, 2006 7:58 pm

Post by Keeper »

rubymatt wrote:
Keeper wrote:And where do I find the log from Growl? Sorry, new to Mac ...
~/Library/Logs/CrashReporter/GrowlHelperApp.crash.log

Regards,

Matt
Hello,

Thanks, sorry for the stupid Question....
It now works for me, but to say the truth, I've no idea why... I played aroudn with Network Password (entered one, tried it and it worked, removed it and it still works). Very Confusing.... Sorry for this - not really detailed - report...

Keeper
IngmarStein
Latté
Posts: 63
Joined: Fri Dec 03, 2004 5:35 pm

Post by IngmarStein »

I'd like to find the original problem, but the ruby-growl test runs fine here:

Code: Select all

Loaded suite test/test_ruby-growl
Started
..........
Finished in 0.678252 seconds.

10 tests, 12 assertions, 0 failures, 0 errors
rubymatt
Harmless
Posts: 9
Joined: Mon Jan 16, 2006 7:34 pm
Location: London
Contact:

Post by rubymatt »

IngmarStein wrote:I'd like to find the original problem, but the ruby-growl test runs fine here:

Code: Select all

Loaded suite test/test_ruby-growl
Started
..........
Finished in 0.678252 seconds.

10 tests, 12 assertions, 0 failures, 0 errors
How many times did you run it?

It does work the first time, but usually fails the second or third time through (when the GrowlHelperApp dies).

Regards,

Matt
IngmarStein
Latté
Posts: 63
Joined: Fri Dec 03, 2004 5:35 pm

Post by IngmarStein »

I've just completed the tests 15 times successfully...
rubymatt
Harmless
Posts: 9
Joined: Mon Jan 16, 2006 7:34 pm
Location: London
Contact:

Post by rubymatt »

IngmarStein wrote:I've just completed the tests 15 times successfully...
I'm not sure what to tell you then. It fails quite consistently here.

What do you suggest?

Regards,

Matt
IngmarStein
Latté
Posts: 63
Joined: Fri Dec 03, 2004 5:35 pm

Post by IngmarStein »

Is there something printed to the console before the crash occurs?
User avatar
The_Tick
Cocoaforge Admin
Posts: 4642
Joined: Thu Dec 02, 2004 6:06 am
Contact:

Post by The_Tick »

So the only parts of a crash report I generally care about are these two:

The thread id:

Code: Select all

Thread: 0 
And the correlating crashing thread.

Code: Select all

Thread 0 Crashed: 
0 libSystem.B.dylib 0x900705cc CC_MD5_Update + 220 
1 com.apple.security 0x91155e08 MD5Object::digestUpdate(void const*, unsigned long) + 164 
2 com.apple.security 0x91256b94 Security::CSPFullPluginSession::CSPContext::update(Security::CssmData const*, unsigned long) + 72 
3 com.apple.security 0x9117f904 cssm_DigestDataUpdate(unsigned long, unsigned long long, cssm_data const*, unsigned long) + 92 
4 com.apple.security 0x91128dcc CSSM_DigestDataUpdate + 100 
5 com.Growl.GrowlHelperApp 0x00011b74 0x1000 + 68468 
6 com.Growl.GrowlHelperApp 0x00011c7c 0x1000 + 68732 
7 com.Growl.GrowlHelperApp 0x0001225c 0x1000 + 70236 
8 com.apple.Foundation 0x928e6018 _nsnote_callback + 180 
9 com.apple.CoreFoundation 0x907844c4 __CFXNotificationPost + 368 
10 com.apple.CoreFoundation 0x9077c5a0 _CFXNotificationPostNotification + 684 
11 com.apple.Foundation 0x928d0420 -[NSNotificationCenter postNotificationName:object:userInfo:] + 92 
12 com.apple.Foundation 0x92908080 _performFileHandleSource + 1100 
13 com.apple.CoreFoundation 0x9075da68 __CFRunLoopDoSources0 + 384 
14 com.apple.CoreFoundation 0x9075cf98 __CFRunLoopRun + 452 
15 com.apple.CoreFoundation 0x9075ca18 CFRunLoopRunSpecific + 268 
16 com.apple.HIToolbox 0x9318e1e0 RunCurrentEventLoopInMode + 264 
17 com.apple.HIToolbox 0x9318d874 ReceiveNextEventCommon + 380 
18 com.apple.HIToolbox 0x9318d6e0 BlockUntilNextEventMatchingListInMode + 96 
19 com.apple.AppKit 0x9368c104 _DPSNextEvent + 384 
20 com.apple.AppKit 0x9368bdc8 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 116 
21 com.apple.AppKit 0x9368830c -[NSApplication run] + 472 
22 com.Growl.GrowlHelperApp 0x0000fe1c 0x1000 + 60956 
23 com.Growl.GrowlHelperApp 0x00009678 0x1000 + 34424 
24 com.Growl.GrowlHelperApp 0x00009520 0x1000 + 34080 
So if we look at this, something with md5 is crashing it. This is why I asked you if you had a password setup in your gui.

Ingmar, do you have a password setup?

All the others having this problem, besides rubymatt who has already answered, please let us know if you have a password setup.


Rubymatt, can you try putting a password in the password field?
IngmarStein
Latté
Posts: 63
Joined: Fri Dec 03, 2004 5:35 pm

Post by IngmarStein »

I know why you asked for a password, tick. However, the call to CSSM_DigestDataUpdate is guarded by a conditional (password && password->Length) so it could never be NULL here. I've tried both with a password set and without.
User avatar
The_Tick
Cocoaforge Admin
Posts: 4642
Joined: Thu Dec 02, 2004 6:06 am
Contact:

Post by The_Tick »

IngmarStein wrote:I know why you asked for a password, tick. However, the call to CSSM_DigestDataUpdate is guarded by a conditional (password && password->Length) so it could never be NULL here. I've tried both with a password set and without.
I figured you did, stated so for everyone else :)
rubymatt
Harmless
Posts: 9
Joined: Mon Jan 16, 2006 7:34 pm
Location: London
Contact:

Post by rubymatt »

The_Tick wrote: Rubymatt, can you try putting a password in the password field?
Hrmm... i put a password in the field and, when i tested, there were no further crashes/test failures.

I then took the password out again and, once more, no more errors or crashes.

I now wish that I had tested before putting the password in.

I'm not sure what this proves, but I can say that ruby-growl doesn't appear to be making GrowlHelperApp crash anymore.

Regards,

Matt
Locked