www.jpct.net

jPCT-AE - a 3d engine for Android => Support => Topic started by: andresjesse on June 04, 2014, 04:16:08 pm

Title: [Tips] SOLUTION for A/libc Fatal signal 11 (SIGSEGV) Crash on Intel Atom x86 AVD
Post by: andresjesse on June 04, 2014, 04:16:08 pm
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.
Title: Re: [Tips] SOLUTION for A/libc Fatal signal 11 (SIGSEGV) Crash on Intel Atom x86 AVD
Post by: EgonOlsen on June 04, 2014, 08:39:50 pm
Good to know. I made this topic sticky.
Title: Re: [Tips] SOLUTION for A/libc Fatal signal 11 (SIGSEGV) Crash on Intel Atom x86 AVD
Post by: nnyerges on September 28, 2014, 01:14:08 am
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!
Title: Re: [Tips] SOLUTION for A/libc Fatal signal 11 (SIGSEGV) Crash on Intel Atom x86 AVD
Post by: nnyerges on September 29, 2014, 07:59:17 pm
I just found that calling System.exit(0) on the onStop() method, solves the Fatal signal 11 error  on the emulator. Works for me.
Title: Re: [Tips] SOLUTION for A/libc Fatal signal 11 (SIGSEGV) Crash on Intel Atom x86 AVD
Post by: angieIe on October 24, 2014, 10:20:33 am
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
Title: Re: [Tips] SOLUTION for A/libc Fatal signal 11 (SIGSEGV) Crash on Intel Atom x86 AVD
Post by: EgonOlsen on October 24, 2014, 02:16:42 pm
On an Intel based device?
Title: Re: [Tips] SOLUTION for A/libc Fatal signal 11 (SIGSEGV) Crash on Intel Atom x86 AVD
Post by: angieIe on October 27, 2014, 02:51:12 am
hai, sorry for late reply.. i run the program in smartphone LG L90..i dunno if it's Intel based or not..
Title: Re: [Tips] SOLUTION for A/libc Fatal signal 11 (SIGSEGV) Crash on Intel Atom x86 AVD
Post by: EgonOlsen on November 03, 2014, 09:00:10 pm
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.