App crashes on App Store but works in debug

PaulyPauly USMember ✭✭

Hi,

My apps that previously worked are now having problems on the app store. Debugging works fine. I have symbolicated the crash report, but it isn't giving me any insights. Any help would be appreciated.

Thanks,
Pauly

Date/Time: 2018-12-20 06:50:19.0318 -0800
Launch Time: 2018-12-20 06:49:59.0030 -0800
OS Version: iPhone OS 12.1 (16B92)
Baseband Version: n/a
Report Version: 104

Exception Type: EXC_BAD_ACCESS (SIGKILL)
Exception Subtype: KERN_PROTECTION_FAILURE at 0x000000010400d248
VM Region Info: 0x10400d248 is in 0x104000000-0x104800000; bytes after start: 53832 bytes before end: 8334775
REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL
Activity Tracing 0000000103ec4000-0000000103f04000 [ 256K] rw-/rwx SM=ALI
GAP OF 0xfc000 BYTES
---> MALLOC_SMALL 0000000104000000-0000000104800000 [ 8192K] rw-/rwx SM=PRV
MALLOC_SMALL 0000000104800000-0000000105000000 [ 8192K] rw-/rwx SM=PRV

Termination Reason: Namespace SPRINGBOARD, Code 0x8badf00d
Termination Description: SPRINGBOARD, process-launch watchdog transgression: com.ortho2.centuryortho exhausted real (wall clock) time allowance of 20.00 seconds | ProcessVisibility: Unknown | ProcessState: Running | WatchdogEvent: process-launch | WatchdogVisibility: Foreground | WatchdogCPUStatistics: ( | "Elapsed total CPU time (seconds): 21.850 (user 21.850, system 0.000), 55% CPU", | "Elapsed application CPU time (seconds): 19.838, 50% CPU" | )
Triggered by Thread: 0

Thread 0 name: tid_303 Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0 ??? 0x000000010400d248 0 + 4362129992
1 997CenturyiOS 0x0000000102553284 sbyte_Parse_string_System_Globalization_NumberStyles_System_IFormatProvider + 36
2 997CenturyiOS 0x000000010250f970 System_Convert_ToSByte_string_System_IFormatProvider + 32
3 997CenturyiOS 0x00000001024efe3c string_System_IConvertible_ToSByte_System_IFormatProvider + 28
4 997CenturyiOS 0x00000001025bf200 System_IO_StreamReader_Init_System_IO_Stream_System_Text_Encoding_bool_int_bool + 160
5 997CenturyiOS 0x00000001025bf0f0 System_IO_StreamReader__ctor_System_IO_Stream_System_Text_Encoding_bool_int_bool + 176
6 997CenturyiOS 0x00000001025bf030 System_IO_StreamReader__ctor_System_IO_Stream_System_Text_Encoding + 48
7 997CenturyiOS 0x00000001025d30b4 System_IO_UnexceptionalStreamReader__ctor_System_IO_Stream_System_Text_Encoding + 36
8 997CenturyiOS 0x000000010256b048 System_Console_SetupStreams_System_Text_Encoding_System_Text_Encoding + 88
9 997CenturyiOS 0x0000000102f65c4c ObjCRuntime_Runtime_Initialize_ObjCRuntime_Runtime_InitializationOptions_ + 11787340 (Runtime.cs:191)
10 997CenturyiOS 0x0000000102763088 wrapper_runtime_invoke_object_runtime_invoke_dynamic_intptr_intptr_intptr_intptr + 248
11 997CenturyiOS 0x000000010340de60 mono_jit_runtime_invoke + 16670304 (mini-runtime.c:3051)
12 997CenturyiOS 0x000000010347b874 mono_runtime_try_invoke + 17119348 (object.c:2942)
13 997CenturyiOS 0x000000010347d588 mono_runtime_invoke + 17126792 (object.c:2990)
14 997CenturyiOS 0x0000000103514628 xamarin_initialize + 17745448 (runtime.m:1368)
15 997CenturyiOS 0x000000010351a344 xamarin_main + 17769284 (monotouch-main.m:433)
16 997CenturyiOS 0x000000010244e7d8 main + 157656 (main.m:72)
17 libdyld.dylib 0x00000001ece32bb4 0x1ece32000 + 2996

Answers

  • JohnHJohnH GBMember ✭✭✭✭✭

    @Pauly said:

    At a glance it looks like your app has taken longer than 20 seconds to start?

  • ColeXColeX Member, Xamarin Team Xamurai

    Look at this line

    Termination Reason: Namespace SPRINGBOARD, Code 0x8badf00d

    The 0x8badf00d (“ate bad food”; lol) indicates that the watchdog process (that monitors for dead/blocked processes) killed your app, generally because you did something to block the main thread.

    This normally caused by the synchronous network calls , synchronous GCD calls, inappropriate use of semaphores, locks, or dispatch group “wait” calls, deadlocks, etc.

    Check your code and try to avoid this.

    Refer

    https://stackoverflow.com/a/46655870/8187800
    https://stackoverflow.com/a/18997360/8187800

Sign In or Register to comment.