-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
App crashes on launch during Apple App Review (iOS 18.0 - iPad Air 5th Generation) #24805
Comments
Hi I'm an AI powered bot that finds similar issues based off the issue title. Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you! Open similar issues:
Closed similar issues:
|
Hi, thank you for the feedback. Could you let us know what version of MAUI you are using? Is this the first version that is being tested on a physical iPad or did this used to work on a physical iPad in a different version and no longer works? Also, are you able to reproduce this behavior in a project you can share? |
I'd also be curious if this happens on a physical iPhone as well or if this is exclusively happening on iPads? |
Hi, thank you for the feedback. I am using MAUI version 8.0.100 with the following workloads: Android: 34.0.113 / 8.0.100 I haven't been able to figure out exactly where the crash is happening since there were no issues during my own tests. Could this discrepancy between the iOS versions (17.5 vs. 18) be the cause of the problem? |
As I mentioned earlier, I haven't tested the app on physical devices yet—only virtual ones. However, I believe the Apple review team likely tested it on iPhones first and then moved to iPads. I'm not entirely certain about this, |
When you test on a virtual device, do you do a release build? That would be closest to what they are testing I guess. |
i ran into an issue like this once. Try out some different regions on your simulators (try USA and France). The exact issue I had involved float.ToString() and float.Parse(), which has different behavior depending on region unless you specify CultureInfo.InvariantCulture. |
I am having the same issue as well testing my app that is developed in .NET MAUI 8 attempting to run in iOS 18. @jfversluis, I deployed my app to a physical device that has iOS 18 and it gets stuck in the splash screen and only shows blank white screen and won't get passed it! |
@MohammedBen what specific version of .NET MAUI? That sounds like #23906 which should be fixed in more recent versions. Good suggestion @orecros thanks! |
I am targeting .NET 8 for iOS |
@MohammedBen looks like that fix is merged for either .NET MAUI 8.0.80 or .NET 9 RC1 so you will want to use those versions to fix that for iOS 18 |
In the last few hours !! |
@jfversluis
Do you think this is the reason for the error? |
|
@Kremed looks like this is cause by your release build settings. MAUI has different default values for Release builds and Debug builds on iOS for performance reasons/ hot restart etc.. some performance optimizations might not be supported by your dependencies, such as AOT compilation.
In case you use CLI to build your package:
|
I've taken a lot of time, and now we're encountering an issue we don't know how to fix or what is causing it! One more detail, I think all of this happened after I updated the DevExpress components. Could this be the reason? |
@Kremed the errors looks like llvm is failing for AlohaKit. Does it work when you use: |
No response for 2 weeks, I hope this means you figured it out! |
In my case, I had to configure VS to point to XCode 15.4 rather than the latest xocde 16.x. Thank you for your assistance. |
Description
Discussion Summary: 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 aniPad 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:
Relevant Logs:
Steps to Reproduce:
Additional Information:
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:
{ "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" }
`{"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.kremed.swap","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":"5BD839DF-A3CB-4AD6-BDDD-AA3EFA90C25E"}
{
"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}]}],
"usedImages" : [
{
"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"
}
],
"sharedCache" : {
"base" : 6507364352,
"size" : 4236853248,
"uuid" : "71fd50ec-855b-3109-919c-9cecb0c06efd"
},
"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%)\n\n 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"
}
},
"logWritingSignature" : "8cde06f3f47d7c5bc40126612b48c9e7704d2905",
"trialInfo" : {
"rollouts" : [
{
"rolloutId" : "654439cdafbf5b61207873a9",
"factorPackIds" : {
"SIRI_DATA_SHARING_MTE_OPT_OUT" : "65443a1cf764584e3e121675"
},
"deploymentId" : 240000004
},
{
"rolloutId" : "63f9578e238e7b23a1f3030a",
"factorPackIds" : {
],
"experiments" : [
]
}
}
`
Steps to Reproduce
push app to review on IOS!!
Link to public reproduction project repository
No response
Version with bug
Is this a regression from previous behavior?
Yes, this used to work in .NET MAUI
Last version that worked well
Unknown/Other
Affected platforms
iOS
Affected platform versions
No response
Did you find any workaround?
No response
Relevant log output
No response
The text was updated successfully, but these errors were encountered: