Crash Report

I have a document based application that is randomly crashing for users. The crash logs all seem to start that the same place and are similar… can anyone help point me in a useful direction that might help me find the issue? Any suggestion, however remote, would be greatly appreciated! Thanks…


Crashed Thread: 0 Dispatch queue: com.apple.main-thread

Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000522

VM Regions Near 0x522:

__TEXT 0000000100000000-0000000100001000 [ 4K] r-x/rwx SM=COW /Volumes/*/REL Label Architect.app/Contents/MacOS/REL Label Architect

Application Specific Information:
objc[14361]: garbage collection is ON

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 com.apple.applescript 0x0000000102bc5f34 UASCheckID(unsigned int) + 94
1 com.apple.applescript 0x0000000102bc60a8 UASCoerceID2Script(unsigned int) + 13
2 com.apple.applescript 0x0000000102b8e111 ASGetHandlerLocal(int, unsigned int, AEDesc const*, unsigned int*) + 91
3 com.apple.applescript 0x0000000102b8928e AppleScriptComponent + 1678
4 com.apple.openscripting 0x00007fff8ef78eeb OSAGetHandler + 63
5 com.apple.AppleScriptObjC 0x00007fff8a40dd17 osaidHasHandler + 124
6 com.apple.AppleScriptObjC 0x00007fff8a40dd62 -[BAObjectProto hasScriptHandler:] + 34
7 com.apple.AppleScriptObjC 0x00007fff8a40e38b -[BAObjectProto scriptRespondsToSelector:] + 39
8 com.apple.AppleScriptObjC 0x00007fff8a40e439 -[BAObjectProto respondsToSelector:] + 31
9 com.apple.AppKit 0x00007fff83e94596 -[NSApplication _createDockMenu:] + 132
10 com.apple.AppKit 0x00007fff83f2ca05 _NSCoreDockMessageReceive + 959
11 com.apple.HIToolbox 0x00007fff8fb68cf5 ZL12DockCallbackjjPvS + 2069
12 com.apple.HIServices 0x00007fff8d7972a7 _DCXCopyAppMenu + 75
13 com.apple.HIServices 0x00007fff8d7c2a51 _XCopyAppMenu + 149
14 com.apple.HIServices 0x00007fff8d78c182 mshMIGPerform + 564
15 com.apple.CoreFoundation 0x00007fff8eb5dabc CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION + 44
16 com.apple.CoreFoundation 0x00007fff8eb5d7eb __CFRunLoopDoSource1 + 155
17 com.apple.CoreFoundation 0x00007fff8eb93f27 __CFRunLoopRun + 1895
18 com.apple.CoreFoundation 0x00007fff8eb93486 CFRunLoopRunSpecific + 230
19 com.apple.HIToolbox 0x00007fff8fb364d3 RunCurrentEventLoopInMode + 277
20 com.apple.HIToolbox 0x00007fff8fb3d781 ReceiveNextEventCommon + 355
21 com.apple.HIToolbox 0x00007fff8fb3d60e BlockUntilNextEventMatchingListInMode + 62
22 com.apple.AppKit 0x00007fff83e34e31 _DPSNextEvent + 659
23 com.apple.AppKit 0x00007fff83e34735 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 135
24 com.apple.AppKit 0x00007fff83e31071 -[NSApplication run] + 470
25 com.apple.AppKit 0x00007fff840ad244 NSApplicationMain + 867
26 com.writetrackmedia.REL-Label-Architect 0x0000000100000ec4 start + 52

Thread 1:: Dispatch queue: com.apple.libdispatch-manager
0 libsystem_kernel.dylib 0x00007fff861787e6 kevent + 10
1 libdispatch.dylib 0x00007fff8781678a _dispatch_mgr_invoke + 923
2 libdispatch.dylib 0x00007fff8781531a _dispatch_mgr_thread + 54

Thread 2:: com.apple.CFSocket.private
0 libsystem_kernel.dylib 0x00007fff86177df2 __select + 10
1 com.apple.CoreFoundation 0x00007fff8ebdcc8b __CFSocketManager + 1355
2 libsystem_c.dylib 0x00007fff8b7e68bf _pthread_start + 335
3 libsystem_c.dylib 0x00007fff8b7e9b75 thread_start + 13

Thread 3:
0 libsystem_kernel.dylib 0x00007fff86178192 __workq_kernreturn + 10
1 libsystem_c.dylib 0x00007fff8b7e8594 _pthread_wqthread + 758
2 libsystem_c.dylib 0x00007fff8b7e9b85 start_wqthread + 13

Thread 4:
0 libsystem_kernel.dylib 0x00007fff86178192 __workq_kernreturn + 10
1 libsystem_c.dylib 0x00007fff8b7e8594 _pthread_wqthread + 758
2 libsystem_c.dylib 0x00007fff8b7e9b85 start_wqthread + 13

Thread 5:
0 libsystem_kernel.dylib 0x00007fff86178192 __workq_kernreturn + 10
1 libsystem_c.dylib 0x00007fff8b7e8594 _pthread_wqthread + 758
2 libsystem_c.dylib 0x00007fff8b7e9b85 start_wqthread + 13

Thread 6:
0 libsystem_kernel.dylib 0x00007fff86178192 __workq_kernreturn + 10
1 libsystem_c.dylib 0x00007fff8b7e8594 _pthread_wqthread + 758
2 libsystem_c.dylib 0x00007fff8b7e9b85 start_wqthread + 13

Thread 0 crashed with X86 Thread State (64-bit):
rax: 0x0000000000000002 rbx: 0x0000000000000520 rcx: 0x0000000000000100 rdx: 0x0000000000000000
rdi: 0x000000000000002a rsi: 0x000000000000002a rbp: 0x00007fff5fbfe2b0 rsp: 0x00007fff5fbfe2a0
r8: 0x000000000000002a r9: 0x0000000000000002 r10: 0x0404202001000002 r11: 0x0000000105012e18
r12: 0x0000000000000000 r13: 0x00007fff5fbfe650 r14: 0x0000000401580288 r15: 0x0000000000000000
rip: 0x0000000102bc5f34 rfl: 0x0000000000010202 cr2: 0x0000000000000522
Logical CPU: 6

It doesn’t give you much to go on. There don’t seem to be any calls to your handlers, and it looks like something in the bowels of AS itself. One thing you could try is getting them to run it 32-bit, to see if that makes any difference. But I’m clutching at straws…

Great suggestion ” 32 bit mode. Just one issue, I don’t have that check box in the get info panel for the app. Does my app have to be compiled a certain way to have that available? It is built as a “Standard (32/64-bit Intel)” app.

??

That’s the correct setting. The checkbox doesn’t appear if the Mac doesn’t support 64-bit – could that be the problem?

Sadly no, because AppleScript Editor on that same computer has the checkbox.

?

Try building separate 32-bit and 64-bit versions to test.