Forum Cross Platform with Xamarin

SIGSEGV without stacktrace.

2»

Posts

  • CodeJenksCodeJenks USMember

    I had a similar issue.

    I upgraded my project from Xamarin 1.5 to 2.0 and received a SIGSEGV error on just one of my test devices (Samsung Note 8). Emulator and Nexus 6 debugged ok. I uninstalled my app from the device that was getting the error and the application loaded fine on next debug.

    Not sure if this is the same issue but maybe it will help.

  • DnyaneshwarDnyaneshwar USMember ✭✭
    edited January 2016

    If you using lisview's in your app then try adding following property of lisview
    ListView CachingStrategy="RecycleElement

    in .xaml file for all listview

  • Hi Guys,
    If you have any class for calling SQLite objects, please create a instance with in the method, don't create globally. This may cause and its work for me. Answer may silly but it works for me.

  • JoeRacoJoeRaco USMember

    Yep same here, happens when I execute a JsonConvert.DeserializeObject.....

  • TommyOvesenTommyOvesen USMember ✭✭

    I have the same issue with tvOS project now. Table view scrolling. Crash in simulator/debug, but not in Release.
    However, I cannot find a setting for SGen GC in the project build settings there...

  • pirati02pirati02 USMember ✭✭

    ObjCRuntime.Runtime.MarshalManagedException += (sender, e) =>
    {
    System.Diagnostics.Debug.WriteLine(e.Exception);
    };
    try this in main method, up to 'UIApplication.Main(args, null, "AppDelegate")' this code and it will log the error

  • DooksDooks ZAMember ✭✭✭
    edited February 2017

    Try extending all your objects and classes with Java.Lang.Object

  • DR_nathouDR_nathou BEMember ✭✭

    Look for circular dependency injection... It happened to me once :p

  • DR_nathouDR_nathou BEMember ✭✭

    F11 and breakpoints are your friend

  • MuhammadhamzaMuhammadhamza USMember ✭✭

    [mono-rt] =================================================================
    [mono-rt] Got a SIGSEGV while executing native code. This usually indicates
    [mono-rt] a fatal error in the mono runtime or one of the native libraries
    [mono-rt] used by your application.
    [mono-rt] =================================================================

    This error occurs due to multiples threads you have created, they access the same memory at same time you need to use some mutex lock.

  • rahultiwari.7141rahultiwari.7141 USMember ✭✭

    IN my case I am playing an audio file in xamarin.ios , but when I lock the phone audio keep play for the next 5 seconds and then stoops, even next audio file cannot be played because the app gets killed, I have already applied background mode for audio.

    no crash report and logs are the same as below

    Native Crash Reporting

    Got a SIGSEGV while executing native code. This usually indicates
    a fatal error in the mono runtime or one of the native libraries

    used by your application.

    =================================================================

    Native stacktrace:

    Thread finished: #6
    Thread finished: #5
    Thread finished: #7
    Thread finished: #4
    Thread started: #10
    Thread finished: #8
    Thread started: #11
    Thread started: #12

Sign In or Register to comment.