I had this crash happen sometimes when building an app for the simulator. It will crash on startup every time until the app is rebuilt.
Crash report:
Translated Report (Full Report Below)
Incident Identifier: CDE44A4D-D3E0-476D-8F51-EDEB1D9D3FBE
CrashReporter Key: F249B0C5-EAA2-EFED-BB70-2E228A215D17
Hardware Model: MacBookPro18,2
Process: MyApp [34921]
Path: /Users/USER/Library/Developer/CoreSimulator/Devices/F8A08948-BFAD-416B-8E4B-88A8BEE71F60/data/Containers/Bundle/Application/86FDBC0E-6895-4804-BC80-403100FB7E37/MyApp.app/MyApp
Identifier: my.app.identifier
Version: 1.9.0 (1.9.0.2)
Code Type: ARM-64 (Native)
Role: Foreground
Parent Process: launchd_sim [4016]
Coalition: com.apple.CoreSimulator.SimDevice.F8A08948-BFAD-416B-8E4B-88A8BEE71F60 [2793]
Responsible Process: SimulatorTrampoline [3987]
Date/Time: 2022-10-10 16:23:44.4588 +0200
Launch Time: 2022-10-10 16:23:44.1324 +0200
OS Version: macOS 12.6 (21G115)
Release Type: User
Report Version: 104
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Subtype: KERN_INVALID_ADDRESS at 0x0000000173c20fe8
Exception Codes: 0x0000000000000001, 0x0000000173c20fe8
VM Region Info: 0x173c20fe8 is not in any region. Bytes after previous region: 141299689 Bytes before following region: 205385752
REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL
Stack 16b4d8000-16b560000 [ 544K] rw-/rwx SM=NUL thread 3
---> GAP OF 0x14aa0000 BYTES
unused shlib __TEXT 180000000-1ae507000 [741.0M] r-x/rwx SM=COW ... this process
Exception Note: EXC_CORPSE_NOTIFY
Termination Reason: SIGNAL 11 Segmentation fault: 11
Terminating Process: exc handler [34921]
Triggered by Thread: 0
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libsystem_platform.dylib 0x1ae554a00 _platform_strncmp + 16
1 NativeScript 0x108843c8c tns::compareIdentifiers(char const*, char const*, unsigned long) + 12 (MetadataInlines.h:12) [inlined]
2 NativeScript 0x108843c8c tns::GlobalTable<(tns::GlobalTableType)0>::compareName(tns::Meta const&, char const*, unsigned long) + 24 (MetadataInlines.h:97) [inlined]
3 NativeScript 0x108843c8c tns::GlobalTable<(tns::GlobalTableType)0>::findMeta(char const*, unsigned long, unsigned int, bool) const + 120 (MetadataInlines.h:88)
4 NativeScript 0x108840d0c tns::ArgConverter::GetMeta(std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator >) + 100 (ArgConverter.mm:706)
5 NativeScript 0x10888c3e0 tns::MetadataBuilder::GlobalPropertyGetter(v8::Localv8::Name, v8::PropertyCallbackInfov8::Value const&) + 344 (MetadataBuilder.mm:43)
6 NativeScript 0x108ca6c10 v8::internal::PropertyCallbackArguments::BasicCallNamedGetterCallback(void ()(v8::Localv8::Name, v8::PropertyCallbackInfov8::Value const&), v8::internal::Handlev8::internal::Name, v8::internal::Handlev8::internal::Object, v8::internal::Handlev8::internal::Object) + 336
7 NativeScript 0x108bd4ce8 v8::internal::(anonymous namespace)::GetPropertyAttributesWithInterceptorInternal(v8::internal::LookupIterator, v8::internal::Handlev8::internal::InterceptorInfo) + 652
8 NativeScript 0x108bcda14 v8::internal::JSReceiver::GetPropertyAttributes(v8::internal::LookupIterator*) + 88
9 NativeScript 0x108bcf164 v8::internal::JSReceiver::GetOwnPropertyDescriptor(v8::internal::LookupIterator*, v8::internal::PropertyDescriptor*) + 60
10 NativeScript 0x108bcee04 v8::internal::JSReceiver::OrdinaryDefineOwnProperty(v8::internal::LookupIterator*, v8::internal::PropertyDescriptor*, v8::Maybev8::internal::ShouldThrow) + 68
11 NativeScript 0x108bced74 v8::internal::JSReceiver::OrdinaryDefineOwnProperty(v8::internal::Isolate*, v8::internal::Handlev8::internal::JSObject, v8::internal::Handlev8::internal::Object, v8::internal::PropertyDescriptor*, v8::Maybev8::internal::ShouldThrow) + 120
12 NativeScript 0x108bce9fc v8::internal::JSReceiver::DefineOwnProperty(v8::internal::Isolate*, v8::internal::Handlev8::internal::JSReceiver, v8::internal::Handlev8::internal::Object, v8::internal::PropertyDescriptor*, v8::Maybev8::internal::ShouldThrow) + 124
13 NativeScript 0x108962318 v8::Object::DefineOwnProperty(v8::Localv8::Context, v8::Localv8::Name, v8::Localv8::Value, v8::PropertyAttribute) + 636
14 NativeScript 0x1088c38b8 tns::Runtime::DefineGlobalObject(v8::Localv8::Context) + 112 (Runtime.mm:177)
15 NativeScript 0x1088c320c tns::Runtime::Init(v8::Isolate*) + 400 (Runtime.mm:107)
16 NativeScript 0x1088f3960 -[NativeScript initWithConfig:] + 368 (NativeScript.mm:43)
17 MyApp 0x104a483ec main + 588 (main.m:59)
18 dyld_sim 0x106589fa0 start_sim + 20
19 dyld 0x10665d08c start + 520
Thread 1:
0 libsystem_pthread.dylib 0x1ae55d8fc start_wqthread + 0
Thread 2:
0 libsystem_pthread.dylib 0x1ae55d8fc start_wqthread + 0
Thread 3:
0 libsystem_pthread.dylib 0x1ae55d8fc start_wqthread + 0
Thread 0 crashed with ARM Thread State (64-bit):
x0: 0x0000000173c20fe8 x1: 0x000000016b3b9a98 x2: 0x0000000000000006 x3: 0x0000000000000000
x4: 0x0000000000000000 x5: 0x0000000000000000 x6: 0x000000000000006c x7: 0x0000000000000a40
x8: 0x000000010553ab68 x9: 0x000000006e6e6480 x10: 0x000000006e6e6168 x11: 0x000000007930b143
x12: 0x000000010918ee38 x13: 0x00000001088443a0 x14: 0x0000000000000002 x15: 0x000000000010c000
x16: 0x00000001ae5549f0 x17: 0x000000000000006c x18: 0x0000000000000000 x19: 0x0000000000000000
x20: 0x0000000000000006 x21: 0x000000016b3b9a98 x22: 0x0000000105c176d1 x23: 0x000000010560aee7
x24: 0x0000000105c176d5 x25: 0x0000000173c20fe8 x26: 0x0000000105c176d5 x27: 0x0000000138008000
x28: 0x0000000000000000 fp: 0x000000016b3b9940 lr: 0x0000000108843c8c
sp: 0x000000016b3b9900 pc: 0x00000001ae554a00 cpsr: 0x00001000
far: 0x0000000173c20fe8 esr: 0x92000006 (Data Abort) byte read Translation fault
Binary Images:
0x1ae554000 - 0x1ae55afff libsystem_platform.dylib () <299cc8b2-1c53-3a03-988f-07a744190d83> /usr/lib/system/libsystem_platform.dylib
0x108820000 - 0x10923bfff org.nativescript.NativeScript (1.0) /Users/USER/Library/Developer/CoreSimulator/Devices/F8A08948-BFAD-416B-8E4B-88A8BEE71F60/data/Containers/Bundle/Application/86FDBC0E-6895-4804-BC80-403100FB7E37/MyApp.app/Frameworks/NativeScript.framework/NativeScript
0x104a44000 - 0x1053affff my.app.identifier (1.9.0) /Users/USER/Library/Developer/CoreSimulator/Devices/F8A08948-BFAD-416B-8E4B-88A8BEE71F60/data/Containers/Bundle/Application/86FDBC0E-6895-4804-BC80-403100FB7E37/MyApp.app/MyApp
0x106588000 - 0x1065d7fff dyld_sim () <95b4e700-746f-3939-8944-d77b2de5a051> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/dyld_sim
0x106658000 - 0x1066b7fff dyld () <38ee9fe9-b66d-3066-8c5c-6ddf0d6944c6> /usr/lib/dyld
0x1ae55b000 - 0x1ae567ffb libsystem_pthread.dylib () <6de4a53b-8d96-3c92-b3c9-4a5ed84776fb> /usr/lib/system/libsystem_pthread.dylib
0x0 - 0xffffffffffffffff ??? (*) <00000000-0000-0000-0000-000000000000> ???
EOF
Full Report
{"app_name":"MyApp","timestamp":"2022-10-10 16:23:44.00 +0200","app_version":"1.9.0","slice_uuid":"dde05db8-768a-3855-b5ed-87210a1a20bd","build_version":"1.9.0.2","platform":7,"bundleID":"my.app.identifier","share_with_app_devs":0,"is_first_party":0,"bug_type":"309","os_version":"macOS 12.6 (21G115)","incident_id":"CDE44A4D-D3E0-476D-8F51-EDEB1D9D3FBE","name":"MyApp"}
{
"uptime" : 31000,
"procLaunch" : "2022-10-10 16:23:44.1324 +0200",
"procRole" : "Foreground",
"version" : 2,
"userID" : 501,
"deployVersion" : 210,
"modelCode" : "MacBookPro18,2",
"procStartAbsTime" : 757246236359,
"coalitionID" : 2793,
"osVersion" : {
"train" : "macOS 12.6",
"build" : "21G115",
"releaseType" : "User"
},
"captureTime" : "2022-10-10 16:23:44.4588 +0200",
"incident" : "CDE44A4D-D3E0-476D-8F51-EDEB1D9D3FBE",
"bug_type" : "309",
"pid" : 34921,
"procExitAbsTime" : 757254062959,
"translated" : false,
"cpuType" : "ARM-64",
"procName" : "MyApp",
"procPath" : "/Users/USER/Library/Developer/CoreSimulator/Devices/F8A08948-BFAD-416B-8E4B-88A8BEE71F60/data/Containers/Bundle/Application/86FDBC0E-6895-4804-BC80-403100FB7E37/MyApp.app/MyApp",
"bundleInfo" : {"CFBundleShortVersionString":"1.9.0","CFBundleVersion":"1.9.0.2","CFBundleIdentifier":"my.app.identifier"},
"storeInfo" : {"deviceIdentifierForVendor":"1DA54769-F2B8-5C5A-81EB-E03F0D70996C","thirdParty":true},
"parentProc" : "launchd_sim",
"parentPid" : 4016,
"coalitionName" : "com.apple.CoreSimulator.SimDevice.F8A08948-BFAD-416B-8E4B-88A8BEE71F60",
"crashReporterKey" : "F249B0C5-EAA2-EFED-BB70-2E228A215D17",
"responsiblePid" : 3987,
"responsibleProc" : "SimulatorTrampoline",
"sip" : "enabled",
"vmRegionInfo" : "0x173c20fe8 is not in any region. Bytes after previous region: 141299689 Bytes before following region: 205385752\n REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL\n Stack 16b4d8000-16b560000 [ 544K] rw-/rwx SM=NUL thread 3\n---> GAP OF 0x14aa0000 BYTES\n unused shlib __TEXT 180000000-1ae507000 [741.0M] r-x/rwx SM=COW ... this process",
"isCorpse" : 1,
"exception" : {"codes":"0x0000000000000001, 0x0000000173c20fe8","rawCodes":[1,6237065192],"type":"EXC_BAD_ACCESS","signal":"SIGSEGV","subtype":"KERN_INVALID_ADDRESS at 0x0000000173c20fe8"},
"termination" : {"flags":0,"code":11,"namespace":"SIGNAL","indicator":"Segmentation fault: 11","byProc":"exc handler","byPid":34921},
"vmregioninfo" : "0x173c20fe8 is not in any region. Bytes after previous region: 141299689 Bytes before following region: 205385752\n REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL\n Stack 16b4d8000-16b560000 [ 544K] rw-/rwx SM=NUL thread 3\n---> GAP OF 0x14aa0000 BYTES\n unused shlib __TEXT 180000000-1ae507000 [741.0M] r-x/rwx SM=COW ... this process",
"extMods" : {"caller":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"system":{"thread_create":0,"thread_set_state":449,"task_for_pid":23},"targeted":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"warnings":0},
"faultingThread" : 0,
"threads" : [{"triggered":true,"id":464734,"threadState":{"x":[{"value":6237065192},{"value":6094035608},{"value":6},{"value":0},{"value":0},{"value":0},{"value":108},{"value":2624},{"value":4384336744},{"value":1852728448},{"value":1852727656},{"value":2033234243},{"value":4447596088,"symbolLocation":57,"symbol":"std::__1::piecewise_construct"},{"sourceLine":747,"value":4437853088,"sourceFile":"robin_hood.h","symbol":"robin_hood::hash<std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > >::operator()(std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&) const","symbolLocation":164,"inline":true},{"value":2},{"value":1097728},{"value":7219792368,"symbolLocation":0,"symbol":"_platform_strncmp"},{"value":108},{"value":0},{"value":0},{"value":6},{"value":6094035608},{"value":4391532241},{"value":4385189607},{"value":4391532245},{"value":6237065192},{"value":4391532245},{"value":5234524160},{"value":0}],"flavor":"ARM_THREAD_STATE64","lr":{"value":4437851276},"cpsr":{"value":4096},"fp":{"value":6094035264},"sp":{"value":6094035200},"esr":{"value":2449473542,"description":"(Data Abort) byte read Translation fault"},"pc":{"value":7219792384,"matchesCrashFrame":1},"far":{"value":6237065192}},"queue":"com.apple.main-thread","frames":[{"imageOffset":2560,"symbol":"_platform_strncmp","symbolLocation":16,"imageIndex":0},{"symbol":"tns::compareIdentifiers(char const*, char const*, unsigned long)","inline":true,"imageIndex":1,"imageOffset":146572,"symbolLocation":12,"sourceLine":12,"sourceFile":"MetadataInlines.h"},{"symbol":"tns::GlobalTable<(tns::GlobalTableType)0>::compareName(tns::Meta const&, char const*, unsigned long)","inline":true,"imageIndex":1,"imageOffset":146572,"symbolLocation":24,"sourceLine":97,"sourceFile":"MetadataInlines.h"},{"imageOffset":146572,"sourceLine":88,"sourceFile":"MetadataInlines.h","symbol":"tns::GlobalTable<(tns::GlobalTableType)0>::findMeta(char const*, unsigned long, unsigned int, bool) const","imageIndex":1,"symbolLocation":120},{"imageOffset":134412,"sourceLine":706,"sourceFile":"ArgConverter.mm","symbol":"tns::ArgConverter::GetMeta(std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator >)","imageIndex":1,"symbolLocation":100},{"imageOffset":443360,"sourceLine":43,"sourceFile":"MetadataBuilder.mm","symbol":"tns::MetadataBuilder::GlobalPropertyGetter(v8::Localv8::Name, v8::PropertyCallbackInfov8::Value const&)","imageIndex":1,"symbolLocation":344},{"imageOffset":4746256,"symbol":"v8::internal::PropertyCallbackArguments::BasicCallNamedGetterCallback(void ()(v8::Localv8::Name, v8::PropertyCallbackInfov8::Value const&), v8::internal::Handlev8::internal::Name, v8::internal::Handlev8::internal::Object, v8::internal::Handlev8::internal::Object)","symbolLocation":336,"imageIndex":1},{"imageOffset":3886312,"symbol":"v8::internal::(anonymous namespace)::GetPropertyAttributesWithInterceptorInternal(v8::internal::LookupIterator, v8::internal::Handlev8::internal::InterceptorInfo)","symbolLocation":652,"imageIndex":1},{"imageOffset":3856916,"symbol":"v8::internal::JSReceiver::GetPropertyAttributes(v8::internal::LookupIterator*)","symbolLocation":88,"imageIndex":1},{"imageOffset":3862884,"symbol":"v8::internal::JSReceiver::GetOwnPropertyDescriptor(v8::internal::LookupIterator*, v8::internal::PropertyDescriptor*)","symbolLocation":60,"imageIndex":1},{"imageOffset":3862020,"symbol":"v8::internal::JSReceiver::OrdinaryDefineOwnProperty(v8::internal::LookupIterator*, v8::internal::PropertyDescriptor*, v8::Maybev8::internal::ShouldThrow)","symbolLocation":68,"imageIndex":1},{"imageOffset":3861876,"symbol":"v8::internal::JSReceiver::OrdinaryDefineOwnProperty(v8::internal::Isolate*, v8::internal::Handlev8::internal::JSObject, v8::internal::Handlev8::internal::Object, v8::internal::PropertyDescriptor*, v8::Maybev8::internal::ShouldThrow)","symbolLocation":120,"imageIndex":1},{"imageOffset":3860988,"symbol":"v8::internal::JSReceiver::DefineOwnProperty(v8::internal::Isolate*, v8::internal::Handlev8::internal::JSReceiver, v8::internal::Handlev8::internal::Object, v8::internal::PropertyDescriptor*, v8::Maybev8::internal::ShouldThrow)","symbolLocation":124,"imageIndex":1},{"imageOffset":1319704,"symbol":"v8::Object::DefineOwnProperty(v8::Localv8::Context, v8::Localv8::Name, v8::Localv8::Value, v8::PropertyAttribute)","symbolLocation":636,"imageIndex":1},{"imageOffset":669880,"sourceLine":177,"sourceFile":"Runtime.mm","symbol":"tns::Runtime::DefineGlobalObject(v8::Localv8::Context)","imageIndex":1,"symbolLocation":112},{"imageOffset":668172,"sourceLine":107,"sourceFile":"Runtime.mm","symbol":"tns::Runtime::Init(v8::Isolate*)","imageIndex":1,"symbolLocation":400},{"imageOffset":866656,"sourceLine":43,"sourceFile":"NativeScript.mm","symbol":"-[NativeScript initWithConfig:]","imageIndex":1,"symbolLocation":368},{"imageOffset":17388,"sourceLine":59,"sourceFile":"main.m","symbol":"main","imageIndex":2,"symbolLocation":588},{"imageOffset":8096,"symbol":"start_sim","symbolLocation":20,"imageIndex":3},{"imageOffset":20620,"symbol":"start","symbolLocation":520,"imageIndex":4}]},{"id":464747,"frames":[{"imageOffset":10492,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":5}]},{"id":464748,"frames":[{"imageOffset":10492,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":5}]},{"id":464749,"frames":[{"imageOffset":10492,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":5}]}],
"usedImages" : [
{
"source" : "P",
"arch" : "arm64",
"base" : 7219789824,
"size" : 28672,
"uuid" : "299cc8b2-1c53-3a03-988f-07a744190d83",
"path" : "/usr/lib/system/libsystem_platform.dylib",
"name" : "libsystem_platform.dylib"
},
{
"source" : "P",
"arch" : "arm64",
"base" : 4437704704,
"CFBundleShortVersionString" : "1.0",
"CFBundleIdentifier" : "org.nativescript.NativeScript",
"size" : 10600448,
"uuid" : "f9207034-3605-3ee7-b076-19cffa96b51a",
"path" : "/Users/USER/Library/Developer/CoreSimulator/Devices/F8A08948-BFAD-416B-8E4B-88A8BEE71F60/data/Containers/Bundle/Application/86FDBC0E-6895-4804-BC80-403100FB7E37/MyApp.app/Frameworks/NativeScript.framework/NativeScript",
"name" : "NativeScript",
"CFBundleVersion" : "1"
},
{
"source" : "P",
"arch" : "arm64",
"base" : 4372840448,
"CFBundleShortVersionString" : "1.9.0",
"CFBundleIdentifier" : "my.app.identifier",
"size" : 9879552,
"uuid" : "dde05db8-768a-3855-b5ed-87210a1a20bd",
"path" : "/Users/USER/Library/Developer/CoreSimulator/Devices/F8A08948-BFAD-416B-8E4B-88A8BEE71F60/data/Containers/Bundle/Application/86FDBC0E-6895-4804-BC80-403100FB7E37/MyApp.app/MyApp",
"name" : "MyApp",
"CFBundleVersion" : "1.9.0.2"
},
{
"source" : "P",
"arch" : "arm64",
"base" : 4401430528,
"size" : 327680,
"uuid" : "95b4e700-746f-3939-8944-d77b2de5a051",
"path" : "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/dyld_sim",
"name" : "dyld_sim"
},
{
"source" : "P",
"arch" : "arm64e",
"base" : 4402282496,
"size" : 393216,
"uuid" : "38ee9fe9-b66d-3066-8c5c-6ddf0d6944c6",
"path" : "/usr/lib/dyld",
"name" : "dyld"
},
{
"source" : "P",
"arch" : "arm64",
"base" : 7219818496,
"size" : 53244,
"uuid" : "6de4a53b-8d96-3c92-b3c9-4a5ed84776fb",
"path" : "/usr/lib/system/libsystem_pthread.dylib",
"name" : "libsystem_pthread.dylib"
},
{
"size" : 0,
"source" : "A",
"base" : 0,
"uuid" : "00000000-0000-0000-0000-000000000000"
}
],
"sharedCache" : {
"base" : 6442450944,
"size" : 1325252608,
"uuid" : "896eb9e5-b949-384f-8324-a2500b000581"
},
"vmSummary" : "ReadOnly portion of Libraries: Total=935.6M resident=0K(0%) swapped_out_or_unallocated=935.6M(100%)\nWritable regions: Total=671.8M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=671.8M(100%)\n\n VIRTUAL REGION \nREGION TYPE SIZE COUNT (non-coalesced) \n=========== ======= ======= \nActivity Tracing 256K 1 \nColorSync 16K 1 \nKernel Alloc Once 32K 1 \nMALLOC 154.2M 14 \nMALLOC guard page 96K 6 \nMALLOC_MEDIUM (reserved) 120.0M 1 reserved VM address space (unallocated)\nMALLOC_NANO (reserved) 384.0M 1 reserved VM address space (unallocated)\nMemory Tag 255 1904K 13 \nSTACK GUARD 56.1M 4 \nStack 9808K 4 \n__DATA 19.5M 429 \n__DATA_CONST 38.6M 399 \n__DATA_DIRTY 138K 10 \n__FONT_DATA 16K 1 \n__LINKEDIT 560.7M 405 \n__TEXT 375.0M 407 \ndyld private memory 1792K 4 \nmapped file 48K 1 \n=========== ======= ======= \nTOTAL 1.7G 1702 \nTOTAL, minus reserved VM space 1.2G 1702 \n",
"legacyInfo" : {
"threadTriggered" : {
"queue" : "com.apple.main-thread"
}
},
"trialInfo" : {
"rollouts" : [
{
"rolloutId" : "60186475825c62000ccf5450",
"factorPackIds" : {
},
"deploymentId" : 240000026
},
{
"rolloutId" : "61af99aeda72d16a4beb7756",
"factorPackIds" : {
},
"deploymentId" : 240000382
}
],
"experiments" : [
{
"treatmentId" : "5b729754-3882-4560-826f-9c0bc27d77c6",
"experimentId" : "6192fb082171a2330e561df0",
"deploymentId" : 400000035
}
]
}
}
Model: MacBookPro18,2, BootROM 7459.141.1, proc 10:8:2 processors, 64 GB, SMC
Graphics: Apple M1 Max, Apple M1 Max, Built-In
Display: Color LCD, 3456 x 2234 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
Network Service: iPhone, Ethernet, en8
Network Service: iPhone 2, Ethernet, en9
USB Device: USB31Bus
USB Device: USB31Bus
USB Device: USB31Bus
USB Device: iPhone
Thunderbolt Bus: MacBook Pro, Apple Inc.
Thunderbolt Bus: MacBook Pro, Apple Inc.
Thunderbolt Bus: MacBook Pro, Apple Inc.
Doing some debugging in
inline size_t compareIdentifiers(const char* nullTerminated, const char* notNullTerminated, size_t length)
indicates that "nullTerminated" is the problem. notNullTerminated is "global".
Comparing a broken build with a working one shows that everyting is identical in the app-bundle except the main binary (and framework binaries).