This may not be an issue but rather a request for help with troubleshooting. Our app, version 1.3.0 (Bundle ID: com.kremed.swap)
, crashes on launch during Apple’s App Review process on an iPad Air (5th generation) running iOS 18.0
. The crash happens immediately after launch, but we have not encountered any issues during testing on all virtual iPad devices on macOS. The app works perfectly in these virtual environments, and we are unable to reproduce the crash locally.
I believe this is not a bug in the .NET MAUI SDK, as everything functions smoothly in our local environment. However, we are unsure where exactly the issue lies, and any assistance in identifying the problem would be appreciated.
Crash Report Details:
- Device: iPad Air (5th generation)
- OS Version: iOS 18.0 (Build: 22A3354)
- App Version: 1.3.0
- Crash Type: Memory allocation failure (MALLOC)
Relevant Logs:
- Process Role: Foreground
- Bug Type: 309 (App Crash)
- Error Code: 0x8badf00d (indicating a watchdog termination caused by a timeout or deadlock)
Steps to Reproduce:
- Launch the app on an iPad Air (5th generation) running iOS 18.0.
- Observe that the app crashes immediately on launch.
Additional Information:
- The app works perfectly on all virtual iPad devices tested on macOS, and no crashes are experienced locally. We have been unable to determine the exact cause of the crash based on the logs provided by Apple. Any help in resolving this issue would be greatly appreciated.
Logs: The detailed crash logs are attached below. The issue appears to be related to memory allocation or threading, with the crash linked to a MALLOC guard page and triggered on the main thread (tid_103).
Next Steps:
- Investigate memory usage during app launch.
- Check if the issue is related to a heavy initial load or memory handling.
- Fully symbolicate the crash logs for more detailed information.
{
"app_name": "Mobile",
"timestamp": "2024-09-17 07:49:09.00 +0100",
"app_version": "1.3.0",
"slice_uuid": "f794d7c8-f3ae-3948-b8a0-ddc919c0630a",
"adam_id": "6670712232",
"build_version": "4",
"platform": 2,
"bundleID": "com.XXXXXXX.XXXXXXX",
"share_with_app_devs": 0,
"is_first_party": 0,
"bug_type": "309",
"os_version": "iPhone OS 18.0 (22A3354)",
"roots_installed": 0,
"name": "Mobile",
"incident_id": "XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX"
}
{
"uptime" : 180000,
"procRole" : "Foreground",
"version" : 2,
"userID" : 501,
"deployVersion" : 210,
"modelCode" : "iPad13,16",
"coalitionID" : 2041,
"osVersion" : {
"isEmbedded" : true,
"train" : "iPhone OS 18.0",
"releaseType" : "User",
"build" : "22A3354"
}
"captureTime" : "2024-09-17 07:49:08.6124 +0100",
"codeSigningMonitor" : 1,
"incident" : "5BD839DF-A3CB-4AD6-BDDD-AA3EFA90C25E",
"pid" : 4242,
"translated" : false,
"cpuType" : "ARM-64",
"roots_installed" : 0,
"bug_type" : "309",
"procLaunch" : "2024-09-17 07:49:08.5041 +0100",
"procStartAbsTime" : 4373920923659,
"procExitAbsTime" : 4373923514704,
"procName" : "Mobile",
"procPath" : "/private/var/containers/Bundle/Application/13AC6C6A-2402-4E71-8F68-B5796B2C38F8/Mobile.app/Mobile",
"bundleInfo" : {"CFBundleShortVersionString":"1.3.0","CFBundleVersion":"4","CFBundleIdentifier":"com.kremed.swap","DTAppStoreToolsBuild":"16A242b"},
"storeInfo" : {"itemID":"6670712232","deviceIdentifierForVendor":"4DEF3FA2-CEA2-48A0-BF85-0A3C75AEFA95","thirdParty":true,"softwareVersionExternalIdentifier":"868838636"},
"parentProc" : "launchd",
"parentPid" : 1,
"coalitionName" : "com.kremed.swap",
"crashReporterKey" : "5f132ce32b57730df579278e80c415a7dc2e2637",
"wasUnlockedSinceBoot" : 1,
"isLocked" : 0,
"codeSigningID" : "com.kremed.swap",
"codeSigningTeamID" : "6VR64ATQ86",
"codeSigningFlags" : 570450689,
"codeSigningValidationCategory" : 4,
"codeSigningTrustLevel" : 7,
"instructionByteStream" : {"beforePC":"fyMD1f17v6n9AwCRPOz/l78DAJH9e8Go/w9f1sADX9YQKYDSARAA1A==","atPC":"AwEAVH8jA9X9e7+p/QMAkTHs/5e/AwCR/XvBqP8PX9bAA1/WECeA0g=="},
"bootSessionUUID" : "5D4BF9B6-8090-4EA5-A250-DB773761BE14",
"exception" : {"codes":"0x0000000000000000, 0x0000000000000000","rawCodes":[0,0],"type":"EXC_CRASH","signal":"SIGABRT"},
"termination" : {"flags":0,"code":6,"namespace":"SIGNAL","indicator":"Abort trap: 6","byProc":"Mobile","byPid":4242},
"asi" : {"libsystem_c.dylib":["abort() called"]}
"faultingThread" : 0,
"threads" : [{"threadState":{"x":[{"value":0},{"value":0},{"value":0},{"value":0},{"value":18446744071983148531},{"value":8},{"value":6137630336},{"value":6137628016},{"value":363057494707285490},{"value":363057501586535026},{"value":1023},{"value":6137628128},{"value":0},{"value":4339945096},{"value":7119442472,"symbolLocation":292,"symbol":"-[EKEvent _snoozeAlarm:withTimeIntervalFromNow:orTargetDate:pinsTriggerToStartDate:]"},{"value":7119442724,"symbolLocation":12,"symbol":"-[EKEvent propertiesThatCanBeModifiedOnReadOnlyCalendars]"},{"value":328},{"value":8221433728,"symbolLocation":0,"symbol":"_main_thread"},{"value":0},{"value":6},{"value":259},{"value":8221433952,"symbolLocation":224,"symbol":"_main_thread"},{"value":16},{"value":30960},{"value":4418230484},{"value":104},{"value":1144},{"value":4415333048},{"value":12918965472}],"flavor":"ARM_THREAD_STATE64","lr":{"value":8823205624},"cpsr":{"value":1073745920},"fp":{"value":6137630352},"sp":{"value":6137630320},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":7895888500,"matchesCrashFrame":1},"far":{"value":0}},"id":1772644,"triggered":true,"name":"tid_103","queue":"com.apple.main-thread","frames":[{"imageOffset":49780,"symbol":"__pthread_kill","symbolLocation":8,"imageIndex":5},{"imageOffset":32504,"symbol":"pthread_kill","symbolLocation":268,"imageIndex":6},{"imageOffset":490200,"symbol":"abort","symbolLocation":128,"imageIndex":7},{"imageOffset":78430000,"imageIndex":0},{"imageOffset":77869552,"imageIndex":0},{"imageOffset":6908,"symbol":"_sigtramp","symbolLocation":56,"imageIndex":8},{"imageOffset":32504,"symbol":"pthread_kill","symbolLocation":268,"imageIndex":6},{"imageOffset":490200,"symbol":"abort","symbolLocation":128,"imageIndex":7},{"imageOffset":76562252,"imageIndex":0},{"imageOffset":76516776,"imageIndex":0},{"imageOffset":76517104,"imageIndex":0},{"imageOffset":77709836,"imageIndex":0},{"imageOffset":76917672,"imageIndex":0},{"imageOffset":76916424,"imageIndex":0},{"imageOffset":76923728,"imageIndex":0},{"imageOffset":74992872,"imageIndex":0},{"imageOffset":76924412,"imageIndex":0},{"imageOffset":76914212,"imageIndex":0},{"imageOffset":77750584,"imageIndex":0},{"imageOffset":77709732,"imageIndex":0},{"imageOffset":77729004,"imageIndex":0},{"imageOffset":77657768,"imageIndex":0},{"imageOffset":77675564,"imageIndex":0},{"imageOffset":77313456,"imageIndex":0},{"imageOffset":77037416,"imageIndex":0},{"imageOffset":77036780,"imageIndex":0},{"imageOffset":76900064,"imageIndex":0},{"imageOffset":77673676,"imageIndex":0},{"imageOffset":77698536,"imageIndex":0},{"imageOffset":74990064,"imageIndex":0},{"imageOffset":74993916,"imageIndex":0},{"imageOffset":78128696,"imageIndex":0},{"imageOffset":212276,"symbol":"start","symbolLocation":2724,"imageIndex":9}]},{"id":1772647,"frames":[{"imageOffset":5248,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":6}],"threadState":{"x":[{"value":6138769408},{"value":4871},{"value":6138232832},{"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":6138769408},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":8823178368},"far":{"value":0}}},{"id":1772648,"name":"SGen worker","threadState":{"x":[{"value":260},{"value":0},{"value":0},{"value":0},{"value":0},{"value":161},{"value":0},{"value":0},{"value":6138195624},{"value":0},{"value":0},{"value":2},{"value":2},{"value":0},{"value":0},{"value":0},{"value":305},{"value":6138195968},{"value":0},{"value":4418192408},{"value":4418192312},{"value":6138196192},{"value":0},{"value":0},{"value":0},{"value":1},{"value":256},{"value":0},{"value":0}],"flavor":"ARM_THREAD_STATE64","lr":{"value":8823188048},"cpsr":{"value":1610616832},"fp":{"value":6138195744},"sp":{"value":6138195600},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":7895867440},"far":{"value":0}},"frames":[{"imageOffset":28720,"symbol":"__psynch_cvwait","symbolLocation":8,"imageIndex":5},{"imageOffset":14928,"symbol":"_pthread_cond_wait","symbolLocation":1204,"imageIndex":6},{"imageOffset":76888500,"imageIndex":0},{"imageOffset":25468,"symbol":"_pthread_start","symbolLocation":136,"imageIndex":6},{"imageOffset":5268,"symbol":"thread_start","symbolLocation":8,"imageIndex":6}]}]
{
"source" : "P",
"arch" : "arm64",
"base" : 4329242624,
"size" : 82231296,
"uuid" : "f794d7c8-f3ae-3948-b8a0-ddc919c0630a",
"path" : "/private/var/containers/Bundle/Application/13AC6C6A-2402-4E71-8F68-B5796B2C38F8/Mobile.app/Mobile",
"name" : "Mobile"
},
{
"source" : "P",
"arch" : "arm64",
"base" : 4424663040,
"size" : 5652480,
"uuid" : "649ef09d-ce4e-3167-a06b-4c7ae3801717",
"path" : "/private/var/containers/Bundle/Application/13AC6C6A-2402-4E71-8F68-B5796B2C38F8/Mobile.app/Frameworks/libSkiaSharp.framework/libSkiaSharp",
"name" : "libSkiaSharp"
}
{
"source" : "P",
"arch" : "arm64",
"base" : 4421287936,
"size" : 163840,
"uuid" : "d82c6662-fdd1-330e-b11c-352f2c549469",
"path" : "/private/var/containers/Bundle/Application/13AC6C6A-2402-4E71-8F68-B5796B2C38F8/Mobile.app/Frameworks/DXListView.framework/DXListView",
"name" : "DXListView"
}
{
"source" : "P",
"arch" : "arm64",
"base" : 4421681152,
"size" : 557056,
"uuid" : "f5bddf2c-8f35-31bd-84ff-bda351ca00cb",
"path" : "/private/var/containers/Bundle/Application/13AC6C6A-2402-4E71-8F68-B5796B2C38F8/Mobile.app/Frameworks/DXEditors.framework/DXEditors",
"name" : "DXEditors"
},
{
"source" : "P",
"arch" : "arm64",
"base" : 4423008256,
"size" : 131072,
"uuid" : "1aaaf180-b707-3955-9941-288bd822f43c",
"path" : "/private/var/containers/Bundle/Application/13AC6C6A-2402-4E71-8F68-B5796B2C38F8/Mobile.app/Frameworks/DXNavigation.framework/DXNavigation",
"name" : "DXNavigation"
},
{
"source" : "P",
"arch" : "arm64e",
"base" : 7895838720,
"size" : 237564,
"uuid" : "8d929b3b-d4d6-39bf-adbb-be59e928b332",
"path" : "/usr/lib/system/libsystem_kernel.dylib",
"name" : "libsystem_kernel.dylib"
},
{
"source" : "P",
"arch" : "arm64e",
"base" : 8823173120,
"size" : 53236,
"uuid" : "fcc77eb0-558f-3703-9267-5419c4d33ae7",
"path" : "/usr/lib/system/libsystem_pthread.dylib",
"name" : "libsystem_pthread.dylib"
},
{
"source" : "P",
"arch" : "arm64e",
"base" : 6686474240,
"size" : 524276,
"uuid" : "1ad666a0-01a8-31c1-88b9-808915fb97b4",
"path" : "/usr/lib/system/libsystem_c.dylib",
"name" : "libsystem_c.dylib"
},
{
"source" : "P",
"arch" : "arm64e",
"base" : 8822456320,
"size" : 32740,
"uuid" : "b2a2c7a1-128f-3297-a98c-0b1b365ce7d2",
"path" : "/usr/lib/system/libsystem_platform.dylib",
"name" : "libsystem_platform.dylib"
},
{
"source" : "P",
"arch" : "arm64e",
"base" : 7184236544,
"size" : 538260,
"uuid" : "77c1eed2-2ed7-396a-ba34-e770120d81d4",
"path" : "/usr/lib/dyld",
"name" : "dyld"
}
{
"size" : 0,
"source" : "A",
"base" : 0,
"uuid" : "00000000-0000-0000-0000-000000000000"
},
{
"source" : "P",
"arch" : "arm64e",
"base" : 7118843904,
"size" : 1806336,
"uuid" : "eefae22f-52f4-361e-9d45-b015add83811",
"path" : "/System/Library/Frameworks/EventKit.framework/EventKit",
"name" : "EventKit"
}
"vmSummary" : "ReadOnly portion of Libraries: Total=1.4G resident=0K(0%) swapped_out_or_unallocated=1.4G(100%)nWritable regions: Total=557.5M written=321K(0%) resident=321K(0%) swapped_out=0K(0%) unallocated=557.2M(100%)nn VIRTUAL REGION nREGION TYPE SIZE COUNT (non-coalesced) n=========== ======= ======= nActivity Tracing 256K 1 nColorSync 16K 1 nKernel Alloc Once 32K 1 nMALLOC 534.9M 12 nMALLOC guard page 32K 2 nSTACK GUARD 48K 3 nStack 2096K 3 nVM_ALLOCATE 1552K 13 nVM_ALLOCATE (reserved) 16.0M 1 reserved VM address space (unallocated)n__AUTH 4030K 405 n__AUTH_CONST 78.2M 934 n__CTF 824 1 n__DATA 27.5M 897 n__DATA_CONST 26.7M 941 n__DATA_DIRTY 8053K 857 n__FONT_DATA 2352 1 n__INFO_FILTER 8 1 n__LINKEDIT 192.2M 6 n__OBJC_RW 2919K 1 n__TEXT 1.2G 956 n__TPRO_CONST 272K 2 nmapped file 32.5M 126 nowned unmapped memory 16K 1 npage table in kernel 321K 1 nshared memory 48K 2 n=========== ======= ======= nTOTAL 2.1G 5169 nTOTAL, minus reserved VM space 2.1G 5169 n",
"legacyInfo" : {
"threadTriggered" : {
"name" : "tid_103",
"queue" : "com.apple.main-thread"
}
"vmSummary" : "ReadOnly portion of Libraries: Total=1.4G resident=0K(0%) swapped_out_or_unallocated=1.4G(100%)nWritable regions: Total=557.5M written=321K(0%) resident=321K(0%) swapped_out=0K(0%) unallocated=557.2M(100%)nn VIRTUAL REGION nREGION TYPE SIZE COUNT (non-coalesced) n=========== ======= ======= nActivity Tracing 256K 1 nColorSync 16K 1 nKernel Alloc Once 32K 1 nMALLOC 534.9M 12 nMALLOC guard page 32K 2 nSTACK GUARD 48K 3 nStack 2096K 3 nVM_ALLOCATE 1552K 13 nVM_ALLOCATE (reserved) 16.0M 1 reserved VM address space (unallocated)n__AUTH 4030K 405 n__AUTH_CONST 78.2M 934 n__CTF 824 1 n__DATA 27.5M 897 n__DATA_CONST 26.7M 941 n__DATA_DIRTY 8053K 857 n__FONT_DATA 2352 1 n__INFO_FILTER 8 1 n__LINKEDIT 192.2M 6 n__OBJC_RW 2919K 1 n__TEXT 1.2G 956 n__TPRO_CONST 272K 2 nmapped file 32.5M 126 nowned unmapped memory 16K 1 npage table in kernel 321K 1 nshared memory 48K 2 n=========== ======= ======= nTOTAL 2.1G 5169 nTOTAL, minus reserved VM space 2.1G 5169 n",
"legacyInfo" : {
"threadTriggered" : {
"name" : "tid_103",
"queue" : "com.apple.main-thread"
}
2