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

Failure tracing OpenGL ES application in gapid\gapii\cc\pool.cpp "Out of memory allocating 0x1f8000 bytes" #1554

Closed
danginsburg opened this issue Jan 17, 2018 · 17 comments

Comments

@danginsburg
Copy link

danginsburg commented Jan 17, 2018

I am trying to capture a trace of an OpenGL ES application using gapid on NVIDIA Shield Tablet K1 using GAPID v1.0.0 release and it is crashing trying to capture a trace. I'm unfortunately not able to provide a repro at this time, but perhaps some of the info here will help.

This is the backtrace:

01-17 09:05:30.375 25338 25338 F DEBUG   : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
01-17 09:05:30.375 25338 25338 F DEBUG   : Build fingerprint: 'nvidia/sb_na_wf/shieldtablet:7.0/NRD90M/1928188_904.2811:user/release-keys'
01-17 09:05:30.375 25338 25338 F DEBUG   : Revision: '0'
01-17 09:05:30.375 25338 25338 F DEBUG   : ABI: 'arm'
01-17 09:05:30.376 25338 25338 F DEBUG   : pid: 25271, tid: 25335, name: RenderThread  >>> com.valvesoftware.rendersystemtest <<<
01-17 09:05:30.376 25338 25338 F DEBUG   : signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
01-17 09:05:30.379 25338 25338 F DEBUG   : Abort message: '[T:\src\github\src\github.com\google\gapid\gapii\cc\pool.cpp:34] Out of memory allocating 0x1f8000 bytes'
01-17 09:05:30.380 25338 25338 F DEBUG   :     r0 00000000  r1 000062f7  r2 00000006  r3 00000008
01-17 09:05:30.380 25338 25338 F DEBUG   :     r4 89831978  r5 00000006  r6 89831920  r7 0000010c
01-17 09:05:30.380 25338 25338 F DEBUG   :     r8 00000000  r9 001f8000  sl 000003c9  fp 00000001
01-17 09:05:30.381 25338 25338 F DEBUG   :     ip 0000000c  sp 89831170  lr a7992af7  pc a7995360  cpsr 600f0010
01-17 09:05:30.404 25338 25338 F DEBUG   : 
01-17 09:05:30.404 25338 25338 F DEBUG   : backtrace:
01-17 09:05:30.404 25338 25338 F DEBUG   :     #00 pc 0004a360  /system/lib/libc.so (tgkill+12)
01-17 09:05:30.404 25338 25338 F DEBUG   :     #01 pc 00047af3  /system/lib/libc.so (pthread_kill+34)
01-17 09:05:30.404 25338 25338 F DEBUG   :     #02 pc 0001db6d  /system/lib/libc.so (raise+10)
01-17 09:05:30.405 25338 25338 F DEBUG   :     #03 pc 000196b9  /system/lib/libc.so (__libc_android_abort+34)
01-17 09:05:30.405 25338 25338 F DEBUG   :     #04 pc 00017038  /system/lib/libc.so (abort+4)
01-17 09:05:30.405 25338 25338 F DEBUG   :     #05 pc 00005803  /system/lib/liblog.so (__android_log_assert+114)
01-17 09:05:30.405 25338 25338 F DEBUG   :     #06 pc 00220657  /data/app/com.google.android.gapid.armeabi-1/lib/arm/libgapii.so
01-17 09:05:30.405 25338 25338 F DEBUG   :     #07 pc 002205eb  /data/app/com.google.android.gapid.armeabi-1/lib/arm/libgapii.so
01-17 09:05:30.405 25338 25338 F DEBUG   :     #08 pc 0015b1b3  /data/app/com.google.android.gapid.armeabi-1/lib/arm/libgapii.so
01-17 09:05:30.406 25338 25338 F DEBUG   :     #09 pc 000b9fcb  /data/app/com.google.android.gapid.armeabi-1/lib/arm/libgapii.so
01-17 09:05:30.406 25338 25338 F DEBUG   :     #10 pc 0003d231  /system/lib/libhwui.so
01-17 09:05:30.406 25338 25338 F DEBUG   :     #11 pc 0002d7ef  /system/lib/libhwui.so (_ZN7android10uirenderer10AssetAtlas4initENS_2spINS_13GraphicBufferEEEPxi+94)
01-17 09:05:30.406 25338 25338 F DEBUG   :     #12 pc 000256c3  /system/lib/libhwui.so
01-17 09:05:30.406 25338 25338 F DEBUG   :     #13 pc 000251cd  /system/lib/libhwui.so
01-17 09:05:30.406 25338 25338 F DEBUG   :     #14 pc 000257d1  /system/lib/libhwui.so
01-17 09:05:30.406 25338 25338 F DEBUG   :     #15 pc 00022b0f  /system/lib/libhwui.so
01-17 09:05:30.406 25338 25338 F DEBUG   :     #16 pc 00026291  /system/lib/libhwui.so
01-17 09:05:30.406 25338 25338 F DEBUG   :     #17 pc 00027153  /system/lib/libhwui.so
01-17 09:05:30.407 25338 25338 F DEBUG   :     #18 pc 00028181  /system/lib/libhwui.so (_ZN7android10uirenderer12renderthread12RenderThread10threadLoopEv+80)
01-17 09:05:30.407 25338 25338 F DEBUG   :     #19 pc 0000f155  /system/lib/libutils.so (_ZN7android6Thread11_threadLoopEPv+144)
01-17 09:05:30.407 25338 25338 F DEBUG   :     #20 pc 0006681d  /system/lib/libandroid_runtime.so (_ZN7android14AndroidRuntime15javaThreadShellEPv+80)
01-17 09:05:30.407 25338 25338 F DEBUG   :     #21 pc 000475c3  /system/lib/libc.so (_ZL15__pthread_startPv+22)
01-17 09:05:30.407 25338 25338 F DEBUG   :     #22 pc 0001a115  /system/lib/libc.so (__start_thread+6)

The full log is below:

01-17 09:05:17.348 25271 25271 I GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\spy.cpp:61] JNI_OnLoad() was called. vm = 0xa5535000
01-17 09:05:17.348 25271 25271 I GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\spy.cpp:125] Constructing spy...
01-17 09:05:17.378 25271 25271 I GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\connection_stream.cpp:35] GAPII awaiting connection on pipe gapii (abstract)
01-17 09:05:18.228 25271 25271 I GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\spy.cpp:159] Connection made
01-17 09:05:18.229 25271 25271 I GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\spy.cpp:166] Connection header read
01-17 09:05:18.230 25271 25271 E GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\spy.cpp:181] APIS 0000000a
01-17 09:05:18.230 25271 25271 I GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\spy.cpp:182] GAPII connection established. Settings:
01-17 09:05:18.230 25271 25271 I GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\spy.cpp:183] Observe framebuffer every 0 frames
01-17 09:05:18.230 25271 25271 I GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\spy.cpp:184] Observe framebuffer every 0 draws
01-17 09:05:18.230 25271 25271 I GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\spy.cpp:185] Disable precompiled shaders: true
01-17 09:05:18.342 25271 25271 I GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:128] Installing GAPII hooks...
01-17 09:05:18.349 25271 25271 I GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:150] Interceptor functions resolved
01-17 09:05:18.349 25271 25271 I GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:152] Calling gInitializeInterceptor at 0x8ba0bdfd...
01-17 09:05:18.350 25271 25271 I GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:157] Installing OpenGL ES hooks...
01-17 09:05:18.399 25271 25271 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:120] Interceptor error: Intercepting function at 0xa5a805c4 failed: End of function reached after 4 byte when rewriting 8 bytes
01-17 09:05:18.399 25271 25271 E GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:241] Couldn't intercept function glWeightPointerOESBounds at 0xa5a805c4
01-17 09:05:18.553 25271 25271 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:120] Interceptor error: Intercepting function at 0xa5a7ff90 failed: End of function reached after 4 byte when rewriting 8 bytes
01-17 09:05:18.553 25271 25271 E GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:241] Couldn't intercept function glVertexPointerBounds at 0xa5a7ff90
01-17 09:05:18.975 25271 25271 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:120] Interceptor error: Intercepting function at 0xa5a7fe9c failed: End of function reached after 4 byte when rewriting 8 bytes
01-17 09:05:18.975 25271 25271 E GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:241] Couldn't intercept function glTexCoordPointerBounds at 0xa5a7fe9c
01-17 09:05:19.066 25271 25271 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:120] Interceptor error: Intercepting function at 0xa5a7f8a8 failed: End of function reached after 4 byte when rewriting 8 bytes
01-17 09:05:19.067 25271 25271 E GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:241] Couldn't intercept function glColorPointerBounds at 0xa5a7f8a8
01-17 09:05:19.525 25271 25271 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:120] Interceptor error: Intercepting function at 0xa5a7fd1c failed: End of function reached after 4 byte when rewriting 8 bytes
01-17 09:05:19.525 25271 25271 E GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:241] Couldn't intercept function glNormalPointerBounds at 0xa5a7fd1c
01-17 09:05:19.961 25271 25271 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:120] Interceptor error: Intercepting function at 0xa5a805ac failed: End of function reached after 4 byte when rewriting 8 bytes
01-17 09:05:19.961 25271 25271 E GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:241] Couldn't intercept function glMatrixIndexPointerOESBounds at 0xa5a805ac
01-17 09:05:20.075 25271 25271 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:120] Interceptor error: Intercepting function at 0xa5a805dc failed: End of function reached after 4 byte when rewriting 8 bytes
01-17 09:05:20.075 25271 25271 E GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:241] Couldn't intercept function glPointSizePointerOESBounds at 0xa5a805dc
01-17 09:05:20.397 25271 25271 I GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:163] OpenGL ES hooks successfully installed
01-17 09:05:20.397 25271 25271 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] eglGetNativeClientBufferANDROID was requested, but cannot be traced.
01-17 09:05:20.398 25271 25271 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] glClearPixelLocalStorageuiEXT was requested, but cannot be traced.
01-17 09:05:20.398 25271 25271 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] glClearTexImageEXT was requested, but cannot be traced.
01-17 09:05:20.398 25271 25271 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] glClearTexSubImageEXT was requested, but cannot be traced.
01-17 09:05:20.398 25271 25271 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] glConservativeRasterParameteriNV was requested, but cannot be traced.
01-17 09:05:20.398 25271 25271 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] glDrawTransformFeedbackInstancedEXT was requested, but cannot be traced.
01-17 09:05:20.398 25271 25271 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] glFramebufferPixelLocalStorageSizeEXT was requested, but cannot be traced.
01-17 09:05:20.398 25271 25271 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] glFramebufferTexture2DDownsampleIMG was requested, but cannot be traced.
01-17 09:05:20.398 25271 25271 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] glFramebufferTextureLayerDownsampleIMG was requested, but cannot be traced.
01-17 09:05:20.398 25271 25271 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] glGetFramebufferPixelLocalStorageSizeEXT was requested, but cannot be traced.
01-17 09:05:20.399 25271 25271 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] glGetTextureHandleIMG was requested, but cannot be traced.
01-17 09:05:20.399 25271 25271 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] glGetTextureSamplerHandleIMG was requested, but cannot be traced.
01-17 09:05:20.399 25271 25271 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] glProgramUniformHandleui64IMG was requested, but cannot be traced.
01-17 09:05:20.399 25271 25271 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] glProgramUniformHandleui64vIMG was requested, but cannot be traced.
01-17 09:05:20.399 25271 25271 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] glUniformHandleui64IMG was requested, but cannot be traced.
01-17 09:05:20.399 25271 25271 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] glUniformHandleui64vIMG was requested, but cannot be traced.
01-17 09:05:20.399 25271 25271 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] glXCreateContext was requested, but cannot be traced.
01-17 09:05:20.399 25271 25271 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] glXCreateNewContext was requested, but cannot be traced.
01-17 09:05:20.400 25271 25271 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] glXMakeContextCurrent was requested, but cannot be traced.
01-17 09:05:20.400 25271 25271 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] glXMakeCurrent was requested, but cannot be traced.
01-17 09:05:20.400 25271 25271 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] glXSwapBuffers was requested, but cannot be traced.
01-17 09:05:20.400 25271 25271 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] glXQueryDrawable was requested, but cannot be traced.
01-17 09:05:20.400 25271 25271 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] wglCreateContext was requested, but cannot be traced.
01-17 09:05:20.400 25271 25271 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] wglCreateContextAttribsARB was requested, but cannot be traced.
01-17 09:05:20.400 25271 25271 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] wglMakeCurrent was requested, but cannot be traced.
01-17 09:05:20.400 25271 25271 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] wglSwapBuffers was requested, but cannot be traced.
01-17 09:05:20.400 25271 25271 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] CGLCreateContext was requested, but cannot be traced.
01-17 09:05:20.400 25271 25271 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] CGLSetCurrentContext was requested, but cannot be traced.
01-17 09:05:20.400 25271 25271 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] CGLGetSurface was requested, but cannot be traced.
01-17 09:05:20.400 25271 25271 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] CGSGetSurfaceBounds was requested, but cannot be traced.
01-17 09:05:20.400 25271 25271 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] CGLFlushDrawable was requested, but cannot be traced.
01-17 09:05:20.401 25271 25271 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] glColorPointerBounds was requested, but cannot be traced.
01-17 09:05:20.401 25271 25271 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] glNormalPointerBounds was requested, but cannot be traced.
01-17 09:05:20.401 25271 25271 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] glTexCoordPointerBounds was requested, but cannot be traced.
01-17 09:05:20.401 25271 25271 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] glVertexPointerBounds was requested, but cannot be traced.
01-17 09:05:20.401 25271 25271 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] glPointSizePointerOESBounds was requested, but cannot be traced.
01-17 09:05:20.401 25271 25271 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] glMatrixIndexPointerOESBounds was requested, but cannot be traced.
01-17 09:05:20.401 25271 25271 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] glWeightPointerOESBounds was requested, but cannot be traced.
01-17 09:05:20.401 25271 25271 I GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\spy.cpp:127] Registering spy symbols...
01-17 09:05:30.198 25271 25335 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] eglGetNativeClientBufferANDROID was requested, but cannot be traced.
01-17 09:05:30.199 25271 25335 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] glClearPixelLocalStorageuiEXT was requested, but cannot be traced.
01-17 09:05:30.199 25271 25335 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] glClearTexImageEXT was requested, but cannot be traced.
01-17 09:05:30.199 25271 25335 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] glClearTexSubImageEXT was requested, but cannot be traced.
01-17 09:05:30.199 25271 25335 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] glConservativeRasterParameteriNV was requested, but cannot be traced.
01-17 09:05:30.199 25271 25335 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] glDrawTransformFeedbackInstancedEXT was requested, but cannot be traced.
01-17 09:05:30.199 25271 25335 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] glFramebufferPixelLocalStorageSizeEXT was requested, but cannot be traced.
01-17 09:05:30.199 25271 25335 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] glFramebufferTexture2DDownsampleIMG was requested, but cannot be traced.
01-17 09:05:30.199 25271 25335 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] glFramebufferTextureLayerDownsampleIMG was requested, but cannot be traced.
01-17 09:05:30.199 25271 25335 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] glGetFramebufferPixelLocalStorageSizeEXT was requested, but cannot be traced.
01-17 09:05:30.199 25271 25335 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] glGetTextureHandleIMG was requested, but cannot be traced.
01-17 09:05:30.199 25271 25335 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] glGetTextureSamplerHandleIMG was requested, but cannot be traced.
01-17 09:05:30.199 25271 25335 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] glProgramUniformHandleui64IMG was requested, but cannot be traced.
01-17 09:05:30.200 25271 25335 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] glProgramUniformHandleui64vIMG was requested, but cannot be traced.
01-17 09:05:30.200 25271 25335 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] glUniformHandleui64IMG was requested, but cannot be traced.
01-17 09:05:30.200 25271 25335 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] glUniformHandleui64vIMG was requested, but cannot be traced.
01-17 09:05:30.200 25271 25335 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] glXCreateContext was requested, but cannot be traced.
01-17 09:05:30.200 25271 25335 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] glXCreateNewContext was requested, but cannot be traced.
01-17 09:05:30.200 25271 25335 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] glXMakeContextCurrent was requested, but cannot be traced.
01-17 09:05:30.200 25271 25335 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] glXMakeCurrent was requested, but cannot be traced.
01-17 09:05:30.200 25271 25335 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] glXSwapBuffers was requested, but cannot be traced.
01-17 09:05:30.200 25271 25335 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] glXQueryDrawable was requested, but cannot be traced.
01-17 09:05:30.200 25271 25335 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] wglCreateContext was requested, but cannot be traced.
01-17 09:05:30.200 25271 25335 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] wglCreateContextAttribsARB was requested, but cannot be traced.
01-17 09:05:30.200 25271 25335 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] wglMakeCurrent was requested, but cannot be traced.
01-17 09:05:30.200 25271 25335 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] wglSwapBuffers was requested, but cannot be traced.
01-17 09:05:30.200 25271 25335 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] CGLCreateContext was requested, but cannot be traced.
01-17 09:05:30.200 25271 25335 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] CGLSetCurrentContext was requested, but cannot be traced.
01-17 09:05:30.200 25271 25335 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] CGLGetSurface was requested, but cannot be traced.
01-17 09:05:30.200 25271 25335 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] CGSGetSurfaceBounds was requested, but cannot be traced.
01-17 09:05:30.201 25271 25335 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] CGLFlushDrawable was requested, but cannot be traced.
01-17 09:05:30.201 25271 25335 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] glColorPointerBounds was requested, but cannot be traced.
01-17 09:05:30.201 25271 25335 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] glNormalPointerBounds was requested, but cannot be traced.
01-17 09:05:30.201 25271 25335 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] glTexCoordPointerBounds was requested, but cannot be traced.
01-17 09:05:30.201 25271 25335 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] glVertexPointerBounds was requested, but cannot be traced.
01-17 09:05:30.201 25271 25335 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] glPointSizePointerOESBounds was requested, but cannot be traced.
01-17 09:05:30.201 25271 25335 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] glMatrixIndexPointerOESBounds was requested, but cannot be traced.
01-17 09:05:30.201 25271 25335 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] glWeightPointerOESBounds was requested, but cannot be traced.
01-17 09:05:30.255 25271 25335 I GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\spy.cpp:290] eglCreateContext requested: GL 2.0, profile 0x0, flags 0x0 -> 0xa3fb27d0
01-17 09:05:30.277 25271 25335 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\gles_context.cpp:294] glGetFloatv(GL_MULTISAMPLE_LINE_WIDTH_GRANULARITY) gave error 0x500
01-17 09:05:30.277 25271 25335 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\gles_context.cpp:295] glGetFloatv(GL_MULTISAMPLE_LINE_WIDTH_RANGE) gave error 0x500
01-17 09:05:30.279 25271 25335 I GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\spy.cpp:369] Active context ID: 1
01-17 09:05:30.281 25271 25335 I GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\spy.cpp:380] Framebuffer config: R8 G8 B8 A8 D24 S8
01-17 09:05:30.293 25271 25335 F GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\pool.cpp:34] Out of memory allocating 0x1f8000 bytes
01-17 09:05:30.379 25338 25338 F DEBUG   : Abort message: '[T:\src\github\src\github.com\google\gapid\gapii\cc\pool.cpp:34] Out of memory allocating 0x1f8000 bytes'
01-17 09:05:30.405 25338 25338 F DEBUG   :     #06 pc 00220657  /data/app/com.google.android.gapid.armeabi-1/lib/arm/libgapii.so
01-17 09:05:30.405 25338 25338 F DEBUG   :     #07 pc 002205eb  /data/app/com.google.android.gapid.armeabi-1/lib/arm/libgapii.so
01-17 09:05:30.405 25338 25338 F DEBUG   :     #08 pc 0015b1b3  /data/app/com.google.android.gapid.armeabi-1/lib/arm/libgapii.so
01-17 09:05:30.406 25338 25338 F DEBUG   :     #09 pc 000b9fcb  /data/app/com.google.android.gapid.armeabi-1/lib/arm/libgapii.so
@AWoloszyn
Copy link
Contributor

This looks suspiciously like:
#1508

If you are using external images, this is likely the cause.
We plan on having a build out soon with this fixed.

I will leave this open so we can track it in case it is not the same issue.

@danginsburg
Copy link
Author

Thanks for the quick response. I am not aware that we are using external images, unless it is something SDL is doing underneath the hood.

@ben-clayton
Copy link
Contributor

We're very close to releasing V1.0.1, which fixes #1508. I'll ping this bug once it is released.

@ben-clayton
Copy link
Contributor

v1.0.1 is now public. Please let me know if this fixes your crash.

Cheers,
Ben

@danginsburg
Copy link
Author

danginsburg commented Jan 18, 2018

Thanks. Unfortunately I'm still seeing the same crash:

01-18 08:16:31.041  5298  5348 F GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\pool.cpp:34] Out of memory allocating 0x1f8000 bytes
01-18 08:16:31.041  5298  5348 F libc    : Fatal signal 6 (SIGABRT), code -6 in tid 5348 (RenderThread)
01-18 08:16:31.042   178   178 W         : debuggerd: handling request: pid=5298 uid=10097 gid=10097 tid=5348
01-18 08:16:31.048  5351  5351 W debuggerd: type=1400 audit(0.0:126): avc: denied { search } for name="com.valvesoftware.rendersystemtest" dev="mmcblk0p23" ino=317465 scontext=u:r:debuggerd:s0 tcontext=u:object_r:app_data_file:s0:c512,c768 tclass=dir permissive=0
01-18 08:16:31.049  5351  5351 W debuggerd: type=1400 audit(0.0:127): avc: denied { search } for name="com.valvesoftware.rendersystemtest" dev="mmcblk0p23" ino=317465 scontext=u:r:debuggerd:s0 tcontext=u:object_r:app_data_file:s0:c512,c768 tclass=dir permissive=0
01-18 08:16:31.049  5351  5351 W debuggerd: type=1400 audit(0.0:128): avc: denied { search } for name="com.valvesoftware.rendersystemtest" dev="mmcblk0p23" ino=317465 scontext=u:r:debuggerd:s0 tcontext=u:object_r:app_data_file:s0:c512,c768 tclass=dir permissive=0
01-18 08:16:31.049  5351  5351 W debuggerd: type=1400 audit(0.0:129): avc: denied { search } for name="com.valvesoftware.rendersystemtest" dev="mmcblk0p23" ino=317465 scontext=u:r:debuggerd:s0 tcontext=u:object_r:app_data_file:s0:c512,c768 tclass=dir permissive=0
01-18 08:16:31.049  5351  5351 W debuggerd: type=1400 audit(0.0:130): avc: denied { search } for name="com.valvesoftware.rendersystemtest" dev="mmcblk0p23" ino=317465 scontext=u:r:debuggerd:s0 tcontext=u:object_r:app_data_file:s0:c512,c768 tclass=dir permissive=0
01-18 08:16:31.049  5351  5351 W debuggerd: type=1400 audit(0.0:131): avc: denied { search } for name="com.valvesoftware.rendersystemtest" dev="mmcblk0p23" ino=317465 scontext=u:r:debuggerd:s0 tcontext=u:object_r:app_data_file:s0:c512,c768 tclass=dir permissive=0
01-18 08:16:31.049  5351  5351 W debuggerd: type=1400 audit(0.0:132): avc: denied { search } for name="com.valvesoftware.rendersystemtest" dev="mmcblk0p23" ino=317465 scontext=u:r:debuggerd:s0 tcontext=u:object_r:app_data_file:s0:c512,c768 tclass=dir permissive=0
01-18 08:16:31.049  5351  5351 W debuggerd: type=1400 audit(0.0:133): avc: denied { search } for name="com.valvesoftware.rendersystemtest" dev="mmcblk0p23" ino=317465 scontext=u:r:debuggerd:s0 tcontext=u:object_r:app_data_file:s0:c512,c768 tclass=dir permissive=0
01-18 08:16:31.116  5351  5351 F DEBUG   : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
01-18 08:16:31.116  5351  5351 F DEBUG   : Build fingerprint: 'nvidia/sb_na_wf/shieldtablet:7.0/NRD90M/1928188_904.2811:user/release-keys'
01-18 08:16:31.116  5351  5351 F DEBUG   : Revision: '0'
01-18 08:16:31.116  5351  5351 F DEBUG   : ABI: 'arm'
01-18 08:16:31.117  5351  5351 F DEBUG   : pid: 5298, tid: 5348, name: RenderThread  >>> com.valvesoftware.rendersystemtest <<<
01-18 08:16:31.117  5351  5351 F DEBUG   : signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
01-18 08:16:31.121  5351  5351 F DEBUG   : Abort message: '[T:\src\github\src\github.com\google\gapid\gapii\cc\pool.cpp:34] Out of memory allocating 0x1f8000 bytes'
01-18 08:16:31.121  5351  5351 F DEBUG   :     r0 00000000  r1 000014e4  r2 00000006  r3 00000008
01-18 08:16:31.121  5351  5351 F DEBUG   :     r4 8b483978  r5 00000006  r6 8b483920  r7 0000010c
01-18 08:16:31.121  5351  5351 F DEBUG   :     r8 00000000  r9 001f8000  sl 000003c8  fp 00000001
01-18 08:16:31.122  5351  5351 F DEBUG   :     ip 0000000c  sp 8b483170  lr a8662af7  pc a8665360  cpsr 600f0010
01-18 08:16:31.135  5351  5351 F DEBUG   : 
01-18 08:16:31.135  5351  5351 F DEBUG   : backtrace:
01-18 08:16:31.135  5351  5351 F DEBUG   :     #00 pc 0004a360  /system/lib/libc.so (tgkill+12)
01-18 08:16:31.135  5351  5351 F DEBUG   :     #01 pc 00047af3  /system/lib/libc.so (pthread_kill+34)
01-18 08:16:31.135  5351  5351 F DEBUG   :     #02 pc 0001db6d  /system/lib/libc.so (raise+10)
01-18 08:16:31.136  5351  5351 F DEBUG   :     #03 pc 000196b9  /system/lib/libc.so (__libc_android_abort+34)
01-18 08:16:31.136  5351  5351 F DEBUG   :     #04 pc 00017038  /system/lib/libc.so (abort+4)
01-18 08:16:31.136  5351  5351 F DEBUG   :     #05 pc 00005803  /system/lib/liblog.so (__android_log_assert+114)
01-18 08:16:31.136  5351  5351 F DEBUG   :     #06 pc 00225097  /data/app/com.google.android.gapid.armeabi-1/lib/arm/libgapii.so
01-18 08:16:31.136  5351  5351 F DEBUG   :     #07 pc 0022502b  /data/app/com.google.android.gapid.armeabi-1/lib/arm/libgapii.so
01-18 08:16:31.136  5351  5351 F DEBUG   :     #08 pc 0015e05b  /data/app/com.google.android.gapid.armeabi-1/lib/arm/libgapii.so
01-18 08:16:31.136  5351  5351 F DEBUG   :     #09 pc 000bb773  /data/app/com.google.android.gapid.armeabi-1/lib/arm/libgapii.so
01-18 08:16:31.136  5351  5351 F DEBUG   :     #10 pc 0003d231  /system/lib/libhwui.so
01-18 08:16:31.137  5351  5351 F DEBUG   :     #11 pc 0002d7ef  /system/lib/libhwui.so (_ZN7android10uirenderer10AssetAtlas4initENS_2spINS_13GraphicBufferEEEPxi+94)
01-18 08:16:31.137  5351  5351 F DEBUG   :     #12 pc 000256c3  /system/lib/libhwui.so
01-18 08:16:31.137  5351  5351 F DEBUG   :     #13 pc 000251cd  /system/lib/libhwui.so
01-18 08:16:31.137  5351  5351 F DEBUG   :     #14 pc 000257d1  /system/lib/libhwui.so
01-18 08:16:31.137  5351  5351 F DEBUG   :     #15 pc 00022b0f  /system/lib/libhwui.so
01-18 08:16:31.137  5351  5351 F DEBUG   :     #16 pc 00026291  /system/lib/libhwui.so
01-18 08:16:31.137  5351  5351 F DEBUG   :     #17 pc 00027153  /system/lib/libhwui.so
01-18 08:16:31.137  5351  5351 F DEBUG   :     #18 pc 00028181  /system/lib/libhwui.so (_ZN7android10uirenderer12renderthread12RenderThread10threadLoopEv+80)
01-18 08:16:31.137  5351  5351 F DEBUG   :     #19 pc 0000f155  /system/lib/libutils.so (_ZN7android6Thread11_threadLoopEPv+144)
01-18 08:16:31.138  5351  5351 F DEBUG   :     #20 pc 0006681d  /system/lib/libandroid_runtime.so (_ZN7android14AndroidRuntime15javaThreadShellEPv+80)
01-18 08:16:31.138  5351  5351 F DEBUG   :     #21 pc 000475c3  /system/lib/libc.so (_ZL15__pthread_startPv+22)
01-18 08:16:31.138  5351  5351 F DEBUG   :     #22 pc 0001a115  /system/lib/libc.so (__start_thread+6)
01-18 08:16:31.502  5351  5351 E         : debuggerd: failed to kill process 5298: No such process
01-18 08:16:31.502   668  5352 W ActivityManager:   Force finishing activity com.valvesoftware.rendersystemtest/.appmain
01-18 08:16:31.504   178   178 W         : debuggerd: resuming target 5298
01-18 08:16:31.506   668   685 I BootReceiver: Copying /data/tombstones/tombstone_01 to DropBox (SYSTEM_TOMBSTONE)
01-18 08:16:31.523   668  5352 E JavaBinder: !!! FAILED BINDER TRANSACTION !!!  (parcel size = 104)
01-18 08:16:31.524   668  5352 W ActivityManager: Exception thrown during pause
01-18 08:16:31.524   668  5352 W ActivityManager: android.os.DeadObjectException: Transaction failed on small parcel; remote process probably died
01-18 08:16:31.524   668  5352 W ActivityManager: 	at android.os.BinderProxy.transactNative(Native Method)
01-18 08:16:31.524   668  5352 W ActivityManager: 	at android.os.BinderProxy.transact(Binder.java:615)
01-18 08:16:31.524   668  5352 W ActivityManager: 	at android.app.ApplicationThreadProxy.schedulePauseActivity(ApplicationThreadNative.java:784)
01-18 08:16:31.524   668  5352 W ActivityManager: 	at com.android.server.am.ActivityStack.startPausingLocked(ActivityStack.java:1153)
01-18 08:16:31.524   668  5352 W ActivityManager: 	at com.android.server.am.ActivityStack.finishActivityLocked(ActivityStack.java:3537)
01-18 08:16:31.524   668  5352 W ActivityManager: 	at com.android.server.am.ActivityStack.finishTopRunningActivityLocked(ActivityStack.java:3373)
01-18 08:16:31.524   668  5352 W ActivityManager: 	at com.android.server.am.ActivityStackSupervisor.finishTopRunningActivityLocked(ActivityStackSupervisor.java:1844)
01-18 08:16:31.524   668  5352 W ActivityManager: 	at com.android.server.am.AppErrors.handleAppCrashLocked(AppErrors.java:619)
01-18 08:16:31.524   668  5352 W ActivityManager: 	at com.android.server.am.AppErrors.makeAppCrashingLocked(AppErrors.java:481)
01-18 08:16:31.524   668  5352 W ActivityManager: 	at com.android.server.am.AppErrors.crashApplicationInner(AppErrors.java:357)
01-18 08:16:31.524   668  5352 W ActivityManager: 	at com.android.server.am.AppErrors.crashApplication(AppErrors.java:309)
01-18 08:16:31.524   668  5352 W ActivityManager: 	at com.android.server.am.ActivityManagerService.handleApplicationCrashInner(ActivityManagerService.java:13362)
01-18 08:16:31.524   668  5352 W ActivityManager: 	at com.android.server.am.NativeCrashListener$NativeCrashReporter.run(NativeCrashListener.java:86)

Here is the log:

01-18 08:16:19.361  5298  5298 I GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\spy.cpp:61] JNI_OnLoad() was called. vm = 0xa7135000
01-18 08:16:19.361  5298  5298 I GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\spy.cpp:125] Constructing spy...
01-18 08:16:19.408  5298  5298 I GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\connection_stream.cpp:35] GAPII awaiting connection on pipe gapii (abstract)
01-18 08:16:20.232  5298  5298 I GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\spy.cpp:159] Connection made
01-18 08:16:20.234  5298  5298 I GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\spy.cpp:166] Connection header read
01-18 08:16:20.234  5298  5298 E GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\spy.cpp:181] APIS 0000000a
01-18 08:16:20.234  5298  5298 I GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\spy.cpp:182] GAPII connection established. Settings:
01-18 08:16:20.234  5298  5298 I GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\spy.cpp:183] Observe framebuffer every 0 frames
01-18 08:16:20.234  5298  5298 I GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\spy.cpp:184] Observe framebuffer every 0 draws
01-18 08:16:20.234  5298  5298 I GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\spy.cpp:185] Disable precompiled shaders: true
01-18 08:16:20.351  5298  5298 I GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:128] Installing GAPII hooks...
01-18 08:16:20.376  5298  5298 I GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:150] Interceptor functions resolved
01-18 08:16:20.376  5298  5298 I GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:152] Calling gInitializeInterceptor at 0x8d60bdfd...
01-18 08:16:20.376  5298  5298 I GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:157] Installing OpenGL ES hooks...
01-18 08:16:20.438  5298  5298 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:120] Interceptor error: Intercepting function at 0xa88c35c4 failed: End of function reached after 4 byte when rewriting 8 bytes
01-18 08:16:20.438  5298  5298 E GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:241] Couldn't intercept function glWeightPointerOESBounds at 0xa88c35c4
01-18 08:16:20.458  5298  5298 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:120] Interceptor error: Intercepting function at 0xa88c2f90 failed: End of function reached after 4 byte when rewriting 8 bytes
01-18 08:16:20.458  5298  5298 E GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:241] Couldn't intercept function glVertexPointerBounds at 0xa88c2f90
01-18 08:16:20.992  5298  5298 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:120] Interceptor error: Intercepting function at 0xa88c2d1c failed: End of function reached after 4 byte when rewriting 8 bytes
01-18 08:16:20.992  5298  5298 E GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:241] Couldn't intercept function glNormalPointerBounds at 0xa88c2d1c
01-18 08:16:21.526  5298  5298 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:120] Interceptor error: Intercepting function at 0xa88c28a8 failed: End of function reached after 4 byte when rewriting 8 bytes
01-18 08:16:21.526  5298  5298 E GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:241] Couldn't intercept function glColorPointerBounds at 0xa88c28a8
01-18 08:16:21.838  5298  5298 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:120] Interceptor error: Intercepting function at 0xa88c2e9c failed: End of function reached after 4 byte when rewriting 8 bytes
01-18 08:16:21.839  5298  5298 E GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:241] Couldn't intercept function glTexCoordPointerBounds at 0xa88c2e9c
01-18 08:16:21.987  5298  5298 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:120] Interceptor error: Intercepting function at 0xa88c35ac failed: End of function reached after 4 byte when rewriting 8 bytes
01-18 08:16:21.987  5298  5298 E GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:241] Couldn't intercept function glMatrixIndexPointerOESBounds at 0xa88c35ac
01-18 08:16:22.091  5298  5298 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:120] Interceptor error: Intercepting function at 0xa88c35dc failed: End of function reached after 4 byte when rewriting 8 bytes
01-18 08:16:22.091  5298  5298 E GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:241] Couldn't intercept function glPointSizePointerOESBounds at 0xa88c35dc
01-18 08:16:22.440  5298  5298 I GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:163] OpenGL ES hooks successfully installed
01-18 08:16:22.440  5298  5298 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] eglGetNativeClientBufferANDROID was requested, but cannot be traced.
01-18 08:16:22.440  5298  5298 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] MatrixLoadfEXT was requested, but cannot be traced.
01-18 08:16:22.440  5298  5298 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] MatrixLoaddEXT was requested, but cannot be traced.
01-18 08:16:22.441  5298  5298 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] MatrixMultfEXT was requested, but cannot be traced.
01-18 08:16:22.441  5298  5298 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] MatrixMultdEXT was requested, but cannot be traced.
01-18 08:16:22.441  5298  5298 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] MatrixLoadTransposefEXT was requested, but cannot be traced.
01-18 08:16:22.441  5298  5298 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] MatrixLoadTransposedEXT was requested, but cannot be traced.
01-18 08:16:22.441  5298  5298 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] MatrixMultTransposefEXT was requested, but cannot be traced.
01-18 08:16:22.441  5298  5298 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] MatrixMultTransposedEXT was requested, but cannot be traced.
01-18 08:16:22.441  5298  5298 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] MatrixLoadIdentityEXT was requested, but cannot be traced.
01-18 08:16:22.441  5298  5298 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] MatrixRotatefEXT was requested, but cannot be traced.
01-18 08:16:22.441  5298  5298 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] MatrixRotatedEXT was requested, but cannot be traced.
01-18 08:16:22.441  5298  5298 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] MatrixScalefEXT was requested, but cannot be traced.
01-18 08:16:22.441  5298  5298 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] MatrixScaledEXT was requested, but cannot be traced.
01-18 08:16:22.441  5298  5298 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] MatrixTranslatefEXT was requested, but cannot be traced.
01-18 08:16:22.441  5298  5298 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] MatrixTranslatedEXT was requested, but cannot be traced.
01-18 08:16:22.442  5298  5298 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] MatrixOrthoEXT was requested, but cannot be traced.
01-18 08:16:22.442  5298  5298 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] MatrixFrustumEXT was requested, but cannot be traced.
01-18 08:16:22.442  5298  5298 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] MatrixPushEXT was requested, but cannot be traced.
01-18 08:16:22.442  5298  5298 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] MatrixPopEXT was requested, but cannot be traced.
01-18 08:16:22.442  5298  5298 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] glClearPixelLocalStorageuiEXT was requested, but cannot be traced.
01-18 08:16:22.442  5298  5298 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] glClearTexImageEXT was requested, but cannot be traced.
01-18 08:16:22.442  5298  5298 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] glClearTexSubImageEXT was requested, but cannot be traced.
01-18 08:16:22.442  5298  5298 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] glConservativeRasterParameteriNV was requested, but cannot be traced.
01-18 08:16:22.442  5298  5298 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] glDrawTransformFeedbackInstancedEXT was requested, but cannot be traced.
01-18 08:16:22.442  5298  5298 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] glFramebufferPixelLocalStorageSizeEXT was requested, but cannot be traced.
01-18 08:16:22.442  5298  5298 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] glFramebufferTexture2DDownsampleIMG was requested, but cannot be traced.
01-18 08:16:22.443  5298  5298 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] glFramebufferTextureLayerDownsampleIMG was requested, but cannot be traced.
01-18 08:16:22.443  5298  5298 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] glGetFramebufferPixelLocalStorageSizeEXT was requested, but cannot be traced.
01-18 08:16:22.443  5298  5298 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] glGetTextureHandleIMG was requested, but cannot be traced.
01-18 08:16:22.443  5298  5298 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] glGetTextureSamplerHandleIMG was requested, but cannot be traced.
01-18 08:16:22.443  5298  5298 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] glProgramUniformHandleui64IMG was requested, but cannot be traced.
01-18 08:16:22.443  5298  5298 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] glProgramUniformHandleui64vIMG was requested, but cannot be traced.
01-18 08:16:22.443  5298  5298 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] glUniformHandleui64IMG was requested, but cannot be traced.
01-18 08:16:22.443  5298  5298 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] glUniformHandleui64vIMG was requested, but cannot be traced.
01-18 08:16:22.443  5298  5298 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] glXCreateContext was requested, but cannot be traced.
01-18 08:16:22.443  5298  5298 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] glXCreateNewContext was requested, but cannot be traced.
01-18 08:16:22.443  5298  5298 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] glXMakeContextCurrent was requested, but cannot be traced.
01-18 08:16:22.443  5298  5298 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] glXMakeCurrent was requested, but cannot be traced.
01-18 08:16:22.443  5298  5298 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] glXSwapBuffers was requested, but cannot be traced.
01-18 08:16:22.443  5298  5298 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] glXQueryDrawable was requested, but cannot be traced.
01-18 08:16:22.444  5298  5298 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] wglCreateContext was requested, but cannot be traced.
01-18 08:16:22.444  5298  5298 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] wglCreateContextAttribsARB was requested, but cannot be traced.
01-18 08:16:22.444  5298  5298 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] wglMakeCurrent was requested, but cannot be traced.
01-18 08:16:22.444  5298  5298 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] wglSwapBuffers was requested, but cannot be traced.
01-18 08:16:22.444  5298  5298 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] CGLCreateContext was requested, but cannot be traced.
01-18 08:16:22.444  5298  5298 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] CGLSetCurrentContext was requested, but cannot be traced.
01-18 08:16:22.444  5298  5298 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] CGLGetSurface was requested, but cannot be traced.
01-18 08:16:22.444  5298  5298 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] CGSGetSurfaceBounds was requested, but cannot be traced.
01-18 08:16:22.444  5298  5298 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] CGLFlushDrawable was requested, but cannot be traced.
01-18 08:16:22.444  5298  5298 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] glColorPointerBounds was requested, but cannot be traced.
01-18 08:16:22.444  5298  5298 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] glNormalPointerBounds was requested, but cannot be traced.
01-18 08:16:22.444  5298  5298 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] glTexCoordPointerBounds was requested, but cannot be traced.
01-18 08:16:22.444  5298  5298 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] glVertexPointerBounds was requested, but cannot be traced.
01-18 08:16:22.444  5298  5298 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] glPointSizePointerOESBounds was requested, but cannot be traced.
01-18 08:16:22.444  5298  5298 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] glMatrixIndexPointerOESBounds was requested, but cannot be traced.
01-18 08:16:22.445  5298  5298 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] glWeightPointerOESBounds was requested, but cannot be traced.
01-18 08:16:22.445  5298  5298 I GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\spy.cpp:127] Registering spy symbols...
01-18 08:16:30.954  5298  5348 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] eglGetNativeClientBufferANDROID was requested, but cannot be traced.
01-18 08:16:30.955  5298  5348 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] MatrixLoadfEXT was requested, but cannot be traced.
01-18 08:16:30.955  5298  5348 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] MatrixLoaddEXT was requested, but cannot be traced.
01-18 08:16:30.955  5298  5348 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] MatrixMultfEXT was requested, but cannot be traced.
01-18 08:16:30.955  5298  5348 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] MatrixMultdEXT was requested, but cannot be traced.
01-18 08:16:30.955  5298  5348 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] MatrixLoadTransposefEXT was requested, but cannot be traced.
01-18 08:16:30.955  5298  5348 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] MatrixLoadTransposedEXT was requested, but cannot be traced.
01-18 08:16:30.955  5298  5348 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] MatrixMultTransposefEXT was requested, but cannot be traced.
01-18 08:16:30.955  5298  5348 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] MatrixMultTransposedEXT was requested, but cannot be traced.
01-18 08:16:30.955  5298  5348 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] MatrixLoadIdentityEXT was requested, but cannot be traced.
01-18 08:16:30.955  5298  5348 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] MatrixRotatefEXT was requested, but cannot be traced.
01-18 08:16:30.955  5298  5348 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] MatrixRotatedEXT was requested, but cannot be traced.
01-18 08:16:30.955  5298  5348 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] MatrixScalefEXT was requested, but cannot be traced.
01-18 08:16:30.955  5298  5348 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] MatrixScaledEXT was requested, but cannot be traced.
01-18 08:16:30.955  5298  5348 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] MatrixTranslatefEXT was requested, but cannot be traced.
01-18 08:16:30.955  5298  5348 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] MatrixTranslatedEXT was requested, but cannot be traced.
01-18 08:16:30.956  5298  5348 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] MatrixOrthoEXT was requested, but cannot be traced.
01-18 08:16:30.956  5298  5348 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] MatrixFrustumEXT was requested, but cannot be traced.
01-18 08:16:30.956  5298  5348 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] MatrixPushEXT was requested, but cannot be traced.
01-18 08:16:30.956  5298  5348 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] MatrixPopEXT was requested, but cannot be traced.
01-18 08:16:30.956  5298  5348 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] glClearPixelLocalStorageuiEXT was requested, but cannot be traced.
01-18 08:16:30.956  5298  5348 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] glClearTexImageEXT was requested, but cannot be traced.
01-18 08:16:30.956  5298  5348 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] glClearTexSubImageEXT was requested, but cannot be traced.
01-18 08:16:30.956  5298  5348 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] glConservativeRasterParameteriNV was requested, but cannot be traced.
01-18 08:16:30.956  5298  5348 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] glDrawTransformFeedbackInstancedEXT was requested, but cannot be traced.
01-18 08:16:30.956  5298  5348 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] glFramebufferPixelLocalStorageSizeEXT was requested, but cannot be traced.
01-18 08:16:30.956  5298  5348 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] glFramebufferTexture2DDownsampleIMG was requested, but cannot be traced.
01-18 08:16:30.956  5298  5348 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] glFramebufferTextureLayerDownsampleIMG was requested, but cannot be traced.
01-18 08:16:30.956  5298  5348 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] glGetFramebufferPixelLocalStorageSizeEXT was requested, but cannot be traced.
01-18 08:16:30.956  5298  5348 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] glGetTextureHandleIMG was requested, but cannot be traced.
01-18 08:16:30.956  5298  5348 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] glGetTextureSamplerHandleIMG was requested, but cannot be traced.
01-18 08:16:30.956  5298  5348 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] glProgramUniformHandleui64IMG was requested, but cannot be traced.
01-18 08:16:30.956  5298  5348 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] glProgramUniformHandleui64vIMG was requested, but cannot be traced.
01-18 08:16:30.956  5298  5348 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] glUniformHandleui64IMG was requested, but cannot be traced.
01-18 08:16:30.957  5298  5348 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] glUniformHandleui64vIMG was requested, but cannot be traced.
01-18 08:16:30.957  5298  5348 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] glXCreateContext was requested, but cannot be traced.
01-18 08:16:30.957  5298  5348 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] glXCreateNewContext was requested, but cannot be traced.
01-18 08:16:30.957  5298  5348 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] glXMakeContextCurrent was requested, but cannot be traced.
01-18 08:16:30.957  5298  5348 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] glXMakeCurrent was requested, but cannot be traced.
01-18 08:16:30.957  5298  5348 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] glXSwapBuffers was requested, but cannot be traced.
01-18 08:16:30.957  5298  5348 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] glXQueryDrawable was requested, but cannot be traced.
01-18 08:16:30.957  5298  5348 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] wglCreateContext was requested, but cannot be traced.
01-18 08:16:30.957  5298  5348 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] wglCreateContextAttribsARB was requested, but cannot be traced.
01-18 08:16:30.957  5298  5348 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] wglMakeCurrent was requested, but cannot be traced.
01-18 08:16:30.957  5298  5348 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] wglSwapBuffers was requested, but cannot be traced.
01-18 08:16:30.957  5298  5348 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] CGLCreateContext was requested, but cannot be traced.
01-18 08:16:30.957  5298  5348 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] CGLSetCurrentContext was requested, but cannot be traced.
01-18 08:16:30.957  5298  5348 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] CGLGetSurface was requested, but cannot be traced.
01-18 08:16:30.958  5298  5348 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] CGSGetSurfaceBounds was requested, but cannot be traced.
01-18 08:16:30.958  5298  5348 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] CGLFlushDrawable was requested, but cannot be traced.
01-18 08:16:30.958  5298  5348 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] glColorPointerBounds was requested, but cannot be traced.
01-18 08:16:30.958  5298  5348 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] glNormalPointerBounds was requested, but cannot be traced.
01-18 08:16:30.958  5298  5348 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] glTexCoordPointerBounds was requested, but cannot be traced.
01-18 08:16:30.958  5298  5348 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] glVertexPointerBounds was requested, but cannot be traced.
01-18 08:16:30.958  5298  5348 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] glPointSizePointerOESBounds was requested, but cannot be traced.
01-18 08:16:30.958  5298  5348 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] glMatrixIndexPointerOESBounds was requested, but cannot be traced.
01-18 08:16:30.958  5298  5348 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\android\installer.cpp:115] glWeightPointerOESBounds was requested, but cannot be traced.
01-18 08:16:31.009  5298  5348 I GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\spy.cpp:290] eglCreateContext requested: GL 2.0, profile 0x0, flags 0x0 -> 0x8db58d20
01-18 08:16:31.023  5298  5348 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\gles_context.cpp:294] glGetFloatv(GL_MULTISAMPLE_LINE_WIDTH_GRANULARITY) gave error 0x500
01-18 08:16:31.023  5298  5348 W GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\gles_context.cpp:295] glGetFloatv(GL_MULTISAMPLE_LINE_WIDTH_RANGE) gave error 0x500
01-18 08:16:31.025  5298  5348 I GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\spy.cpp:369] Active context ID: 1
01-18 08:16:31.025  5298  5348 I GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\spy.cpp:380] Framebuffer config: R8 G8 B8 A8 D24 S8
01-18 08:16:31.031  5298  5348 I GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\gles_extras.cpp:548] Created AndroidNativeBufferExtra: width=576, height=896, layers=690044
01-18 08:16:31.041  5298  5348 F GAPID   : [T:\src\github\src\github.com\google\gapid\gapii\cc\pool.cpp:34] Out of memory allocating 0x1f8000 bytes

