Hi there, I'm developing a new app and have started using Growl for notifications. It's really easy to get started and I love the simple API. However, sometimes my notifications just hang indefinitely. I can get a spinning beach ball of death. When I pause the app in the Xcode debugger, it always has a similar stack trace. I can reproduce this fairly easily, I'd guess maybe 20% of the time.
I can get this with a few of my different notifications. One hang often happens when a long-running NSOperation finishes, then posts a notification to my LyricsController object. The one I just captured now happened entirely on the main thread. Here is the stack trace: #0 0x98d6a0fa in mach_msg_trap () #1 0x98d6a867 in mach_msg () #2 0x9786a37f in __CFRunLoopRun () #3 0x97869464 in CFRunLoopRunSpecific () #4 0x97869291 in CFRunLoopRunInMode () #5 0x91096b7e in -[NSConnection sendInvocation:internal:] () #6 0x91095fdd in -[NSDistantObject forwardInvocation:] () #7 0x978a7cd4 in ___forwarding___ () #8 0x978a7802 in __forwarding_prep_0___ () #9 0xc0002c27 in +[GrowlApplicationBridge growlProxy] () #10 0xc0001af6 in +[GrowlApplicationBridge notifyWithDictionary:] () #11 0xc0001aa4 in +[GrowlApplicationBridge notifyWithTitle:description:notificationName:iconData:priority:isSticky:clickContext:identifier:] () #12 0xc0001929 in +[GrowlApplicationBridge notifyWithTitle:description:notificationName:iconData:priority:isSticky:clickContext:] () #13 0x00009158 in -[LyricsController searchAndUpdateTrack:] (self=0x139ed0, _cmd=0x17ade, track=0x14d26980) at /Users/jeremygale/ Development/MondegreenLyrics/LyricsController.m:1182 #14 0x0000919d in -[LyricsController searchAndUpdateAndDisplayTrack:] (self=0x139ed0, _cmd=0x17abe, track=0x14d26980) at /Users/jeremygale/ Development/MondegreenLyrics/LyricsController.m:1200 #15 0x00005326 in -[LyricsController displayOrSearchLyricsForSong:] (self=0x139ed0, _cmd=0x17d45, song=0x14d26990) at /Users/jeremygale/ Development/MondegreenLyrics/LyricsController.m:496 #16 0x0000837a in -[LyricsController selectedSongChanged] (self=0x139ed0, _cmd=0x17b53) at /Users/jeremygale/Development/ MondegreenLyrics/LyricsController.m:1007 #17 0x00007f74 in -[LyricsController playlistSelectionChanged:] (self=0x139ed0, _cmd=0x17b85, note=0x14f82130) at /Users/jeremygale/ Development/MondegreenLyrics/LyricsController.m:927 #18 0x9103d4df in _nsnote_callback () #19 0x97888793 in __CFXNotificationPost () #20 0x9788819a in _CFXNotificationPostNotification () #21 0x91032384 in -[NSNotificationCenter postNotificationName:object:userInfo:] () #22 0x9103f789 in -[NSNotificationCenter postNotificationName:object:] () #23 0x960d851a in -[NSTableView _enableSelectionPostingAndPost] () #24 0x961b792f in -[NSTableView mouseDown:] () #25 0x961b664e in -[NSOutlineView mouseDown:] () #26 0x96154c68 in -[NSWindow sendEvent:] () #27 0x9606d817 in -[NSApplication sendEvent:] () #28 0x960012a7 in -[NSApplication run] () #29 0x95ff92d9 in NSApplicationMain () #30 0x00002a88 in main (argc=1, argv=0xbffff69c) at /Users/jeremygale/ Development/MondegreenLyrics/main.m:13 Any idea what I might be doing wrong? I've tried searching the internet but haven't seen many references to this hang. I'm using Growl 1.2.1, running 10.6.6. Any advice or pointers would be very much appreciated! Thanks, Jeremy -- You received this message because you are subscribed to the Google Groups "Growl Discuss" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/growldiscuss?hl=en.
