Android GL 报错

  • Creator 版本: 3.3.2

  • 目标平台: Android 8.0

  • 重现方式:本来好好的,手机弹出提示框Wifi无网络数据,是否切换数据流量,我点否,提示框取消,游戏就卡死了

  • 首个报错:E/Surface: queueBuffer: error queuing buffer to SurfaceTexture, -19
    E/EGL_adreno: tid 6221: swapBuffers(577): error 0x300d (EGL_BAD_SURFACE)
    E/Cocos: 04:05:38 [ERROR]: [ERROR] file D:/CocosDashboard_3.0/resources/.editors/Creator/3.3.2/resources/resources/3d/engine-native/cocos/renderer/gfx-gles3/GLES3Context.cpp: line 489
    E/Cocos: 04:05:38 [ERROR]: eglSwapBuffers(_eglDisplay, _eglSurface) returned EGL error: 0x300d
    E/assert: D:/CocosDashboard_3.0/resources/.editors/Creator/3.3.2/resources/resources/3d/engine-native/cocos/renderer/gfx-gles3/GLES3Context.cpp function:present line:489
    I/CocosActivity JNI: APP_CMD_TERM_WINDOW
    E/EGL_adreno: egl_window_surface_t::swapBuffers called with NULL buffer
    E/EGL_adreno: tid 6221: swapBuffers(534): error 0x300d (EGL_BAD_SURFACE)
    E/Cocos: 04:05:38 [ERROR]: [ERROR] file D:/CocosDashboard_3.0/resources/.editors/Creator/3.3.2/resources/resources/3d/engine-native/cocos/renderer/gfx-gles3/GLES3Context.cpp: line 489
    E/Cocos: 04:05:38 [ERROR]: eglSwapBuffers(_eglDisplay, _eglSurface) returned EGL error: 0x300d
    E/assert: D:/CocosDashboard_3.0/resources/.editors/Creator/3.3.2/resources/resources/3d/engine-native/cocos/renderer/gfx-gles3/GLES3Context.cpp function:present line:489
    D/EGL_adreno: eglMakeCurrent: 0xa6631f00: ver 3 1 (tinfo 0xb901c100)
    W/IInputConnectionWrapper: reportFullscreenMode on inexistent InputConnection
    D/CrashReport: >>> com.cocos.game.AppActivity onStop <<<
    I/CocosActivity JNI: APP_CMD_PAUSE
    I/CocosActivity JNI: appState=13
    D/Cocos: 04:05:38 [DEBUG]: Game::onPause
    D/Cocos: 04:05:38 [DEBUG]: AudioEngine::onEnterBackground
    D/Cocos: 04:05:38 [DEBUG]: AudioEngine::onEnterBackground 2
    D/Cocos: 04:05:38 [DEBUG]: AudioEngine::onEnterBackground 3
    D/Cocos: 04:05:38 [DEBUG]: AudioEngine::onEnterBackground 2
    D/Cocos: 04:05:38 [DEBUG]: AudioEngine::onEnterBackground 2
    D/Cocos: 04:05:38 [DEBUG]: AudioEngine::onEnterBackground 4
    W/UrlAudioPlayer: UrlAudioPlayer (0x9d3bff20, state:3) isn’t playing, could not invoke pause!

  • 之前哪个版本是正常的:

  • 手机型号:

  • 手机浏览器:

  • 编辑器操作系统:

  • 重现概率:

你好,请问重现的概率大么?
请问问题解决了么?
我们这边不知道如何重现这个问题,有点头疼。

请问c++内如何把堆栈信息打印出来