Need Help Diagnosing Maui runtime Crash in iOS App

Jonathan Abraham 0 Reputation points
2024-07-01T03:39:18.5466667+00:00

Hi everyone,

I'm experiencing a crash in my iOS app and would appreciate some assistance in diagnosing the issue. The crash report indicates a SIGABRT (signal 6, abort trap) caused by an abort() called in the main thread. Here are the relevant details from the crash report:

  • Hardware Model: iPad13,16
  • Version: 2 (9)
  • OS Version: iPhone OS 17.5.1 (21F90)
  • Release Type: User
  • Exception Type: EXC_CRASH (SIGABRT)
  • Exception Codes: 0x0000000000000000, 0x0000000000000000
  • Termination Reason: SIGNAL 6 Abort trap: 6
  • Terminating Process: LinenHubGo [4286]
  • Triggered by Thread: 0

Application Specific Information:

scss
abort

Kernel Triage:

sql
VM 

Thread 0 Backtrace:

scss
0

The crash seems to be related to a VM allocation failure (mach_vm_allocate_kernel failed within call to vm_map_enter). I suspect it might be due to a memory allocation issue, but I'm not entirely sure how to pinpoint the exact cause.

Additional Information:

  • The crash occurs when the app is in the foreground.
  • The app uses the Scandit SDK for barcode scanning.
  • The app is built using Maui.

Has anyone encountered a similar issue or can provide guidance on how to resolve this? Any insights or suggestions on how to debug this would be greatly appreciated.

Is there a way to catch the runtime error in Maui or is there a known issue?

Thank you in advance!


Update

All versions of used software are up to date. My apologies we are using Maui. I have tested on all devices locally and through testflight. The crash only happens on apples testers side.

We are currently on .net7 and we are using the Scandit.DataCapture.Barcode nuget. I have tested on lower versions as well and we seem okay. The issue seems to not happen for any of the dev team on any device just when apple is testing. We can not replicate the bug.

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,206 questions
.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,140 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Bruce (SqlWork.com) 61,181 Reputation points
    2024-07-01T20:37:06.5033333+00:00

    iPad 13,16 is a m1 iPad. You should test your code on a m1 iPad. also .net 7 is out of support.

    0 comments No comments