MAUI app crash with .net7
See original GitHub issueDescription
I have an issue (crash on start app) for MAUI project. Everything was ok, but one day I started developing app and it starts crashing with unknown reason (same env, no updates, even no code changes). I’m using MacBook Pro with M1 Pro chip, the latest VS for Mac 17.4 (2406) and/or in parallel VS for Mac 17.5 Preview (build 437), .net7 (7.0.100), MacOS 12 latest (also recently updated to MacOS to 13.0.1 & Xcode 14.1 because thought it might be a reason)
Steps to Reproduce
Create or use existing MAUI app with .net7 and try to deploy to iOS simulator. App crashes on start
Link to public reproduction project repository
Version with bug
7.0 (current)
Last version that worked well
6.0.424
Affected platforms
iOS
Affected platform versions
iOS16.0 or iOS16.1
Did you find any workaround?
using .net6 instead of .net7 works for me
Relevant log output
-------------------------------------
Translated Report (Full Report Below)
-------------------------------------
Incident Identifier: 09E61700-47F4-43BA-A5B5-7A8301825B51
CrashReporter Key: F86AA127-C69D-CC6C-0912-F86C9F91ADCF
Hardware Model: MacBookPro18,1
Process: Flexitime [3899]
Path: /Users/USER/Library/Developer/CoreSimulator/Devices/088FA403-FB08-4031-9540-7C19D97B9409/data/Containers/Bundle/Application/4335F3C2-22E6-430D-AF24-6A4349319054/Flexitime.app/Flexitime
Identifier: com.dsharkov.Flexitime
Version: 2.0.0 (2.0.0)
Code Type: X86-64 (Native)
Role: Foreground
Parent Process: launchd_sim [2995]
Coalition: com.apple.CoreSimulator.SimDevice.088FA403-FB08-4031-9540-7C19D97B9409 [2392]
Responsible Process: SimulatorTrampoline [2987]
Date/Time: 2022-12-02 15:56:41.5698 +0100
Launch Time: 2022-12-02 15:56:41.5279 +0100
OS Version: macOS 13.0.1 (22A400)
Release Type: User
Report Version: 104
Exception Type: EXC_BAD_ACCESS (SIGKILL (Code Signature Invalid))
Exception Subtype: UNKNOWN_0x32 at 0x000000010cf1b000
Exception Codes: 0x0000000000000032, 0x000000010cf1b000
VM Region Info: 0x10cf1b000 is in 0x10cf1b000-0x10d00e000; bytes after start: 0 bytes before end: 995327
REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL
VM_ALLOCATE (reserved) 10cf1a000-10cf1b000 [ 4K] rw-/rwx SM=NUL ...(unallocated)
---> mapped file 10cf1b000-10d00e000 [ 972K] r--/rwx SM=COW ...t_id=91b39b8d
GAP OF 0xf7ad0000 BYTES
__TEXT 204ade000-204b76000 [ 608K] r-x/r-x SM=COW /usr/lib/dyld
Termination Reason: CODESIGNING 2 Invalid Page
Triggered by Thread: 0
Thread 0 Crashed:
0 <translation info unavailable> 0x1048f71c4 ???
1 <translation info unavailable> 0x1048f685c ???
2 dyld_sim 0x10ce9a2d0 invocation function for block in dyld4::JustInTimeLoader::makeJustInTimeLoaderDisk(Diagnostics&, dyld4::RuntimeState&, char const*, dyld4::Loader::LoadOptions const&, bool, unsigned int, mach_o::Layout const*) + 85
3 dyld_sim 0x10ce9e4ce dyld4::SyscallDelegate::withReadOnlyMappedFile(Diagnostics&, char const*, bool, void (void const*, unsigned long, bool, dyld4::FileID const&, char const*) block_pointer) const + 144
4 dyld_sim 0x10ce9a250 dyld4::JustInTimeLoader::makeJustInTimeLoaderDisk(Diagnostics&, dyld4::RuntimeState&, char const*, dyld4::Loader::LoadOptions const&, bool, unsigned int, mach_o::Layout const*) + 198
5 dyld_sim 0x10ce92f50 invocation function for block in dyld4::Loader::getLoader(Diagnostics&, dyld4::RuntimeState&, char const*, dyld4::Loader::LoadOptions const&) + 2136
6 dyld_sim 0x10ce92096 dyld4::Loader::forEachResolvedAtPathVar(dyld4::RuntimeState&, char const*, dyld4::Loader::LoadOptions const&, dyld4::ProcessConfig::PathOverrides::Type, bool&, void (char const*, dyld4::ProcessConfig::PathOverrides::Type, bool&) block_pointer) + 606
7 dyld_sim 0x10ce8888f dyld4::ProcessConfig::PathOverrides::forEachPathVariant(char const*, dyld3::Platform, bool, bool, bool&, void (char const*, dyld4::ProcessConfig::PathOverrides::Type, bool&) block_pointer) const + 801
8 dyld_sim 0x10ce91cb7 dyld4::Loader::forEachPath(Diagnostics&, dyld4::RuntimeState&, char const*, dyld4::Loader::LoadOptions const&, void (char const*, dyld4::ProcessConfig::PathOverrides::Type, bool&) block_pointer) + 251
9 dyld_sim 0x10ce923fb dyld4::Loader::getLoader(Diagnostics&, dyld4::RuntimeState&, char const*, dyld4::Loader::LoadOptions const&) + 827
10 dyld_sim 0x10ce98710 invocation function for block in dyld4::JustInTimeLoader::loadDependents(Diagnostics&, dyld4::RuntimeState&, dyld4::Loader::LoadOptions const&) + 435
11 dyld_sim 0x10ceb3fa3 invocation function for block in dyld3::MachOFile::forEachDependentDylib(void (char const*, bool, bool, bool, unsigned int, unsigned int, bool&) block_pointer) const + 107
12 dyld_sim 0x10ceb3679 dyld3::MachOFile::forEachLoadCommand(Diagnostics&, void (load_command const*, bool&) block_pointer) const + 245
13 dyld_sim 0x10ceb3e0e dyld3::MachOFile::forEachDependentDylib(void (char const*, bool, bool, bool, unsigned int, unsigned int, bool&) block_pointer) const + 164
14 dyld_sim 0x10ce9843c dyld4::JustInTimeLoader::loadDependents(Diagnostics&, dyld4::RuntimeState&, dyld4::Loader::LoadOptions const&) + 152
15 dyld_sim 0x10ce8449f dyld4::prepare(dyld4::APIs&, dyld3::MachOAnalyzer const*) + 1154
16 dyld_sim 0x10ce851a0 _dyld_sim_prepare + 442
17 dyld 0x204ae5ff1 dyld4::prepareSim(dyld4::RuntimeState&, char const*) + 1551
18 dyld 0x204ae45be dyld4::prepare(dyld4::APIs&, dyld3::MachOAnalyzer const*) + 244
19 dyld 0x204ae4281 start + 2289
Thread 1:: com.apple.rosetta.exceptionserver
0 ??? 0x7ff7fff1b750 ???
1 ??? 0x7ff7fff33b94 ???
Thread 0 crashed with X86 Thread State (64-bit):
rax: 0x0000000001000000 rbx: 0x0000000000000000 rcx: 0x000000010ceda220 rdx: 0x00000000000f2850
rdi: 0x000000030cdb7df0 rsi: 0x000000010cf1b000 rbp: 0x000000030cdb7760 rsp: 0x000000030cdb74e0
r8: 0x0000000000000007 r9: 0x0000000000000000 r10: 0xebae541d3e4d00d8 r11: 0xfefefefefefefeff
r12: 0x000000030cdb7d50 r13: 0x000000010cf1b000 r14: 0x000000030cdb7df0 r15: 0x000000030cdb7ef0
rip: <unavailable> rfl: 0x0000000000000202
tmp0: 0xfffffffffffffdc4 tmp1: 0x00000001048f6ec8 tmp2: 0x000000010ce9a2d0
Binary Images:
0x0 - 0xffffffffffffffff ??? (*) <00000000-0000-0000-0000-000000000000> ???
0x10ce83000 - 0x10cee2fff dyld_sim (*) <638f8a1f-2a32-396d-8389-8d7a60b96b8d> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/dyld_sim
0x204ade000 - 0x204b75fff dyld (*) <28fd2071-57f3-3873-87bf-e4f674a82de6> /usr/lib/dyld
Error Formulating Crash Report:
dyld_process_snapshot_get_shared_cache failed
EOF
-----------
Full Report
-----------
{"app_name":"Flexitime","timestamp":"2022-12-02 15:56:41.00 +0100","app_version":"2.0.0","slice_uuid":"604fd167-8b4b-38f2-904c-1b443b1dba67","build_version":"2.0.0","platform":7,"bundleID":"com.dsharkov.Flexitime","share_with_app_devs":0,"is_first_party":0,"bug_type":"309","os_version":"macOS 13.0.1 (22A400)","roots_installed":0,"name":"Flexitime","incident_id":"09E61700-47F4-43BA-A5B5-7A8301825B51"}
{
"uptime" : 11000,
"procRole" : "Foreground",
"version" : 2,
"userID" : 501,
"deployVersion" : 210,
"modelCode" : "MacBookPro18,1",
"coalitionID" : 2392,
"osVersion" : {
"train" : "macOS 13.0.1",
"build" : "22A400",
"releaseType" : "User"
},
"captureTime" : "2022-12-02 15:56:41.5698 +0100",
"incident" : "09E61700-47F4-43BA-A5B5-7A8301825B51",
"pid" : 3899,
"translated" : true,
"cpuType" : "X86-64",
"roots_installed" : 0,
"bug_type" : "309",
"procLaunch" : "2022-12-02 15:56:41.5279 +0100",
"procStartAbsTime" : 273383188401,
"procExitAbsTime" : 273383894790,
"procName" : "Flexitime",
"procPath" : "\/Users\/USER\/Library\/Developer\/CoreSimulator\/Devices\/088FA403-FB08-4031-9540-7C19D97B9409\/data\/Containers\/Bundle\/Application\/4335F3C2-22E6-430D-AF24-6A4349319054\/Flexitime.app\/Flexitime",
"bundleInfo" : {"CFBundleShortVersionString":"2.0.0","CFBundleVersion":"2.0.0","CFBundleIdentifier":"com.dsharkov.Flexitime"},
"storeInfo" : {"deviceIdentifierForVendor":"582F3017-E1C1-594B-93D6-61A7963DAE00","thirdParty":true},
"parentProc" : "launchd_sim",
"parentPid" : 2995,
"coalitionName" : "com.apple.CoreSimulator.SimDevice.088FA403-FB08-4031-9540-7C19D97B9409",
"crashReporterKey" : "F86AA127-C69D-CC6C-0912-F86C9F91ADCF",
"responsiblePid" : 2987,
"responsibleProc" : "SimulatorTrampoline",
"sip" : "enabled",
"vmRegionInfo" : "0x10cf1b000 is in 0x10cf1b000-0x10d00e000; bytes after start: 0 bytes before end: 995327\n REGION TYPE START - END [ VSIZE] PRT\/MAX SHRMOD REGION DETAIL\n VM_ALLOCATE (reserved) 10cf1a000-10cf1b000 [ 4K] rw-\/rwx SM=NUL ...(unallocated)\n---> mapped file 10cf1b000-10d00e000 [ 972K] r--\/rwx SM=COW ...t_id=91b39b8d\n GAP OF 0xf7ad0000 BYTES\n __TEXT 204ade000-204b76000 [ 608K] r-x\/r-x SM=COW \/usr\/lib\/dyld",
"exception" : {"codes":"0x0000000000000032, 0x000000010cf1b000","rawCodes":[50,4512133120],"type":"EXC_BAD_ACCESS","signal":"SIGKILL (Code Signature Invalid)","subtype":"UNKNOWN_0x32 at 0x000000010cf1b000"},
"termination" : {"flags":0,"code":2,"namespace":"CODESIGNING","indicator":"Invalid Page"},
"vmregioninfo" : "0x10cf1b000 is in 0x10cf1b000-0x10d00e000; bytes after start: 0 bytes before end: 995327\n REGION TYPE START - END [ VSIZE] PRT\/MAX SHRMOD REGION DETAIL\n VM_ALLOCATE (reserved) 10cf1a000-10cf1b000 [ 4K] rw-\/rwx SM=NUL ...(unallocated)\n---> mapped file 10cf1b000-10d00e000 [ 972K] r--\/rwx SM=COW ...t_id=91b39b8d\n GAP OF 0xf7ad0000 BYTES\n __TEXT 204ade000-204b76000 [ 608K] r-x\/r-x SM=COW \/usr\/lib\/dyld",
"extMods" : {"caller":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"system":{"thread_create":0,"thread_set_state":0,"task_for_pid":1},"targeted":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"warnings":0},
"faultingThread" : 0,
"threads" : [{"triggered":true,"id":250770,"threadState":{"flavor":"x86_THREAD_STATE","rbp":{"value":13100611424},"r12":{"value":13100612944},"rosetta":{"tmp2":{"value":4511605456},"tmp1":{"value":4371476168},"tmp0":{"value":18446744073709551044}},"rbx":{"value":0},"r8":{"value":7},"r15":{"value":13100613360},"r10":{"value":16982603729436737752},"rdx":{"value":993360},"rdi":{"value":13100613104},"r9":{"value":0},"r13":{"value":4512133120},"rflags":{"value":514},"rax":{"value":16777216},"rsp":{"value":13100610784},"r11":{"value":18374403900871474943},"rcx":{"value":4511867424,"symbolLocation":0,"symbol":"dyld3::GradedArchs::x86_64"},"r14":{"value":13100613104},"rsi":{"value":4512133120}},"frames":[{"imageOffset":4371476932,"region":"<translation info unavailable>","imageIndex":0},{"imageOffset":4371474524,"region":"<translation info unavailable>","imageIndex":0},{"imageOffset":94928,"symbol":"invocation function for block in dyld4::JustInTimeLoader::makeJustInTimeLoaderDisk(Diagnostics&, dyld4::RuntimeState&, char const*, dyld4::Loader::LoadOptions const&, bool, unsigned int, mach_o::Layout const*)","symbolLocation":85,"imageIndex":1},{"imageOffset":111822,"symbol":"dyld4::SyscallDelegate::withReadOnlyMappedFile(Diagnostics&, char const*, bool, void (void const*, unsigned long, bool, dyld4::FileID const&, char const*) block_pointer) const","symbolLocation":144,"imageIndex":1},{"imageOffset":94800,"symbol":"dyld4::JustInTimeLoader::makeJustInTimeLoaderDisk(Diagnostics&, dyld4::RuntimeState&, char const*, dyld4::Loader::LoadOptions const&, bool, unsigned int, mach_o::Layout const*)","symbolLocation":198,"imageIndex":1},{"imageOffset":65360,"symbol":"invocation function for block in dyld4::Loader::getLoader(Diagnostics&, dyld4::RuntimeState&, char const*, dyld4::Loader::LoadOptions const&)","symbolLocation":2136,"imageIndex":1},{"imageOffset":61590,"symbol":"dyld4::Loader::forEachResolvedAtPathVar(dyld4::RuntimeState&, char const*, dyld4::Loader::LoadOptions const&, dyld4::ProcessConfig::PathOverrides::Type, bool&, void (char const*, dyld4::ProcessConfig::PathOverrides::Type, bool&) block_pointer)","symbolLocation":606,"imageIndex":1},{"imageOffset":22671,"symbol":"dyld4::ProcessConfig::PathOverrides::forEachPathVariant(char const*, dyld3::Platform, bool, bool, bool&, void (char const*, dyld4::ProcessConfig::PathOverrides::Type, bool&) block_pointer) const","symbolLocation":801,"imageIndex":1},{"imageOffset":60599,"symbol":"dyld4::Loader::forEachPath(Diagnostics&, dyld4::RuntimeState&, char const*, dyld4::Loader::LoadOptions const&, void (char const*, dyld4::ProcessConfig::PathOverrides::Type, bool&) block_pointer)","symbolLocation":251,"imageIndex":1},{"imageOffset":62459,"symbol":"dyld4::Loader::getLoader(Diagnostics&, dyld4::RuntimeState&, char const*, dyld4::Loader::LoadOptions const&)","symbolLocation":827,"imageIndex":1},{"imageOffset":87824,"symbol":"invocation function for block in dyld4::JustInTimeLoader::loadDependents(Diagnostics&, dyld4::RuntimeState&, dyld4::Loader::LoadOptions const&)","symbolLocation":435,"imageIndex":1},{"imageOffset":200611,"symbol":"invocation function for block in dyld3::MachOFile::forEachDependentDylib(void (char const*, bool, bool, bool, unsigned int, unsigned int, bool&) block_pointer) const","symbolLocation":107,"imageIndex":1},{"imageOffset":198265,"symbol":"dyld3::MachOFile::forEachLoadCommand(Diagnostics&, void (load_command const*, bool&) block_pointer) const","symbolLocation":245,"imageIndex":1},{"imageOffset":200206,"symbol":"dyld3::MachOFile::forEachDependentDylib(void (char const*, bool, bool, bool, unsigned int, unsigned int, bool&) block_pointer) const","symbolLocation":164,"imageIndex":1},{"imageOffset":87100,"symbol":"dyld4::JustInTimeLoader::loadDependents(Diagnostics&, dyld4::RuntimeState&, dyld4::Loader::LoadOptions const&)","symbolLocation":152,"imageIndex":1},{"imageOffset":5279,"symbol":"dyld4::prepare(dyld4::APIs&, dyld3::MachOAnalyzer const*)","symbolLocation":1154,"imageIndex":1},{"imageOffset":8608,"symbol":"_dyld_sim_prepare","symbolLocation":442,"imageIndex":1},{"imageOffset":32753,"symbol":"dyld4::prepareSim(dyld4::RuntimeState&, char const*)","symbolLocation":1551,"imageIndex":2},{"imageOffset":26046,"symbol":"dyld4::prepare(dyld4::APIs&, dyld3::MachOAnalyzer const*)","symbolLocation":244,"imageIndex":2},{"imageOffset":25217,"symbol":"start","symbolLocation":2289,"imageIndex":2}]},{"id":250772,"name":"com.apple.rosetta.exceptionserver","frames":[{"imageOffset":140703127680848,"imageIndex":0},{"imageOffset":140703127780244,"imageIndex":0}]}],
"usedImages" : [
{
"size" : 0,
"source" : "A",
"base" : 0,
"uuid" : "00000000-0000-0000-0000-000000000000"
},
{
"source" : "P",
"arch" : "x86_64",
"base" : 4511510528,
"size" : 393216,
"uuid" : "638f8a1f-2a32-396d-8389-8d7a60b96b8d",
"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" : "x86_64",
"base" : 8668438528,
"size" : 622592,
"uuid" : "28fd2071-57f3-3873-87bf-e4f674a82de6",
"path" : "\/usr\/lib\/dyld",
"name" : "dyld"
}
],
"vmSummary" : "ReadOnly portion of Libraries: Total=6788K resident=0K(0%) swapped_out_or_unallocated=6788K(100%)\nWritable regions: Total=142.3M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=142.3M(100%)\n\n VIRTUAL REGION \nREGION TYPE SIZE COUNT (non-coalesced) \n=========== ======= ======= \nRosetta Arena 4096K 2 \nRosetta Generic 928K 229 \nRosetta IndirectBranch 32K 1 \nRosetta JIT 128.0M 1 \nRosetta Return Stack 20K 2 \nRosetta Thread Context 20K 2 \nStack 8176K 1 \nStack Guard 56.0M 1 \nVM_ALLOCATE 64K 2 \nVM_ALLOCATE (reserved) 20K 2 reserved VM address space (unallocated)\n__DATA 1220K 4 \n__DATA_CONST 64K 3 \n__DATA_DIRTY 20K 2 \n__LINKEDIT 3896K 6 \n__TEXT 2912K 3 \ndyld private memory 32.0G 4 \nmapped file 1576K 8 \n=========== ======= ======= \nTOTAL 32.2G 273 \nTOTAL, minus reserved VM space 32.2G 273 \n",
"legacyInfo" : {
"threadTriggered" : {
}
},
"trialInfo" : {
"rollouts" : [
{
"rolloutId" : "5ffde50ce2aacd000d47a95f",
"factorPackIds" : {
},
"deploymentId" : 240000223
},
{
"rolloutId" : "60356660bbe37970735c5624",
"factorPackIds" : {
},
"deploymentId" : 240000027
}
],
"experiments" : [
]
},
"reportNotes" : [
"dyld_process_snapshot_get_shared_cache failed"
]
}
Model: MacBookPro18,1, BootROM 8419.41.10, proc 10:8:2 processors, 16 GB, SMC
Graphics: Apple M1 Pro, Apple M1 Pro, Built-In
Display: Color LCD, 3456 x 2234 Retina, Main, MirrorOff, Online
Memory Module: LPDDR5, Samsung
AirPort: spairport_wireless_card_type_wifi (0x14E4, 0x4387), wl0: Sep 3 2022 02:35:52 version 20.10.965.9.8.7.129 FWID 01-b0e84a9b
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: Laptop, Apple Inc.
Thunderbolt Bus: Laptop, Apple Inc.
Thunderbolt Bus: Laptop, Apple Inc.
-------------------------------------
Translated Report (Full Report Below)
-------------------------------------
Incident Identifier: 09E61700-47F4-43BA-A5B5-7A8301825B51
CrashReporter Key: F86AA127-C69D-CC6C-0912-F86C9F91ADCF
Hardware Model: MacBookPro18,1
Process: Flexitime [3899]
Path: /Users/USER/Library/Developer/CoreSimulator/Devices/088FA403-FB08-4031-9540-7C19D97B9409/data/Containers/Bundle/Application/4335F3C2-22E6-430D-AF24-6A4349319054/Flexitime.app/Flexitime
Identifier: com.dsharkov.Flexitime
Version: 2.0.0 (2.0.0)
Code Type: X86-64 (Native)
Role: Foreground
Parent Process: launchd_sim [2995]
Coalition: com.apple.CoreSimulator.SimDevice.088FA403-FB08-4031-9540-7C19D97B9409 [2392]
Responsible Process: SimulatorTrampoline [2987]
Date/Time: 2022-12-02 15:56:41.5698 +0100
Launch Time: 2022-12-02 15:56:41.5279 +0100
OS Version: macOS 13.0.1 (22A400)
Release Type: User
Report Version: 104
Exception Type: EXC_BAD_ACCESS (SIGKILL (Code Signature Invalid))
Exception Subtype: UNKNOWN_0x32 at 0x000000010cf1b000
Exception Codes: 0x0000000000000032, 0x000000010cf1b000
VM Region Info: 0x10cf1b000 is in 0x10cf1b000-0x10d00e000; bytes after start: 0 bytes before end: 995327
REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL
VM_ALLOCATE (reserved) 10cf1a000-10cf1b000 [ 4K] rw-/rwx SM=NUL ...(unallocated)
---> mapped file 10cf1b000-10d00e000 [ 972K] r--/rwx SM=COW ...t_id=91b39b8d
GAP OF 0xf7ad0000 BYTES
__TEXT 204ade000-204b76000 [ 608K] r-x/r-x SM=COW /usr/lib/dyld
Termination Reason: CODESIGNING 2 Invalid Page
Triggered by Thread: 0
Thread 0 Crashed:
0 <translation info unavailable> 0x1048f71c4 ???
1 <translation info unavailable> 0x1048f685c ???
2 dyld_sim 0x10ce9a2d0 invocation function for block in dyld4::JustInTimeLoader::makeJustInTimeLoaderDisk(Diagnostics&, dyld4::RuntimeState&, char const*, dyld4::Loader::LoadOptions const&, bool, unsigned int, mach_o::Layout const*) + 85
3 dyld_sim 0x10ce9e4ce dyld4::SyscallDelegate::withReadOnlyMappedFile(Diagnostics&, char const*, bool, void (void const*, unsigned long, bool, dyld4::FileID const&, char const*) block_pointer) const + 144
4 dyld_sim 0x10ce9a250 dyld4::JustInTimeLoader::makeJustInTimeLoaderDisk(Diagnostics&, dyld4::RuntimeState&, char const*, dyld4::Loader::LoadOptions const&, bool, unsigned int, mach_o::Layout const*) + 198
5 dyld_sim 0x10ce92f50 invocation function for block in dyld4::Loader::getLoader(Diagnostics&, dyld4::RuntimeState&, char const*, dyld4::Loader::LoadOptions const&) + 2136
6 dyld_sim 0x10ce92096 dyld4::Loader::forEachResolvedAtPathVar(dyld4::RuntimeState&, char const*, dyld4::Loader::LoadOptions const&, dyld4::ProcessConfig::PathOverrides::Type, bool&, void (char const*, dyld4::ProcessConfig::PathOverrides::Type, bool&) block_pointer) + 606
7 dyld_sim 0x10ce8888f dyld4::ProcessConfig::PathOverrides::forEachPathVariant(char const*, dyld3::Platform, bool, bool, bool&, void (char const*, dyld4::ProcessConfig::PathOverrides::Type, bool&) block_pointer) const + 801
8 dyld_sim 0x10ce91cb7 dyld4::Loader::forEachPath(Diagnostics&, dyld4::RuntimeState&, char const*, dyld4::Loader::LoadOptions const&, void (char const*, dyld4::ProcessConfig::PathOverrides::Type, bool&) block_pointer) + 251
9 dyld_sim 0x10ce923fb dyld4::Loader::getLoader(Diagnostics&, dyld4::RuntimeState&, char const*, dyld4::Loader::LoadOptions const&) + 827
10 dyld_sim 0x10ce98710 invocation function for block in dyld4::JustInTimeLoader::loadDependents(Diagnostics&, dyld4::RuntimeState&, dyld4::Loader::LoadOptions const&) + 435
11 dyld_sim 0x10ceb3fa3 invocation function for block in dyld3::MachOFile::forEachDependentDylib(void (char const*, bool, bool, bool, unsigned int, unsigned int, bool&) block_pointer) const + 107
12 dyld_sim 0x10ceb3679 dyld3::MachOFile::forEachLoadCommand(Diagnostics&, void (load_command const*, bool&) block_pointer) const + 245
13 dyld_sim 0x10ceb3e0e dyld3::MachOFile::forEachDependentDylib(void (char const*, bool, bool, bool, unsigned int, unsigned int, bool&) block_pointer) const + 164
14 dyld_sim 0x10ce9843c dyld4::JustInTimeLoader::loadDependents(Diagnostics&, dyld4::RuntimeState&, dyld4::Loader::LoadOptions const&) + 152
15 dyld_sim 0x10ce8449f dyld4::prepare(dyld4::APIs&, dyld3::MachOAnalyzer const*) + 1154
16 dyld_sim 0x10ce851a0 _dyld_sim_prepare + 442
17 dyld 0x204ae5ff1 dyld4::prepareSim(dyld4::RuntimeState&, char const*) + 1551
18 dyld 0x204ae45be dyld4::prepare(dyld4::APIs&, dyld3::MachOAnalyzer const*) + 244
19 dyld 0x204ae4281 start + 2289
Thread 1:: com.apple.rosetta.exceptionserver
0 ??? 0x7ff7fff1b750 ???
1 ??? 0x7ff7fff33b94 ???
Thread 0 crashed with X86 Thread State (64-bit):
rax: 0x0000000001000000 rbx: 0x0000000000000000 rcx: 0x000000010ceda220 rdx: 0x00000000000f2850
rdi: 0x000000030cdb7df0 rsi: 0x000000010cf1b000 rbp: 0x000000030cdb7760 rsp: 0x000000030cdb74e0
r8: 0x0000000000000007 r9: 0x0000000000000000 r10: 0xebae541d3e4d00d8 r11: 0xfefefefefefefeff
r12: 0x000000030cdb7d50 r13: 0x000000010cf1b000 r14: 0x000000030cdb7df0 r15: 0x000000030cdb7ef0
rip: <unavailable> rfl: 0x0000000000000202
tmp0: 0xfffffffffffffdc4 tmp1: 0x00000001048f6ec8 tmp2: 0x000000010ce9a2d0
Binary Images:
0x0 - 0xffffffffffffffff ??? (*) <00000000-0000-0000-0000-000000000000> ???
0x10ce83000 - 0x10cee2fff dyld_sim (*) <638f8a1f-2a32-396d-8389-8d7a60b96b8d> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/dyld_sim
0x204ade000 - 0x204b75fff dyld (*) <28fd2071-57f3-3873-87bf-e4f674a82de6> /usr/lib/dyld
Error Formulating Crash Report:
dyld_process_snapshot_get_shared_cache failed
EOF
-----------
Full Report
-----------
{"app_name":"Flexitime","timestamp":"2022-12-02 15:56:41.00 +0100","app_version":"2.0.0","slice_uuid":"604fd167-8b4b-38f2-904c-1b443b1dba67","build_version":"2.0.0","platform":7,"bundleID":"com.dsharkov.Flexitime","share_with_app_devs":0,"is_first_party":0,"bug_type":"309","os_version":"macOS 13.0.1 (22A400)","roots_installed":0,"name":"Flexitime","incident_id":"09E61700-47F4-43BA-A5B5-7A8301825B51"}
{
"uptime" : 11000,
"procRole" : "Foreground",
"version" : 2,
"userID" : 501,
"deployVersion" : 210,
"modelCode" : "MacBookPro18,1",
"coalitionID" : 2392,
"osVersion" : {
"train" : "macOS 13.0.1",
"build" : "22A400",
"releaseType" : "User"
},
"captureTime" : "2022-12-02 15:56:41.5698 +0100",
"incident" : "09E61700-47F4-43BA-A5B5-7A8301825B51",
"pid" : 3899,
"translated" : true,
"cpuType" : "X86-64",
"roots_installed" : 0,
"bug_type" : "309",
"procLaunch" : "2022-12-02 15:56:41.5279 +0100",
"procStartAbsTime" : 273383188401,
"procExitAbsTime" : 273383894790,
"procName" : "Flexitime",
"procPath" : "\/Users\/USER\/Library\/Developer\/CoreSimulator\/Devices\/088FA403-FB08-4031-9540-7C19D97B9409\/data\/Containers\/Bundle\/Application\/4335F3C2-22E6-430D-AF24-6A4349319054\/Flexitime.app\/Flexitime",
"bundleInfo" : {"CFBundleShortVersionString":"2.0.0","CFBundleVersion":"2.0.0","CFBundleIdentifier":"com.dsharkov.Flexitime"},
"storeInfo" : {"deviceIdentifierForVendor":"582F3017-E1C1-594B-93D6-61A7963DAE00","thirdParty":true},
"parentProc" : "launchd_sim",
"parentPid" : 2995,
"coalitionName" : "com.apple.CoreSimulator.SimDevice.088FA403-FB08-4031-9540-7C19D97B9409",
"crashReporterKey" : "F86AA127-C69D-CC6C-0912-F86C9F91ADCF",
"responsiblePid" : 2987,
"responsibleProc" : "SimulatorTrampoline",
"sip" : "enabled",
"vmRegionInfo" : "0x10cf1b000 is in 0x10cf1b000-0x10d00e000; bytes after start: 0 bytes before end: 995327\n REGION TYPE START - END [ VSIZE] PRT\/MAX SHRMOD REGION DETAIL\n VM_ALLOCATE (reserved) 10cf1a000-10cf1b000 [ 4K] rw-\/rwx SM=NUL ...(unallocated)\n---> mapped file 10cf1b000-10d00e000 [ 972K] r--\/rwx SM=COW ...t_id=91b39b8d\n GAP OF 0xf7ad0000 BYTES\n __TEXT 204ade000-204b76000 [ 608K] r-x\/r-x SM=COW \/usr\/lib\/dyld",
"exception" : {"codes":"0x0000000000000032, 0x000000010cf1b000","rawCodes":[50,4512133120],"type":"EXC_BAD_ACCESS","signal":"SIGKILL (Code Signature Invalid)","subtype":"UNKNOWN_0x32 at 0x000000010cf1b000"},
"termination" : {"flags":0,"code":2,"namespace":"CODESIGNING","indicator":"Invalid Page"},
"vmregioninfo" : "0x10cf1b000 is in 0x10cf1b000-0x10d00e000; bytes after start: 0 bytes before end: 995327\n REGION TYPE START - END [ VSIZE] PRT\/MAX SHRMOD REGION DETAIL\n VM_ALLOCATE (reserved) 10cf1a000-10cf1b000 [ 4K] rw-\/rwx SM=NUL ...(unallocated)\n---> mapped file 10cf1b000-10d00e000 [ 972K] r--\/rwx SM=COW ...t_id=91b39b8d\n GAP OF 0xf7ad0000 BYTES\n __TEXT 204ade000-204b76000 [ 608K] r-x\/r-x SM=COW \/usr\/lib\/dyld",
"extMods" : {"caller":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"system":{"thread_create":0,"thread_set_state":0,"task_for_pid":1},"targeted":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"warnings":0},
"faultingThread" : 0,
"threads" : [{"triggered":true,"id":250770,"threadState":{"flavor":"x86_THREAD_STATE","rbp":{"value":13100611424},"r12":{"value":13100612944},"rosetta":{"tmp2":{"value":4511605456},"tmp1":{"value":4371476168},"tmp0":{"value":18446744073709551044}},"rbx":{"value":0},"r8":{"value":7},"r15":{"value":13100613360},"r10":{"value":16982603729436737752},"rdx":{"value":993360},"rdi":{"value":13100613104},"r9":{"value":0},"r13":{"value":4512133120},"rflags":{"value":514},"rax":{"value":16777216},"rsp":{"value":13100610784},"r11":{"value":18374403900871474943},"rcx":{"value":4511867424,"symbolLocation":0,"symbol":"dyld3::GradedArchs::x86_64"},"r14":{"value":13100613104},"rsi":{"value":4512133120}},"frames":[{"imageOffset":4371476932,"region":"<translation info unavailable>","imageIndex":0},{"imageOffset":4371474524,"region":"<translation info unavailable>","imageIndex":0},{"imageOffset":94928,"symbol":"invocation function for block in dyld4::JustInTimeLoader::makeJustInTimeLoaderDisk(Diagnostics&, dyld4::RuntimeState&, char const*, dyld4::Loader::LoadOptions const&, bool, unsigned int, mach_o::Layout const*)","symbolLocation":85,"imageIndex":1},{"imageOffset":111822,"symbol":"dyld4::SyscallDelegate::withReadOnlyMappedFile(Diagnostics&, char const*, bool, void (void const*, unsigned long, bool, dyld4::FileID const&, char const*) block_pointer) const","symbolLocation":144,"imageIndex":1},{"imageOffset":94800,"symbol":"dyld4::JustInTimeLoader::makeJustInTimeLoaderDisk(Diagnostics&, dyld4::RuntimeState&, char const*, dyld4::Loader::LoadOptions const&, bool, unsigned int, mach_o::Layout const*)","symbolLocation":198,"imageIndex":1},{"imageOffset":65360,"symbol":"invocation function for block in dyld4::Loader::getLoader(Diagnostics&, dyld4::RuntimeState&, char const*, dyld4::Loader::LoadOptions const&)","symbolLocation":2136,"imageIndex":1},{"imageOffset":61590,"symbol":"dyld4::Loader::forEachResolvedAtPathVar(dyld4::RuntimeState&, char const*, dyld4::Loader::LoadOptions const&, dyld4::ProcessConfig::PathOverrides::Type, bool&, void (char const*, dyld4::ProcessConfig::PathOverrides::Type, bool&) block_pointer)","symbolLocation":606,"imageIndex":1},{"imageOffset":22671,"symbol":"dyld4::ProcessConfig::PathOverrides::forEachPathVariant(char const*, dyld3::Platform, bool, bool, bool&, void (char const*, dyld4::ProcessConfig::PathOverrides::Type, bool&) block_pointer) const","symbolLocation":801,"imageIndex":1},{"imageOffset":60599,"symbol":"dyld4::Loader::forEachPath(Diagnostics&, dyld4::RuntimeState&, char const*, dyld4::Loader::LoadOptions const&, void (char const*, dyld4::ProcessConfig::PathOverrides::Type, bool&) block_pointer)","symbolLocation":251,"imageIndex":1},{"imageOffset":62459,"symbol":"dyld4::Loader::getLoader(Diagnostics&, dyld4::RuntimeState&, char const*, dyld4::Loader::LoadOptions const&)","symbolLocation":827,"imageIndex":1},{"imageOffset":87824,"symbol":"invocation function for block in dyld4::JustInTimeLoader::loadDependents(Diagnostics&, dyld4::RuntimeState&, dyld4::Loader::LoadOptions const&)","symbolLocation":435,"imageIndex":1},{"imageOffset":200611,"symbol":"invocation function for block in dyld3::MachOFile::forEachDependentDylib(void (char const*, bool, bool, bool, unsigned int, unsigned int, bool&) block_pointer) const","symbolLocation":107,"imageIndex":1},{"imageOffset":198265,"symbol":"dyld3::MachOFile::forEachLoadCommand(Diagnostics&, void (load_command const*, bool&) block_pointer) const","symbolLocation":245,"imageIndex":1},{"imageOffset":200206,"symbol":"dyld3::MachOFile::forEachDependentDylib(void (char const*, bool, bool, bool, unsigned int, unsigned int, bool&) block_pointer) const","symbolLocation":164,"imageIndex":1},{"imageOffset":87100,"symbol":"dyld4::JustInTimeLoader::loadDependents(Diagnostics&, dyld4::RuntimeState&, dyld4::Loader::LoadOptions const&)","symbolLocation":152,"imageIndex":1},{"imageOffset":5279,"symbol":"dyld4::prepare(dyld4::APIs&, dyld3::MachOAnalyzer const*)","symbolLocation":1154,"imageIndex":1},{"imageOffset":8608,"symbol":"_dyld_sim_prepare","symbolLocation":442,"imageIndex":1},{"imageOffset":32753,"symbol":"dyld4::prepareSim(dyld4::RuntimeState&, char const*)","symbolLocation":1551,"imageIndex":2},{"imageOffset":26046,"symbol":"dyld4::prepare(dyld4::APIs&, dyld3::MachOAnalyzer const*)","symbolLocation":244,"imageIndex":2},{"imageOffset":25217,"symbol":"start","symbolLocation":2289,"imageIndex":2}]},{"id":250772,"name":"com.apple.rosetta.exceptionserver","frames":[{"imageOffset":140703127680848,"imageIndex":0},{"imageOffset":140703127780244,"imageIndex":0}]}],
"usedImages" : [
{
"size" : 0,
"source" : "A",
"base" : 0,
"uuid" : "00000000-0000-0000-0000-000000000000"
},
{
"source" : "P",
"arch" : "x86_64",
"base" : 4511510528,
"size" : 393216,
"uuid" : "638f8a1f-2a32-396d-8389-8d7a60b96b8d",
"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" : "x86_64",
"base" : 8668438528,
"size" : 622592,
"uuid" : "28fd2071-57f3-3873-87bf-e4f674a82de6",
"path" : "\/usr\/lib\/dyld",
"name" : "dyld"
}
],
"vmSummary" : "ReadOnly portion of Libraries: Total=6788K resident=0K(0%) swapped_out_or_unallocated=6788K(100%)\nWritable regions: Total=142.3M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=142.3M(100%)\n\n VIRTUAL REGION \nREGION TYPE SIZE COUNT (non-coalesced) \n=========== ======= ======= \nRosetta Arena 4096K 2 \nRosetta Generic 928K 229 \nRosetta IndirectBranch 32K 1 \nRosetta JIT 128.0M 1 \nRosetta Return Stack 20K 2 \nRosetta Thread Context 20K 2 \nStack 8176K 1 \nStack Guard 56.0M 1 \nVM_ALLOCATE 64K 2 \nVM_ALLOCATE (reserved) 20K 2 reserved VM address space (unallocated)\n__DATA 1220K 4 \n__DATA_CONST 64K 3 \n__DATA_DIRTY 20K 2 \n__LINKEDIT 3896K 6 \n__TEXT 2912K 3 \ndyld private memory 32.0G 4 \nmapped file 1576K 8 \n=========== ======= ======= \nTOTAL 32.2G 273 \nTOTAL, minus reserved VM space 32.2G 273 \n",
"legacyInfo" : {
"threadTriggered" : {
}
},
"trialInfo" : {
"rollouts" : [
{
"rolloutId" : "5ffde50ce2aacd000d47a95f",
"factorPackIds" : {
},
"deploymentId" : 240000223
},
{
"rolloutId" : "60356660bbe37970735c5624",
"factorPackIds" : {
},
"deploymentId" : 240000027
}
],
"experiments" : [
]
},
"reportNotes" : [
"dyld_process_snapshot_get_shared_cache failed"
]
}
Model: MacBookPro18,1, BootROM 8419.41.10, proc 10:8:2 processors, 16 GB, SMC
Graphics: Apple M1 Pro, Apple M1 Pro, Built-In
Display: Color LCD, 3456 x 2234 Retina, Main, MirrorOff, Online
Memory Module: LPDDR5, Samsung
AirPort: spairport_wireless_card_type_wifi (0x14E4, 0x4387), wl0: Sep 3 2022 02:35:52 version 20.10.965.9.8.7.129 FWID 01-b0e84a9b
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: Laptop, Apple Inc.
Thunderbolt Bus: Laptop, Apple Inc.
Thunderbolt Bus: Laptop, Apple Inc.
Issue Analytics
- State:
- Created 10 months ago
- Comments:18 (6 by maintainers)
Top Results From Across the Web
.NET MAUI android application crashes immediately after ...
NET MAUI android application crashes immediately after opening. Works fine when running with USB Debugging But when i share the ...
Read more >dotnet MAUI Blazor App crashes only when deployed from ...
When I use <UseInterpreter>false</UseInterpreter> , the app starts, but immediately crashes in the Blazor Web View, not showing any other than ...
Read more >MAUI - All Apps crashing when running on IOS Emulators
Hi All my Apps are suddenly crashing when I run them on IOS emulators with the following errors: and output: [SceneConfiguration] Info.plist ...
Read more >Maui iOS crash - UseInterpreter
Hi, I have succesfully published an app (Built in Maui net7.0) to Google play store and now working on the iOS version.
Read more >Maui app crashes when running : RIDER-90659 - YouTrack
I have a maui mobile app with prism included in the project (it's .net 7). ... The app crashes when opening, with the...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

I managed to get it working by removing this 2 tags from my main project
Ah yes,
<EnableCodeSigning>False</EnableCodeSigning>is the problem, removing just that would be the fix.