Hockey with Xamarin Forms / SIGABRT Errors

Hi Guys!

I just pushed a new app on play store and app store developed on Xamarin Forms and for the most of it, it works pretty well!

I linked Hockey so I can see all the bugs and crashes of my app and it seems to work properly. My only concern is that I'm getting "SIGABRT" errors without any other clues of what part of code is crashing... I managed to correct one bug just because I ran into it and it just was a silly "null pointer exception" in the xamarin forms part of the app...

So my question is : Why can't I directly see which line in the code makes the app crash in Hockey?
I googled it a little and one guy seemed to say that it's a "linking" problem in the build section of my project. Did someone else ran into that problem?

Regards,

Roman

Answers

  • NamyslawSzymaniukNamyslawSzymaniuk USMember ✭✭✭

    You need to upload dSym file into HockeyApp in order to be able to see readable stacktraces - https://www.google.com/search?q=dsym+xamarin

  • RomaneDonnetRomaneDonnet CHMember ✭✭

    Okey, I found the dSym file, uploaded it on Hockey and it added me a duplicate entry of my build... I guess I'll wait until I get a bug tomorrow... (I get 10 per day so I hope it'll crash.... wierd thing to say :) )

    Thanks!

  • RomaneDonnetRomaneDonnet CHMember ✭✭

    Okey, so I got a crash with the dSym file included but I have to say that doesn't help me that much. Isn't there any way to know where it crashes in the Xamarin code? It's way better than seeing a bunch of memory addresses but still... pretty hard to understand...

    And I'm pretty sure that it's a dumb NULL POINTER EXCEPTION somewhere .... but where? :hushed:

    CRASH LOG OVERVIEW

    View Raw Log Thread 0 Crashed:
    1   libsystem_kernel.dylib  __pthread_kill + 8
    2   libsystem_pthread.dylib pthread_kill$VARIANT$mp + 392
    3   libsystem_c.dylib   abort + 136
    4   ch.letsgofit.letsgo xamarin_unhandled_exception_handler (runtime.m:1028)
    5   ch.letsgofit.letsgo mono_invoke_unhandled_exception_hook (exception.c:1050)
    …
    10  ch.letsgofit.letsgo System_Runtime_ExceptionServices_ExceptionDispatchInfo_Throw + 40
    11  ch.letsgofit.letsgo System_Runtime_CompilerServices_AsyncMethodBuilderCore__c__ThrowAsyncb__6_0_object + 80
    12  ch.letsgofit.letsgo UIKit_UIKitSynchronizationContext__Postc__AnonStorey0__m__0 (UIKitSynchronizationContext.cs:24)
    13  ch.letsgofit.letsgo Foundation_NSAsyncActionDispatcher_Apply (NSAction.cs:163)
    14  ch.letsgofit.letsgo wrapper_runtime_invoke_object_runtime_invoke_dynamic_intptr_intptr_intptr_intptr + 240
    15  ch.letsgofit.letsgo mono_jit_runtime_invoke (mini-runtime.c:2525)
    16  ch.letsgofit.letsgo do_runtime_invoke (object.c:2829)
    17  ch.letsgofit.letsgo mono_runtime_invoke (object.c:2983)
    18  ch.letsgofit.letsgo native_to_managed_trampoline_3(objc_object*, objc_selector*, _MonoMethod**, unsigned int) (registrar.m:106)
    19  ch.letsgofit.letsgo -[__MonoMac_NSAsyncActionDispatcher xamarinApplySelector] (registrar.m:7865)
    20  Foundation  __NSThreadPerformPerform + 336
    …
    28  ch.letsgofit.letsgo wrapper_managed_to_native_UIKit_UIApplication_UIApplicationMain_int_string___intptr_intptr (<unknown>:1)
    29  ch.letsgofit.letsgo UIKit_UIApplication_Main_string___intptr_intptr (UIApplication.cs:79)
    30  ch.letsgofit.letsgo UIKit_UIApplication_Main_string___string_string (UIApplication.cs:63)
    31  ch.letsgofit.letsgo LGMobile_iOS_Application_Main_string__ (C:\Users\Romane\Source\Workspaces\LGWeb\LGWeb\iOS\Main.cs:17)
    32  ch.letsgofit.letsgo wrapper_runtime_invoke_object_runtime_invoke_dynamic_intptr_intptr_intptr_intptr + 240
    33  ch.letsgofit.letsgo mono_jit_runtime_invoke (mini-runtime.c:2525)
    34  ch.letsgofit.letsgo do_runtime_invoke (object.c:2829)
    35  ch.letsgofit.letsgo do_exec_main_checked (object.c:2983)
    36  ch.letsgofit.letsgo mono_jit_exec (driver.g.c:1040)
    37  ch.letsgofit.letsgo xamarin_main (monotouch-main.m:483)
    38  ch.letsgofit.letsgo main (main.m:157)
    39  libdyld.dylib   start + 0
    

    RAW CRASH LOG (Only thread #0)

    Incident Identifier: 7C3F136E-061A-4DBB-9A42-80872F2824A9
    CrashReporter Key:   C022A3C9-C00B-4787-9CFD-D81CC2289A9D
    Hardware Model:      iPhone8,4
    Process:         ch.letsgofit.let [9971]
    Path:            /var/containers/Bundle/Application/242A5DA5-6CF5-4D98-BF03-7792FC5B0EF6/ch.letsgofit.letsgo.app/ch.letsgofit.letsgo
    Identifier:      ch.letsgo-fit.letsgo
    Version:         2.0.1 (165)
    Code Type:       ARM-64
    Parent Process:  ??? [1]
    
    Date/Time:       2017-11-07T16:00:40Z
    Launch Time:     2017-11-07T16:00:03Z
    OS Version:      iPhone OS 11.0.3 (15A432)
    Report Version:  104
    
    Exception Type:  SIGABRT
    Exception Codes: #0 at 0x18450d348
    Crashed Thread:  0
    
    Thread 0 Crashed:
    0   libsystem_kernel.dylib               0x000000018450d348 __pthread_kill + 8
    1   libsystem_pthread.dylib              0x0000000184621354 pthread_kill$VARIANT$mp + 392
    2   libsystem_c.dylib                    0x000000018447cfd8 abort + 136
    3   ch.letsgofit.letsgo                  0x0000000105c20454 xamarin_unhandled_exception_handler (runtime.m:1028)
    4   ch.letsgofit.letsgo                  0x0000000105b2d7b8 mono_invoke_unhandled_exception_hook (exception.c:1050)
    5   ch.letsgofit.letsgo                  0x0000000105ae6664 mono_handle_exception_internal (mini-exceptions.c:1885)
    6   ch.letsgofit.letsgo                  0x0000000105ae56a4 mono_handle_exception (mini-exceptions.c:2117)
    7   ch.letsgofit.letsgo                  0x0000000105add650 mono_arm_throw_exception (exceptions-arm64.c:409)
    8   ch.letsgofit.letsgo                  0x00000001046a2198 throw_exception + 164
    9   ch.letsgofit.letsgo                  0x00000001045986bc System_Runtime_ExceptionServices_ExceptionDispatchInfo_Throw + 40
    10  ch.letsgofit.letsgo                  0x000000010459b104 System_Runtime_CompilerServices_AsyncMethodBuilderCore__c__ThrowAsyncb__6_0_object + 80
    11  ch.letsgofit.letsgo                  0x0000000104f0a568 UIKit_UIKitSynchronizationContext__Postc__AnonStorey0__m__0 (UIKitSynchronizationContext.cs:24)
    12  ch.letsgofit.letsgo                  0x0000000104ee49a4 Foundation_NSAsyncActionDispatcher_Apply (NSAction.cs:163)
    13  ch.letsgofit.letsgo                  0x0000000104671a04 wrapper_runtime_invoke_object_runtime_invoke_dynamic_intptr_intptr_intptr_intptr + 240
    14  ch.letsgofit.letsgo                  0x0000000105af5c10 mono_jit_runtime_invoke (mini-runtime.c:2525)
    15  ch.letsgofit.letsgo                  0x0000000105b6f2c4 do_runtime_invoke (object.c:2829)
    16  ch.letsgofit.letsgo                  0x0000000105b6f224 mono_runtime_invoke (object.c:2983)
    17  ch.letsgofit.letsgo                  0x00000001043b7da0 native_to_managed_trampoline_3(objc_object*, objc_selector*, _MonoMethod**, unsigned int) (registrar.m:106)
    18  ch.letsgofit.letsgo                  0x00000001043b82a4 -[__MonoMac_NSAsyncActionDispatcher xamarinApplySelector] (registrar.m:7865)
    19  Foundation                           0x00000001853e3a50 __NSThreadPerformPerform + 336
    20  CoreFoundation                       0x000000018499c358 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 20
    21  CoreFoundation                       0x000000018499c2d8 __CFRunLoopDoSource0 + 84
    22  CoreFoundation                       0x000000018499bb60 __CFRunLoopDoSources0 + 200
    23  CoreFoundation                       0x0000000184999738 __CFRunLoopRun + 1044
    24  CoreFoundation                       0x00000001848ba2d8 CFRunLoopRunSpecific + 432
    25  GraphicsServices                     0x000000018674bf84 GSEventRunModal + 96
    26  UIKit                                0x000000018de67880 UIApplicationMain + 204
    27  ch.letsgofit.letsgo                  0x0000000104f6b770 wrapper_managed_to_native_UIKit_UIApplication_UIApplicationMain_int_string___intptr_intptr (<unknown>:1)
    28  ch.letsgofit.letsgo                  0x0000000104f0018c UIKit_UIApplication_Main_string___intptr_intptr (UIApplication.cs:79)
    29  ch.letsgofit.letsgo                  0x0000000104f0014c UIKit_UIApplication_Main_string___string_string (UIApplication.cs:63)
    30  ch.letsgofit.letsgo                  0x00000001043de564 LGMobile_iOS_Application_Main_string__ (C:\Users\Romane\Source\Workspaces\LGWeb\LGWeb\iOS\Main.cs:17)
    31  ch.letsgofit.letsgo                  0x0000000104671a04 wrapper_runtime_invoke_object_runtime_invoke_dynamic_intptr_intptr_intptr_intptr + 240
    32  ch.letsgofit.letsgo                  0x0000000105af5c10 mono_jit_runtime_invoke (mini-runtime.c:2525)
    33  ch.letsgofit.letsgo                  0x0000000105b6f2c4 do_runtime_invoke (object.c:2829)
    34  ch.letsgofit.letsgo                  0x0000000105b72424 do_exec_main_checked (object.c:2983)
    35  ch.letsgofit.letsgo                  0x0000000105ad9e74 mono_jit_exec (driver.g.c:1040)
    36  ch.letsgofit.letsgo                  0x0000000105c24f84 xamarin_main (monotouch-main.m:483)
    37  ch.letsgofit.letsgo                  0x00000001043de4bc main (main.m:157)
    38  libdyld.dylib                        0x00000001843de56c start + 0
    
Sign In or Register to comment.