Forum Xamarin.iOS

Can anyone make anything out of this crash log?

JordanMaxJordanMax USMember ✭✭

This is already dsymbolicated but I can't for the life of me get any useful information on this crash. I search google for Crash in xamarin_printf with absolutely no results at all. This is happening for 4.7% of our users, so I really want to try to figure out what it even could be. Has anyone seen anything like this before? Even just a shove in the right direction would be greatly appreciated.

Thread 0SIGABRTCrash in xamarin_printf
0 libsystem_kernel.dylib pthread_kill (in libsystem_kernel.dylib) + 8
1 libsystem_c.dylib abort (in libsystem_c.dylib) + 140
2 XamarinMobileiOS xamarin_printf (in b375a1c7f1e332d9b5249eda235ae5a6) (runtime.m:2176)
3 XamarinMobileiOS mono_invoke_unhandled_exception_hook (in b375a1c7f1e332d9b5249eda235ae5a6) (exception.c:1108)
4 XamarinMobileiOS mono_handle_exception_internal (in b375a1c7f1e332d9b5249eda235ae5a6) (mini-exceptions.c:1810)
5 XamarinMobileiOS mono_resume_unwind (in b375a1c7f1e332d9b5249eda235ae5a6) (mini-exceptions.c:2622)
6 XamarinMobileiOS mono_arm_resume_unwind (in b375a1c7f1e332d9b5249eda235ae5a6) (exceptions-arm64.c:429)
7 XamarinMobileiOS llvm_resume_unwind_trampoline (in b375a1c7f1e332d9b5249eda235ae5a6) + 168
8 XamarinMobileiOS Xamarin_iOS_Foundation_NSAutoreleasePool__ctor (in b375a1c7f1e332d9b5249eda235ae5a6) + 0
9 XamarinMobileiOS wrapper_runtime_invoke_object_runtime_invoke_dynamic_intptr_intptr_intptr_intptr (in b375a1c7f1e332d9b5249eda235ae5a6) + 244
10 XamarinMobileiOS mono_jit_runtime_invoke (in b375a1c7f1e332d9b5249eda235ae5a6) (mini-runtime.c:2552)
11 XamarinMobileiOS do_runtime_invoke (in b375a1c7f1e332d9b5249eda235ae5a6) (object.c:2820)
12 XamarinMobileiOS mono_runtime_invoke (in b375a1c7f1e332d9b5249eda235ae5a6) (object.c:2978)
13 XamarinMobileiOS native_to_managed_trampoline_3() (in b375a1c7f1e332d9b5249eda235ae5a6) + 232
14 XamarinMobileiOS -[__MonoMac_NSAsyncActionDispatcher xamarinApplySelector] (in b375a1c7f1e332d9b5249eda235ae5a6) + 52
15 Foundation __NSThreadPerformPerform (in Foundation) + 340
16 CoreFoundation __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION
(in CoreFoundation) + 24
17 CoreFoundation CFRunLoopDoSources0 (in CoreFoundation) + 540
18 CoreFoundation __CFRunLoopRun (in CoreFoundation) + 744
19 CoreFoundation CFRunLoopRunSpecific (in CoreFoundation) + 424
20 GraphicsServices GSEventRunModal (in GraphicsServices) + 100
21 UIKit UIApplicationMain (in UIKit) + 208
22 XamarinMobileiOS wrapper_managed_to_native_UIKit_UIApplication_UIApplicationMain_int_string___intptr_intptr (in b375a1c7f1e332d9b5249eda235ae5a6) + 340
23 XamarinMobileiOS Xamarin_iOS_UIKit_UIApplication_Main_string___string_string (in b375a1c7f1e332d9b5249eda235ae5a6) + 156
24 XamarinMobileiOS XamarinMobileiOS_XamarinMobile_iOS_Application_Main_string
(in b375a1c7f1e332d9b5249eda235ae5a6) + 28
25 XamarinMobileiOS wrapper_runtime_invoke_object_runtime_invoke_dynamic_intptr_intptr_intptr_intptr (in b375a1c7f1e332d9b5249eda235ae5a6) + 244
26 XamarinMobileiOS mono_jit_runtime_invoke (in b375a1c7f1e332d9b5249eda235ae5a6) (mini-runtime.c:2552)
27 XamarinMobileiOS do_runtime_invoke (in b375a1c7f1e332d9b5249eda235ae5a6) (object.c:2820)
28 XamarinMobileiOS do_exec_main_checked (in b375a1c7f1e332d9b5249eda235ae5a6) (object.c:4641)
29 XamarinMobileiOS mono_jit_exec (in b375a1c7f1e332d9b5249eda235ae5a6) (driver.g.c:1049)
30 XamarinMobileiOS xamarin_main (in b375a1c7f1e332d9b5249eda235ae5a6) (monotouch-main.m:485)
31 XamarinMobileiOS main (in b375a1c7f1e332d9b5249eda235ae5a6) + 96
32 libdyld.dylib start (in libdyld.dylib) + 4

Tagged:

Answers

  • ChaseLongChaseLong USUniversity ✭✭

    I am seeing a nearly-identical crash in my application. I also don't know how to proceed. Have you made any progress?

    I am using Xamarin.iOS 10.12.0.14 (bf350ba).

  • flchauxflchaux FRMember ✭✭

    Same here, somebody has any info ?

  • ChristopherStephanChristopherStephan DEMember ✭✭
    edited February 2018

    We get the same error message with a similar log using Xamarin.iOS 11.6.1.4.

  • ShawnCastrianniShawnCastrianni USBeta ✭✭✭
    edited March 2018

    Same here. We are seeing LOTS of crashes all over our app down in the bowels of iOS. Android is fine. In the past 12 days since our release, we have 40 crashes recorded by customers. Usually we might have 1 or 2 at the most. There is something seriously wrong somewhere and I don't think it is in my code based on how frequent and how scattered the crashes are. Below are some examples of our different crashes. I listed one line from each stacktrace below as kind of a category for the crash. I can provide full stack traces for each if anyone is interested. The majority seem to be related to CoreGraphics. This is coming from our 1.1 version of the app. Our 1.0 version of the app did not have these issues. The biggest difference between the two was the version of the iOS sdk and version of Xamarin.iOS that was used. My guess is that either the iOS sdk is bad or Xamarin.iOS is bad. I am leaning towards the iOS sdk itself since I found similar discussions on an apple forum (non-Xamarin related) complaining about the ERROR_CGDataProvider_BufferIsNotReadable: https://forums.developer.apple.com/thread/94163

    • CoreAnimation_CALayer_set_BorderColor_CoreGraphics_CGColor
    • UIKit_UILongPressGestureRecognizer__ctor
    • UIKit_UIView__ctor_CoreGraphics_CGRect
    • ERROR_CGDataProvider_BufferIsNotReadable
    • log_callback(char const*, char const*, char const*, int, void*)
    • CFStringCreateWithFormat
    • CoreAnimation_CALayer__ctor
    • xamarin_printf
    • Foundation_NSObject_AllocIfNeeded
    • UIKit_UIResponder_BecomeFirstResponder
    • UIKit_UIFont_get_FamilyNames
    • -[ImageEffects applyBlurWithRadius:tintColor:saturationDeltaFactor:maskImage:]
    • UIKit_UIImageView__ctor_CoreGraphics_CGRect
Sign In or Register to comment.