@danginsburg
Copy link
Author

By the way, I notice this which looks a little suspicious and related to that fix you pointed me to:

[T:\src\github\src\github.com\google\gapid\gapii\cc\gles_extras.cpp:548] Created AndroidNativeBufferExtra: width=576, height=896, layers=690044

@danginsburg
Copy link
Author

I was able to capture the same application on Samsung Galaxy S7 Android 6.0.1 and GAPID is working properly with it so it seems specific to the NVIDIA Tegra K1.

@ben-clayton
Copy link
Contributor

Hi @danginsburg,

Sorry the fix didn't work for you. It would appear that for this particular device a reserved field (which in ASOP should be 0), has been used for something else. This reserved field is now in use in Android O to describe the number of layers in, which appears to hold the value 690044. Attempting to allocate 690044 576x896 images, unsurprisingly, is running out of memory.

I'm knocking together another fix which will ignore this field for devices running Android N or lower (where the field was not introduced).

We'll spin v1.0.2 to contain just this fix.
Thank you for your patience.

@ben-clayton
Copy link
Contributor

@danginsburg - can I ask what host OS you're running?
I'll can give you a custom build just to double check that this fixes your problem before going through the official release pipeline.

@danginsburg
Copy link
Author

@ben-clayton Win10 x64

@ben-clayton
Copy link
Contributor

