Skip to content

what's wrong with TextureAtlas::drawNumberOfQuads(int, int) #17924

@toreinkun

Description

@toreinkun

on android, sometimes will cause these error, the crash stack is reported by bugly.
i dont't know how to reproduce it.

GLThread 1985(1985)

SIGSEGV(SEGV_MAPERR)
1 #00 pc 00010620 /system/lib/libc.so (__memcpy_base+88) [armeabi-v7a]
2 #1 pc 000fd4e7 /system/vendor/lib/egl/libGLESv2_adreno.so (EsxVertexArrayObject::UpdateInternalVbos(EsxDrawDescriptor const*, unsigned int, EsxAttributeDesc const*)+1158) [armeabi-v7a]
3 #2 pc 00127ee9 /system/vendor/lib/egl/libGLESv2_adreno.so (A4xVertexArrayObject::CalcVfdRegs(EsxDrawDescriptor const*, A4xVfdRegs*, int)+932) [armeabi-v7a]
4 #3 pc 0012bf0b /system/vendor/lib/egl/libGLESv2_adreno.so (A4xContext::ValidateVfdState(EsxDrawDescriptor const*, int)+38) [armeabi-v7a]
5 #4 pc 00133e3f /system/vendor/lib/egl/libGLESv2_adreno.so (A4xContext::ValidateState(EsxDrawDescriptor const*)+1426) [armeabi-v7a]
6 #5 pc 001340dd /system/vendor/lib/egl/libGLESv2_adreno.so (A4xContext::HwValidateGfxState(EsxDrawDescriptor const*)+4) [armeabi-v7a]
7 #6 pc 000bd0c3 /system/vendor/lib/egl/libGLESv2_adreno.so (EsxContext::ValidateGfxState(EsxDrawDescriptor const*)+486) [armeabi-v7a]
8 #7 pc 000bae75 /system/vendor/lib/egl/libGLESv2_adreno.so (EsxContext::DrawElementsInstanced(EsxPrimType, unsigned int, EsxPixType, void const*, unsigned int)+284) [armeabi-v7a]
9 #8 pc 000a93fd /system/vendor/lib/egl/libGLESv2_adreno.so (EsxContext::GlDrawElements(unsigned int, int, unsigned int, void const*)+48) [armeabi-v7a]
10 #9 pc 000a0fbf /system/vendor/lib/egl/libGLESv2_adreno.so (glDrawElements+38) [armeabi-v7a]
11 #10 pc 00531ce3 /data/app/com.test.tech/lib/arm/libcocos2dlua.so (cocos2d::TextureAtlas::drawNumberOfQuads(int, int)+318) [armeabi-v7a]
12 #11 pc 004debcd /data/app/com.test.tech/lib/arm/libcocos2dlua.so (cocos2d::Label::onDraw(cocos2d::Mat4 const&, bool)+236) [armeabi-v7a]
13 #12 pc 0052eb9d /data/app/com.test.tech/lib/arm/libcocos2dlua.so (cocos2d::Renderer::visitRenderQueue(cocos2d::RenderQueue&)+252) [armeabi-v7a]
14 #13 pc 0052fb77 /data/app/com.test.tech/lib/arm/libcocos2dlua.so (cocos2d::Renderer::render()+42) [armeabi-v7a]
15 #14 pc 004f5685 /data/app/com.test.tech/lib/arm/libcocos2dlua.so (cocos2d::Scene::render(cocos2d::Renderer*)+204) [armeabi-v7a]
16 #15 pc 00517873 /data/app/com.test.tech/lib/arm/libcocos2dlua.so (cocos2d::Director::drawScene()+110) [armeabi-v7a]
17 #16 pc 0051792 /data/app/com.test.tech/lib/arm/libcocos2dlua.so (cocos2d::Director::mainLoop()+58) [armeabi-v7a]
18 #17 pc 0111538d /data/dalvik-cache/arm/data@[email protected]@[email protected] (oatdata+17908621) [armeabi]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions