0.10.0 crash on start on Samsung S4 Android 4.2.2

Issue #123 new
Ciro Mondueri created an issue

Hi, after downloading the Play Store version, it crashes on start. Hardware: Samsung S4 Android version: 4.2.2

D/CrashAnrDetector(  776): Build: samsung/jfltecsp/jfltecsp:4.2.2/JDQ39/R970XWWUAMG1:user/release-keys
D/CrashAnrDetector(  776): Hardware: MSM8960
D/CrashAnrDetector(  776): Revision: 11
D/CrashAnrDetector(  776): Bootloader: R970XWWUAMG1
D/CrashAnrDetector(  776): Radio: unknown
D/CrashAnrDetector(  776): Kernel: Linux version 3.4.0-939344 (se.infra@S0210-19) (gcc version 4.6.x-google 20120106 (prerelease) (GCC) ) #1 SMP PREEMPT Sat Jul 13 14:36:56 KST 2013
D/CrashAnrDetector(  776): 
D/CrashAnrDetector(  776): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
D/CrashAnrDetector(  776): Build fingerprint: 'samsung/jfltecsp/jfltecsp:4.2.2/JDQ39/R970XWWUAMG1:user/release-keys'
D/CrashAnrDetector(  776): Revision: '11'
D/CrashAnrDetector(  776): pid: 2627, tid: 2653, name: SDLThread  >>> org.love2d.android <<<
D/CrashAnrDetector(  776): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 00000000
D/CrashAnrDetector(  776):     r0 00000000  r1 00000000  r2 80808080  r3 00000000
D/CrashAnrDetector(  776):     r4 71da8f08  r5 00000000  r6 71da8ee0  r7 00000001
D/CrashAnrDetector(  776):     r8 70f14c78  r9 00000001  sl 00000001  fp 00000001
D/CrashAnrDetector(  776):     ip 4028fe80  sp 74a76758  lr 40285901  pc 4016a948  cpsr 60000010
D/CrashAnrDetector(  776):     d0  4406e000c4700000  d1  0000000100000001
D/CrashAnrDetector(  776):     d2  00000002bf000000  d3  3fcccccd40066666
D/CrashAnrDetector(  776):     d4  0000000541000000  d5  0000000000000000
D/CrashAnrDetector(  776):     d6  4406e00044070000  d7  c4700000446fe000
D/CrashAnrDetector(  776):     d8  0000000000000000  d9  0000000000000000
D/CrashAnrDetector(  776):     d10 0000000000000000  d11 0000000000000000
D/CrashAnrDetector(  776):     d12 0000000000000000  d13 0000000000000000
D/CrashAnrDetector(  776):     d14 0000000000000000  d15 0000000000000000
D/CrashAnrDetector(  776):     d16 0000043800000000  d17 0000078000000000
D/CrashAnrDetector(  776):     d18 3a7070632e72656b  d19 2f22203a29303938
D/CrashAnrDetector(  776):     d20 6c2f6d6574737973  d21 6c2f6c67652f6269
D/CrashAnrDetector(  776):     d22 6f6f746433716269  d23 6e657264615f736c
D/CrashAnrDetector(  776):     d24 3fede16b9c24a98f  d25 3fe55559ee5e69f9
D/CrashAnrDetector(  776):     d26 0000000000000000  d27 0000000000000000
D/CrashAnrDetector(  776):     d28 0000000000000000  d29 0000000000000000
D/CrashAnrDetector(  776):     d30 0000000000000000  d31 0000000000000000
D/CrashAnrDetector(  776):     scr 80000013
D/CrashAnrDetector(  776): 
D/CrashAnrDetector(  776): backtrace:
D/CrashAnrDetector(  776):     #00  pc 00019948  /system/lib/libc.so (strlen+72)
D/CrashAnrDetector(  776):     #01  pc 0000f8fd  /system/lib/libutils.so (android::String8::setTo(char const*)+8)
D/CrashAnrDetector(  776):     #02  pc 0000c943  /system/lib/libEGL.so
D/CrashAnrDetector(  776):     #03  pc 0000c613  /system/lib/libEGL.so (android::egl_display_t::makeCurrent(android::egl_context_t*, android::egl_context_t*, void*, void*, void*, void*, void*, void*)+106)
D/CrashAnrDetector(  776):     #04  pc 0000e90f  /system/lib/libEGL.so (eglMakeCurrent+234)
D/CrashAnrDetector(  776):     #05  pc 0023afbd  /data/app-lib/org.love2d.android-1/liblove.so (SDL_EGL_MakeCurrent+36)
D/CrashAnrDetector(  776):     #06  pc 0023b11f  /data/app-lib/org.love2d.android-1/liblove.so (SDL_EGL_CreateContext+190)
D/CrashAnrDetector(  776):     #07  pc 0024390d  /data/app-lib/org.love2d.android-1/liblove.so (SDL_GL_CreateContext_REAL+68)
D/CrashAnrDetector(  776):     #08  pc 002288b7  /data/app-lib/org.love2d.android-1/liblove.so (SDL_GL_CreateContext+10)
D/CrashAnrDetector(  776):     #09  pc 0011dc9b  /data/app-lib/org.love2d.android-1/liblove.so
D/CrashAnrDetector(  776): 
D/CrashAnrDetector(  776): stack:
D/CrashAnrDetector(  776):          74a76718  00000001  
D/CrashAnrDetector(  776):          74a7671c  71d97024  /system/lib/egl/libEGL_adreno200.so
D/CrashAnrDetector(  776):          74a76720  00000000  
D/CrashAnrDetector(  776):          74a76724  70f15a70  
D/CrashAnrDetector(  776):          74a76728  00000008  
D/CrashAnrDetector(  776):          74a7672c  00000000  
D/CrashAnrDetector(  776):          74a76730  00000000  
D/CrashAnrDetector(  776):          74a76734  00000000  
D/CrashAnrDetector(  776):          74a76738  00000000  
D/CrashAnrDetector(  776):          74a7673c  00000000  
D/CrashAnrDetector(  776):          74a76740  00000001  
D/CrashAnrDetector(  776):          74a76744  00000004  
D/CrashAnrDetector(  776):          74a76748  00001f03  
D/CrashAnrDetector(  776):          74a7674c  71fdd3cc  /system/lib/egl/libGLESv1_CM_adreno200.so
D/CrashAnrDetector(  776):          74a76750  df0027ad  
D/CrashAnrDetector(  776):          74a76754  00000000  
D/CrashAnrDetector(  776):     #00  74a76758  40655cb0  
D/CrashAnrDetector(  776):          ........  ........
D/CrashAnrDetector(  776):     #01  74a76758  40655cb0  
D/CrashAnrDetector(  776):          74a7675c  71da8f08  
D/CrashAnrDetector(  776):          74a76760  406546a8  /system/lib/libEGL.so
D/CrashAnrDetector(  776):          74a76764  4061e947  /system/lib/libEGL.so
D/CrashAnrDetector(  776):     #02  74a76768  71da8ee0  
D/CrashAnrDetector(  776):          74a7676c  70f14c78  
D/CrashAnrDetector(  776):          74a76770  00000000  
D/CrashAnrDetector(  776):          74a76774  4061e617  /system/lib/libEGL.so (android::egl_display_t::makeCurrent(android::egl_context_t*, android::egl_context_t*, void*, void*, void*, void*, void*, void*)+110)
D/CrashAnrDetector(  776):     #03  74a76778  00000000  
D/CrashAnrDetector(  776):          74a7677c  00000000  
D/CrashAnrDetector(  776):          74a76780  00000000  
D/CrashAnrDetector(  776):          74a76784  406546cc  /system/lib/libEGL.so
D/CrashAnrDetector(  776):          74a76788  406546a8  /system/lib/libEGL.so
D/CrashAnrDetector(  776):          74a7678c  71da8ee0  
D/CrashAnrDetector(  776):          74a76790  70f14c78  
D/CrashAnrDetector(  776):          74a76794  71da8ee0  
D/CrashAnrDetector(  776):          74a76798  71da8ee0  
D/CrashAnrDetector(  776):          74a7679c  00000001  
D/CrashAnrDetector(  776):          74a767a0  70f14c78  
D/CrashAnrDetector(  776):          74a767a4  00000001  
D/CrashAnrDetector(  776):          74a767a8  61263bc8  
D/CrashAnrDetector(  776):          74a767ac  40620913  /system/lib/libEGL.so (eglMakeCurrent+238)

Comments (5)

  1. Alex Szpakowski

    Crashing inside eglMakeCurrent seems like a pretty nasty issue. Do other non-LÖVE games run fine for you?

  2. Ciro Mondueri reporter

    It's because of the OpenGL ES 3.0 profile test. It crashes the driver somehow. I'm submitting a patch to add a build flag (LOVE_GRAPHICS_REMOVE_OPENGLS3) that enables the removeES3 flag in Window.cpp

  3. Ciro Mondueri reporter

    On Sat, Dec 08, 2018 at 08:33:13AM +0000, Martin Felis wrote:

    It is until 0.10.2. I have not tested 11.

    -- Ciro Mondueri

  4. Log in to comment