Cookie Always Crashes
-
any chance you could take a look in the folder
~/Libary/Logs/DiagnosticReports/
and send me any Cookie related crash logs to support@sweetpproductions.com -
-
this is such a strange crash, I can't reproduce it - and so far the crash logs produce no clues as to why...
you can grab v6 from here:
https://sweetpproductions.com/products/cookieapp/Cookie.dmg -
Hi,
Sorry, it still crashes. Below is the log. I have sent you the full version by email.Process: Cookie [6619] Path: /Applications/Cookie.app/Contents/MacOS/Cookie Identifier: com.sweetpproductions.cookie.app Version: 7.1.6.3 (7.1.6.3) Code Type: X86-64 (Native) Parent Process: launchd [1] User ID: 501 Date/Time: 2023-11-27 15:12:40.5509 +0100 OS Version: macOS 14.1.1 (23B81) Report Version: 12 Bridge OS Version: 8.1 (21P1069) Anonymous UUID: 69A95335-69BA-A929-D41B-616E1087A7B6 Time Awake Since Boot: 20000 seconds System Integrity Protection: enabled Crashed Thread: 0 Dispatch queue: com.apple.main-thread Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Termination Reason: Namespace SIGNAL, Code 6 Abort trap: 6 Terminating Process: Cookie [6619] Application Specific Information: abort() called
-
Hi,
I think I have a very similar problem. Cookie always crashes on startup for me too. I was able to fix the problem temporarily by removing
~/Library/Containers/com.sweetpproductions.cookie.app/
and then setting up Cookie again. However, today Cookie crashes again, even though I did not restart my computer. Anyway, when I start Cookie via CLI I see the following error message:*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[__NSDictionaryM setObject:forKey:]: object cannot be nil (key: avatar)' *** First throw call stack: ( 0 CoreFoundation 0x0000000180f2a800 __exceptionPreprocess + 176 1 libobjc.A.dylib 0x0000000180a21eb4 objc_exception_throw + 60 2 CoreFoundation 0x0000000180e7040c -[__NSDictionaryM setObject:forKey:] + 1280 3 Cookie 0x0000000104435630 Cookie + 71216 4 Cookie 0x00000001044351bc Cookie + 70076 5 Cookie 0x0000000104486c94 Cookie + 404628 6 Cookie 0x0000000104445f24 Cookie + 139044 7 libobjc.A.dylib 0x0000000180a12704 CALLING_SOME_+initialize_METHOD + 24 8 libobjc.A.dylib 0x0000000180a123fc initializeNonMetaClass + 672 9 libobjc.A.dylib 0x0000000180a2f20c _ZL24initializeAndMaybeRelockP10objc_classP11objc_objectR12locker_mixinIN9lockdebug10lock_mixinI16objc_lock_base_tEEEb + 164 10 libobjc.A.dylib 0x0000000180a11dcc lookUpImpOrForward + 892 11 libobjc.A.dylib 0x0000000180a11764 _objc_msgSend_uncached + 68 12 Cookie 0x000000010448c780 Cookie + 427904 13 Cookie 0x000000010448c724 Cookie + 427812 14 AppKit 0x00000001846ab6b4 -[NSView _viewDidChangeAppearance:] + 320 15 AppKit 0x000000018469b038 -[NSView initWithCoder:] + 3000 16 AppKit 0x00000001846d8edc -[NSControl initWithCoder:] + 60 17 AppKit 0x00000001846d8e28 -[NSButton initWithCoder:] + 56 18 AppKit 0x00000001846d8a8c -[NSClassSwapper initWithCoder:] + 812 19 UIFoundation 0x00000001859cedb8 UINibDecoderDecodeObjectForValue + 668 20 UIFoundation 0x00000001859cef40 UINibDecoderDecodeObjectForValue + 1060 21 UIFoundation 0x00000001859ceb04 -[UINibDecoder decodeObjectForKey:] + 312 22 AppKit 0x000000018469a830 -[NSView initWithCoder:] + 944 23 AppKit 0x00000001846d84f0 -[NSCustomView initWithCoder:] + 76 24 UIFoundation 0x00000001859cedb8 UINibDecoderDecodeObjectForValue + 668 25 UIFoundation 0x00000001859cef40 UINibDecoderDecodeObjectForValue + 1060 26 UIFoundation 0x00000001859ceb04 -[UINibDecoder decodeObjectForKey:] + 312 27 AppKit 0x000000018469a830 -[NSView initWithCoder:] + 944 28 UIFoundation 0x00000001859cedb8 UINibDecoderDecodeObjectForValue + 668 29 UIFoundation 0x00000001859ceb04 -[UINibDecoder decodeObjectForKey:] + 312 30 AppKit 0x00000001848f943c -[NSTabViewItem initWithCoder:] + 120 31 UIFoundation 0x00000001859cedb8 UINibDecoderDecodeObjectForValue + 668 32 UIFoundation 0x00000001859cef40 UINibDecoderDecodeObjectForValue + 1060 33 UIFoundation 0x00000001859ceb04 -[UINibDecoder decodeObjectForKey:] + 312 34 AppKit 0x00000001848f91b0 -[NSTabView initWithCoder:] + 100 35 UIFoundation 0x00000001859cedb8 UINibDecoderDecodeObjectForValue + 668 36 UIFoundation 0x00000001859cef40 UINibDecoderDecodeObjectForValue + 1060 37 UIFoundation 0x00000001859ceb04 -[UINibDecoder decodeObjectForKey:] + 312 38 AppKit 0x000000018469a830 -[NSView initWithCoder:] + 944 39 AppKit 0x00000001846d84f0 -[NSCustomView initWithCoder:] + 76 40 UIFoundation 0x00000001859cedb8 UINibDecoderDecodeObjectForValue + 668 41 UIFoundation 0x00000001859cef40 UINibDecoderDecodeObjectForValue + 1060 42 UIFoundation 0x00000001859ceb04 -[UINibDecoder decodeObjectForKey:] + 312 43 AppKit 0x000000018469a830 -[NSView initWithCoder:] + 944 44 AppKit 0x00000001846d84f0 -[NSCustomView initWithCoder:] + 76 45 UIFoundation 0x00000001859cedb8 UINibDecoderDecodeObjectForValue + 668 46 UIFoundation 0x00000001859ceb04 -[UINibDecoder decodeObjectForKey:] + 312 47 AppKit 0x000000018469b580 -[NSResponder initWithCoder:] + 116 48 AppKit 0x000000018469a4e0 -[NSView initWithCoder:] + 96 49 AppKit 0x00000001846d84f0 -[NSCustomView initWithCoder:] + 76 50 UIFoundation 0x00000001859cedb8 UINibDecoderDecodeObjectForValue + 668 51 UIFoundation 0x00000001859ceb04 -[UINibDecoder decodeObjectForKey:] + 312 52 AppKit 0x000000018469b580 -[NSResponder initWithCoder:] + 116 53 AppKit 0x000000018469a4e0 -[NSView initWithCoder:] + 96 54 AppKit 0x00000001846d7e14 -[NSStackView initWithCoder:] + 88 55 UIFoundation 0x00000001859cedb8 UINibDecoderDecodeObjectForValue + 668 56 UIFoundation 0x00000001859ceb04 -[UINibDecoder decodeObjectForKey:] + 312 57 AppKit 0x0000000184667b74 -[NSNibConnector initWithCoder:] + 60 58 UIFoundation 0x00000001859cedb8 UINibDecoderDecodeObjectForValue + 668 59 UIFoundation 0x00000001859cef40 UINibDecoderDecodeObjectForValue + 1060 60 UIFoundation 0x00000001859ceb04 -[UINibDecoder decodeObjectForKey:] + 312 61 AppKit 0x0000000184666b7c -[NSIBObjectData initWithCoder:] + 136 62 UIFoundation 0x00000001859cedb8 UINibDecoderDecodeObjectForValue + 668 63 UIFoundation 0x00000001859ceb04 -[UINibDecoder decodeObjectForKey:] + 312 64 AppKit 0x0000000184666994 loadNib + 264 65 AppKit 0x0000000184666010 +[NSBundle(NSNibLoading) _loadNibFile:nameTable:options:withZone:ownerBundle:] + 560 66 AppKit 0x0000000184665d14 -[NSBundle(NSNibLoading) loadNibNamed:owner:topLevelObjects:] + 180 67 AppKit 0x0000000184665b38 +[NSBundle(NSNibLoading) loadNibNamed:owner:] + 300 68 AppKit 0x0000000184659244 NSApplicationMain + 488 69 dyld 0x0000000180a5d0e0 start + 2360 ) libc++abi: terminating due to uncaught exception of type NSException fish: Job 1, '/Applications/Cookie.app/Conten…' terminated by signal SIGABRT (Abort)
I am not familiar with Objective-C at all, but it looks like some part of the code wants to set the value of the key
avatar
tonil
in some dictionary, which is not allowed? -
@sanssecours this should be fixed in v7.1.7
-
@SweetP said in Cookie Always Crashes:
@sanssecours this should be fixed in v7.1.7
Unfortunately v7.1.7. still crashes with the same error message on my machine:
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[__NSDictionaryM setObject:forKey:]: object cannot be nil (key: avatar)' *** First throw call stack: ( 0 CoreFoundation 0x000000018c440570 __exceptionPreprocess + 176 1 libobjc.A.dylib 0x000000018bf31eb4 objc_exception_throw + 60 2 CoreFoundation 0x000000018c38615c -[__NSDictionaryM setObject:forKey:] + 1280 3 Cookie 0x0000000102339630 Cookie + 71216 4 Cookie 0x00000001023391bc Cookie + 70076 5 Cookie 0x000000010238ac94 Cookie + 404628 6 Cookie 0x0000000102349f24 Cookie + 139044 7 libobjc.A.dylib 0x000000018bf226fc CALLING_SOME_+initialize_METHOD + 24 8 libobjc.A.dylib 0x000000018bf223f4 initializeNonMetaClass + 672 9 libobjc.A.dylib 0x000000018bf3f304 _ZL24initializeAndMaybeRelockP10objc_classP11objc_objectR12locker_mixinIN9lockdebug10lock_mixinI16objc_lock_base_tEEEb + 164 10 libobjc.A.dylib 0x000000018bf21dc4 lookUpImpOrForward + 892 11 libobjc.A.dylib 0x000000018bf21764 _objc_msgSend_uncached + 68 12 Cookie 0x0000000102390780 Cookie + 427904 13 Cookie 0x0000000102390724 Cookie + 427812 14 AppKit 0x000000018fbc3310 -[NSView _viewDidChangeAppearance:] + 320 15 AppKit 0x000000018fbb2c94 -[NSView initWithCoder:] + 3000 16 AppKit 0x000000018fbf0b40 -[NSControl initWithCoder:] + 60 17 AppKit 0x000000018fbf0a8c -[NSButton initWithCoder:] + 56 18 AppKit 0x000000018fbf06f0 -[NSClassSwapper initWithCoder:] + 812 19 UIFoundation 0x0000000190eedb68 UINibDecoderDecodeObjectForValue + 668 20 UIFoundation 0x0000000190eedcf0 UINibDecoderDecodeObjectForValue + 1060 21 UIFoundation 0x0000000190eed8b4 -[UINibDecoder decodeObjectForKey:] + 312 22 AppKit 0x000000018fbb248c -[NSView initWithCoder:] + 944 23 AppKit 0x000000018fbf0154 -[NSCustomView initWithCoder:] + 76 24 UIFoundation 0x0000000190eedb68 UINibDecoderDecodeObjectForValue + 668 25 UIFoundation 0x0000000190eedcf0 UINibDecoderDecodeObjectForValue + 1060 26 UIFoundation 0x0000000190eed8b4 -[UINibDecoder decodeObjectForKey:] + 312 27 AppKit 0x000000018fbb248c -[NSView initWithCoder:] + 944 28 UIFoundation 0x0000000190eedb68 UINibDecoderDecodeObjectForValue + 668 29 UIFoundation 0x0000000190eed8b4 -[UINibDecoder decodeObjectForKey:] + 312 30 AppKit 0x000000018fe11598 -[NSTabViewItem initWithCoder:] + 120 31 UIFoundation 0x0000000190eedb68 UINibDecoderDecodeObjectForValue + 668 32 UIFoundation 0x0000000190eedcf0 UINibDecoderDecodeObjectForValue + 1060 33 UIFoundation 0x0000000190eed8b4 -[UINibDecoder decodeObjectForKey:] + 312 34 AppKit 0x000000018fe1130c -[NSTabView initWithCoder:] + 100 35 UIFoundation 0x0000000190eedb68 UINibDecoderDecodeObjectForValue + 668 36 UIFoundation 0x0000000190eedcf0 UINibDecoderDecodeObjectForValue + 1060 37 UIFoundation 0x0000000190eed8b4 -[UINibDecoder decodeObjectForKey:] + 312 38 AppKit 0x000000018fbb248c -[NSView initWithCoder:] + 944 39 AppKit 0x000000018fbf0154 -[NSCustomView initWithCoder:] + 76 40 UIFoundation 0x0000000190eedb68 UINibDecoderDecodeObjectForValue + 668 41 UIFoundation 0x0000000190eedcf0 UINibDecoderDecodeObjectForValue + 1060 42 UIFoundation 0x0000000190eed8b4 -[UINibDecoder decodeObjectForKey:] + 312 43 AppKit 0x000000018fbb248c -[NSView initWithCoder:] + 944 44 AppKit 0x000000018fbf0154 -[NSCustomView initWithCoder:] + 76 45 UIFoundation 0x0000000190eedb68 UINibDecoderDecodeObjectForValue + 668 46 UIFoundation 0x0000000190eed8b4 -[UINibDecoder decodeObjectForKey:] + 312 47 AppKit 0x000000018fbb31dc -[NSResponder initWithCoder:] + 116 48 AppKit 0x000000018fbb213c -[NSView initWithCoder:] + 96 49 AppKit 0x000000018fbf0154 -[NSCustomView initWithCoder:] + 76 50 UIFoundation 0x0000000190eedb68 UINibDecoderDecodeObjectForValue + 668 51 UIFoundation 0x0000000190eed8b4 -[UINibDecoder decodeObjectForKey:] + 312 52 AppKit 0x000000018fbb31dc -[NSResponder initWithCoder:] + 116 53 AppKit 0x000000018fbb213c -[NSView initWithCoder:] + 96 54 AppKit 0x000000018fbefa78 -[NSStackView initWithCoder:] + 88 55 UIFoundation 0x0000000190eedb68 UINibDecoderDecodeObjectForValue + 668 56 UIFoundation 0x0000000190eed8b4 -[UINibDecoder decodeObjectForKey:] + 312 57 AppKit 0x000000018fb7f7c0 -[NSNibConnector initWithCoder:] + 60 58 UIFoundation 0x0000000190eedb68 UINibDecoderDecodeObjectForValue + 668 59 UIFoundation 0x0000000190eedcf0 UINibDecoderDecodeObjectForValue + 1060 60 UIFoundation 0x0000000190eed8b4 -[UINibDecoder decodeObjectForKey:] + 312 61 AppKit 0x000000018fb7e7c8 -[NSIBObjectData initWithCoder:] + 136 62 UIFoundation 0x0000000190eedb68 UINibDecoderDecodeObjectForValue + 668 63 UIFoundation 0x0000000190eed8b4 -[UINibDecoder decodeObjectForKey:] + 312 64 AppKit 0x000000018fb7e5e0 loadNib + 264 65 AppKit 0x000000018fb7dc5c +[NSBundle(NSNibLoading) _loadNibFile:nameTable:options:withZone:ownerBundle:] + 560 66 AppKit 0x000000018fb7d960 -[NSBundle(NSNibLoading) loadNibNamed:owner:topLevelObjects:] + 180 67 AppKit 0x000000018fb7d784 +[NSBundle(NSNibLoading) loadNibNamed:owner:] + 300 68 AppKit 0x000000018fb70e8c NSApplicationMain + 488 69 dyld 0x000000018bf6d0e0 start + 2360 ) libc++abi: terminating due to uncaught exception of type NSException fish: Job 1, '/Applications/Cookie.app/Conten…' terminated by signal SIGABRT (Abort)
-
@sanssecours you can find the beta here:
https://sweetpproductions.com/products/cookie7/beta_updates.htm -
@SweetP said in Cookie Always Crashes:
@sanssecours you can find the beta here:
https://sweetpproductions.com/products/cookie7/beta_updates.htmVersion 7.1.7.2 seems to fix the crash. Thank you .