Xamarin.iOS app freezes or crashes at start-up from task kill or going foreground

Baylon Juliet 1 Reputation point
2021-03-08T07:37:57.36+00:00

When I opened our app, it freezes or crashes at start-up like from task kill or even from background to foreground.
It can only be fixed when we re-install our app.
Here's the crash report:

Exception Type: EXC_BAD_ACCESS (SIGKILL)
Exception Subtype: KERN_INVALID_ADDRESS at 0x0000000000000020
VM Region Info: 0x20 is not in any region. Bytes before following region: 4363255776
REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL UNUSED SPACE AT START ---> __TEXT 104120000-104124000 [ 16K] r-x/r-x SM=COW ...edBrowser.iOS
Termination Reason: Namespace SPRINGBOARD, Code 0x8badf00d
Termination Description: SPRINGBOARD, <RBSTerminateContext| domain:10 code:0x8BADF00D explanation:[application<com.clomo.apps.ios.securedbrowser-i-FILTER>:344]
failed to terminate gracefully after 10.0s | ProcessVisibility: Unknown |
ProcessState: Running | WatchdogEvent: process-exit | WatchdogVisibility: Background |
WatchdogCPUStatistics: ( | "Elapsed total CPU time (seconds): 16.110
(user 16.110, system 0.000), 24% CPU", | "Elapsed application CPU time (seconds): 0.000, 0% CPU" | )
reportType:CrashLog maxTerminationResistance:Interactive> Triggered by Thread: 0
Application Specific Information: abort() called Thread 0
name: tid_407 Dispatch queue: com.apple.main-thread Thread 0
Crashed:
0 SecuredBrowser.iOS 0x0000000105e946a0 ksobjc_className + 30885536 (KSObjC.c:593)
1 SecuredBrowser.iOS 0x0000000105eaa0f0 kscrw_i_writeMemoryContents + 30974192 (KSCrashReport.c:992)
2 SecuredBrowser.iOS 0x0000000105eaa730 kscrw_i_writeMemoryContentsIfNotable + 30975792 (KSCrashReport.c:1073)
3 SecuredBrowser.iOS 0x0000000105eaaf7c kscrw_i_writeNotableRegisters + 30977916 (KSCrashReport.c:1380)
4 SecuredBrowser.iOS 0x0000000105eaafe4 kscrw_i_writeNotableAddresses + 30978020 (KSCrashReport.c:1411)
5 SecuredBrowser.iOS 0x0000000105eab1f0 kscrw_i_writeThread + 30978544 (KSCrashReport.c:1511)
6 SecuredBrowser.iOS 0x0000000105eab308 kscrw_i_writeAllThreads + 30978824 (KSCrashReport.c:1543)
7 SecuredBrowser.iOS 0x0000000105eac488 kscrashreport_writeStandardReport + 30983304 (KSCrashReport.c:2187)
8 SecuredBrowser.iOS 0x0000000105ea3e24 kssighndl_i_handleSignal + 30948900 (KSCrashSentry_Signal.c:118)
9 libsystem_platform.dylib 0x00000001e5287298 _sigtramp + 56
10 libsystem_pthread.dylib 0x00000001e528cb50 pthread_kill + 272
11 libsystem_c.dylib 0x00000001a38ccb74 abort + 104
12 SecuredBrowser.iOS 0x000000010606296c xamarin_initialize.cold.1 + 0
13 SecuredBrowser.iOS 0x000000010605a8b4 xamarin_printf + 32745652 (runtime.m:2541)
14 SecuredBrowser.iOS 0x0000000105f6e360 mono_invoke_unhandled_exception_hook + 132
15 SecuredBrowser.iOS 0x0000000105f0fb98 mono_handle_exception_internal + 5580
16 SecuredBrowser.iOS 0x0000000105f10414 mono_resume_unwind + 80
17 SecuredBrowser.iOS 0x0000000105f05860 mono_arm_resume_unwind + 236
18 SecuredBrowser.iOS 0x0000000104354228 llvm_resume_unwind_trampoline + 168
19 SecuredBrowser.iOS 0x0000000105130128 Xamarin_iOS_UIKit_UIApplication_Main_string___intptr_intptr + 16843048 (UIApplication.cs:0)
20 SecuredBrowser.iOS 0x0000000105f20540 mono_jit_runtime_invoke + 1100
21 SecuredBrowser.iOS 0x0000000105fb97d4 mono_runtime_invoke_checked + 148
22 SecuredBrowser.iOS 0x0000000105fbe980 mono_runtime_exec_main_checked + 120
23 SecuredBrowser.iOS 0x0000000105f05284 mono_jit_exec + 376
24 SecuredBrowser.iOS 0x0000000106060ec0 xamarin_main + 32771776 (monotouch-main.m:0)
25 SecuredBrowser.iOS 0x000000010419e9c8 main + 518600 (main.m:128) 26 libdyld.dylib 0x000000019a0d36b0 start + 4

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,297 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,320 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,127 questions
{count} votes