An user sent me a crash log, where Growl is crashing on his machine. What could cause this? As usual this is occurring in a thread, to signal the end of it to be precise. The code is rather simple. The class is a singleton.
Using RB 2011r3, MBS 11.2. 'make a Notification, ensure that the Notification are a bit apart 'this can happen after cancel dim currentTime as new Date if LastNotification = nil or currentTime.TotalSeconds - 2 > LastNotification.TotalSeconds then dim theNoti as new GrowlNotificationMBS theNoti.Description = theNotification theNoti.IsSticky = False theNoti.Name = NotificationName theNoti.Priority = 0 theNoti.Title = theTitle theNoti.PostNotification LastNotification = new Date end if Begin forwarded message: > Thread 0: Dispatch queue: com.apple.main-thread > 0 libSystem.B.dylib 0x95237b42 semaphore_wait_signal_trap + > 10 > 1 libSystem.B.dylib 0x9523d646 pthread_mutex_lock + 490 > 2 rbframework.dylib 0x012ca04b > RuntimeThreadImp::~RuntimeThreadImp() + 243 > 3 rbframework.dylib 0x012ca3fd ThreadYieldAsNeeded() + 85 > 4 rbframework.dylib 0x0142cf89 > CocoaMenu::AddChild(RunMenuItem*) + 3165 > 5 com.apple.Foundation 0x98998524 __NSFireTimer + 141 > 6 com.apple.CoreFoundation 0x90d50a6b __CFRunLoopRun + 8059 > 7 com.apple.CoreFoundation 0x90d4e3f4 CFRunLoopRunSpecific + 452 > 8 com.apple.CoreFoundation 0x90d4e221 CFRunLoopRunInMode + 97 > 9 com.apple.HIToolbox 0x95cfae04 RunCurrentEventLoopInMode + > 392 > 10 com.apple.HIToolbox 0x95cfabb9 ReceiveNextEventCommon + 354 > 11 com.apple.HIToolbox 0x95cfaa3e > BlockUntilNextEventMatchingListInMode + 81 > 12 com.apple.AppKit 0x902c7595 _DPSNextEvent + 847 > 13 com.apple.AppKit 0x902c6dd6 -[NSApplication > nextEventMatchingMask:untilDate:inMode:dequeue:] + 156 > 14 com.apple.AppKit 0x902891f3 -[NSApplication run] + 821 > 15 rbframework.dylib 0x0142503d RunCocoaEventLoop() + 39 > 16 rbframework.dylib 0x01361358 mainloop() + 108 > 17 rbframework.dylib 0x0130f326 RuntimeRun + 52 > 18 Mail Archiver X 0x00232c02 REALbasic._RuntimeRun + 34 > 19 Mail Archiver X 0x000072dd _Main + 245 > 20 Mail Archiver X 0x00002644 % main + 36 > 21 Mail Archiver X 0x00ef2c62 _start + 116 > 22 Mail Archiver X 0x00ef2bb8 start + 43 > > Thread 9 Crashed: > 0 com.apple.CoreFoundation 0x90d3a3d3 CFDataGetLength + 67 > 1 com.apple.CoreFoundation 0x90d7ef37 CFDataCreateCopy + 23 > 2 Growl 0xc00047f2 > Growl_CreateNotificationDictionaryByFillingInDictionary + 330 > 3 Growl 0xc00048ea > Growl_PostNotificationWithDictionary + 38 > 4 Growl 0xc0004b5b Growl_PostNotification + 557 > 5 ... MacOSX Plugin.rbx_19.dylib 0x2740ecb6 0x2740d000 + 7350 > 6 Mail Archiver X 0x004ef00c > GrowlNotificationMBS.PostNotification%%o<GrowlNotificationMBS> + 48 > 7 Mail Archiver X 0x00abcc4e > GrowlNotification.Notify%%o<GrowlNotification>ss + 1117 > 8 Mail Archiver X 0x00c869d5 > MaxModel.Notify%%o<MaxModel>sv + 825 > 9 Mail Archiver X 0x0099ac16 > NotificationCenter.Post%%o<NotificationCenter>sv + 836 > 10 Mail Archiver X 0x0099bdd3 NotificationManager.Post%%sv > + 139 > 11 Mail Archiver X 0x00c749ee > ArchiveThread.DoWork%%o<ArchiveThread> + 4767 > 12 Mail Archiver X 0x00c736ef > ArchiveThread.Event_Run%%o<ArchiveThread> + 56 > 13 rbframework.dylib 0x012ca4c3 ThreadYieldAsNeeded() + 283 > 14 libSystem.B.dylib 0x95265259 _pthread_start + 345 > 15 libSystem.B.dylib 0x952650de thread_start + 34 Mit freundlichen Grüßen/Regards Trixi Willius http://www.mothsoftware.com Mail Archiver X: The email archiving solution for professionals Mit freundlichen Grüßen/Regards Trixi Willius http://www.mothsoftware.com Mail Archiver X: The email archiving solution for professionals _______________________________________________ Mbsplugins_monkeybreadsoftware.info mailing list [email protected] https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info
