Wednesday, May 7, 2014

Fatal Signal 11 , LibGDX 1.0 and GenyMotion

I was encountering the issue on simple libgdx programs crashing out on GenyMotion vm with similar messages like


"Fatal signal 11 (SIGSEGV) at 0x97281008 (code=2), thread 2496 (Thread-183)"


which seems to be caused by any drawing calls... isolated each call and still had the same issue. Program will just crash out with signal 11 after a while.

Turns out the quick fix is to have vmSafeMode in AndroidManifest.xml.


    <application
        android:allowBackup="true"
        android:vmSafeMode="True"
        android:icon="@drawable/ic_launcher"
        android:label="@string/app_name"
        android:theme="@style/GdxTheme" >




No comments: