(求解答)crash cocos2d::TextureAtlas::drawNumberOfQuads(int, int)

相关堆栈:
#09 pc 0x00000000003b0d53 /data/app/~~-dcrqHLwSey0TTPx7bv4_A==/fnf.battle.music.rap.beat.fire.shooter-rxUZk5uWS1KVrhPe3j5r4A==/split_config.armeabi_v7a.apk!libMyGame.so (cocos2d::TextureAtlas::drawNumberOfQuads(int, int)+691) #10 pc 0x000000000033f463 /data/app/~~-dcrqHLwSey0TTPx7bv4_A==/fnf.battle.music.rap.beat.fire.shooter-rxUZk5uWS1KVrhPe3j5r4A==/split_config.armeabi_v7a.apk!libMyGame.so (cocos2d::Label::onDraw(cocos2d::Mat4 const&, bool)+1596) #11 pc 0x00000000003a929f /data/app/~~-dcrqHLwSey0TTPx7bv4_A==/fnf.battle.music.rap.beat.fire.shooter-rxUZk5uWS1KVrhPe3j5r4A==/split_config.armeabi_v7a.apk!libMyGame.so (cocos2d::Renderer::visitRenderQueue(cocos2d::RenderQueue&)+588) #12 pc 0x00000000003a93a7 /data/app/~~-dcrqHLwSey0TTPx7bv4_A==/fnf.battle.music.rap.beat.fire.shooter-rxUZk5uWS1KVrhPe3j5r4A==/split_config.armeabi_v7a.apk!libMyGame.so (cocos2d::Renderer::render()+648) #13 pc 0x000000000035e1c9 /data/app/~~-dcrqHLwSey0TTPx7bv4_A==/fnf.battle.music.rap.beat.fire.shooter-rxUZk5uWS1KVrhPe3j5r4A==/split_config.armeabi_v7a.apk!libMyGame.so (cocos2d::Scene::render(cocos2d::Renderer*, cocos2d::Mat4 const*, cocos2d::Mat4 const*, unsigned int)+238) #14 pc 0x000000000035e04d /data/app/~~-dcrqHLwSey0TTPx7bv4_A==/fnf.battle.music.rap.beat.fire.shooter-rxUZk5uWS1KVrhPe3j5r4A==/split_config.armeabi_v7a.apk!libMyGame.so (cocos2d::Scene::render(cocos2d::Renderer*, cocos2d::Mat4 const&, cocos2d::Mat4 const*)+190) #15 pc 0x00000000003c2c6b /data/app/~~-dcrqHLwSey0TTPx7bv4_A==/fnf.battle.music.rap.beat.fire.shooter-rxUZk5uWS1KVrhPe3j5r4A==/split_config.armeabi_v7a.apk!libMyGame.so (cocos2d::Director::drawScene()+302) #16 pc 0x00000000003c541b /data/app/~~-dcrqHLwSey0TTPx7bv4_A==/fnf.battle.music.rap.beat.fire.shooter-rxUZk5uWS1KVrhPe3j5r4A==/split_config.armeabi_v7a.apk!libMyGame.so (cocos2d::Director::mainLoop()+1484) #17 pc 0x000000000011a067 /data/app/~~-dcrqHLwSey0TTPx7bv4_A==/fnf.battle.music.rap.beat.fire.shooter-rxUZk5uWS1KVrhPe3j5r4A==/oat/arm/base.odex (art_jni_trampoline+94) #18 pc 0x00000000001e9717 /data/app/~~-dcrqHLwSey0TTPx7bv4_A==/fnf.battle.music.rap.beat.fire.shooter-rxUZk5uWS1KVrhPe3j5r4A==/oat/arm/base.odex (org.cocos2dx.lib.Cocos2dxRenderer.onDrawFrame+94) #19 pc 0x0000000000596009 /system/framework/arm/boot-framework.oat (android.opengl.GLSurfaceView$GLThread.guardedRun+3592) #20 pc 0x0000000000596741 /system/framework/arm/boot-framework.oat (android.opengl.GLSurfaceView$GLThread.run+184) #21 pc 0x00000000000d49d5 /apex/com.android.art/lib/libart.so (art_quick_invoke_stub_internal+68) #22 pc 0x00000000004bd3d3 /apex/com.android.art/lib/libart.so (art_quick_invoke_stub+294) #23 pc 0x0000000000123631 /apex/com.android.art/lib/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+148) #24 pc 0x00000000003e261f /apex/com.android.art/lib/libart.so (art::(anonymous namespace)::InvokeWithArgArray(art::ScopedObjectAccessAlreadyRunnable const&, art::ArtMethod*, art::(anonymous namespace)::ArgArray*, art::JValue*, char const*)+54) #25 pc 0x00000000003e3411 /apex/com.android.art/lib/libart.so (art::JValue art::InvokeVirtualOrInterfaceWithJValues<art::ArtMethod*>(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, art::ArtMethod*, jvalue const*)+356) #26 pc 0x00000000003e359f /apex/com.android.art/lib/libart.so (art::JValue art::InvokeVirtualOrInterfaceWithJValues<_jmethodID*>(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, _jmethodID*, jvalue const*)+42) #27 pc 0x000000000042311f /apex/com.android.art/lib/libart.so (art::Thread::CreateCallback(void*)+1066) #28 pc 0x00000000000b0547 /apex/com.android.runtime/lib/bionic/libc.so (__pthread_start(void*)+40) #29 pc 0x0000000000066b17 /apex/com.android.runtime/lib/bionic/libc.so (__start_thread+30)

问题描述:
cocos2dx3.17 + fairygui的工作环境,全局定义了自己的字体font,GP后台大部分问题都是这个,数量不算少,想知道有没有相关线索。
 
网上查到过在as更改一些代码试图恢复上下文关系的,又或是对底层cpy方法的加固都没有解决问题
 
线索:
同一个项目,如果去掉fgui里的描边,问题就会减少,如果再使用默认字体代替自己的字体,问题就会消失
 
但是项目不能没有字体,想知道有没有根源性的解决方法 或者线索
已邀请:

谷主

赞同来自:

这个看不出和fairygui有什么关联

要回复问题请先登录注册