1
Bugs / ERROR: glAttachShader - vertex shader: glError 1280
« on: October 15, 2013, 11:26:28 pm »
I noticed in our crash logs we are getting a "vertex shader: glError 1280" crash. Looking this up the error it is a GL_INVALID_ENUM.
This happens on the HTC One, Sony Xperia L and the Samsung S4, which I don't have access too. I have now updated the latest JPCT version (did you fix such an error in the past?), so I guess I'll soon see if such an error goes away once we release it. But I thought I'll log it in here in the meantime in case someone knows more about it.
Crash:
Log:
This happens on the HTC One, Sony Xperia L and the Samsung S4, which I don't have access too. I have now updated the latest JPCT version (did you fix such an error in the past?), so I guess I'll soon see if such an error goes away once we release it. But I thought I'll log it in here in the meantime in case someone knows more about it.
Crash:
Code: [Select]
Package: nz.co.nuffie.android.crichq
Version: 2594
Android: 4.1.2
Manufacturer: HTC
Model: HTC One
Date: Sun Oct 13 13:44:59 MST 2013
java.lang.RuntimeException: [ 1381697099906 ] - ERROR: glAttachShader - vertex shader: glError 1280
at com.threed.jpct.Logger.log(Logger.java:189)
at com.threed.jpct.GLSLShader.checkError(GLSLShader.java:808)
at com.threed.jpct.GLSLShader.createProgram(GLSLShader.java:774)
at com.threed.jpct.GLSLShader.loadProgram(GLSLShader.java:766)
at com.threed.jpct.GLSLShader.preInit(GLSLShader.java:276)
at com.threed.jpct.GL20.setShader(GL20.java:336)
at com.threed.jpct.GLRenderer.setShader(GLRenderer.java:510)
at com.threed.jpct.GLRenderer.setLineShader(GLRenderer.java:2060)
at com.threed.jpct.GLRenderer.enableLineMode(GLRenderer.java:1978)
at com.threed.jpct.World.draw(World.java:1331)
at com.threed.jpct.World.draw(World.java:1083)
at nz.co.nuffie.android.crichq.ptichmapandwagonwheel.World3dBase.renderWorld(World3dBase.java:734)
at nz.co.nuffie.android.crichq.ptichmapandwagonwheel.World3dBase.onDrawFrame(World3dBase.java:791)
at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1516)
at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1240)
Log:
Quote
DEBUG PhoneRank : Runtime.getRuntime().maxMemory: 384 Mb
Runtime.getRuntime().freeMemory: 1 Mb
Runtime.getRuntime().totalMemory: 28 Mb
Debug.getNativeHeapAllocatedSize: 50 Mb
Debug.getNativeHeapFreeSize: 0 Mb
Debug.getNativeHeapSize: 50 Mb
Debug.getThreadAllocSize: 0 Kb
Debug.getGlobalAllocSize: 0 Kb
Debug.getGlobalFreedSize: 0 Kb
memoryInfo.getTotalPss: 140 Mb
memoryInfo.getTotalPrivateDirty: 128 Mb
memoryInfo.getTotalSharedDirty: 39 Mb
memoryInfo.dalvikPss: 28 Mb
memoryInfo.dalvikPrivateDirty: 28 Mb
memoryInfo.nativePss: 0 Mb
memoryInfo.nativePrivateDirty: 0 Mb
JPCT texture usage: 1 Kb
Memory Left: 307 Mb
Memory Left (based on Pss): 244 Mb
activityManager.getMemoryClass: 192 Mb
CPU Cores Free: 2
DEBUG PhoneRank : Max Mem: 384 Mem Left:307
DEBUG PhoneRank : Very high ram free.
DEBUG WW : Turning on AA with transparency.
DEBUG WW : Using OpenGL 2.0
DEBUG GoogleAnalyticsActivity : Not a tracked activity
DEBUG OnlineViewWorld3dActivity : ON RUNNING
DEBUG PhoneRank : Checking Model: HTC One
DEBUG nz.co.nuffie.android.crichq.ptichmapandwagonwheel.OnlineViewWorld3dActivity$1 : SERVICE CONNECTED
DEBUG WWPollTask : RUNNING: true
DEBUG OnlineViewWorld3dActivity : URL: http://www.crichq.com/mobile/matches/live_matches/68921/wagon_wheel
DEBUG CricHQService : Http Response Code: 0
DEBUG 3d : World is null. Creating...
DEBUG PhoneRank : Using hardware renderer (Not PixelFlinger): Adreno (TM) 320
DEBUG PhoneRank : Max Mem: 384 Mem Left:300
DEBUG PhoneRank : Very high ram free.
DEBUG 3d : Change camera view to: PITCH_MAP
VERBOSE CricHQCrashManagerListener : Getting username for crash report...
DEBUG CricHQCrashManagerListener : Sending crash report to hockey...
Phone Stats:
Runtime.getRuntime().maxMemory: 384 Mb
Runtime.getRuntime().freeMemory: 7 Mb
Runtime.getRuntime().totalMemory: 49 Mb
Debug.getNativeHeapAllocatedSize: 49 Mb
Debug.getNativeHeapFreeSize: 5 Mb
Debug.getNativeHeapSize: 55 Mb
Debug.getThreadAllocSize: 0 Kb
Debug.getGlobalAllocSize: 0 Kb
Debug.getGlobalFreedSize: 0 Kb
memoryInfo.getTotalPss: 165 Mb
memoryInfo.getTotalPrivateDirty: 152 Mb
memoryInfo.getTotalSharedDirty: 39 Mb
memoryInfo.dalvikPss: 49 Mb
memoryInfo.dalvikPrivateDirty: 49 Mb
memoryInfo.nativePss: 0 Mb
memoryInfo.nativePrivateDirty: 0 Mb
JPCT texture usage: 8195 Kb
Memory Left: 292 Mb
Memory Left (based on Pss): 219 Mb
activityManager.getMemoryClass: 192 Mb
CPU Cores Free: 2