xamarin / xamarin-macios

.NET for iOS, Mac Catalyst, macOS, and tvOS provide open-source bindings of the Apple SDKs for use with .NET managed languages such as C#
Other
2.48k stars 518 forks source link

App crash when using remote device #21684

Open PureWeen opened 17 hours ago

PureWeen commented 17 hours ago

Issue moved from dotnet/maui#26041


From @southgate-rob on Thursday, November 21, 2024 10:58:30 PM

Description

We've developed a fairly simple app that uses a couple of 3rd party frameworks (via iOS Binding projects) which works fine in the iOS simulators and local attached devices but crashes when using a remote device or published to Test Flight.

Looking at the Crash Report is appears to be a Code Signing issue but we can't figure out why it is occurring only on remotely connected device during debugging.

Steps to Reproduce

No response

Link to public reproduction project repository

No response

Version with bug

8.0.100 SR10

Is this a regression from previous behavior?

Not sure, did not test other versions

Last version that worked well

Unknown/Other

Affected platforms

iOS

Affected platform versions

No response

Did you find any workaround?

No

Relevant log output

{"app_name":"SimpleApp","timestamp":"2024-11-22 09:03:54.00 +1100","app_version":"4.0.0","slice_uuid":"98af0333-5c13-3788-be28-a87f9169d824","build_version":"5","platform":2,"bundleID":"au.com.southgatesalpack.app","share_with_app_devs":0,"is_first_party":0,"bug_type":"309","os_version":"iPhone OS 18.1 (22B83)","roots_installed":0,"name":"SimpleApp","incident_id":"7B54A9D7-BA66-4F3C-A479-D93D0FE55AFB"}
{
  "uptime" : 690000,
  "procRole" : "Foreground",
  "version" : 2,
  "userID" : 501,
  "deployVersion" : 210,
  "modelCode" : "iPad13,18",
  "coalitionID" : 709,
  "osVersion" : {
    "isEmbedded" : true,
    "train" : "iPhone OS 18.1",
    "releaseType" : "User",
    "build" : "22B83"
  },
  "captureTime" : "2024-11-22 09:03:53.4105 +1100",
  "codeSigningMonitor" : 1,
  "incident" : "7B54A9D7-BA66-4F3C-A479-D93D0FE55AFB",
  "pid" : 4420,
  "translated" : false,
  "cpuType" : "ARM-64",
  "roots_installed" : 0,
  "bug_type" : "309",
  "procLaunch" : "2024-11-22 09:03:25.5634 +1100",
  "procStartAbsTime" : 16604106029130,
  "procExitAbsTime" : 16604774252320,
  "procName" : "SimpleApp",
  "procPath" : "\/private\/var\/containers\/Bundle\/Application\/2197CCD0-09B8-43A5-B259-EAED8CA804D3\/SimpleApp.app\/SimpleApp",
  "bundleInfo" : {"CFBundleShortVersionString":"4.0.0","CFBundleVersion":"5","CFBundleIdentifier":"au.com.southgatesalpack.app"},
  "storeInfo" : {"distributorID":"com.apple.TestFlight","deviceIdentifierForVendor":"7366CDEC-F5A2-4D0A-8261-CFB6E66FA9E5","thirdParty":true},
  "parentProc" : "launchd",
  "parentPid" : 1,
  "coalitionName" : "au.com.southgatesalpack.app",
  "crashReporterKey" : "4180fecb045d9cfe04ea51afaf004a280f27c6e5",
  "appleIntelligenceStatus" : {"state":"unavailable","reasons":["accessNotGranted","assetIsNotReady","deviceNotCapable","notOptedIn","siriAssetIsNotReady"]},
  "wasUnlockedSinceBoot" : 1,
  "isLocked" : 0,
  "codeSigningID" : "au.com.southgatesalpack.app",
  "codeSigningTeamID" : "G7HDB78FWL",
  "codeSigningFlags" : 570434309,
  "codeSigningValidationCategory" : 3,
  "codeSigningTrustLevel" : 6,
  "bootSessionUUID" : "9F9C14D9-A783-4FA6-B998-45D4C4E6F762",
  "vmRegionInfo" : "0x1fddc67b0 is in 0x1fddc66c0-0x1fddc8620;  bytes after start: 240  bytes before end: 7791\n      REGION TYPE                 START - END      [ VSIZE] PRT\/MAX SHRMOD  REGION DETAIL\n      __DATA_DIRTY             1fddc6430-1fddc66c0 [   656] rw-\/rw- SM=COW  \/usr\/lib\/system\/libsystem_malloc.dylib\n--->  __DATA_DIRTY             1fddc66c0-1fddc8620 [    8K] rw-\/rw- SM=COW  \/usr\/lib\/libobjc.A.dylib\n      __DATA_DIRTY             1fddc8620-1fddc8640 [    32] rw-\/rw- SM=COW  \/usr\/lib\/system\/libdyld.dylib",
  "exception" : {"codes":"0x0000000000000002, 0x00000001fddc67b0","rawCodes":[2,8554047408],"type":"EXC_BAD_ACCESS","signal":"SIGKILL","subtype":"KERN_PROTECTION_FAILURE at 0x00000001fddc67b0"},
  "termination" : {"flags":2,"code":2,"namespace":"CODESIGNING","indicator":"Invalid Page"},
  "ktriageinfo" : "VM - (arg = 0x0) CL - ",
  "vmregioninfo" : "0x1fddc67b0 is in 0x1fddc66c0-0x1fddc8620;  bytes after start: 240  bytes before end: 7791\n      REGION TYPE                 START - END      [ VSIZE] PRT\/MAX SHRMOD  REGION DETAIL\n      __DATA_DIRTY             1fddc6430-1fddc66c0 [   656] rw-\/rw- SM=COW  \/usr\/lib\/system\/libsystem_malloc.dylib\n--->  __DATA_DIRTY             1fddc66c0-1fddc8620 [    8K] rw-\/rw- SM=COW  \/usr\/lib\/libobjc.A.dylib\n      __DATA_DIRTY             1fddc8620-1fddc8640 [    32] rw-\/rw- SM=COW  \/usr\/lib\/system\/libdyld.dylib",
  "faultingThread" : 11,
  "threads" : [{"threadState":{"x":[{"value":268451845},{"value":21592279046},{"value":8589934592},{"value":16505559318528},{"value":0},{"value":16505559318528},{"value":2},{"value":4294967295},{"value":18446744073709550527},{"value":2},{"value":0},{"value":0},{"value":0},{"value":3843},{"value":1536},{"value":0},{"value":18446744073709551569},{"value":7010247512,"symbolLocation":56,"symbol":"clock_gettime"},{"value":0},{"value":4294967295},{"value":2},{"value":16505559318528},{"value":0},{"value":16505559318528},{"value":6103177624},{"value":8589934592},{"value":21592279046},{"value":21592279046},{"value":4412409862}],"flavor":"ARM_THREAD_STATE64","lr":{"value":8224988568},"cpsr":{"value":4096},"fp":{"value":6103177472},"sp":{"value":6103177392},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":8224974472},"far":{"value":0}},"id":3067854,"name":"tid_103","queue":"com.apple.main-thread","frames":[{"imageOffset":5768,"symbol":"mach_msg2_trap","symbolLocation":8,"imageIndex":5},{"imageOffset":19864,"symbol":"mach_msg2_internal","symbolLocation":80,"imageIndex":5},{"imageOffset":19632,"symbol":"mach_msg_overwrite","symbolLocation":424,"imageIndex":5},{"imageOffset":19196,"symbol":"mach_msg","symbolLocation":24,"imageIndex":5},{"imageOffset":342660,"symbol":"__CFRunLoopServiceMachPort","symbolLocation":160,"imageIndex":6},{"imageOffset":340272,"symbol":"__CFRunLoopRun","symbolLocation":1212,"imageIndex":6},{"imageOffset":337968,"symbol":"CFRunLoopRunSpecific","symbolLocation":588,"imageIndex":6},{"imageOffset":4548,"symbol":"GSEventRunModal","symbolLocation":164,"imageIndex":7},{"imageOffset":4009648,"symbol":"-[UIApplication _run]","symbolLocation":816,"imageIndex":8},{"imageOffset":4724148,"symbol":"UIApplicationMain","symbolLocation":340,"imageIndex":8},{"imageOffset":12666356,"symbol":"xamarin_UIApplicationMain","symbolLocation":60,"imageIndex":0},{"imageOffset":16176132,"imageIndex":0},{"imageOffset":16170244,"imageIndex":0},{"imageOffset":16123668,"imageIndex":0},{"imageOffset":16114348,"imageIndex":0},{"imageOffset":15912580,"imageIndex":0},{"imageOffset":15549768,"imageIndex":0},{"imageOffset":15575108,"imageIndex":0},{"imageOffset":15934624,"imageIndex":0},{"imageOffset":12843144,"imageIndex":0},{"imageOffset":16362716,"imageIndex":0},{"imageOffset":212680,"symbol":"start","symbolLocation":2724,"imageIndex":9}]},{"id":3067903,"frames":[{"imageOffset":28648,"symbol":"__recvfrom","symbolLocation":8,"imageIndex":5},{"imageOffset":12838444,"imageIndex":0},{"imageOffset":12835704,"imageIndex":0},{"imageOffset":12831732,"imageIndex":0},{"imageOffset":12829516,"imageIndex":0},{"imageOffset":12747472,"imageIndex":0},{"imageOffset":820936,"symbol":"__NSThread__start__","symbolLocation":724,"imageIndex":12},{"imageOffset":25468,"symbol":"_pthread_start","symbolLocation":136,"imageIndex":13},{"imageOffset":5268,"symbol":"thread_start","symbolLocation":8,"imageIndex":13}],"threadState":{"x":[{"value":4},{"value":0},{"value":1},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":1},{"value":0},{"value":0},{"value":2},{"value":256},{"value":512},{"value":256},{"value":1099511628288},{"value":29},{"value":2203318223360},{"value":0},{"value":12918079616},{"value":1},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0}],"flavor":"ARM_THREAD_STATE64","lr":{"value":4376536620},"cpsr":{"value":536875008},"fp":{"value":6103738512},"sp":{"value":6103738448},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":8224997352},"far":{"value":0}}},{"id":3067907,"name":"SGen worker","threadState":{"x":[{"value":260},{"value":0},{"value":768},{"value":0},{"value":0},{"value":161},{"value":0},{"value":0},{"value":6104313512},{"value":0},{"value":0},{"value":2},{"value":2},{"value":0},{"value":0},{"value":0},{"value":305},{"value":1073741824},{"value":0},{"value":4383976656},{"value":4383976560},{"value":6104314080},{"value":0},{"value":0},{"value":768},{"value":769},{"value":1024},{"value":0},{"value":0}],"flavor":"ARM_THREAD_STATE64","lr":{"value":9164974672},"cpsr":{"value":1610616832},"fp":{"value":6104313632},"sp":{"value":6104313488},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":8224997264},"far":{"value":0}},"frames":[{"imageOffset":28560,"symbol":"__psynch_cvwait","symbolLocation":8,"imageIndex":5},{"imageOffset":14928,"symbol":"_pthread_cond_wait","symbolLocation":1204,"imageIndex":13},{"imageOffset":15124812,"imageIndex":0},{"imageOffset":25468,"symbol":"_pthread_start","symbolLocation":136,"imageIndex":13},{"imageOffset":5268,"symbol":"thread_start","symbolLocation":8,"imageIndex":13}]},{"id":3067908,"name":"Debugger agent","threadState":{"x":[{"value":4},{"value":0},{"value":11},{"value":0},{"value":0},{"value":0},{"value":48},{"value":1173904},{"value":11},{"value":0},{"value":2},{"value":0},{"value":2},{"value":2045},{"value":2195959815},{"value":2193862651},{"value":29},{"value":7},{"value":0},{"value":4383928320},{"value":0},{"value":4404310016},{"value":4382075910},{"value":0},{"value":12923519744},{"value":1},{"value":4},{"value":482},{"value":0}],"flavor":"ARM_THREAD_STATE64","lr":{"value":4376536620},"cpsr":{"value":536875008},"fp":{"value":6106459184},"sp":{"value":6106459120},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":8224997352},"far":{"value":0}},"frames":[{"imageOffset":28648,"symbol":"__recvfrom","symbolLocation":8,"imageIndex":5},{"imageOffset":12838444,"imageIndex":0},{"imageOffset":12838320,"imageIndex":0},{"imageOffset":14453048,"imageIndex":0},{"imageOffset":14463944,"imageIndex":0},{"imageOffset":15636444,"imageIndex":0},{"imageOffset":25468,"symbol":"_pthread_start","symbolLocation":136,"imageIndex":13},{"imageOffset":5268,"symbol":"thread_start","symbolLocation":8,"imageIndex":13}]},{"id":3067917,"name":"Finalizer","threadState":{"x":[{"value":14},{"value":0},{"value":18446744073709551592},{"value":4407689416},{"value":1700916616},{"value":32},{"value":0},{"value":0},{"value":4383981568},{"value":6},{"value":2},{"value":0},{"value":2},{"value":5497558140160},{"value":0},{"value":0},{"value":18446744073709551580},{"value":2},{"value":0},{"value":0},{"value":4383983368},{"value":4383983416},{"value":4384058136},{"value":4406521856},{"value":1},{"value":12889736928},{"value":4383981568},{"value":1},{"value":4383983400}],"flavor":"ARM_THREAD_STATE64","lr":{"value":4379479448},"cpsr":{"value":2147487744},"fp":{"value":6108606192},"sp":{"value":6108606064},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":8224974340},"far":{"value":0}},"frames":[{"imageOffset":5636,"symbol":"semaphore_wait_trap","symbolLocation":8,"imageIndex":5},{"imageOffset":15781272,"imageIndex":0},{"imageOffset":15636444,"imageIndex":0},{"imageOffset":25468,"symbol":"_pthread_start","symbolLocation":136,"imageIndex":13},{"imageOffset":5268,"symbol":"thread_start","symbolLocation":8,"imageIndex":13}]},{"id":3067921,"name":"tid_2f03","threadState":{"x":[{"value":6110900224},{"value":12035},{"value":6110363648},{"value":0},{"value":409604},{"value":18446744073709551615},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0}],"flavor":"ARM_THREAD_STATE64","lr":{"value":0},"cpsr":{"value":4096},"fp":{"value":0},"sp":{"value":6110900224},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":9164964992},"far":{"value":0}},"frames":[{"imageOffset":5248,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":13}]},{"id":3067928,"frames":[{"imageOffset":5248,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":13}],"threadState":{"x":[{"value":6114340864},{"value":38671},{"value":6113804288},{"value":0},{"value":409602},{"value":18446744073709551615},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0}],"flavor":"ARM_THREAD_STATE64","lr":{"value":0},"cpsr":{"value":4096},"fp":{"value":0},"sp":{"value":6114340864},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":9164964992},"far":{"value":0}}},{"id":3067929,"name":"tid_4e0f","threadState":{"x":[{"value":6113193984},{"value":19983},{"value":6112657408},{"value":0},{"value":409604},{"value":18446744073709551615},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0}],"flavor":"ARM_THREAD_STATE64","lr":{"value":0},"cpsr":{"value":4096},"fp":{"value":0},"sp":{"value":6113193984},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":9164964992},"far":{"value":0}},"frames":[{"imageOffset":5248,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":13}]},{"id":3067930,"name":"com.apple.uikit.eventfetch-thread","threadState":{"x":[{"value":268451845},{"value":21592279046},{"value":8589934592},{"value":82476256985088},{"value":0},{"value":82476256985088},{"value":2},{"value":4294967295},{"value":18446744073709550527},{"value":2},{"value":0},{"value":0},{"value":0},{"value":19203},{"value":0},{"value":0},{"value":18446744073709551569},{"value":7010247512,"symbolLocation":56,"symbol":"clock_gettime"},{"value":0},{"value":4294967295},{"value":2},{"value":82476256985088},{"value":0},{"value":82476256985088},{"value":6114909560},{"value":8589934592},{"value":21592279046},{"value":21592279046},{"value":4412409862}],"flavor":"ARM_THREAD_STATE64","lr":{"value":8224988568},"cpsr":{"value":4096},"fp":{"value":6114909408},"sp":{"value":6114909328},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":8224974472},"far":{"value":0}},"frames":[{"imageOffset":5768,"symbol":"mach_msg2_trap","symbolLocation":8,"imageIndex":5},{"imageOffset":19864,"symbol":"mach_msg2_internal","symbolLocation":80,"imageIndex":5},{"imageOffset":19632,"symbol":"mach_msg_overwrite","symbolLocation":424,"imageIndex":5},{"imageOffset":19196,"symbol":"mach_msg","symbolLocation":24,"imageIndex":5},{"imageOffset":342660,"symbol":"__CFRunLoopServiceMachPort","symbolLocation":160,"imageIndex":6},{"imageOffset":340272,"symbol":"__CFRunLoopRun","symbolLocation":1212,"imageIndex":6},{"imageOffset":337968,"symbol":"CFRunLoopRunSpecific","symbolLocation":588,"imageIndex":6},{"imageOffset":750848,"symbol":"-[NSRunLoop(NSRunLoop) runMode:beforeDate:]","symbolLocation":212,"imageIndex":12},{"imageOffset":750416,"symbol":"-[NSRunLoop(NSRunLoop) runUntilDate:]","symbolLocation":64,"imageIndex":12},{"imageOffset":4088664,"symbol":"-[UIEventFetcher threadMain]","symbolLocation":420,"imageIndex":8},{"imageOffset":820936,"symbol":"__NSThread__start__","symbolLocation":724,"imageIndex":12},{"imageOffset":25468,"symbol":"_pthread_start","symbolLocation":136,"imageIndex":13},{"imageOffset":5268,"symbol":"thread_start","symbolLocation":8,"imageIndex":13}]},{"id":3068133,"name":".NET TP Worker","threadState":{"x":[{"value":260},{"value":0},{"value":0},{"value":0},{"value":0},{"value":161},{"value":19},{"value":999997000},{"value":6117051896},{"value":0},{"value":0},{"value":2},{"value":2},{"value":0},{"value":0},{"value":0},{"value":305},{"value":7010248396,"symbolLocation":284,"symbol":"clock_gettime_nsec_np"},{"value":0},{"value":12928712480},{"value":6117052224},{"value":6117060832},{"value":999997000},{"value":19},{"value":0},{"value":1},{"value":256},{"value":12920129728},{"value":0}],"flavor":"ARM_THREAD_STATE64","lr":{"value":9164974672},"cpsr":{"value":1610616832},"fp":{"value":6117052016},"sp":{"value":6117051872},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":8224997264},"far":{"value":0}},"frames":[{"imageOffset":28560,"symbol":"__psynch_cvwait","symbolLocation":8,"imageIndex":5},{"imageOffset":14928,"symbol":"_pthread_cond_wait","symbolLocation":1204,"imageIndex":13},{"imageOffset":14803628,"imageIndex":0},{"imageOffset":14820300,"imageIndex":0},{"imageOffset":16175992,"imageIndex":0},{"imageOffset":16170300,"imageIndex":0},{"imageOffset":16123668,"imageIndex":0},{"imageOffset":16114348,"imageIndex":0},{"imageOffset":15912580,"imageIndex":0},{"imageOffset":15549768,"imageIndex":0},{"imageOffset":15636692,"imageIndex":0},{"imageOffset":25468,"symbol":"_pthread_start","symbolLocation":136,"imageIndex":13},{"imageOffset":5268,"symbol":"thread_start","symbolLocation":8,"imageIndex":13}]},{"id":3068134,"name":".NET TP Gate","threadState":{"x":[{"value":260},{"value":0},{"value":1024},{"value":0},{"value":0},{"value":160},{"value":0},{"value":500000000},{"value":1025},{"value":0},{"value":0},{"value":2},{"value":2},{"value":0},{"value":0},{"value":0},{"value":305},{"value":2},{"value":0},{"value":12920076848},{"value":12920076912},{"value":1},{"value":500000000},{"value":0},{"value":1024},{"value":1025},{"value":1280},{"value":12920122192},{"value":0}],"flavor":"ARM_THREAD_STATE64","lr":{"value":9164974716},"cpsr":{"value":2684358656},"fp":{"value":6108914816},"sp":{"value":6108914672},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":8224997264},"far":{"value":0}},"frames":[{"imageOffset":28560,"symbol":"__psynch_cvwait","symbolLocation":8,"imageIndex":5},{"imageOffset":14972,"symbol":"_pthread_cond_wait","symbolLocation":1248,"imageIndex":13},{"imageOffset":13268980,"symbol":"SystemNative_LowLevelMonitor_TimedWait","symbolLocation":104,"imageIndex":0},{"imageOffset":16175992,"imageIndex":0},{"imageOffset":16170244,"imageIndex":0},{"imageOffset":16123668,"imageIndex":0},{"imageOffset":16114348,"imageIndex":0},{"imageOffset":15912580,"imageIndex":0},{"imageOffset":15549768,"imageIndex":0},{"imageOffset":15636692,"imageIndex":0},{"imageOffset":25468,"symbol":"_pthread_start","symbolLocation":136,"imageIndex":13},{"imageOffset":5268,"symbol":"thread_start","symbolLocation":8,"imageIndex":13}]},{"triggered":true,"id":3068135,"name":".NET TP Worker","threadState":{"x":[{"value":8554047408,"symbolLocation":0,"symbol":"OBJC_METACLASS_$_NSObject"},{"value":4388547504,"symbolLocation":104,"symbol":"OBJC_METACLASS_$__TtC9EMLiOSSDK18BaseViewController"},{"value":4388547504,"symbolLocation":104,"symbol":"OBJC_METACLASS_$__TtC9EMLiOSSDK18BaseViewController"},{"value":4388285772},{"value":12901333312},{"value":32},{"value":12901333376},{"value":6119205972},{"value":4383380264},{"value":36028797018963960},{"value":3},{"value":8589934595},{"value":2},{"value":12918152656},{"value":4384892696,"symbolLocation":392,"symbol":"_INSTANCE_METHODS_EMLCardModel"},{"value":4384892888,"symbolLocation":0,"symbol":"OBJC_CLASS_$_EMLCardModel"},{"value":4384782628},{"value":288230380540245817,"symbolLocation":288230376151711745,"symbol":"OBJC_CLASS_$_EMLSDK"},{"value":0},{"value":8577931040,"symbolLocation":0,"symbol":"value witness table for Builtin.NativeObject"},{"value":12923269632},{"value":12923321984},{"value":6119201504},{"value":12901333312},{"value":12901333376},{"value":12942296320},{"value":12920075800},{"value":6119201608},{"value":0}],"flavor":"ARM_THREAD_STATE64","lr":{"value":4388294236},"cpsr":{"value":1610616832},"fp":{"value":6119201728},"sp":{"value":6119201504},"esr":{"value":2181038095,"description":"(Instruction Abort) Permission fault"},"pc":{"value":8554047408,"matchesCrashFrame":1},"far":{"value":8554047408}},"frames":[{"imageOffset":8554047408,"symbol":"OBJC_METACLASS_$_NSObject","symbolLocation":0,"imageIndex":10},{"imageOffset":429660,"imageIndex":3},{"imageOffset":400336,"imageIndex":3},{"imageOffset":12847384,"imageIndex":0},{"imageOffset":16176108,"imageIndex":0},{"imageOffset":16170244,"imageIndex":0},{"imageOffset":16123668,"imageIndex":0},{"imageOffset":16114348,"imageIndex":0},{"imageOffset":15912580,"imageIndex":0},{"imageOffset":15549768,"imageIndex":0},{"imageOffset":15636692,"imageIndex":0},{"imageOffset":25468,"symbol":"_pthread_start","symbolLocation":136,"imageIndex":13},{"imageOffset":5268,"symbol":"thread_start","symbolLocation":8,"imageIndex":13}]},{"id":3068137,"name":".NET Timer","threadState":{"x":[{"value":260},{"value":0},{"value":256},{"value":0},{"value":0},{"value":160},{"value":99},{"value":992000000},{"value":257},{"value":0},{"value":0},{"value":2},{"value":2},{"value":0},{"value":0},{"value":0},{"value":305},{"value":2},{"value":0},{"value":12920438896},{"value":12920438960},{"value":1},{"value":992000000},{"value":99},{"value":256},{"value":257},{"value":512},{"value":12920439232},{"value":0}],"flavor":"ARM_THREAD_STATE64","lr":{"value":9164974716},"cpsr":{"value":2684358656},"fp":{"value":6121350272},"sp":{"value":6121350128},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":8224997264},"far":{"value":0}},"frames":[{"imageOffset":28560,"symbol":"__psynch_cvwait","symbolLocation":8,"imageIndex":5},{"imageOffset":14972,"symbol":"_pthread_cond_wait","symbolLocation":1248,"imageIndex":13},{"imageOffset":13268980,"symbol":"SystemNative_LowLevelMonitor_TimedWait","symbolLocation":104,"imageIndex":0},{"imageOffset":16175992,"imageIndex":0},{"imageOffset":16170244,"imageIndex":0},{"imageOffset":16123668,"imageIndex":0},{"imageOffset":16114348,"imageIndex":0},{"imageOffset":15912580,"imageIndex":0},{"imageOffset":15549768,"imageIndex":0},{"imageOffset":15636692,"imageIndex":0},{"imageOffset":25468,"symbol":"_pthread_start","symbolLocation":136,"imageIndex":13},{"imageOffset":5268,"symbol":"thread_start","symbolLocation":8,"imageIndex":13}]},{"id":3068142,"name":"com.apple.NSURLConnectionLoader","threadState":{"x":[{"value":268451845},{"value":21592279046},{"value":8589934592},{"value":189128884879360},{"value":0},{"value":189128884879360},{"value":2},{"value":4294967295},{"value":18446744073709550527},{"value":2},{"value":0},{"value":0},{"value":0},{"value":44035},{"value":768},{"value":0},{"value":18446744073709551569},{"value":7010247512,"symbolLocation":56,"symbol":"clock_gettime"},{"value":0},{"value":4294967295},{"value":2},{"value":189128884879360},{"value":0},{"value":189128884879360},{"value":6109486392},{"value":8589934592},{"value":21592279046},{"value":21592279046},{"value":4412409862}],"flavor":"ARM_THREAD_STATE64","lr":{"value":8224988568},"cpsr":{"value":4096},"fp":{"value":6109486240},"sp":{"value":6109486160},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":8224974472},"far":{"value":0}},"frames":[{"imageOffset":5768,"symbol":"mach_msg2_trap","symbolLocation":8,"imageIndex":5},{"imageOffset":19864,"symbol":"mach_msg2_internal","symbolLocation":80,"imageIndex":5},{"imageOffset":19632,"symbol":"mach_msg_overwrite","symbolLocation":424,"imageIndex":5},{"imageOffset":19196,"symbol":"mach_msg","symbolLocation":24,"imageIndex":5},{"imageOffset":342660,"symbol":"__CFRunLoopServiceMachPort","symbolLocation":160,"imageIndex":6},{"imageOffset":340272,"symbol":"__CFRunLoopRun","symbolLocation":1212,"imageIndex":6},{"imageOffset":337968,"symbol":"CFRunLoopRunSpecific","symbolLocation":588,"imageIndex":6},{"imageOffset":1040096,"symbol":"+[__CFN_CoreSchedulingSetRunnable _run:]","symbolLocation":416,"imageIndex":14},{"imageOffset":820936,"symbol":"__NSThread__start__","symbolLocation":724,"imageIndex":12},{"imageOffset":25468,"symbol":"_pthread_start","symbolLocation":136,"imageIndex":13},{"imageOffset":5268,"symbol":"thread_start","symbolLocation":8,"imageIndex":13}]},{"id":3068143,"name":".NET TP Worker","threadState":{"x":[{"value":260},{"value":0},{"value":0},{"value":0},{"value":0},{"value":161},{"value":20},{"value":0},{"value":6123496232},{"value":0},{"value":0},{"value":2},{"value":2},{"value":0},{"value":0},{"value":0},{"value":305},{"value":8591845312},{"value":0},{"value":12928712480},{"value":6123496560},{"value":6123499744},{"value":0},{"value":20},{"value":0},{"value":1},{"value":256},{"value":12920427888},{"value":0}],"flavor":"ARM_THREAD_STATE64","lr":{"value":9164974672},"cpsr":{"value":1610616832},"fp":{"value":6123496352},"sp":{"value":6123496208},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":8224997264},"far":{"value":0}},"frames":[{"imageOffset":28560,"symbol":"__psynch_cvwait","symbolLocation":8,"imageIndex":5},{"imageOffset":14928,"symbol":"_pthread_cond_wait","symbolLocation":1204,"imageIndex":13},{"imageOffset":14803628,"imageIndex":0},{"imageOffset":14820300,"imageIndex":0},{"imageOffset":16175992,"imageIndex":0},{"imageOffset":16170300,"imageIndex":0},{"imageOffset":16123668,"imageIndex":0},{"imageOffset":16114348,"imageIndex":0},{"imageOffset":15912580,"imageIndex":0},{"imageOffset":15549768,"imageIndex":0},{"imageOffset":15636692,"imageIndex":0},{"imageOffset":25468,"symbol":"_pthread_start","symbolLocation":136,"imageIndex":13},{"imageOffset":5268,"symbol":"thread_start","symbolLocation":8,"imageIndex":13}]},{"id":3068144,"frames":[{"imageOffset":5248,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":13}],"threadState":{"x":[{"value":6110064640},{"value":0},{"value":6109528064},{"value":0},{"value":278532},{"value":18446744073709551615},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0}],"flavor":"ARM_THREAD_STATE64","lr":{"value":0},"cpsr":{"value":4096},"fp":{"value":0},"sp":{"value":6110064640},"esr":{"value":0,"description":" Address size fault"},"pc":{"value":9164964992},"far":{"value":0}}}],
  "usedImages" : [
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4363698176,
    "size" : 18972672,
    "uuid" : "98af0333-5c13-3788-be28-a87f9169d824",
    "path" : "\/private\/var\/containers\/Bundle\/Application\/2197CCD0-09B8-43A5-B259-EAED8CA804D3\/SimpleApp.app\/SimpleApp",
    "name" : "SimpleApp"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4386766848,
    "size" : 475136,
    "uuid" : "933afa54-9e15-3133-a8d7-8d6c3311ccb9",
    "path" : "\/private\/var\/containers\/Bundle\/Application\/2197CCD0-09B8-43A5-B259-EAED8CA804D3\/SimpleApp.app\/Frameworks\/CryptoSwift.framework\/CryptoSwift",
    "name" : "CryptoSwift"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4384735232,
    "size" : 147456,
    "uuid" : "d404a494-3ab3-39da-a276-91fcb18ed7aa",
    "path" : "\/private\/var\/containers\/Bundle\/Application\/2197CCD0-09B8-43A5-B259-EAED8CA804D3\/SimpleApp.app\/Frameworks\/EMLCommon.framework\/EMLCommon",
    "name" : "EMLCommon"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4387864576,
    "size" : 589824,
    "uuid" : "8b9e6dfa-9a91-37b0-84af-3f17b516d430",
    "path" : "\/private\/var\/containers\/Bundle\/Application\/2197CCD0-09B8-43A5-B259-EAED8CA804D3\/SimpleApp.app\/Frameworks\/EMLiOSSDK.framework\/EMLiOSSDK",
    "name" : "EMLiOSSDK"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 4508696576,
    "size" : 49152,
    "uuid" : "35a44678-195b-39c2-bdd7-072893564b45",
    "path" : "\/private\/preboot\/Cryptexes\/OS\/usr\/lib\/libobjc-trampolines.dylib",
    "name" : "libobjc-trampolines.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 8224968704,
    "size" : 237556,
    "uuid" : "b9618c71-c0cb-31b6-825f-92a4737c890e",
    "path" : "\/usr\/lib\/system\/libsystem_kernel.dylib",
    "name" : "libsystem_kernel.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 6878519296,
    "size" : 5517312,
    "uuid" : "1532d3d8-9b3b-3f2f-b35f-55a20ddf411b",
    "path" : "\/System\/Library\/Frameworks\/CoreFoundation.framework\/CoreFoundation",
    "name" : "CoreFoundation"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 8153788416,
    "size" : 36864,
    "uuid" : "8425ea11-000e-3e5e-8abc-bddf3ff3fa32",
    "path" : "\/System\/Library\/PrivateFrameworks\/GraphicsServices.framework\/GraphicsServices",
    "name" : "GraphicsServices"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 6920355840,
    "size" : 32325632,
    "uuid" : "575e5140-fa6a-37c2-b00b-a4eacedfda53",
    "path" : "\/System\/Library\/PrivateFrameworks\/UIKitCore.framework\/UIKitCore",
    "name" : "UIKitCore"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 7509815296,
    "size" : 539040,
    "uuid" : "3060d36a-16ce-3c3a-9258-3881459f5714",
    "path" : "\/usr\/lib\/dyld",
    "name" : "dyld"
  },
  {
    "size" : 0,
    "source" : "A",
    "base" : 0,
    "uuid" : "00000000-0000-0000-0000-000000000000"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 7010222080,
    "size" : 524276,
    "uuid" : "0150f750-db0a-3f54-b23a-d21c55af8824",
    "path" : "\/usr\/lib\/system\/libsystem_c.dylib",
    "name" : "libsystem_c.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 6857822208,
    "size" : 13688832,
    "uuid" : "6d0212cc-3b9e-32c9-be20-72989ce3acb8",
    "path" : "\/System\/Library\/Frameworks\/Foundation.framework\/Foundation",
    "name" : "Foundation"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 9164959744,
    "size" : 53236,
    "uuid" : "3ca98e38-8eee-3c26-9862-c5f66aad93c0",
    "path" : "\/usr\/lib\/system\/libsystem_pthread.dylib",
    "name" : "libsystem_pthread.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 6900346880,
    "size" : 3944448,
    "uuid" : "999c659a-fc7d-351f-a477-e97bbf2d8081",
    "path" : "\/System\/Library\/Frameworks\/CFNetwork.framework\/CFNetwork",
    "name" : "CFNetwork"
  }
],
  "sharedCache" : {
  "base" : 6830538752,
  "size" : 4272111616,
  "uuid" : "c4ea20f9-0e8f-3d45-89de-797d8ce6fa11"
},
  "vmSummary" : "ReadOnly portion of Libraries: Total=1.5G resident=0K(0%) swapped_out_or_unallocated=1.5G(100%)\nWritable regions: Total=631.6M written=498K(0%) resident=498K(0%) swapped_out=0K(0%) unallocated=631.1M(100%)\n\n                                VIRTUAL   REGION \nREGION TYPE                        SIZE    COUNT (non-coalesced) \n===========                     =======  ======= \nActivity Tracing                   256K        1 \nColorSync                          144K        6 \nCoreAnimation                      320K       12 \nFoundation                          16K        1 \nImage IO                           880K        1 \nKernel Alloc Once                   32K        1 \nMALLOC                           576.8M       25 \nMALLOC guard page                   32K        2 \nMALLOC_SMALL                        16K        1 \nSQLite page cache                  256K        2 \nSTACK GUARD                        256K       16 \nStack                             17.7M       16 \nVM_ALLOCATE                       33.9M       84 \n__AUTH                            6023K      569 \n__AUTH_CONST                      95.5M     1127 \n__CTF                               824        1 \n__DATA                            31.3M     1090 \n__DATA_CONST                      29.8M     1137 \n__DATA_DIRTY                      9412K     1002 \n__FONT_DATA                        2352        1 \n__INFO_FILTER                         8        1 \n__LINKEDIT                       195.5M        6 \n__OBJC_RW                         2921K        1 \n__TEXT                             1.4G     1154 \n__TPRO_CONST                       272K        2 \nlibnetwork                         640K       16 \nmapped file                      237.4M      111 \nowned unmapped memory             1216K        1 \npage table in kernel               498K        1 \nshared memory                       80K        4 \n===========                     =======  ======= \nTOTAL                              2.6G     6392 \n",
  "legacyInfo" : {
  "threadTriggered" : {
    "name" : ".NET TP Worker"
  }
},
  "logWritingSignature" : "8f21575d5b13ece11cb5d9d2c8ae749d74425662",
  "trialInfo" : {
  "rollouts" : [
    {
      "rolloutId" : "6434420a89ec2e0a7a38bf5a",
      "factorPackIds" : {

      },
      "deploymentId" : 240000011
    },
    {
      "rolloutId" : "64b21a7351cbb02ce3442e4e",
      "factorPackIds" : {
        "REMINDERS_GROCERY" : "6647f0f7b6a75d3dc32993e7"
      },
      "deploymentId" : 240000042
    }
  ],
  "experiments" : [
    {
      "treatmentId" : "1b188dba-70f9-4c66-99f8-1e48ec267289",
      "experimentId" : "65dfd24b12edf62098adc714",
      "deploymentId" : 400000015
    },
    {
      "treatmentId" : "36ba1a3c-ac64-48a7-b0b4-5396b4bd84e3",
      "experimentId" : "671bd18e7bb1535297518d0a",
      "deploymentId" : 400000002
    }
  ]
}
}
PureWeen commented 17 hours ago

Issue moved from dotnet/maui#26041


From @similar-issues-ai[bot] on Thursday, November 21, 2024 10:58:43 PM

We've found some similar issues:

If any of the above are duplicates, please consider closing this issue out and adding additional context in the original issue.

Note: You can give me feedback by 👍 or 👎 this comment.

PureWeen commented 17 hours ago

Issue moved from dotnet/maui#26041


From @southgate-rob on Thursday, November 21, 2024 11:10:57 PM

A binlog for the build can be found at here.

rolfbjarne commented 7 hours ago

First I would disable native symbol stripping by adding this to your csproj (this will make the stack traces in the crash report better):

<PropertyGroup>
    <NoSymbolStrip>true</NoSymbolStrip>
</PropertyGroup>

Then could you try to build & run directly on a Mac to see if that crashes as well?

microsoft-github-policy-service[bot] commented 7 hours ago

Hi @PureWeen. We have added the "need-info" label to this issue, which indicates that we have an open question for you before we can take further action. This issue will be closed automatically in 7 days if we do not hear back from you by then - please feel free to re-open it if you come back to this issue after that time.