• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1Repro steps:
2
3build, install and run the attached test program TestEgl.apk
4
5The program does not draw anything to the screen, it just prints to the log, so use adb logcat to watch the output.
6
7Expected behavior:
8
9constantly increasing "step" count:
10
11
12W/TestActivity( 1885): ****** step 235 resume
13W/TestActivity( 1885): step 236 pause
14W/TestActivity( 1885): ****** step 236 resume
15
16and so on.
17
18Actual behavior:
19
20W/TestActivity( 1466): ****** step 25 resume
21W/TestActivity( 1466): step 26 pause
22W/TestActivity( 1466): ****** step 26 resume
23W/dalvikvm( 1466): threadid=8: thread exiting with uncaught exception (group=0x4001d7f0)
24E/AndroidRuntime( 1466): FATAL EXCEPTION: GLThread 9
25E/AndroidRuntime( 1466): java.lang.RuntimeException: createContext failed: EGL_BAD_ALLOC
26E/AndroidRuntime( 1466):        at android.opengl.GLSurfaceView$EglHelper.throwEglException(GLSurfaceView.java:1067)
27E/AndroidRuntime( 1466):        at android.opengl.GLSurfaceView$EglHelper.throwEglException(GLSurfaceView.java:1059)
28E/AndroidRuntime( 1466):        at android.opengl.GLSurfaceView$EglHelper.start(GLSurfaceView.java:925)
29E/AndroidRuntime( 1466):        at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1236)
30E/AndroidRuntime( 1466):        at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1106)
31W/TestActivity( 1466): step 27 pause
32W/TestActivity( 1466): ****** step 27 resume
33W/TestActivity( 1466): step 28 pause
34W/TestActivity( 1466): ****** step 28 resume
35
36
37See http://b/issue?id=2550745 for further details.
38