My app (Lightwright) has been crashing for a few customers who are running it on High Sierra. This is the second crash report today, for more info see my previous post “Mystery High Sierra Crash #1”. This one happened when the user chose File/Save to save the file.
I’d really appreciate any thoughts on what might be causing these crashes, I don’t see anything common to them at all except that they’re from the same user…
Thank you for your help!
Process: Lightwright 6 [48536]
Path: /Applications/Lightwright 6.app/Contents/MacOS/Lightwright 6
Identifier: Lightwright 6
Version: 6.0.19 beta build 195 (6.0.19.2.195)
Code Type: X86 (Native)
Parent Process: ??? [1]
Responsible: Lightwright 6 [48536]
Date/Time: 2018-07-03 18:12:13.603 -0700
OS Version: Mac OS X 10.13.5 (17F77)
System Integrity Protection: enabled
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Application Specific Information:
Performing @selector(menuItemAction:) from sender NSMenuItem 0x6cd9af0
Assertion failed: (mach_vm_map(mach_task_self(), &address, size, 0, VM_FLAGS_ANYWHERE | VM_MAKE_TAG(VM_MEMORY_COREGRAPHICS_BACKINGSTORES), port, 0, false, prot, prot, VM_INHERIT_SHARE) == KERN_SUCCESS), function backing_map, file /BuildRoot/Library/Caches/com.apple.xbs/Sources/SkyLight/SkyLight-312.62/SkyLight/Services/Windows/CGSBackingStore.c, line 191.
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0xa73c0eda __pthread_kill + 10
1 libsystem_pthread.dylib 0xa7579427 pthread_kill + 363
2 libsystem_c.dylib 0xa730f956 abort + 133
3 libsystem_c.dylib 0xa72d9ead __assert_rtn + 305
4 com.apple.SkyLight 0xa448d77d backing_map + 588
5 com.apple.SkyLight 0xa442c8db lock_window_backing + 775
6 com.apple.SkyLight 0xa445879e SLSDeviceLock + 51
7 com.apple.AppKit 0x914fdd2c lock_device + 41
8 com.apple.AppKit 0x914d4a46 NSCGSWindowBackingStoreMark__block_invoke + 893
9 com.apple.AppKit 0x914a0b00 NSCGSTransactionRunPreCommitActionsForOrder + 220
10 com.apple.AppKit 0x914a0a14 NSCGSTransactionRunPreCommitActions + 24
11 com.apple.AppKit 0x91dc46d0 -[_NSCGSTransaction synchronize] + 38
12 com.apple.AppKit 0x91dc4acf NSCGSTransactionSynchronize + 91
13 com.apple.AppKit 0x91cd61cb -[_NSCGSWindowOrdering windowsWithOptions:onSpaces:forConnectionID:] + 73
14 com.apple.AppKit 0x91cd6ab6 +[NSCGSWindow(NSCGSWindowOrdering) windowsWithOptions:onSpaces:forConnectionID:] + 61
15 com.apple.AppKit 0x914e071f +[NSWindow _windowNumbersWithOptions:onSpace:] + 197
16 com.apple.AppKit 0x914e0652 +[NSWindow windowNumbersWithOptions:] + 36
17 com.xojo.XojoFramework 0x067ca1b1 0x65c3000 + 2126257
18 com.xojo.XojoFramework 0x0668d296 getWindow + 55
19 com.xojo.XojoFramework 0x06771954 0x65c3000 + 1763668
20 com.xojo.XojoFramework 0x0676ff34 0x65c3000 + 1756980
21 com.xojo.XojoFramework 0x067713f8 enableMenuItems + 34
22 com.xojo.XojoFramework 0x066e063c 0x65c3000 + 1168956
23 com.xojo.XojoFramework 0x065eb95f 0x65c3000 + 166239
24 com.xojo.XojoFramework 0x065ebe53 0x65c3000 + 167507
25 libobjc.A.dylib 0xa6790c1c -[NSObject performSelector:withObject:] + 59
26 com.apple.AppKit 0x91aeeca5 __49-[NSApplication(NSResponder) sendAction:to:from:]_block_invoke + 35
27 com.apple.AppKit 0x91aeec49 __NS_ACTIVITY_PERFORM_EXCEPTION_SAFE + 89
28 com.apple.AppKit 0x91aeeb4b -[NSApplication(NSResponder) sendAction:to:from:] + 387
29 com.apple.AppKit 0x9158dfb5 -[NSMenuItem _corePerformAction] + 363
30 com.apple.AppKit 0x9158dd1e -[NSCarbonMenuImpl performActionWithHighlightingForItemAtIndex:] + 162
31 com.apple.AppKit 0x9158d48a -[NSMenu _performActionWithHighlightingForItemAtIndex:sendAccessibilityNotification:] + 71
32 com.apple.AppKit 0x9160eefe __38-[NSMenu performActionForItemAtIndex:]_block_invoke + 37
33 com.apple.AppKit 0x9199430c __NS_ACTIVITY_PERFORM_EXCEPTION_SAFE + 89
34 com.apple.AppKit 0x9160eed1 -[NSMenu performActionForItemAtIndex:] + 130
35 com.apple.AppKit 0x9160ee40 -[NSMenu _internalPerformActionForItemAtIndex:] + 94
36 com.apple.AppKit 0x9160edda -[NSMenuItem _internalPerformActionThroughMenuIfPossible] + 94
37 com.apple.AppKit 0x9160ec8a -[NSCarbonMenuImpl _carbonCommandProcessEvent:handlerCallRef:] + 85
38 com.apple.AppKit 0x914e3956 NSSLMMenuEventHandler + 1132
39 com.apple.HIToolbox 0x92dab736 _InvokeEventHandlerUPP(OpaqueEventHandlerCallRef*, OpaqueEventRef*, void*, long ()(OpaqueEventHandlerCallRef, OpaqueEventRef*, void*)) + 26
40 com.apple.HIToolbox 0x92d586f9 DispatchEventToHandlers(EventTargetRec*, OpaqueEventRef*, HandlerCallRec*) + 1948
41 com.apple.HIToolbox 0x92d578ca SendEventToEventTargetInternal(OpaqueEventRef*, OpaqueEventTargetRef*, HandlerCallRec*) + 374
42 com.apple.HIToolbox 0x92d68b0f SendEventToEventTarget + 33
43 com.apple.HIToolbox 0x92ee750e SendHICommandEvent(unsigned long, HICommand const*, unsigned long, unsigned long, unsigned char, void const*, OpaqueEventTargetRef*, OpaqueEventTargetRef*, OpaqueEventRef**) + 409
44 com.apple.HIToolbox 0x92dd43bb SendMenuCommandWithContextAndModifiers + 38
45 com.apple.HIToolbox 0x92dd4378 SendMenuItemSelectedEvent + 185
46 com.apple.HIToolbox 0x92dd4266 FinishMenuSelection(SelectionData*, MenuResult*, MenuResult*) + 91
47 com.apple.HIToolbox 0x92f35803 MenuSelectCore(MenuData*, Point, double, unsigned long, OpaqueMenuRef**, unsigned short*) + 533
48 com.apple.HIToolbox 0x92dd493f _HandleMenuSelection2 + 511
49 com.apple.HIToolbox 0x92dd4733 _HandleMenuSelection + 31
50 com.apple.AppKit 0x914d552b _NSHandleCarbonMenuEvent + 272
51 com.apple.AppKit 0x9171441b _DPSEventHandledByCarbon + 55
52 com.apple.AppKit 0x91aec553 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 498
53 com.apple.AppKit 0x91aec359 -[NSApplication(NSEvent) nextEventMatchingMask:untilDate:inMode:dequeue:] + 134
54 com.xojo.XojoFramework 0x066051e6 0x65c3000 + 270822
55 com.xojo.XojoFramework 0x0660522f 0x65c3000 + 270895
56 com.mckernon.lightwright6 0x00190e05 Delegate.Invoke%% + 34
57 com.mckernon.lightwright6 0x00073ad4 Application._CallFunctionWithExceptionHandling%%op + 248
58 com.xojo.XojoFramework 0x06771b1a 0x65c3000 + 1764122
59 com.xojo.XojoFramework 0x06605187 0x65c3000 + 270727
60 com.apple.AppKit 0x9136fa7d -[NSApplication run] + 763
61 com.xojo.XojoFramework 0x06771bba 0x65c3000 + 1764282
62 com.xojo.XojoFramework 0x0676fd94 RuntimeRun + 49
63 com.mckernon.lightwright6 0x001637b8 REALbasic._RuntimeRun + 34
64 com.mckernon.lightwright6 0x05e83c7e _Main + 295
65 com.mckernon.lightwright6 0x05e7b97f main + 36
66 com.mckernon.lightwright6 0x05ecabcf start + 53