reading a crash report

Hello,
can somebody tell me where, in my source-code, I should look for the error crashing an app of mine? It was send by a user of an app built with Xojo 16 1.1.

“Binary Images”, below: I deleted it since it was very long. But if necessary I can restore it in a next post.

Thank you.

Process: myAppName [953]
Path: /Applications/myAppName 417b.app/Contents/MacOS/myAppName
Identifier: org.myCompany.myAppName
Version: 4.1.7 (4.1.7.3.43)
Code Type: X86 (Native)
Parent Process: ??? [1]
Responsible: myAppName [953]
User ID: 502

Date/Time: 2017-02-17 11:28:04.355 +0100
OS Version: Mac OS X 10.11.6 (15G1217)
Report Version: 11
Anonymous UUID: D55B071F-E740-26A6-333C-10DBDF7851D5

Time Awake Since Boot: 640 seconds

System Integrity Protection: enabled

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

Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000018
Exception Note: EXC_CORPSE_NOTIFY

VM Regions Near 0x18:
–>
__TEXT 0000000000001000-000000000091f000 [ 9336K] r-x/rwx SM=COW /Applications/myAppName 417b.app/Contents/MacOS/myAppName

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 com.xojo.XojoFramework 0x009a6795 0x94e000 + 362389
1 com.xojo.XojoFramework 0x009a67e3 0x94e000 + 362467
2 com.xojo.XojoFramework 0x0099ef81 0x94e000 + 331649
3 com.apple.AppKit 0x96f34774 -[NSView(NSInternal) _updateTrackingAreas] + 710
4 com.apple.AppKit 0x96f34c53 -[NSView(NSInternal) _updateTrackingAreas] + 1957
5 com.apple.AppKit 0x96f34c53 -[NSView(NSInternal) _updateTrackingAreas] + 1957
6 com.apple.AppKit 0x9769241a ___NSWindowGetDisplayCycleObserver_block_invoke6472 + 1306
7 com.apple.AppKit 0x972812f8 __37+[NSDisplayCycle currentDisplayCycle]_block_invoke26 + 343
8 com.apple.QuartzCore 0x9ca34c08 CA::Transaction::run_commit_handlers(CATransactionPhase) + 84
9 com.apple.QuartzCore 0x9ca341d9 CA::Context::commit_transaction(CA::Transaction*) + 619
10 com.apple.QuartzCore 0x9ca33cdd CA::Transaction::commit() + 597
11 com.apple.QuartzCore 0x9ca3fdf1 CA::Transaction::observer_callback(__CFRunLoopObserver*, unsigned long, void*) + 75
12 com.apple.CoreFoundation 0x9169985e CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION + 30
13 com.apple.CoreFoundation 0x916997be __CFRunLoopDoObservers + 398
14 com.apple.CoreFoundation 0x916768e1 CFRunLoopRunSpecific + 417
15 com.apple.CoreFoundation 0x9167672b CFRunLoopRunInMode + 123
16 com.apple.HIToolbox 0x9e24c2f1 RunCurrentEventLoopInMode + 267
17 com.apple.HIToolbox 0x9e24bfc5 ReceiveNextEventCommon + 201
18 com.apple.HIToolbox 0x9e24beec _BlockUntilNextEventMatchingListInModeWithFilter + 99
19 com.apple.AppKit 0x96df42e2 _DPSNextEvent + 1053
20 com.apple.AppKit 0x96df385b -[NSApplication _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1057
21 com.apple.AppKit 0x96df3432 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 121
22 com.xojo.XojoFramework 0x00990a0a 0x94e000 + 272906
23 com.apple.AppKit 0x970234e4 -[NSApplication _shouldTerminate] + 1037
24 com.apple.AppKit 0x97022881 -[NSApplication terminate:] + 1051
25 com.xojo.XojoFramework 0x00af802d RuntimeRun + 226
26 org.asramsoftware.myAppName 0x00103eb2 0x1000 + 1060530
27 org.asramsoftware.myAppName 0x008b31f4 0x1000 + 9118196
28 org.asramsoftware.myAppName 0x008b2138 0x1000 + 9113912
29 org.asramsoftware.myAppName 0x008bae15 0x1000 + 9149973

Thread 1:: Dispatch queue: com.apple.libdispatch-manager
0 libsystem_kernel.dylib 0x902437fa kevent_qos + 10
1 libdispatch.dylib 0x959997ea _dispatch_mgr_invoke + 234
2 libdispatch.dylib 0x959993be _dispatch_mgr_thread + 52

Thread 2:: com.apple.NSEventThread
0 libsystem_kernel.dylib 0x9023b49a mach_msg_trap + 10
1 libsystem_kernel.dylib 0x9023a884 mach_msg + 68
2 com.apple.CoreFoundation 0x91677d16 __CFRunLoopServiceMachPort + 214
3 com.apple.CoreFoundation 0x91677121 __CFRunLoopRun + 1521
4 com.apple.CoreFoundation 0x916768c6 CFRunLoopRunSpecific + 390
5 com.apple.CoreFoundation 0x9167672b CFRunLoopRunInMode + 123
6 com.apple.AppKit 0x96f5bdde _NSEventThread + 291
7 libsystem_pthread.dylib 0x9dd5f780 _pthread_body + 138
8 libsystem_pthread.dylib 0x9dd5f6f6 _pthread_start + 155
9 libsystem_pthread.dylib 0x9dd5cf7a thread_start + 34

Thread 3:
0 libsystem_kernel.dylib 0x90242d5e __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x9dd5f34b _pthread_wqthread + 1289
2 libsystem_pthread.dylib 0x9dd5cf56 start_wqthread + 34

Thread 4:
0 libsystem_kernel.dylib 0x90242d5e __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x9dd5f34b _pthread_wqthread + 1289
2 libsystem_pthread.dylib 0x9dd5cf56 start_wqthread + 34

Thread 5:
0 libsystem_kernel.dylib 0x90242d5e __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x9dd5f34b _pthread_wqthread + 1289
2 libsystem_pthread.dylib 0x9dd5cf56 start_wqthread + 34

Thread 6:
0 libsystem_kernel.dylib 0x90242d5e __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x9dd5f34b _pthread_wqthread + 1289
2 libsystem_pthread.dylib 0x9dd5cf56 start_wqthread + 34

Thread 7:

Thread 0 crashed with X86 Thread State (32-bit):
eax: 0x00000000 ebx: 0x01364c40 ecx: 0x00bf3fbe edx: 0x00000000
edi: 0x009a67cd esi: 0x0099ef4f ebp: 0xbfffe7b8 esp: 0xbfffe7b0
ss: 0x00000023 efl: 0x00010282 eip: 0x009a6795 cs: 0x0000001b
ds: 0x00000023 es: 0x00000023 fs: 0x00000000 gs: 0x0000000f
cr2: 0x00000018

Logical CPU: 4
Error Code: 0x00000004
Trap Number: 14

Binary Images:///deleted

External Modification Summary:
Calls made by other processes targeting this process:
task_for_pid: 1
thread_create: 0
thread_set_state: 0
Calls made by this process:
task_for_pid: 0
thread_create: 0
thread_set_state: 0
Calls made by all processes on this machine:
task_for_pid: 536
thread_create: 0
thread_set_state: 0

VM Region Summary:
ReadOnly portion of Libraries: Total=226.8M resident=0K(0%) swapped_out_or_unallocated=226.8M(100%)
Writable regions: Total=113.0M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=113.0M(100%)

                            VIRTUAL   REGION 

REGION TYPE SIZE COUNT (non-coalesced)
=========== ======= =======
Accelerate.framework 384K 3
Activity Tracing 2048K 2
CG backing stores 3528K 6
CG image 48K 7
CG raster data 44K 4
CG shared images 336K 10
CoreAnimation 76K 11
CoreUI image data 1352K 12
CoreUI image file 192K 6
Foundation 24K 3
Image IO 256K 2
Kernel Alloc Once 4K 2
MALLOC 76.3M 44
MALLOC guard page 48K 9
Memory Tag 242 12K 2
OpenCL 40K 6
Process Corpse Info 2048K 2
Stack 10.6M 8
Stack Guard 56.0M 8
VM_ALLOCATE 188K 21
__DATA 10.5M 259
__IMAGE 528K 2
__LINKEDIT 51.7M 22
__OBJC 4260K 96
__TEXT 175.1M 268
__UNICODE 552K 2
mapped file 177.7M 108
shared memory 16.3M 8
=========== ======= =======
TOTAL 589.8M 905

Model: Macmini6,2, BootROM MM61.0106.B0B, 4 processors, Intel Core i7, 2,3 GHz, 8 GB, SMC 2.8f0
Graphics: Intel HD Graphics 4000, Intel HD Graphics 4000, Built-In
Memory Module: BANK 0/DIMM0, 8 GB, DDR3, 1600 MHz, 0x0198, 0x393930353432382D3139332E4130304C4620
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x10E), Broadcom BCM43xx 1.0 (7.21.95.175.1a6)
Bluetooth: Version 4.4.6f1 17910, 3 services, 27 devices, 1 incoming serial ports
Network Service: Ethernet, Ethernet, en0
Serial ATA Device: Crucial_CT1050MX300SSD1, 1,05 TB
Serial ATA Device: APPLE HDD HTS541010A9E662, 1 TB
USB Device: USB 2.0 Bus
USB Device: Hub
USB Device: USB 2.0 Bus
USB Device: Hub
USB Device: Hub
USB Device: IR Receiver
USB Device: BRCM20702 Hub
USB Device: Bluetooth USB Host Controller
USB Device: USB 3.0 Bus
USB Device: USB3.0 Hub
USB Device: USB2.0 Hub
USB Device: Hub
USB Device: CNF7166
USB Device: USB-Serial Controller D
USB Device: Portable Super Multi Drive
USB Device: PS2 to USB Converter
Thunderbolt Bus: Mac mini, Apple Inc., 23.4

EXC_CORPSE_NOTIFY always means that you are talking to something that isn’t there.

But besides that I’d guess that the crash occurs during drawing something. Normally, you see the point there the Xojo codes goes into the bowels in MacOS. But here you have only the bowels.

I see. I’ll double check for folderitems, objects etc.
Thank you.

You could also take some of the upper entries in the crash log and google those. Like “CA::Transaction::run_commit_handlers(CATransactionPhase)”.

Meantime I found that, in a loop, I was trying to access an non-existent object.

Thank you, also, for the google tip.