Crash upon App launch on Darwin (Monterey 12.5.1) with M1 pro Chip
The release for macOS from "https://models.slf.ch/p/inishell-ng/downloads/" seem not to work on macOS with M1 chip. Tried on older machine with Intel Core i5 chip running same macOS (Monterey 12.5.1) and works fine.
Error message of inishell crash upon app launching:
-------------------------------------
Translated Report (Full Report Below)
-------------------------------------
Process: inishell [9029]
Path: /private/var/folders/*/inishell.app/Contents/MacOS/inishell
Identifier: An XML description of the input fields necessary to configure a given numerical model is used to generate on the fly a Graphical User Interface that lets the user configure the numerical model and even run it if so configured
Version: 2.0.7 (0)
Code Type: X86-64 (Translated)
Parent Process: launchd [1]
User ID: 502
Date/Time: 2022-09-09 10:31:58.2753 +0200
OS Version: macOS 12.5.1 (21G83)
Report Version: 12
Anonymous UUID: 625ED491-1655-64E2-7E71-BF98C3E5322E
Sleep/Wake UUID: 6F03FED3-3CF3-4320-B616-3D5FB474268C
Time Awake Since Boot: 34000 seconds
Time Since Wake: 273 seconds
System Integrity Protection: enabled
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_BAD_INSTRUCTION (SIGILL)
Exception Codes: 0x0000000000000001, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Termination Reason: Namespace SIGNAL, Code 4 Illegal instruction: 4
Terminating Process: exc handler [9029]
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 inishell 0x10265601a 0x1025ef000 + 421914
1 inishell 0x102681ca3 main + 8291
2 dyld 0x20286352e start + 462
Thread 1:: com.apple.rosetta.exceptionserver
0 runtime 0x7ff7ffc53944 0x7ff7ffc4f000 + 18756
1 runtime 0x7ff7ffc613e0 0x7ff7ffc4f000 + 74720
2 runtime 0x7ff7ffc62e58 0x7ff7ffc4f000 + 81496
Thread 2:
0 runtime 0x7ff7ffc71814 0x7ff7ffc4f000 + 141332
Thread 3:
0 runtime 0x7ff7ffc71814 0x7ff7ffc4f000 + 141332
Thread 4:
0 runtime 0x7ff7ffc71814 0x7ff7ffc4f000 + 141332
Thread 5:
0 runtime 0x7ff7ffc71814 0x7ff7ffc4f000 + 141332
Thread 6:
0 runtime 0x7ff7ffc71814 0x7ff7ffc4f000 + 141332
Thread 0 crashed with X86 Thread State (64-bit):
rax: 0x00000001026cf7d8 rbx: 0x0000000308f04448 rcx: 0x000000010b3dca6d rdx: 0x000000010b3dcb34
rdi: 0x0000000308f04448 rsi: 0x0000000000000400 rbp: 0x0000000308f04420 rsp: 0x0000000308f042d0
r8: 0x00000000000036f0 r9: 0x0000000000000030 r10: 0x00000000000007fb r11: 0x0000000000000154
r12: 0x000060000294cc00 r13: 0x0000000308f04918 r14: 0x0000000308f044e0 r15: 0x0000000000000000
rip: <unavailable> rfl: 0x0000000000000202
tmp0: 0x000000010265601a tmp1: 0x437ffac5c0eff9c5 tmp2: 0x00c530437ffac540
Binary Images:
0x1025ef000 - 0x1026cbfff An XML description of the input fields necessary to configure a given numerical model is used to generate on the fly a Graphical User Interface that lets the user configure the numerical model and even run it if so configured (2.0.7) <f6d87b2b-a33e-38db-8a73-f9c2da863451> /private/var/folders/*/inishell.app/Contents/MacOS/inishell
0x20285e000 - 0x2028c9fff dyld (*) <f71fb3ca-5fcc-3577-9457-b047888a46d1> /usr/lib/dyld
0x7ff7ffc4f000 - 0x7ff7ffc7efff runtime (*) <ef33add1-6b70-3cc9-8bbc-c8544b609d2b> /usr/libexec/rosetta/runtime
External Modification Summary:
Calls made by other processes targeting this process:
task_for_pid: 0
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: 0
thread_create: 0
thread_set_state: 0
VM Region Summary:
ReadOnly portion of Libraries: Total=935.0M resident=0K(0%) swapped_out_or_unallocated=935.0M(100%)
Writable regions: Total=1.2G written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=1.2G(100%)
VIRTUAL REGION
REGION TYPE SIZE COUNT (non-coalesced)
=========== ======= =======
Accelerate framework 384K 3
Activity Tracing 256K 1
CG image 516K 1
ColorSync 212K 24
CoreGraphics 4K 1
Foundation 16K 1
Kernel Alloc Once 8K 1
MALLOC 225.7M 39
MALLOC guard page 192K 9
MALLOC_MEDIUM (reserved) 480.0M 4 reserved VM address space (unallocated)
MALLOC_NANO (reserved) 384.0M 1 reserved VM address space (unallocated)
Rosetta Arena 4096K 2
Rosetta Generic 916K 226
Rosetta IndirectBranch 256K 1
Rosetta JIT 128.0M 1
Rosetta Return Stack 100K 10
Rosetta Thread Context 100K 10
STACK GUARD 20K 5
Stack 10.6M 6
Stack Guard 56.0M 1
VM_ALLOCATE 9928K 21
VM_ALLOCATE (reserved) 4K 1 reserved VM address space (unallocated)
__CTF 756 1
__DATA 18.3M 304
__DATA_CONST 11.8M 167
__DATA_DIRTY 534K 98
__FONT_DATA 4K 1
__LINKEDIT 707.9M 23
__OBJC_RO 82.8M 1
__OBJC_RW 3200K 2
__TEXT 227.1M 316
__UNICODE 592K 1
dyld private memory 1024K 1
mapped file 5.2G 406
shared memory 800K 13
unshared pmap 4304K 3
=========== ======= =======
TOTAL 7.5G 1706
TOTAL, minus reserved VM space 6.6G 1706
-----------
Full Report
-----------
{"app_name":"inishell","timestamp":"2022-09-09 10:31:58.00 +0200","app_version":"2.0.7","slice_uuid":"f6d87b2b-a33e-38db-8a73-f9c2da863451","build_version":"0","platform":1,"bundleID":"An XML description of the input fields necessary to configure a given numerical model is used to generate on the fly a Graphical User Interface that lets the user configure the numerical model and even run it if so configured","share_with_app_devs":0,"is_first_party":0,"bug_type":"309","os_version":"macOS 12.5.1 (21G83)","incident_id":"3C633509-E4A2-4FA8-86E1-1B73019B9F9F","name":"inishell"}
{
"uptime" : 34000,
"procLaunch" : "2022-09-09 10:31:56.8905 +0200",
"procRole" : "Foreground",
"version" : 2,
"userID" : 502,
"deployVersion" : 210,
"modelCode" : "MacBookPro18,3",
"procStartAbsTime" : 823714094185,
"coalitionID" : 5273,
"osVersion" : {
"train" : "macOS 12.5.1",
"build" : "21G83",
"releaseType" : "User"
},
"captureTime" : "2022-09-09 10:31:58.2753 +0200",
"incident" : "3C633509-E4A2-4FA8-86E1-1B73019B9F9F",
"bug_type" : "309",
"pid" : 9029,
"procExitAbsTime" : 823747119412,
"translated" : true,
"cpuType" : "X86-64",
"procName" : "inishell",
"procPath" : "\/private\/var\/folders\/*\/inishell.app\/Contents\/MacOS\/inishell",
"bundleInfo" : {"CFBundleShortVersionString":"2.0.7","CFBundleVersion":"0","CFBundleIdentifier":"An XML description of the input fields necessary to configure a given numerical model is used to generate on the fly a Graphical User Interface that lets the user configure the numerical model and even run it if so configured"},
"storeInfo" : {"deviceIdentifierForVendor":"EAB1E0E1-B186-55C8-940B-0D1EE17528C6","thirdParty":true},
"parentProc" : "launchd",
"parentPid" : 1,
"coalitionName" : "An XML description of the input fields necessary to configure a given numerical model is used to generate on the fly a Graphical User Interface that lets the user configure the numerical model and even run it if so configured",
"crashReporterKey" : "625ED491-1655-64E2-7E71-BF98C3E5322E",
"wakeTime" : 273,
"sleepWakeUUID" : "6F03FED3-3CF3-4320-B616-3D5FB474268C",
"sip" : "enabled",
"isCorpse" : 1,
"exception" : {"codes":"0x0000000000000001, 0x0000000000000000","rawCodes":[1,0],"type":"EXC_BAD_INSTRUCTION","signal":"SIGILL"},
"termination" : {"flags":0,"code":4,"namespace":"SIGNAL","indicator":"Illegal instruction: 4","byProc":"exc handler","byPid":9029},
"extMods" : {"caller":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"system":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"targeted":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"warnings":0},
"faultingThread" : 0,
"threads" : [{"triggered":true,"id":296822,"threadState":{"flavor":"x86_THREAD_STATE","rbp":{"value":13034865696},"r12":{"value":105553159572480},"rosetta":{"tmp2":{"value":55503636880082240},"tmp1":{"value":4863881849835878853},"tmp0":{"value":4335165466}},"rbx":{"value":13034865736},"r8":{"value":14064},"r15":{"value":0},"r10":{"value":2043},"rdx":{"value":4483566388,"symbolLocation":2068,"symbol":"QWidget::setAttribute(Qt::WidgetAttribute, bool)"},"rdi":{"value":13034865736},"r9":{"value":48},"r13":{"value":13034866968},"rflags":{"value":514},"rax":{"value":4335663064},"rsp":{"value":13034865360},"r11":{"value":340},"rcx":{"value":4483566189,"symbolLocation":1869,"symbol":"QWidget::setAttribute(Qt::WidgetAttribute, bool)"},"r14":{"value":13034865888},"rsi":{"value":1024}},"queue":"com.apple.main-thread","frames":[{"imageOffset":421914,"imageIndex":0},{"imageOffset":601251,"symbol":"main","symbolLocation":8291,"imageIndex":0},{"imageOffset":21806,"symbol":"start","symbolLocation":462,"imageIndex":1}]},{"id":296842,"name":"com.apple.rosetta.exceptionserver","frames":[{"imageOffset":18756,"imageIndex":2},{"imageOffset":74720,"imageIndex":2},{"imageOffset":81496,"imageIndex":2}]},{"id":296862,"frames":[{"imageOffset":141332,"imageIndex":2}]},{"id":296863,"frames":[{"imageOffset":141332,"imageIndex":2}]},{"id":296874,"frames":[{"imageOffset":141332,"imageIndex":2}]},{"id":296877,"frames":[{"imageOffset":141332,"imageIndex":2}]},{"id":296879,"frames":[{"imageOffset":141332,"imageIndex":2}]}],
"usedImages" : [
{
"source" : "P",
"arch" : "x86_64",
"base" : 4334743552,
"CFBundleShortVersionString" : "2.0.7",
"CFBundleIdentifier" : "An XML description of the input fields necessary to configure a given numerical model is used to generate on the fly a Graphical User Interface that lets the user configure the numerical model and even run it if so configured",
"size" : 905216,
"uuid" : "f6d87b2b-a33e-38db-8a73-f9c2da863451",
"path" : "\/private\/var\/folders\/*\/inishell.app\/Contents\/MacOS\/inishell",
"name" : "inishell",
"CFBundleVersion" : "0"
},
{
"source" : "P",
"arch" : "x86_64",
"base" : 8632262656,
"size" : 442368,
"uuid" : "f71fb3ca-5fcc-3577-9457-b047888a46d1",
"path" : "\/usr\/lib\/dyld",
"name" : "dyld"
},
{
"source" : "P",
"arch" : "arm64",
"base" : 140703124746240,
"size" : 196608,
"uuid" : "ef33add1-6b70-3cc9-8bbc-c8544b609d2b",
"path" : "\/usr\/libexec\/rosetta\/runtime",
"name" : "runtime"
}
],
"sharedCache" : {
"base" : 140703614582784,
"size" : 19331678208,
"uuid" : "f3387257-f96f-3907-b94c-1d7f0ebef98b"
},
"vmSummary" : "ReadOnly portion of Libraries: Total=935.0M resident=0K(0%) swapped_out_or_unallocated=935.0M(100%)\nWritable regions: Total=1.2G written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=1.2G(100%)\n\n VIRTUAL REGION \nREGION TYPE SIZE COUNT (non-coalesced) \n=========== ======= ======= \nAccelerate framework 384K 3 \nActivity Tracing 256K 1 \nCG image 516K 1 \nColorSync 212K 24 \nCoreGraphics 4K 1 \nFoundation 16K 1 \nKernel Alloc Once 8K 1 \nMALLOC 225.7M 39 \nMALLOC guard page 192K 9 \nMALLOC_MEDIUM (reserved) 480.0M 4 reserved VM address space (unallocated)\nMALLOC_NANO (reserved) 384.0M 1 reserved VM address space (unallocated)\nRosetta Arena 4096K 2 \nRosetta Generic 916K 226 \nRosetta IndirectBranch 256K 1 \nRosetta JIT 128.0M 1 \nRosetta Return Stack 100K 10 \nRosetta Thread Context 100K 10 \nSTACK GUARD 20K 5 \nStack 10.6M 6 \nStack Guard 56.0M 1 \nVM_ALLOCATE 9928K 21 \nVM_ALLOCATE (reserved) 4K 1 reserved VM address space (unallocated)\n__CTF 756 1 \n__DATA 18.3M 304 \n__DATA_CONST 11.8M 167 \n__DATA_DIRTY 534K 98 \n__FONT_DATA 4K 1 \n__LINKEDIT 707.9M 23 \n__OBJC_RO 82.8M 1 \n__OBJC_RW 3200K 2 \n__TEXT 227.1M 316 \n__UNICODE 592K 1 \ndyld private memory 1024K 1 \nmapped file 5.2G 406 \nshared memory 800K 13 \nunshared pmap 4304K 3 \n=========== ======= ======= \nTOTAL 7.5G 1706 \nTOTAL, minus reserved VM space 6.6G 1706 \n",
"legacyInfo" : {
"threadTriggered" : {
"queue" : "com.apple.main-thread"
}
},
"trialInfo" : {
"rollouts" : [
{
"rolloutId" : "5fb4245a1bbfe8005e33a1e1",
"factorPackIds" : {
},
"deploymentId" : 240000015
},
{
"rolloutId" : "60186475825c62000ccf5450",
"factorPackIds" : {
},
"deploymentId" : 240000026
}
],
"experiments" : [
]
}
}
Model: MacBookPro18,3, BootROM 7459.141.1, proc 8:6:2 processors, 32 GB, SMC
Graphics: Apple M1 Pro, Apple M1 Pro, Built-In
Display: Color LCD, 3024 x 1964 Retina, Main, MirrorOff, Online
Memory Module: LPDDR5
AirPort: Wi-Fi, wl0: Apr 6 2022 05:55:54 version 20.90.45.0.8.7.118 FWID 01-e7138ff2
Bluetooth: Version (null), 0 services, 0 devices, 0 incoming serial ports
Network Service: Wi-Fi, AirPort, en0
USB Device: USB31Bus
USB Device: USB31Bus
USB Device: USB31Bus
Thunderbolt Bus: MacBook Pro, Apple Inc.
Thunderbolt Bus: MacBook Pro, Apple Inc.
Thunderbolt Bus: MacBook Pro, Apple Inc.
Edited by Adrien Michel