11

Snapdragon デバイスで Android アプリケーションを実行すると、奇妙なクラッシュが発生しましたが、他のデバイスでは問題なく動作します。プロセスが終了する前のログは次のとおりです。

W/Adreno-EGLSUB( 3075): <DequeueBuffer:583>: dequeue native buffer fail: Unknown error 2147483646, buffer=0x0, handle=0x0
W/Adreno-EGLSUB( 3075): <SwapBuffers:1300>: Invalid native buffer. Failed to queueBuffer
W/Adreno-EGLSUB( 3075): <updater_thread:456>: native buffer is NULL
D/QCUtilClass( 2464): extended extractor not needed, return default.

と:

E/BufferQueue(  357): [xxx.xxxx.xxxxx(our game app)] dequeueBuffer: can't dequeue multiple buffers without setting the buffer count
W/Adreno-EGLSUB( 3075): <DequeueBuffer:583>: dequeue native buffer fail: Invalid argument, buffer=0x0, handle=0x0
W/Adreno-ES20( 3075): <gl2_surface_swap:43>: GL_OUT_OF_MEMORY
W/Adreno-EGL( 3075): <qeglDrvAPI_eglSwapBuffers:3590>: EGL_BAD_SURFACE

.....

どんな助けでも感謝します。ありがとう。

4

1 に答える 1

2

ここから発生しているように見えますBufferQueue行 401.キューコンストラクター内で初期化されたバッファーサイズ。

Android マニフェストでハードウェア アクセラレーションを無効にしてみてください。役に立ちそうです。その場合は、OS のバージョンまたはデバイスの CPU に応じて、プログラムでこれを行います。最新の Android OS バージョンのバグのようです。

于 2014-09-03T17:05:51.807 に答える