User Tag List

Results 1 to 7 of 7

Thread: Android App Crashes Instantly on OpenGL ES 2.0

  1. #1
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Oct 2016
    Posts
    12
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Android App Crashes Instantly on OpenGL ES 2.0

    Hello

    New CTF2.5 user here with a bit of a problem.

    I have been working on an app that really is nothing more than a simple form based question/answer notepad thing, with the exception of using text blitter events as described by Chris Burrows over at the diybandits.com.au website.

    The app seems to build fine with no reported errors, but crashes as soon as the AVD emulator loads it. The app is set to OpenGL ES 2.0 currently, but if I set it to ES 1.1, it will open and work... For a while. If I leave it idle for 10 minutes or so, I get the crash.

    I've tried a multitude of different ways of building it with pretty much the same type of results; either an instant crash or a delayed one. I've also worked to read around the subject to try and understand what is going on, but I cannot see what I am doing wrong.

    So I turn to the CTF deities to help!

    JavaSDK - 1.8.0_111 32bit
    Build API - 24
    Minimum Android - 2.3
    Target Android - 4.4
    Require GPU - Yes
    OpenGL ES - 2.0 (1.1 crashes too, just after some random period of time.)
    Permissions - WRITE_MEDIA_STORAGE

    AVD - Emulating a Nexus 4 on Atom x86 with Hardware Acceleration
    AVD API Level - 19
    AVD RAM - 2048Mb with 64Mb VM Heap and Use Host GPU enabled


    Output from ddms as follows:



    11-08 09:39:35.902: I/ActivityManager(1539): START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.smashnlp.cutuoh/.Main} from pid 1668
    11-08 09:39:35.902: D/dalvikvm(1539): GC_FOR_ALLOC freed 840K, 21% free 9107K/11396K, paused 9ms, total 9ms
    11-08 09:39:35.922: D/dalvikvm(2436): Not late-enabling CheckJNI (already on)
    11-08 09:39:35.942: I/ActivityManager(1539): Start proc com.smashnlp.cutuoh for activity com.smashnlp.cutuoh/.Main: pid=2436 uid=10056 gids={50056, 3003}
    11-08 09:39:35.962: I/MMFRuntime(2436): onCreate, runtime version: Fusion 285.1
    11-08 09:39:35.962: I/MMFRuntime(2436): Obb Expansion Pack available?, no
    11-08 09:39:35.972: I/MMFRuntime(2436): MMFRuntime/OUYA: false
    11-08 09:39:35.972: I/MMFRuntime(2436): appVersion: 1.0
    11-08 09:39:35.972: D/dalvikvm(2436): Trying to load lib /data/app-lib/com.smashnlp.cutuoh-1/libRuntimeNative.so 0xa506f6d0
    11-08 09:39:35.972: D/dalvikvm(2436): Added shared lib /data/app-lib/com.smashnlp.cutuoh-1/libRuntimeNative.so 0xa506f6d0
    11-08 09:39:35.972: D/dalvikvm(2436): No JNI_OnLoad found in /data/app-lib/com.smashnlp.cutuoh-1/libRuntimeNative.so 0xa506f6d0, skipping init
    11-08 09:39:35.972: D/dalvikvm(2436): Trying to load lib /data/app-lib/com.smashnlp.cutuoh-1/libgdx.so 0xa506f6d0
    11-08 09:39:35.972: D/dalvikvm(2436): Added shared lib /data/app-lib/com.smashnlp.cutuoh-1/libgdx.so 0xa506f6d0
    11-08 09:39:35.972: D/dalvikvm(2436): No JNI_OnLoad found in /data/app-lib/com.smashnlp.cutuoh-1/libgdx.so 0xa506f6d0, skipping init
    11-08 09:39:35.972: I/MMFRuntimeNative(2436): thisApp: com/smashnlp/cutuoh
    11-08 09:39:35.972: I/MMFRuntime(2436): ABI is x86
    11-08 09:39:36.062: I/MMFRuntime(2436): CRunApp/load
    11-08 09:39:36.062: I/MMFRuntime(2436): getResourceID for raw/application, package com.smashnlp.cutuoh: 2130968576
    11-08 09:39:36.062: I/MMFRuntimeNative(2436): CFile::mmap => Length: 155998, fd 42
    11-08 09:39:36.062: I/MMFRuntimeNative(2436): Success
    11-08 09:39:36.062: I/MMFRuntime(2436): Got CHUNK_APPHEADER
    11-08 09:39:36.062: I/MMFRuntime(2436): Created extension: KcArray
    11-08 09:39:36.062: I/MMFRuntime(2436): Created extension: kcedit
    11-08 09:39:36.062: I/MMFRuntime(2436): Created extension: KcButton
    11-08 09:39:36.062: I/MMFRuntime(2436): Created extension: Android
    11-08 09:39:36.062: I/MMFRuntime(2436): Created extension: AndroidDialog
    11-08 09:39:36.072: I/MMFRuntime(2436): nHandlesReel: 0
    11-08 09:39:36.072: I/MMFRuntime(2436): numberOfSounds: 0
    11-08 09:39:36.072: I/MMFRuntime(2436): Updating window dimensions to 320x480 (scaled 1.0, 1.0)
    11-08 09:39:36.082: I/MMFRuntime(2436): CRunApp/addTouchAware
    11-08 09:39:36.082: I/MMFRuntime(2436): Adding touch aware: Application.CRunApp
    11-08 09:39:36.112: I/MMFRuntime(2436): onStart
    11-08 09:39:36.112: I/MMFRuntime(2436): onResume
    11-08 09:39:36.132: W/ResourceType(2436): No package identifier when getting name for resource number 0x00000001
    11-08 09:39:36.132: I/MMFRuntime(2436): --- onMeasure for Runtime.MainView{a508f9d0 V.E..... ......I. 0,0-0,0 #1} (currentWidth 0, currentHeight 0)
    11-08 09:39:36.132: W/ResourceType(2436): No package identifier when getting name for resource number 0x00000001
    11-08 09:39:36.132: I/MMFRuntime(2436): --- onMeasure for Runtime.MainView{a508f9d0 V.E..... ......I. 0,0-0,0 #1} (currentWidth 0, currentHeight 0)
    11-08 09:39:36.152: D/(2436): HostConnection::get() New Host Connection established 0xb7a201a0, tid 2436
    11-08 09:39:36.192: D/OpenGLRenderer(2436): Enabling debug mode 0
    11-08 09:39:36.202: I/MMFRuntime(2436): onSizeChanged (w 768, h 1038, old values: currentWidth 0, currentHeight 0)
    11-08 09:39:36.202: I/MMFRuntime(2436): Thread Thread[main,5,main] updating viewport
    11-08 09:39:36.202: I/MMFRuntime(2436): Android.MMFRuntime updating viewport - width 768, height 1038
    11-08 09:39:36.202: I/MMFRuntime(2436): Updating window dimensions to 320x432 (scaled 2.4, 2.4)
    11-08 09:39:36.202: I/MMFRuntime(2436): uV: initialUpdateDone false, GLRenderer is null
    11-08 09:39:36.202: I/MMFRuntime(2436): Pixel Format from display: 1
    11-08 09:39:36.212: I/MMFRuntime(2436): hasType: latest
    11-08 09:39:36.212: I/MMFRuntime(2436): OpenGL2 version 2.0
    11-08 09:39:36.212: I/MMFRuntime(2436): OpenGL2.0: yes
    11-08 09:39:36.212: I/MMFRuntime(2436): Can't make current
    11-08 09:39:36.212: I/MMFRuntime(2436): Thread Thread[main,5,main] updating viewport
    11-08 09:39:36.212: I/MMFRuntime(2436): Android.MMFRuntime updating viewport - width 768, height 1038
    11-08 09:39:36.212: I/MMFRuntime(2436): Updating window dimensions to 320x432 (scaled 2.4, 2.4)
    11-08 09:39:36.212: I/MMFRuntime(2436): uV: initialUpdateDone true, GLRenderer is null
    11-08 09:39:36.222: D/dalvikvm(2436): GC_FOR_ALLOC freed 240K, 11% free 3084K/3436K, paused 4ms, total 4ms
    11-08 09:39:36.222: W/ResourceType(2436): No package identifier when getting name for resource number 0x00000001
    11-08 09:39:36.222: I/MMFRuntime(2436): --- onMeasure for Runtime.MainView{a508f9d0 V.E..... ......ID 0,0-768,1038 #1} (currentWidth 768, currentHeight 1038)
    11-08 09:39:36.222: W/ResourceType(2436): No package identifier when getting name for resource number 0x00000001
    11-08 09:39:36.222: I/MMFRuntime(2436): --- onMeasure for Runtime.MainView{a508f9d0 V.E..... ......ID 0,0-768,1038 #1} (currentWidth 768, currentHeight 1038)
    11-08 09:39:36.262: I/MMFRuntime(2436): Thread Thread[main,5,main] creating surface w/ holder android.view.SurfaceView$4@a50d8488
    11-08 09:39:36.262: I/MMFRuntime(2436): Got eglDisplay : com.google.android.gles_jni.EGLDisplayImpl@1
    11-08 09:39:36.262: I/MMFRuntime(2436): eglInitialize called
    11-08 09:39:36.272: I/MMFRuntime(2436): No config chosen
    11-08 09:39:36.272: I/MMFRuntime(2436): Choose Secondary Context ...
    11-08 09:39:36.272: I/MMFRuntime(2436): EGLConfigChooser Chosen EGLConfig:
    11-08 09:39:36.272: I/MMFRuntime(2436): conf = com.google.android.gles_jni.EGLConfigImpl@a506f650
    11-08 09:39:36.272: I/MMFRuntime(2436): EGL_RED_SIZE = 8
    11-08 09:39:36.272: I/MMFRuntime(2436): EGL_BLUE_SIZE = 8
    11-08 09:39:36.272: I/MMFRuntime(2436): EGL_GREEN_SIZE = 8
    11-08 09:39:36.272: I/MMFRuntime(2436): EGL_ALPHA_SIZE = 8
    11-08 09:39:36.272: I/MMFRuntime(2436): EGL_DEPTH_SIZE = 24
    11-08 09:39:36.272: E/EGL_emulation(2436): [getAttribValue] Bad attribute idx
    11-08 09:39:36.272: E/EGL_emulation(2436): tid 2436: eglGetConfigAttrib(613): error 0x3004 (EGL_BAD_ATTRIBUTE)
    11-08 09:39:36.272: I/MMFRuntime(2436): EGL_ALPHA_FORMAT = 24
    11-08 09:39:36.272: I/MMFRuntime(2436): EGL_ALPHA_MASK_SIZE = 0
    11-08 09:39:36.272: I/MMFRuntime(2436): Got eglConfig : com.google.android.gles_jni.EGLConfigImpl@a506f650
    11-08 09:39:36.282: I/MMFRuntime(2436): Result from Context : EGL_SUCCESS
    11-08 09:39:36.282: I/MMFRuntime(2436): hasUiContext: true
    11-08 09:39:36.312: I/MMFRuntime(2436): Max texture size = 16384
    11-08 09:39:36.312: D/dalvikvm(2436): Trying to load lib /data/app-lib/com.smashnlp.cutuoh-1/libES2Renderer.so 0xa506f6d0
    11-08 09:39:36.312: D/dalvikvm(2436): Added shared lib /data/app-lib/com.smashnlp.cutuoh-1/libES2Renderer.so 0xa506f6d0
    11-08 09:39:36.312: D/dalvikvm(2436): No JNI_OnLoad found in /data/app-lib/com.smashnlp.cutuoh-1/libES2Renderer.so 0xa506f6d0, skipping init
    11-08 09:39:36.312: I/MMFRuntime(2436): getResourceID for raw/basic_frag, package com.smashnlp.cutuoh: 2130968577
    11-08 09:39:36.312: I/MMFRuntime(2436): getResourceID for raw/basic_vert, package com.smashnlp.cutuoh: 2130968578
    11-08 09:39:36.322: I/MMFRuntimeNative(2436): compileShader: Everything seemed to work!
    11-08 09:39:36.322: I/MMFRuntimeNative(2436): Shader 0xb79e2580 : Uniform texture is at location 1
    11-08 09:39:36.322: I/MMFRuntimeNative(2436): Shader 0xb79e2580 : Uniform projectionMatrix is at location 0
    11-08 09:39:36.322: I/MMFRuntime(2436): getResourceID for raw/default_frag, package com.smashnlp.cutuoh: 2130968581
    11-08 09:39:36.322: I/MMFRuntime(2436): getResourceID for raw/default_vert, package com.smashnlp.cutuoh: 2130968582
    11-08 09:39:36.322: I/MMFRuntimeNative(2436): compileShader: Everything seemed to work!
    11-08 09:39:36.322: I/MMFRuntimeNative(2436): Shader 0xb7b18ba0 : Uniform projectionMatrix is at location 0
    11-08 09:39:36.322: I/MMFRuntimeNative(2436): Shader 0xb7b18ba0 : Uniform inkEffect is at location 4
    11-08 09:39:36.322: I/MMFRuntimeNative(2436): Shader 0xb7b18ba0 : Uniform inkParam is at location 3
    11-08 09:39:36.322: I/MMFRuntimeNative(2436): Shader 0xb7b18ba0 : Uniform rgbCoeff is at location 2
    11-08 09:39:36.322: I/MMFRuntime(2436): getResourceID for raw/gradient_frag, package com.smashnlp.cutuoh: 2130968585
    11-08 09:39:36.322: I/MMFRuntime(2436): getResourceID for raw/gradient_vert, package com.smashnlp.cutuoh: 2130968586
    11-08 09:39:36.332: I/MMFRuntimeNative(2436): compileShader: Everything seemed to work!
    11-08 09:39:36.332: I/MMFRuntimeNative(2436): Shader 0xb7b1adc0 : Uniform projectionMatrix is at location 0
    11-08 09:39:36.332: I/MMFRuntimeNative(2436): Shader 0xb7b1adc0 : Uniform inkEffect is at location 3
    11-08 09:39:36.332: I/MMFRuntimeNative(2436): Shader 0xb7b1adc0 : Uniform inkParam is at location 2
    11-08 09:39:36.332: I/MMFRuntimeNative(2436): Shader 0xb7b1adc0 : Uniform rgbCoeff is at location 1
    11-08 09:39:36.332: I/MMFRuntime(2436): getResourceID for raw/default_ellipse_frag, package com.smashnlp.cutuoh: 2130968579
    11-08 09:39:36.332: I/MMFRuntime(2436): getResourceID for raw/default_ellipse_vert, package com.smashnlp.cutuoh: 2130968580
    11-08 09:39:36.342: I/MMFRuntimeNative(2436): compileShader: Everything seemed to work!
    11-08 09:39:36.342: I/MMFRuntimeNative(2436): Shader 0xb7b1b510 : Uniform texture is at location 1
    11-08 09:39:36.342: I/MMFRuntimeNative(2436): Shader 0xb7b1b510 : Uniform projectionMatrix is at location 0
    11-08 09:39:36.342: I/MMFRuntimeNative(2436): Shader 0xb7b1b510 : Uniform inkEffect is at location 4
    11-08 09:39:36.342: I/MMFRuntimeNative(2436): Shader 0xb7b1b510 : Uniform inkParam is at location 3
    11-08 09:39:36.342: I/MMFRuntimeNative(2436): Shader 0xb7b1b510 : Uniform centerpos is at location 5
    11-08 09:39:36.342: I/MMFRuntimeNative(2436): Shader 0xb7b1b510 : Uniform radius is at location 6
    11-08 09:39:36.342: I/MMFRuntimeNative(2436): Shader 0xb7b1b510 : Uniform rgbCoeff is at location 2
    11-08 09:39:36.342: I/MMFRuntime(2436): getResourceID for raw/gradient_ellipse_frag, package com.smashnlp.cutuoh: 2130968583
    11-08 09:39:36.342: I/MMFRuntime(2436): getResourceID for raw/gradient_ellipse_vert, package com.smashnlp.cutuoh: 2130968584
    11-08 09:39:36.352: I/MMFRuntimeNative(2436): compileShader: Everything seemed to work!
    11-08 09:39:36.352: I/MMFRuntimeNative(2436): Shader 0xb7b1c520 : Uniform projectionMatrix is at location 0
    11-08 09:39:36.352: I/MMFRuntimeNative(2436): Shader 0xb7b1c520 : Uniform inkEffect is at location 3
    11-08 09:39:36.352: I/MMFRuntimeNative(2436): Shader 0xb7b1c520 : Uniform inkParam is at location 2
    11-08 09:39:36.352: I/MMFRuntimeNative(2436): Shader 0xb7b1c520 : Uniform centerpos is at location 4
    11-08 09:39:36.352: I/MMFRuntimeNative(2436): Shader 0xb7b1c520 : Uniform radius is at location 5
    11-08 09:39:36.352: I/MMFRuntimeNative(2436): Shader 0xb7b1c520 : Uniform rgbCoeff is at location 1
    11-08 09:39:36.352: I/MMFRuntime(2436): ES2Renderer/onSurfaceCreated
    11-08 09:39:36.352: I/MMFRuntime(2436): GL version: OpenGL ES 2.0 (4.3.0 - Build 10.18.14.4264)
    11-08 09:39:36.352: I/MMFRuntime(2436): ES2Renderer : Started - GPU Android Emulator OpenGL ES Translator (Intel(R) HD Graphics 4600), vendor Google (Intel)
    11-08 09:39:36.352: I/MMFRuntime(2436): setFrameRate to 60
    11-08 09:39:36.352: I/MMFRuntime(2436): Surface Changed
    11-08 09:39:36.412: I/ActivityManager(1539): Displayed com.smashnlp.cutuoh/.Main: +493ms
    11-08 09:39:36.442: I/MMFRuntime(2436): startTheFrame() called
    11-08 09:39:36.442: I/MMFRuntime(2436): Starting new frame
    11-08 09:39:36.442: I/MMFRuntime(2436): Thread Thread[main,5,main] updating viewport
    11-08 09:39:36.442: I/MMFRuntime(2436): Android.MMFRuntime updating viewport - width 768, height 1038
    11-08 09:39:36.442: I/MMFRuntime(2436): Updating window dimensions to 320x432 (scaled 2.4, 2.4)
    11-08 09:39:36.442: I/MMFRuntime(2436): uV: initialUpdateDone true, GLRenderer is OpenGL.ES2Renderer@a509e140
    11-08 09:39:36.442: I/MMFRuntime(2436): Setting renderer limits...
    11-08 09:39:36.442: I/MMFRuntime(2436): Created extension: KcArray
    11-08 09:39:36.442: I/MMFRuntime(2436): Created extension: kcedit
    11-08 09:39:36.452: D/dalvikvm(2436): GC_FOR_ALLOC freed 149K, 8% free 3436K/3700K, paused 4ms, total 4ms
    11-08 09:39:36.452: I/MMFRuntime(2436): Created extension: KcArray
    11-08 09:39:36.462: I/MMFRuntime(2436): iPhoneOptions are 0
    11-08 09:39:36.472: D/dalvikvm(2436): GC_EXPLICIT freed 49K, 8% free 3562K/3852K, paused 1ms+1ms, total 10ms
    11-08 09:39:36.472: I/MMFRuntime(2436): startTheFrame() called
    11-08 09:39:36.472: W/ResourceType(2436): No package identifier when getting name for resource number 0x00000001
    11-08 09:39:36.472: I/MMFRuntime(2436): --- onMeasure for Runtime.MainView{a508f9d0 V.E..... ......ID 0,0-768,1038 #1} (currentWidth 768, currentHeight 1038)
    11-08 09:39:36.472: W/ResourceType(2436): No package identifier when getting name for resource number 0x00000001
    11-08 09:39:36.472: I/MMFRuntime(2436): --- onMeasure for Runtime.MainView{a508f9d0 V.E..... ......ID 0,0-768,1038 #1} (currentWidth 768, currentHeight 1038)
    11-08 09:39:38.642: A/libc(2436): Fatal signal 11 (SIGSEGV) at 0x00000000 (code=128), thread 2436 (smashnlp.cutuoh)
    11-08 09:39:38.742: I/DEBUG(1122): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
    11-08 09:39:38.742: I/DEBUG(1122): Build fingerprint: 'generic_x86/sdk_x86/generic_x86:4.4.2/KK/2872501:eng/test-keys'
    11-08 09:39:38.742: I/DEBUG(1122): Revision: '0'
    11-08 09:39:38.742: I/DEBUG(1122): pid: 2436, tid: 2436, name: smashnlp.cutuoh >>> com.smashnlp.cutuoh <<<
    11-08 09:39:38.742: I/DEBUG(1122): signal 11 (SIGSEGV), code 128 (SI_KERNEL), fault addr 00000000
    11-08 09:39:38.872: I/DEBUG(1122): eax 000000de ebx 96513eb8 ecx b79e2580 edx b7b94800
    11-08 09:39:38.872: I/DEBUG(1122): esi b7b19dd0 edi 000000d0
    11-08 09:39:38.872: I/DEBUG(1122): xcs 00000073 xds 0000007b xes 0000007b xfs 00000000 xss 0000007b
    11-08 09:39:38.872: I/DEBUG(1122): eip 965077a9 ebp 00000007 esp bf98904c flags 00210246
    11-08 09:39:38.872: I/DEBUG(1122): backtrace:
    11-08 09:39:38.872: I/DEBUG(1122): #00 pc 000057a9 /data/app-lib/com.smashnlp.cutuoh-1/libES2Renderer.so (Java_OpenGL_ES2Renderer_renderImage+953)
    11-08 09:39:38.872: I/DEBUG(1122): #01 pc 000065ff /data/app-lib/com.smashnlp.cutuoh-1/libES2Renderer.so (Java_OpenGL_ES2Renderer_renderScaledRotatedImage2 +1375)
    11-08 09:39:38.872: I/DEBUG(1122): #02 pc 0002a0eb /system/lib/libdvm.so (dvmPlatformInvoke+79)
    11-08 09:39:38.872: I/DEBUG(1122): #03 pc 00006d9f [heap]
    11-08 09:39:38.872: I/DEBUG(1122): #04 pc 0008689d /system/lib/libdvm.so (dvmCallJNIMethod(unsigned int const*, JValue*, Method const*, Thread*)+285)
    11-08 09:39:38.872: I/DEBUG(1122): #05 pc 0004c0e2 /system/lib/libdvm.so (dvmCheckCallJNIMethod(unsigned int const*, JValue*, Method const*, Thread*)+66)
    11-08 09:39:38.872: I/DEBUG(1122): #06 pc 000001fd /dev/ashmem/dalvik-jit-code-cache (deleted)
    11-08 09:39:38.872: I/DEBUG(1122): #07 pc 0003b592 /system/lib/libdvm.so (dvmMterpStd(Thread*)+66)
    11-08 09:39:38.872: I/DEBUG(1122): #08 pc 00036c59 /system/lib/libdvm.so (dvmInterpret(Thread*, Method const*, JValue*)+217)
    11-08 09:39:38.872: I/DEBUG(1122): #09 pc 000bbd56 /system/lib/libdvm.so (dvmInvokeMethod(Object*, Method const*, ArrayObject*, ArrayObject*, ClassObject*, bool)+1750)
    11-08 09:39:38.872: I/DEBUG(1122): #10 pc 000d15d0 /system/lib/libdvm.so (Dalvik_java_lang_reflect_Method_invokeNative(unsi gned int const*, JValue*)+288)
    11-08 09:39:38.872: I/DEBUG(1122): #11 pc 00176a78 /system/lib/libdvm.so
    11-08 09:39:38.872: I/DEBUG(1122): #12 pc 00005eff <unknown>
    11-08 09:39:38.872: I/DEBUG(1122): #13 pc 0003b592 /system/lib/libdvm.so (dvmMterpStd(Thread*)+66)
    11-08 09:39:38.872: I/DEBUG(1122): #14 pc 00036c59 /system/lib/libdvm.so (dvmInterpret(Thread*, Method const*, JValue*)+217)
    11-08 09:39:38.872: I/DEBUG(1122): #15 pc 000bcbb7 /system/lib/libdvm.so (dvmCallMethodV(Thread*, Method const*, Object*, bool, JValue*, char*)+759)
    11-08 09:39:38.872: I/DEBUG(1122): #16 pc 0007804d /system/lib/libdvm.so (CallStaticVoidMethodV(_JNIEnv*, _jclass*, _jmethodID*, char*)+109)
    11-08 09:39:38.872: I/DEBUG(1122): #17 pc 000541ad /system/lib/libdvm.so (Check_CallStaticVoidMethodV(_JNIEnv*, _jclass*, _jmethodID*, char*)+317)
    11-08 09:39:38.872: I/DEBUG(1122): #18 pc 0005ee4a /system/lib/libandroid_runtime.so (_JNIEnv::CallStaticVoidMethod(_jclass*, _jmethodID*, ...)+42)
    11-08 09:39:38.872: I/DEBUG(1122): #19 pc 000605e4 /system/lib/libandroid_runtime.so (android::AndroidRuntime::start(char const*, char const*)+884)
    11-08 09:39:38.872: I/DEBUG(1122): #20 pc 00001017 /system/bin/app_process (main+567)
    11-08 09:39:38.872: I/DEBUG(1122): #21 pc 0000d52c /system/lib/libc.so (__libc_init+108)
    11-08 09:39:38.872: I/DEBUG(1122): #22 pc 00000a91 /system/bin/app_process (_start+97)
    11-08 09:39:38.872: I/DEBUG(1122): stack:
    11-08 09:39:38.872: I/DEBUG(1122): bf98900c b799dda0 [heap]
    11-08 09:39:38.872: I/DEBUG(1122): bf989010 07c00019
    11-08 09:39:38.872: I/DEBUG(1122): bf989014 b799dda0 [heap]
    11-08 09:39:38.872: I/DEBUG(1122): bf989018 b799dda0 [heap]
    11-08 09:39:38.872: I/DEBUG(1122): bf98901c b4f01a70 /system/lib/libdvm.so (Check_GetLongField(_JNIEnv*, _jobject*, _jfieldID*)::__FUNCTION__+6)
    11-08 09:39:38.872: I/DEBUG(1122): bf989020 00000000
    11-08 09:39:38.872: I/DEBUG(1122): bf989024 9e17eb01 /dev/ashmem/dalvik-LinearAlloc (deleted)
    11-08 09:39:38.872: I/DEBUG(1122): bf989028 00000000
    11-08 09:39:38.872: I/DEBUG(1122): bf98902c b7b94800 [heap]
    11-08 09:39:38.872: I/DEBUG(1122): bf989030 ffffffff
    11-08 09:39:38.872: I/DEBUG(1122): bf989034 9650ae8b /data/app-lib/com.smashnlp.cutuoh-1/libES2Renderer.so (CImage::texture()+11)
    11-08 09:39:38.872: I/DEBUG(1122): bf989038 96505a68 /data/app-lib/com.smashnlp.cutuoh-1/libES2Renderer.so (CShader::setInkEffect(int, float)+8)
    11-08 09:39:38.872: I/DEBUG(1122): bf98903c 96513eb8 /data/app-lib/com.smashnlp.cutuoh-1/libES2Renderer.so
    11-08 09:39:38.872: I/DEBUG(1122): bf989040 b7b19dd0 [heap]
    11-08 09:39:38.872: I/DEBUG(1122): bf989044 000000d0
    11-08 09:39:38.872: I/DEBUG(1122): bf989048 9650772a /data/app-lib/com.smashnlp.cutuoh-1/libES2Renderer.so (Java_OpenGL_ES2Renderer_renderImage+826)
    11-08 09:39:38.872: I/DEBUG(1122): #00 bf98904c b79e2580 [heap]
    11-08 09:39:38.872: I/DEBUG(1122): bf989050 00000007
    11-08 09:39:38.872: I/DEBUG(1122): bf989054 3f800000
    11-08 09:39:38.872: I/DEBUG(1122): bf989058 8b8ea9e8
    11-08 09:39:38.872: I/DEBUG(1122): bf98905c 965055f8 /data/app-lib/com.smashnlp.cutuoh-1/libES2Renderer.so (CShader::setTexture(unsigned int)+8)
    11-08 09:39:38.872: I/DEBUG(1122): bf989060 96513eb8 /data/app-lib/com.smashnlp.cutuoh-1/libES2Renderer.so
    11-08 09:39:38.872: I/DEBUG(1122): bf989064 b4dcd929 /system/lib/libdvm.so (ScopedCheck::check(bool, char const*, ...)+9)
    11-08 09:39:38.872: I/DEBUG(1122): bf989068 b4f45cd0 /system/lib/libdvm.so
    11-08 09:39:38.872: I/DEBUG(1122): bf98906c bf9890b8 [stack]
    11-08 09:39:38.872: I/DEBUG(1122): bf989070 9e18acf0 /dev/ashmem/dalvik-LinearAlloc (deleted)
    11-08 09:39:38.872: I/DEBUG(1122): bf989074 b7b94800 [heap]
    11-08 09:39:38.872: I/DEBUG(1122): bf989078 000000d2
    11-08 09:39:38.872: I/DEBUG(1122): bf98907c b7b94800 [heap]
    11-08 09:39:38.872: I/DEBUG(1122): bf989080 3f800000
    11-08 09:39:38.872: I/DEBUG(1122): bf989084 3f800000
    11-08 09:39:38.872: I/DEBUG(1122): bf989088 3f800000
    11-08 09:39:38.872: I/DEBUG(1122): ........ ........
    11-08 09:39:38.872: I/DEBUG(1122): #01 bf9890ec b799dda0 [heap]
    11-08 09:39:38.872: I/DEBUG(1122): bf9890f0 07c00019
    11-08 09:39:38.872: I/DEBUG(1122): bf9890f4 8130001d
    11-08 09:39:38.872: I/DEBUG(1122): bf9890f8 000000d0
    11-08 09:39:38.872: I/DEBUG(1122): bf9890fc 000000d2
    11-08 09:39:38.872: I/DEBUG(1122): bf989100 0000000e
    11-08 09:39:38.872: I/DEBUG(1122): bf989104 0000000e
    11-08 09:39:38.872: I/DEBUG(1122): bf989108 10000000
    11-08 09:39:38.872: I/DEBUG(1122): bf98910c ffffffff
    11-08 09:39:38.872: I/DEBUG(1122): bf989110 b4ee13c9 /system/lib/libdvm.so (EncoderBase::encode_aux(char*, unsigned int, EncoderBase:perands const&, EncoderBase:pcodeDesc const*, unsigned int*, Rex*)+25)
    11-08 09:39:38.872: I/DEBUG(1122): bf989114 07b00019
    11-08 09:39:38.872: I/DEBUG(1122): bf989118 8120001d
    11-08 09:39:38.872: I/DEBUG(1122): bf98911c 07c00019
    11-08 09:39:38.872: I/DEBUG(1122): bf989120 000000d2
    11-08 09:39:38.872: I/DEBUG(1122): bf989124 0000000e
    11-08 09:39:38.872: I/DEBUG(1122): bf989128 0000000e
    11-08 09:39:38.872: I/DEBUG(1122): ........ ........
    11-08 09:39:38.872: I/DEBUG(1122): #02 bf98919c b799dda0 [heap]
    11-08 09:39:38.872: I/DEBUG(1122): ........ ........
    11-08 09:39:38.912: I/BootReceiver(1539): Copying /data/tombstones/tombstone_08 to DropBox (SYSTEM_TOMBSTONE)
    11-08 09:39:38.922: I/WindowState(1539): WIN DEATH: Window{a5307c88 u0 SurfaceView}
    11-08 09:39:38.922: W/InputDispatcher(1539): channel 'a5268b78 com.smashnlp.cutuoh/com.smashnlp.cutuoh.Main (server)' ~ Consumer closed input channel or an error occurred. events=0x9
    11-08 09:39:38.922: E/InputDispatcher(1539): channel 'a5268b78 com.smashnlp.cutuoh/com.smashnlp.cutuoh.Main (server)' ~ Channel is unrecoverably broken and will be disposed!
    11-08 09:39:38.922: D/Zygote(1125): Process 2436 terminated by signal (11)
    11-08 09:39:38.922: W/InputDispatcher(1539): Attempted to unregister already unregistered input channel 'a5268b78 com.smashnlp.cutuoh/com.smashnlp.cutuoh.Main (server)'
    11-08 09:39:38.922: I/ActivityManager(1539): Process com.smashnlp.cutuoh (pid 2436) has died.
    11-08 09:39:38.922: W/ActivityManager(1539): Force removing ActivityRecord{a5463bc0 u0 com.smashnlp.cutuoh/.Main t13}: app died, no saved state
    11-08 09:39:38.922: I/WindowState(1539): WIN DEATH: Window{a5268b78 u0 com.smashnlp.cutuoh/com.smashnlp.cutuoh.Main}


    ###



    Really hope someone can help me get to the bottom of this - driving me nuts! :-/

    Cheers

  2. #2
    Clickteam Clickteam
    Fernando's Avatar
    Join Date
    Dec 2006
    Posts
    6,784
    Mentioned
    298 Post(s)
    Tagged
    4 Thread(s)
    can you please post the specification od the device that show this error
    Regards,


    Fernando Vivolo

    ... new things are coming ...

  3. #3
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Oct 2016
    Posts
    12
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Sure

    2016-11-10_155421.jpg


    As a side note, I dug out an old Samsung Galaxy Tab 2 7.0 with a smashed screen. It has a 4.4 Omni Rom so is at API 19. It worked just fine, albeit a little slow, using the ES 2.0 build. I've yet to try the ES1.1 build where it crashes after some time - I will try this tonight.

    Would love to get the AVD emulator to work with it so I can test beyond Kitkat, but at least I have some way of checking my app works for the moment.

    Thanks

  4. #4
    Forum Moderator

    Fusion 2.5 MacFusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleMac Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)

    Join Date
    Dec 2013
    Location
    Watertown, WI
    Posts
    4,421
    Mentioned
    60 Post(s)
    Tagged
    0 Thread(s)
    Emulators are never 100%. it's better to use a real devices.
    never had a problem with a real device..
    if it works on one, then it works for everything. Android is not picky, Emulators are..

  5. #5
    Clickteam Clickteam
    Fernando's Avatar
    Join Date
    Dec 2006
    Posts
    6,784
    Mentioned
    298 Post(s)
    Tagged
    4 Thread(s)
    is you PC laptop openGL 2.0 compatible?, I know old PC laptop with open gl 1.0 and 1.4 do not run well on emulator with this version of opengl graphic card
    Regards,


    Fernando Vivolo

    ... new things are coming ...

  6. #6
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Oct 2016
    Posts
    12
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Admittedly Perry, that's not the first time I've seen that advice since I started browsing the forums. Do you mind if I ask you how you actually test what you build? As in, do you have a small number of devices with different roms, or just the one device with the highest Android version or ? Just curious.

    Fernando - it's a desktop i7 4790 with 16gb, but running Intel 4600 internal GFX. I could try my old Radeon 5850's in it, but I am starting to gravitate towards what Perry said and forget about the AVD stuff.

    That being said, I am now curious as to the results I would get if I installed Android x86 or RemixOS on a spare box. Wouldn't get touch events, but it would be another test unit to work with I suppose.

  7. #7
    Forum Moderator

    Fusion 2.5 MacFusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleMac Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)

    Join Date
    Dec 2013
    Location
    Watertown, WI
    Posts
    4,421
    Mentioned
    60 Post(s)
    Tagged
    0 Thread(s)
    I have a Note4, and from my wife a Galaxy S5 and S7. but 9 out of 10 times, I just use my note 4.
    and I always use the latest API or the previous version, and then the min req. is 2.3 and max is 6.1 for the project properties.

    and all the devices have the latest Android Versions.

    Note that some devices < S4 it's only like 0.3% of the people... they are just of of luck in that case. and they just need to upgrade.
    it's the same with IOS. 99.5 % is on the latest of 1-2 models before.. according to some statistics if you google around
    That's just the chance i take.

    I still get people asking me question why I won't support IOS 4-6 .. Come one.... upgrade your IOS instead of using a Jailbreaked version to keep that 1 program working etc.. so it's their choice, not yours.

Similar Threads

  1. Porting subtract shader to OpenGL to use with Android?
    By J3sseM in forum Android Export Module 2.5
    Replies: 16
    Last Post: 1st December 2016, 04:53 AM
  2. App closes instantly without any crash report
    By Alejandro in forum Android Export Module 2.5
    Replies: 7
    Last Post: 15th September 2016, 07:32 PM
  3. Instantly actions on MF2
    By evi1ove in forum Fusion 2.5
    Replies: 5
    Last Post: 10th April 2016, 06:17 PM
  4. OpenGL MS3D crashes when trying to load any model
    By Lasse in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 18th July 2011, 08:11 PM
  5. OpenGl Crashes
    By dragonguy in forum File Archive
    Replies: 46
    Last Post: 22nd November 2009, 11:01 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •