Quantcast
Channel: Active questions tagged crash - Stack Overflow
Viewing all articles
Browse latest Browse all 7199

Xamarin.Forms iOS App Crashes due to SIGABRT error

$
0
0

I recently got a lot of App crashes due to the error: SIGABRT: Object reference not set to an instance of an object.

The problem happens in iOS devices. I googled around, but could not find root cause. One of thoughts is that it can happen when the app is put to background while a network request is in progress, and then when the app is restored to foreground, it crashes. However, I can never reproduce the issue manually. I am attaching the stack traces here for your reference. Hope someone here has an idea about the root cause of this issue.

Development environment:

  1. Xamarin.iOS v14.6.0.15 (Build date: 2020-11-16)
  2. Xcode version: 12.2

CFNetworkHandler.HandleHasBytesAvailableEvent (System.Object sender,CoreFoundation.CFStream+StreamEventArgs e)

CFStream.OnHasBytesAvailableEvent(CoreFoundation.CFStream+StreamEventArgs args)

CFStream.OnCallback (CoreFoundation.CFStreamEventType type)

CFStream.OnCallback (System.IntPtr s, System.nint type, System.IntPtrinfo)

(wrapper native-to-managed)CoreFoundation.CFStream.OnCallback(intptr,System.nint,intptr)

(wrapper managed-to-native)UIKit.UIApplication.UIApplicationMain(int,string[],intptr,intptr)

UIApplication.Main (System.String[] args, System.IntPtr principal,System.IntPtr delegate)

UIApplication.Main (System.String[] args, System.StringprincipalClassName, System.String delegateClassName)

Application.Main (System.String[] args)

(wrapper managed-to-native)UIKit.UIApplication.UIApplicationMain(int,string[],intptr,intptr)

UIApplication.Main (System.String[] args, System.IntPtr principal,System.IntPtr delegate)

UIApplication.Main (System.String[] args, System.StringprincipalClassName, System.String delegateClassName)

Application.Main (System.String[] args)


Viewing all articles
Browse latest Browse all 7199

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>