Hi @danginsburg,

The custom build is here. Due to Google policy, I will need to grant you permission once you click the link.

Please note this build is unsigned, and may require clicking a few run-program-downloaded-from-internet dialogs to get going.

Please let me know how you get on.
Cheers,
Ben

@danginsburg
Copy link
Author

@ben-clayton I can confirm that I am now able to capture a trace so that build fixed the problem. This bug can be closed. Thanks!

There are some issues in the trace itself, but I'm still debugging some rendering issues so I'll file those once I'm sure they are not my bugs.

@ben-clayton
Copy link
Contributor

Hooray!
I'm glad we made some progress here.

Please file bugs for anything weird or broken. If you are able to share .gfxtrace files or APKs for reproduction that can really help - but no worries if you're unable to.

Many thanks,
Ben

@marcinkwiatkowski
Copy link

Hi @ben-clayton, do you mind pushing a new release with the fix above? I ran into same issue using 1.0.1 and verified that current master fixes it.

@ben-clayton
Copy link
Contributor

Hi @marcinkwiatkowski - sure, give me a couple of working days to get it out - the team have been traveling around a lot the past couple of weeks, and we have a lot of stuff to catch up on.

If you want to request access to the file above, please feel free to. Unfortunately there's no option to just make it public, otherwise I would.

@ben-clayton
Copy link
Contributor

@marcinkwiatkowski - I've pushed 1.0.2 which contains this fix.

Please let me know how you get on.

@marcinkwiatkowski
Copy link

Thanks @ben-clayton, much appreciated ❤️.

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

4 participants