Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Android 4.0.4 Crash with SIGILL #2429

Closed
kamstrup opened this issue Sep 5, 2015 · 4 comments
Closed

Android 4.0.4 Crash with SIGILL #2429

kamstrup opened this issue Sep 5, 2015 · 4 comments

Comments

@kamstrup
Copy link

kamstrup commented Sep 5, 2015

Godot crashes with a mysterious SIGILL on my old Samsung Galaxy 10.1 tablet:

D/GODOT   ( 2858): ** GODOT ACTIVITY CREATED HERE ***
D/OpenGLRenderer(  455): Flushing caches (mode 0)
D/dalvikvm( 2858): Trying to load lib /data/data/org.godotengine.dungeon/lib/libgodot_android.so 0x4134a778
D/dalvikvm(  109): GC_EXPLICIT freed <1K, 13% free 6803K/7747K, paused 2ms+1ms
F/libc    ( 2858): Fatal signal 4 (SIGILL) at 0x5bd7c0d8 (code=1)
I/PowerManagerService(  191): Light Animator Finished curIntValue=150
I/AudioPolicyManager(  111): stopOutput() output 1, stream 1, session 17
I/AudioFlinger(  111): stop output streamType (0, 1) for 1
D/AudioHardware(  111): AudioStreamOutALSA::setParameters() stop_output_streamtype=1
I/DEBUG   ( 2853): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
I/DEBUG   ( 2853): Build fingerprint: 'samsung/GT-P7510/GT-P7510:4.0.4/IMM76D/XWMPE:user/release-keys'
I/DEBUG   ( 2853): pid: 2858, tid: 2858  >>> org.godotengine.dungeon <<<
I/DEBUG   ( 2853): signal 4 (SIGILL), code 1 (ILL_ILLOPC), fault addr 5bd7c0d8
I/DEBUG   ( 2853):  r0 5bd7c0c7  r1 4008c688  r2 5bd7c0c8  r3 5ca15c68
I/DEBUG   ( 2853):  r4 5ca15cd8  r5 0000000a  r6 00000004  r7 0001a71c
I/DEBUG   ( 2853):  r8 b001b868  r9 5ca16000  10 00d0b000  fp 5bd25000
I/DEBUG   ( 2853):  ip ffffff20  sp be8af330  lr b0003a43  pc 5bd7c0d8  cpsr 00000010
I/DEBUG   ( 2853):  d0  402e000000000000  d1  4033000000000000
I/DEBUG   ( 2853):  d2  437e8000000000fe  d3  000000003f000000
I/DEBUG   ( 2853):  d4  000001fd00000000  d5  3fe999999999999a
I/DEBUG   ( 2853):  d6  3fe8000000000000  d7  3f8000003f4ccccd
I/DEBUG   ( 2853):  d8  0000000000000000  d9  0000000000000000
I/DEBUG   ( 2853):  d10 0000000000000000  d11 0000000000000000
I/DEBUG   ( 2853):  d12 0000000000000000  d13 0000000000000000
I/DEBUG   ( 2853):  d14 0000000000000000  d15 0000000000000000
I/DEBUG   ( 2853):  scr 80000010
I/DEBUG   ( 2853): 
I/power   (  191): *** acquire_dvfs_lock : lockType : 1  freq : 1000000 
D/PowerManagerService(  191): releaseDVFSLockLocked : remain DVFS_MIN_LIMIT : next : 1000000
I/DEBUG   ( 2853):          #00  pc 000570d8  /data/data/org.godotengine.dungeon/lib/libgodot_android.so (_GLOBAL__sub_I_main.cpp)
I/DEBUG   ( 2853):          #01  lr b0003a43  /system/bin/linker
I/DEBUG   ( 2853): 
I/DEBUG   ( 2853): code around pc:
I/DEBUG   ( 2853): 5bd7c0b8 000076fc 00007560 00007328 000073b4  .v..`u..(s...s..
I/DEBUG   ( 2853): 5bd7c0c8 e59f3068 e92d00f0 e08f3003 e2834070  h0....-..0..p@..
I/DEBUG   ( 2853): 5bd7c0d8 eddf0b12 eddf1b13 e1a00003 e59f1050  ............P...
I/DEBUG   ( 2853): 5bd7c0e8 e59f2050 f4440a8f e3a0c000 e3a07d0a  P ....D......}..
I/DEBUG   ( 2853): 5bd7c0f8 e3a06e1e e3a05001 e5a0c080 e5837064  .n...P......dp..
I/DEBUG   ( 2853): 
I/DEBUG   ( 2853): code around lr:
I/DEBUG   ( 2853): b0003a20 2301b90a 1e4be004 0483eb00 33fff04f  ...#..K.....O..3
I/DEBUG   ( 2853): b0003a30 460d009e 6822e006 1e5019a4 d8001cc3  ...F.."h..P.....
I/DEBUG   ( 2853): b0003a40 3d014790 dcf62d00 bf00bd70 4c05b510  .G.=.-..p......L
I/DEBUG   ( 2853): b0003a50 447c2001 f00160e0 2300ffb1 f00160e3  . |D.`.....#.`..
I/DEBUG   ( 2853): b0003a60 bd10ffad 00005aa6 4b1ab51f 22004601  .....Z.....K.F."
I/DEBUG   ( 2853): 
I/DEBUG   ( 2853): memory map around addr 5bd7c0d8:
I/DEBUG   ( 2853): 5ba35000-5bd25000 /data/dalvik-cache/data@[email protected]@classes.dex
I/DEBUG   ( 2853): 5bd25000-5c9d6000 /data/data/org.godotengine.dungeon/lib/libgodot_android.so
I/DEBUG   ( 2853): 5c9d6000-5c9d7000 
I/DEBUG   ( 2853): 
I/DEBUG   ( 2853): stack:
I/DEBUG   ( 2853):     be8af2f0  00000004  
I/DEBUG   ( 2853):     be8af2f4  5bd83460  /data/data/org.godotengine.dungeon/lib/libgodot_android.so
I/DEBUG   ( 2853):     be8af2f8  5ca15bfc  /data/data/org.godotengine.dungeon/lib/libgodot_android.so
I/DEBUG   ( 2853):     be8af2fc  40024000  
I/DEBUG   ( 2853):     be8af300  5ca0a000  /data/data/org.godotengine.dungeon/lib/libgodot_android.so
I/DEBUG   ( 2853):     be8af304  4006818b  /system/lib/libc.so
I/DEBUG   ( 2853):     be8af308  4008055c  /system/lib/libc.so
I/DEBUG   ( 2853):     be8af30c  4005b287  /system/lib/libc.so
I/DEBUG   ( 2853):     be8af310  5bd83460  /data/data/org.godotengine.dungeon/lib/libgodot_android.so
I/DEBUG   ( 2853):     be8af314  5ca15bfc  /data/data/org.godotengine.dungeon/lib/libgodot_android.so
I/DEBUG   ( 2853):     be8af318  5ca08fb0  /data/data/org.godotengine.dungeon/lib/libgodot_android.so
I/DEBUG   ( 2853):     be8af31c  0000000b  
I/DEBUG   ( 2853):     be8af320  00000004  
I/DEBUG   ( 2853):     be8af324  0001a71c  
I/DEBUG   ( 2853):     be8af328  df0027ad  
I/DEBUG   ( 2853):     be8af32c  00000000  
I/DEBUG   ( 2853): #00 be8af330  5ca08fb4  /data/data/org.godotengine.dungeon/lib/libgodot_android.so
I/DEBUG   ( 2853):     be8af334  0000000a  
I/DEBUG   ( 2853):     be8af338  00000004  
I/DEBUG   ( 2853):     be8af33c  0001a71c  
I/DEBUG   ( 2853):     be8af340  b000ebf0  
I/DEBUG   ( 2853):     be8af344  5ca090c8  /data/data/org.godotengine.dungeon/lib/libgodot_android.so
I/DEBUG   ( 2853):     be8af348  0000002d  
I/DEBUG   ( 2853):     be8af34c  b0004627  /system/bin/linker
I/DEBUG   ( 2853):     be8af350  00000000  
I/DEBUG   ( 2853):     be8af354  00000000  
I/DEBUG   ( 2853):     be8af358  00d0b71c  
I/DEBUG   ( 2853):     be8af35c  b0003be7  /system/bin/linker
I/DEBUG   ( 2853):     be8af360  b0006cbc  /system/bin/linker
I/DEBUG   ( 2853):     be8af364  b0006bcc  /system/bin/linker
I/DEBUG   ( 2853):     be8af368  00000000  
I/DEBUG   ( 2853):     be8af36c  b000ebf0  
I/DEBUG   ( 2853):     be8af370  b001b99c  
I/DEBUG   ( 2853):     be8af374  0000002d  

@kamstrup
Copy link
Author

kamstrup commented Sep 5, 2015

Looks similar to #2141, but I am unsure if they are the same

@volzhs
Copy link
Contributor

volzhs commented Sep 5, 2015

I guess this is same with #2204

@reduz
Copy link
Member

reduz commented Sep 5, 2015

Not a bug, this device does not support armv7 (likely Tegra 2).If you want to build Godot yourself so it works in this device, you can try doing it with armv6=true but default builds do not support it.

@reduz reduz closed this as completed Sep 5, 2015
@kamstrup
Copy link
Author

kamstrup commented Sep 5, 2015

Ok, I concede that it might not be worthwhile to support such an old device - but please note that this is an armeabi-v7a device. It has the quirk that the cpu does not have Neon extensions, which I guess is what this boils down to. Neon extensions are on 99% of armeabi-v7a devices, but not all :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants