My app is crashing at startup. Can't get it to break anywhere. I mananged to get the simulator crash report. Any idea what the issue might be?
Process: eDrumIn iOS [11555]
Path: /Users/USER/Library/Developer/CoreSimulator/Devices/A0759871-46F0-4A67-BA20-42F4DA723424/data/Containers/Bundle/Application/B7969CF2-FAD1-4930-A03E-8F5F0654217A/eDrumIn iOS.app/eDrumIn iOS
Identifier: eDrumIn iOS
Version: ???
Code Type: X86-64 (Native)
Parent Process: ??? [11556]
Responsible: SimulatorTrampoline [481]
User ID: 501
Date/Time: 2020-12-16 02:10:31.015 +0800
OS Version: macOS 11.1 (20C69)
Report Version: 12
Bridge OS Version: 5.1 (18P3030)
Anonymous UUID: 6AA3A78B-C26D-4A47-B7A6-2BDD900BBAC9
Time Awake Since Boot: 40000 seconds
System Integrity Protection: enabled
Crashed Thread: 0
Exception Type: EXCCRASH (Code Signature Invalid)
Exception Codes: 0x0000000000000001, 0x0000000000000000
Exception Note: EXCCORPSENOTIFY
Termination Reason: Namespace CODESIGNING, Code 0x2
kernel messages:
External Modification Warnings:
Debugger attached to process.
VM Regions Near 0x114b48c6c (cr2):
TEXT 114b35000-114b48000 [ 76K] r-x/r-x SM=COW /usr/lib/dyld
Thread 0 Crashed:
0 dyld 0x0000000114b48c6c dylddebuggernotification + 0
1 dyld 0x0000000114b47e05 gdbimagenotifier(dyldimagemode, unsigned int, dyldimageinfo const*) + 203
2 dyld 0x0000000114b3e463 dyld::useSimulatorDyld(int, machoheader const*, char const*, int, char const, char const, char const**, unsigned long*, unsigned long*) + 1814
3 dyld 0x0000000114b3bdf3 dyld::main(machoheader const*, unsigned long, int, char const, char const, char const**, unsigned long*) + 1199
4 dyld 0x0000000114b3622b dyldbootstrap::start(dyld3::MachOLoaded const*, int, char const**, dyld3::MachOLoaded const*, unsigned long*) + 457
5 dyld 0x0000000114b36025 dyldstart + 37
Thread 0 crashed with X86 Thread State (64-bit):
rax: 0x0000000000000001 rbx: 0x00007ffee3016be0 rcx: 0x000000010d67d000 rdx: 0x00007ffee3016a70
rdi: 0x0000000000000000 rsi: 0x0000000000000001 rbp: 0x00007ffee3016b20 rsp: 0x00007ffee3016a68
r8: 0x0000000000000000 r9: 0x0000000000000000 r10: 0x0000000000000000 r11: 0x0000000000000000
r12: 0x00007ffee3016a88 r13: 0x000000010cbe5000 r14: 0x0000000000000000 r15: 0x0000000000000001
rip: 0x0000000114b48c6c rfl: 0x0000000000000293 cr2: 0x0000000114b48c6c
Logical CPU: 0
Error Code: 0x00000015 (invalid protections for user instruction read)
Trap Number: 14
Thread 0 instruction stream:
8d 45 10 48 89 42 08 48-b8 08 00 00 00 30 00 00 .E.H.B.H.....0..
00 48 89 02 bf 02 00 00-00 4c 89 d6 e8 32 17 04 .H.......L...2..
00 48 8d 05 cb 05 09 00-48 8b 00 48 3b 45 f8 75 .H......H..H;E.u
09 48 81 c4 d0 00 00 00-5d c3 e8 47 ff ff ff 55 .H......]..G...U
48 89 e5 48 8d 3d 57 79-07 00 e8 4e 12 ff ff 55 H..H.=Wy...N...U
48 89 e5 48 8d 3d 5a 79-07 00 e8 3e 12 ff ff cc H..H.=Zy...>....
[48]89 e5 5d c3 55 48 89-e5 48 8d 3d 69 79 07 00 H..].UH..H.=iy.. <==
e8 28 12 ff ff 83 fe 08-75 01 c3 55 48 89 e5 48 .(......u..UH..H
8d 3d 6a 79 07 00 e8 12-12 ff ff 48 85 ff 74 2b .=jy.......H..t+
45 31 c0 48 39 f1 48 0f-47 ce b8 54 00 00 00 41 E1.H9.H.G..T...A
0f 46 c0 48 85 c9 74 12-55 48 89 e5 31 f6 88 14 .F.H..t.UH..1...
37 48 ff c6 48 39 f1 75-f5 5d c3 b8 16 00 00 00 7H..H9.u.]......
Thread 0 last branch register state not available.
Binary Images:
0x10d67d000 - 0x10d6d5fff +dyldsim (828.5) <78110D0A-D8B8-3F35-88B9-A554FF4A5326> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/dyldsim
0x114b35000 - 0x114bd0fff dyld (832.7.1) <DEA51514-B4E8-3368-979B-89D0F8397ABC> /usr/lib/dyld
External Modification Summary:
Calls made by other processes targeting this process:
taskforpid: 1
threadcreate: 0
threadsetstate: 3
Calls made by this process:
taskforpid: 0
threadcreate: 0
threadsetstate: 0
Calls made by all processes on this machine:
taskforpid: 40747
threadcreate: 0
threadsetstate: 1137
VM Region Summary:
ReadOnly portion of Libraries: Total=1312K resident=0K(0%) swappedoutorunallocated=1312K(100%)
Writable regions: Total=8732K written=0K(0%) resident=0K(0%) swappedout=0K(0%) unallocated=8732K(100%)
=========== ======= =======
STACK GUARD 56.0M 1
Stack 8192K 1
VMALLOCATE 8K 2
VMALLOCATE (reserved) 132K 2 reserved VM address space (unallocated)
_DATA 432K 4
DATACONST 40K 2
_LINKEDIT 348K 3
_TEXT 980K 4
mapped file 10.5M 7
=========== ======= =======
TOTAL 76.4M 26
TOTAL, minus reserved VM space 76.2M 26
Process: eDrumIn iOS [11555]
Path: /Users/USER/Library/Developer/CoreSimulator/Devices/A0759871-46F0-4A67-BA20-42F4DA723424/data/Containers/Bundle/Application/B7969CF2-FAD1-4930-A03E-8F5F0654217A/eDrumIn iOS.app/eDrumIn iOS
Identifier: eDrumIn iOS
Version: ???
Code Type: X86-64 (Native)
Parent Process: ??? [11556]
Responsible: SimulatorTrampoline [481]
User ID: 501
Date/Time: 2020-12-16 02:10:31.015 +0800
OS Version: macOS 11.1 (20C69)
Report Version: 12
Bridge OS Version: 5.1 (18P3030)
Anonymous UUID: 6AA3A78B-C26D-4A47-B7A6-2BDD900BBAC9
Time Awake Since Boot: 40000 seconds
System Integrity Protection: enabled
Crashed Thread: 0
Exception Type: EXCCRASH (Code Signature Invalid)
Exception Codes: 0x0000000000000001, 0x0000000000000000
Exception Note: EXCCORPSENOTIFY
Termination Reason: Namespace CODESIGNING, Code 0x2
kernel messages:
External Modification Warnings:
Debugger attached to process.
VM Regions Near 0x114b48c6c (cr2):
TEXT 114b35000-114b48000 [ 76K] r-x/r-x SM=COW /usr/lib/dyld
->
Thread 0 Crashed:
0 dyld 0x0000000114b48c6c dylddebuggernotification + 0
1 dyld 0x0000000114b47e05 gdbimagenotifier(dyldimagemode, unsigned int, dyldimageinfo const*) + 203
2 dyld 0x0000000114b3e463 dyld::useSimulatorDyld(int, machoheader const*, char const*, int, char const, char const, char const**, unsigned long*, unsigned long*) + 1814
3 dyld 0x0000000114b3bdf3 dyld::main(machoheader const*, unsigned long, int, char const, char const, char const**, unsigned long*) + 1199
4 dyld 0x0000000114b3622b dyldbootstrap::start(dyld3::MachOLoaded const*, int, char const**, dyld3::MachOLoaded const*, unsigned long*) + 457
5 dyld 0x0000000114b36025 dyldstart + 37
Thread 0 crashed with X86 Thread State (64-bit):
rax: 0x0000000000000001 rbx: 0x00007ffee3016be0 rcx: 0x000000010d67d000 rdx: 0x00007ffee3016a70
rdi: 0x0000000000000000 rsi: 0x0000000000000001 rbp: 0x00007ffee3016b20 rsp: 0x00007ffee3016a68
r8: 0x0000000000000000 r9: 0x0000000000000000 r10: 0x0000000000000000 r11: 0x0000000000000000
r12: 0x00007ffee3016a88 r13: 0x000000010cbe5000 r14: 0x0000000000000000 r15: 0x0000000000000001
rip: 0x0000000114b48c6c rfl: 0x0000000000000293 cr2: 0x0000000114b48c6c
Logical CPU: 0
Error Code: 0x00000015 (invalid protections for user instruction read)
Trap Number: 14
Thread 0 instruction stream:
8d 45 10 48 89 42 08 48-b8 08 00 00 00 30 00 00 .E.H.B.H.....0..
00 48 89 02 bf 02 00 00-00 4c 89 d6 e8 32 17 04 .H.......L...2..
00 48 8d 05 cb 05 09 00-48 8b 00 48 3b 45 f8 75 .H......H..H;E.u
09 48 81 c4 d0 00 00 00-5d c3 e8 47 ff ff ff 55 .H......]..G...U
48 89 e5 48 8d 3d 57 79-07 00 e8 4e 12 ff ff 55 H..H.=Wy...N...U
48 89 e5 48 8d 3d 5a 79-07 00 e8 3e 12 ff ff cc H..H.=Zy...>....
[48]89 e5 5d c3 55 48 89-e5 48 8d 3d 69 79 07 00 H..].UH..H.=iy.. <==
e8 28 12 ff ff 83 fe 08-75 01 c3 55 48 89 e5 48 .(......u..UH..H
8d 3d 6a 79 07 00 e8 12-12 ff ff 48 85 ff 74 2b .=jy.......H..t+
45 31 c0 48 39 f1 48 0f-47 ce b8 54 00 00 00 41 E1.H9.H.G..T...A
0f 46 c0 48 85 c9 74 12-55 48 89 e5 31 f6 88 14 .F.H..t.UH..1...
37 48 ff c6 48 39 f1 75-f5 5d c3 b8 16 00 00 00 7H..H9.u.]......
Thread 0 last branch register state not available.
Binary Images:
0x10d67d000 - 0x10d6d5fff +dyldsim (828.5) <78110D0A-D8B8-3F35-88B9-A554FF4A5326> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/dyldsim
0x114b35000 - 0x114bd0fff dyld (832.7.1) <DEA51514-B4E8-3368-979B-89D0F8397ABC> /usr/lib/dyld
External Modification Summary:
Calls made by other processes targeting this process:
taskforpid: 1
threadcreate: 0
threadsetstate: 3
Calls made by this process:
taskforpid: 0
threadcreate: 0
threadsetstate: 0
Calls made by all processes on this machine:
taskforpid: 40747
threadcreate: 0
threadsetstate: 1137
VM Region Summary:
ReadOnly portion of Libraries: Total=1312K resident=0K(0%) swappedoutorunallocated=1312K(100%)
Writable regions: Total=8732K written=0K(0%) resident=0K(0%) swappedout=0K(0%) unallocated=8732K(100%)
Code Block VIRTUAL REGION
REGION TYPE SIZE COUNT (non-coalesced) =========== ======= =======
STACK GUARD 56.0M 1
Stack 8192K 1
VMALLOCATE 8K 2
VMALLOCATE (reserved) 132K 2 reserved VM address space (unallocated)
_DATA 432K 4
DATACONST 40K 2
_LINKEDIT 348K 3
_TEXT 980K 4
mapped file 10.5M 7
=========== ======= =======
TOTAL 76.4M 26
TOTAL, minus reserved VM space 76.2M 26