Author Topic: [Tips] SOLUTION for A/libc Fatal signal 11 (SIGSEGV) Crash on Intel Atom x86 AVD  (Read 71848 times)

Offline andresjesse

  • byte
  • *
  • Posts: 13
    • View Profile
06-04 09:59:32.355: A/libc(2495): Fatal signal 11 (SIGSEGV) at 0x00002600 (code=1), thread 2508 (Thread-117)

This was a common error when stopping an OpenGL-ES app on Intel x86 AVD (every launch crashes at onStop()). Here's a quick solution (worked fine for JPCT-AE Engine):

- Open AndroidManifest.xml, add android:allowClearUserData="true" tag to the application node.

<application
        android:allowBackup="true"
        android:icon="@drawable/ic_launcher"
        android:label="@string/app_name"
        android:theme="@style/AppTheme"
        android:allowClearUserData="true" >

May be useful for some users.

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 12295
    • View Profile
    • http://www.jpct.net
Good to know. I made this topic sticky.

Offline nnyerges

  • byte
  • *
  • Posts: 18
    • View Profile
Hello. My first post.

I use the suggested tag android:allowClearUserData="true", but every time I close the application on Eclipse "Emulator", still getting Fatal signal 11 (SIGSEGV).

Any other ideas?

Cheers,
Nicolás

EDITED:
1. Same thing for Intel Atom (x86) or ARM (armeabi-v7a).
2. No problem on device


PLEASE HELP!
« Last Edit: September 29, 2014, 07:36:37 pm by nnyerges »

Offline nnyerges

  • byte
  • *
  • Posts: 18
    • View Profile
I just found that calling System.exit(0) on the onStop() method, solves the Fatal signal 11 error on the emulator. Works for me.

Offline angieIe

  • byte
  • *
  • Posts: 29
    • View Profile
hello,
i got error Fatal signal 11, i run the program in android device not in emulator. And i already adding tag android:allowClearUserData="true"
any suggestion?
Thx

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 12295
    • View Profile
    • http://www.jpct.net
On an Intel based device?

Offline angieIe

  • byte
  • *
  • Posts: 29
    • View Profile
hai, sorry for late reply.. i run the program in smartphone LG L90..i dunno if it's Intel based or not..

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 12295
    • View Profile
    • http://www.jpct.net
No, it's not intel based then. To be honest, i've no idea what causes this. Might be a setup or an Android issue. I don't see that this is related to jPCT-AE in any way, so i can do nothing about it.