android-ndk-r16 android studio3.2 编译,开了 jit 优化是必定会随机崩溃,关闭 jit 优化后在谷歌后台也收到了很多的崩溃日志
********** Crash dump: **********
pid: 0, tid: 0 >>> com.lein.pppoker.android <<<
Stack frame #00 pc 000000000001f278 /system/lib64/libc.so (memcpy+760)
Stack frame #01 pc 00000000002fb23c /vendor/lib64/egl/libGLESv2_adreno.so (E
sxVertexArrayObject::UpdateInternalVbos(EsxDrawDescriptor const*, unsigned int,
EsxAttributeDesc const*)+1716)
Stack frame #02 pc 00000000002817f4 /vendor/lib64/egl/libGLESv2_adreno.so (A
6xVertexArrayObject::CalcVfdRegs(EsxDrawDescriptor const*, A6xVfdRegs*)+68)
Stack frame #03 pc 0000000000398ec0 /vendor/lib64/egl/libGLESv2_adreno.so (A
6xContext::ValidateState(EsxDrawDescriptor const*)+2416)
Stack frame #04 pc 000000000024c9b0 /vendor/lib64/egl/libGLESv2_adreno.so (E
sxContext::ValidateGfxState(EsxDrawDescriptor const*)+864)
Stack frame #05 pc 000000000024a814 /vendor/lib64/egl/libGLESv2_adreno.so (E
sxContext::DrawElementsInstanced(EsxPrimType, unsigned int, EsxPixType, void con
st*, unsigned int, int)+332)
Stack frame #06 pc 0000000000ee3dbc /data/app/com.lein.pppoker.android-RCfRv
dkOYrsPk1miGThbuQ==/lib/arm64/libcocos2dlua.so (cocos2d::TextureAtlas::drawNumbe
rOfQuads(long, long)+412): Routine cocos2d::TextureAtlas::drawNumberOfQuads(long
, long) at D:/PPokerEngine/frameworks/cocos2d-x/cocos/renderer/CCTextureAtlas.cp
p:691
Stack frame #07 pc 0000000000df1afc /data/app/com.lein.pppoker.android-RCfRv
dkOYrsPk1miGThbuQ==/lib/arm64/libcocos2dlua.so (cocos2d::onDraw(cocos2d::
Mat4 const&, bool)+344): Routine cocos2d::onDraw(cocos2d::Mat4 const&, bo
ol) at D:/PPokerEngine/frameworks/cocos2d-x/cocos/2d/CCLabel.cpp:1618
Stack frame #08 pc 0000000000ed86d4 /data/app/com.lein.pppoker.android-RCfRv
dkOYrsPk1miGThbuQ==/lib/arm64/libcocos2dlua.so (cocos2d::Renderer::processRender
Command(cocos2d::RenderCommand*)+104): Routine cocos2d::Renderer::processRenderC
ommand(cocos2d::RenderCommand*) at D:/PPokerEngine/frameworks/cocos2d-x/cocos/re
nderer/CCRenderer.cpp:450
Stack frame #09 pc 0000000000ed910c /data/app/com.lein.pppoker.android-RCfRv
dkOYrsPk1miGThbuQ==/lib/arm64/libcocos2dlua.so (cocos2d::Renderer::visitRenderQu
eue(cocos2d::RenderQueue&)+824): Routine cocos2d::Renderer::visitRenderQueue(coc
os2d::RenderQueue&) at D:/PPokerEngine/frameworks/cocos2d-x/cocos/renderer/CCRen
derer.cpp:588
Stack frame #10 pc 0000000000ed8728 /data/app/com.lein.pppoker.android-RCfRv
dkOYrsPk1miGThbuQ==/lib/arm64/libcocos2dlua.so (cocos2d::Renderer::processRender
Command(cocos2d::RenderCommand*)+188): Routine cocos2d::Renderer::processRenderC
ommand(cocos2d::RenderCommand*) at D:/PPokerEngine/frameworks/cocos2d-x/cocos/re
nderer/CCRenderer.cpp:442
Stack frame #11 pc 0000000000ed910c /data/app/com.lein.pppoker.android-RCfRv
dkOYrsPk1miGThbuQ==/lib/arm64/libcocos2dlua.so (cocos2d::Renderer::visitRenderQu
eue(cocos2d::RenderQueue&)+824): Routine cocos2d::Renderer::visitRenderQueue(coc
os2d::RenderQueue&) at D:/PPokerEngine/frameworks/cocos2d-x/cocos/renderer/CCRen
derer.cpp:588
Stack frame #12 pc 0000000000ed92a0 /data/app/com.lein.pppoker.android-RCfRv
dkOYrsPk1miGThbuQ==/lib/arm64/libcocos2dlua.so (cocos2d::Renderer::render()+112)
: Routine cocos2d::Renderer::render() at D:/PPokerEngine/frameworks/cocos2d-x/co
cos/renderer/CCRenderer.cpp:648
Stack frame #13 pc 0000000000e2378c /data/app/com.lein.pppoker.android-RCfRv
dkOYrsPk1miGThbuQ==/lib/arm64/libcocos2dlua.so (cocos2d::Scene::render(cocos2d::
Renderer*, cocos2d::Mat4 const*, cocos2d::Mat4 const*, unsigned int)+464): Routi
ne cocos2d::Scene::render(cocos2d::Renderer*, cocos2d::Mat4 const*, cocos2d::Mat
4 const*, unsigned int) at D:/PPokerEngine/frameworks/cocos2d-x/cocos/2d/CCScene
.cpp:238
Stack frame #14 pc 0000000000e871ec /data/app/com.lein.pppoker.android-RCfRv
dkOYrsPk1miGThbuQ==/lib/arm64/libcocos2dlua.so (cocos2d::Director::drawScene()+3
52): Routine cocos2d::Director::drawScene() at D:/PPokerEngine/frameworks/cocos2
d-x/cocos/base/CCDirector.cpp:302
Stack frame #15 pc 0000000000e89ddc /data/app/com.lein.pppoker.android-RCfRv
dkOYrsPk1miGThbuQ==/lib/arm64/libcocos2dlua.so (cocos2d::Director::mainLoop()+13
2): Routine cocos2d::Director::mainLoop() at D:/PPokerEngine/frameworks/cocos2d-
x/cocos/base/CCDirector.cpp:1484
Stack frame #16 pc 0000000000032400 /data/app/com.lein.pppoker.android-RCfRv
dkOYrsPk1miGThbuQ==/oat/arm64/base.odex (org.cocos2dx.lib.Cocos2dxRenderer.nativ
eDeleteBackward [DEDUPED]+144)
Stack frame #17 pc 0000000000006818 /dev/ashmem/dalvik-jit-code-cache (delet
ed)
********** Crash dump: **********
pid: 0, tid: 0 >>> com.lein.pppoker.android <<<
Stack frame #00 pc 0000000000021d54 /system/lib64/libc.so (abort+124)
Stack frame #01 pc 000000000046fcc0 /system/lib64/libart.so (art::Runtime::A
bort(char const*)+1320)
Stack frame #02 pc 0000000000008d2c /system/lib64/libbase.so (android::base:
:LogMessage::~LogMessage()+724)
Stack frame #03 pc 0000000000495a60 /system/lib64/libart.so (art::Pr
otectStack(bool)+400)
Stack frame #04 pc 0000000000495674 /system/lib64/libart.so (art::In
stallImplicitProtection()+132)
Stack frame #05 pc 00000000004970e8 /system/lib64/libart.so (art::In
itStackHwm()+504)
Stack frame #06 pc 00000000004952e8 /system/lib64/libart.so (art::In
it(art::ThreadList*, art::JavaVMExt*, art::JNIEnvExt*)+184)
Stack frame #07 pc 00000000004976ec /system/lib64/libart.so (art::At
tach(char const*, bool, _jobject*, bool)+452)
Stack frame #08 pc 000000000046edd8 /system/lib64/libart.so (art::Runtime::A
ttachCurrentThread(char const*, bool, _jobject*, bool)+112)
Stack frame #09 pc 00000000002f367c /system/lib64/libart.so (art::JII::Attac
hCurrentThreadInternal(_JavaVM*, _JNIEnv**, void*, bool)+244)
Stack frame #10 pc 00000000007c08f0 /data/app/com.lein.pppoker.android-aeu10
2jjRC2ln6Y_eViEMw==/lib/arm64/libcocos2dlua.so (cocos2d::JniHelper::cacheEnv(_Ja
vaVM*)+160): Routine _JavaVM::AttachCurrentThread(JNIEnv**, void*) at D:/androi
d-ndk-r16/build//…/sysroot/usr/include/jni.h:1060
Stack frame #11 pc 00000000007c0c78 /data/app/com.lein.pppoker.android-aeu10
2jjRC2ln6Y_eViEMw==/lib/arm64/libcocos2dlua.so (cocos2d::JniHelper::getStaticMet
hodInfo(cocos2d::JniMethodInfo&, char const*, char const*, char const*)+152): R
outine cocos2d::JniHelper::getEnv() at D:/PPokerEngine/frameworks/cocos2d-x/coco
s/platform/android/jni/JniHelper.cpp:125
Stack frame #12 pc 00000000007d72e0 /data/app/com.lein.pppoker.android-aeu10
2jjRC2ln6Y_eViEMw==/lib/arm64/libcocos2dlua.so (cocos2d::extra::HTTPRequest::onR
equest()+72): Routine cocos2d::extra::HTTPRequest::connectJava() at D:/PPokerEng
ine/frameworks/cocos2d-x/cocos/quick_libs/src/extra/platform/android/CCHTTPReque
stAndroid.cpp:674
Stack frame #13 pc 00000000007d67f4 /data/app/com.lein.pppoker.android-aeu10
2jjRC2ln6Y_eViEMw==/lib/arm64/libcocos2dlua.so (cocos2d::extra::HTTPRequest::req
uestCURL(void*)+8): Routine cocos2d::extra::HTTPRequest::requestCURL(void*) at D
:/PPokerEngine/frameworks/cocos2d-x/cocos/quick_libs/src/extra/platform/android/
CCHTTPRequestAndroid.cpp:573
Stack frame #14 pc 0000000000084dc0 /system/lib64/libc.so (__pthread_start(v
oid*)+208)
Stack frame #15 pc 0000000000023a4c /system/lib64/libc.so (__start_thread+68
)
********** Crash dump: **********
pid: 0, tid: 0 >>> com.lein.pppoker.android <<<
Stack frame #00 pc 0000000000018f84 /system/lib/libc.so (memcpy+112)
Stack frame #01 pc 0000000000de2c5c /data/app/com.lein.pppoker.android-DHs6Z
cvoGlZbRPvV_D8DoA==/lib/arm/libcocos2dlua.so (_ZN7cocos2d12TextureAtlas17drawNum
berOfQuadsEii+160): Routine cocos2d::FontAtlasCache::getFontAtlasTTF(cocos2d::_t
tfConfig const*) at D:/PPokerEngine/frameworks/cocos2d-x/cocos/2d/CCFontAtlasCac
he.cpp:79
Stack frame #02 pc 0000000000ce0804 /data/app/com.lein.pppoker.android-DHs6Z
cvoGlZbRPvV_D8DoA==/lib/arm/libcocos2dlua.so (_ZN7cocos2d5Label6onDrawERKNS_4Mat
4Eb+384): Routine std::__ndk1::basic_string<char, std::__ndk1::char_traits
, std::__ndk1::allocator >::__is_long() const at D:/android-ndk-r16/build/
/…/sources/cxx-stl/llvm-libc++/include/string:1219
Stack frame #03 pc 0000000000ddacfc /data/app/com.lein.pppoker.android-DHs6Z
cvoGlZbRPvV_D8DoA==/lib/arm/libcocos2dlua.so (_ZN7cocos2d8Renderer16visitRenderQ
ueueERNS_11RenderQueueE+872): Routine cocos2d::DrawNode::drawDot(cocos2d::Vec2 c
onst&, float, cocos2d::Color4F const&) at D:/PPokerEngine/frameworks/cocos2d-x/c
ocos/2d/CCDrawNode.cpp:671
Stack frame #04 pc 0000000000ddacfc /data/app/com.lein.pppoker.android-DHs6Z
cvoGlZbRPvV_D8DoA==/lib/arm/libcocos2dlua.so (_ZN7cocos2d8Renderer16visitRenderQ
ueueERNS_11RenderQueueE+872): Routine cocos2d::DrawNode::drawDot(cocos2d::Vec2 c
onst&, float, cocos2d::Color4F const&) at D:/PPokerEngine/frameworks/cocos2d-x/c
ocos/2d/CCDrawNode.cpp:671
Stack frame #05 pc 0000000000ddaec0 /data/app/com.lein.pppoker.android-DHs6Z
cvoGlZbRPvV_D8DoA==/lib/arm/libcocos2dlua.so (_ZN7cocos2d8Renderer6renderEv+96):
Routine cocos2d::v2fperp(cocos2d::Vec2 const&) at D:/PPokerEngine/frameworks/co
cos2d-x/cocos/2d/CCDrawNode.cpp:67
Stack frame #06 pc 0000000000d15ddc /data/app/com.lein.pppoker.android-DHs6Z
cvoGlZbRPvV_D8DoA==/lib/arm/libcocos2dlua.so (_ZN7cocos2d5Scene6renderEPNS_8Rend
ererEPKNS_4Mat4ES5_j+536): Routine cocos2d::PUMeshSurfaceEmitter::initParticlePo
sition(cocos2d::PUParticle3D*) at D:/PPokerEngine/frameworks/cocos2d-x/extension
s/Particle3D/PU/CCPUMeshSurfaceEmitter.cpp:444
Stack frame #07 pc 0000000000d15bb8 /data/app/com.lein.pppoker.android-DHs6Z
cvoGlZbRPvV_D8DoA==/lib/arm/libcocos2dlua.so (ZN7cocos2d5Scene6renderEPNS_8Rend
ererERKNS_4Mat4EPS4+28): Routine PUMeshSurfaceEmitter at D:/PPokerEngine/framew
orks/cocos2d-x/extensions/Particle3D/PU/CCPUMeshSurfaceEmitter.cpp:416
Stack frame #08 pc 0000000000d814bc /data/app/com.lein.pppoker.android-DHs6Z
cvoGlZbRPvV_D8DoA==/lib/arm/libcocos2dlua.so (_ZN7cocos2d8Director9drawSceneEv+4
96): Routine cocos2d::network::WsThreadHelper::quitWebSocketThread() at D:/PPoke
rEngine/frameworks/cocos2d-x/cocos/network/WebSocket.cpp:344
Stack frame #09 pc 0000000000d844e4 /data/app/com.lein.pppoker.android-DHs6Z
cvoGlZbRPvV_D8DoA==/lib/arm/libcocos2dlua.so (_ZN7cocos2d8Director8mainLoopEv+13
2): Routine std::__ndk1::vector<unsigned char, std::__ndk1::allocator >::__append(unsigned long, unsigned char const&) at D:/android-ndk-r16/buil
d//…/sources/cxx-stl/llvm-libc++/include/vector:1049
Stack frame #10 pc 000000000014b827 /data/app/com.lein.pppoker.android-DHs6Z
cvoGlZbRPvV_D8DoA==/oat/arm/base.odex
********** Crash dump: **********
pid: 0, tid: 0 >>> com.lein.pppoker.android <<<
Stack frame #00 pc 00000000006cf516 /data/app/com.lein.pppoker.android-1/lib
/arm/libcocos2dlua.so (ZNK7cocos2d12LuaEventNode9isRunningEv+5): Routine std::
_ndk1::char_traits::copy(char*, char const*, unsigned long) at D:/android-
ndk-r16/build//…/sources/cxx-stl/llvm-libc++/include/__string:225
Stack frame #01 pc 00000000006d1195 /data/app/com.lein.pppoker.android-1/lib
/arm/libcocos2dlua.so (ZN7cocos2d20LuaTouchEventManager14onTouchesBeganERKNSt6
_ndk16vectorIPNS_5TouchENS1_9allocatorIS4_EEEEPNS_5EventE+144): Routine __compre
ssed_pair_elem at D:/android-ndk-r16/build//…/sources/cxx-stl/llvm-libc++/inclu
de/memory:2043
Stack frame #02 pc 0000000000d8e4e4 /data/app/com.lein.pppoker.android-1/lib
/arm/libcocos2dlua.so: Routine std::__ndk1::__lookahead<char, std::__ndk1::regex
_traits >::__exec(std::__ndk1::__state&) const at D:/android-ndk-r16
/build//…/sources/cxx-stl/llvm-libc++/include/regex:3004
Stack frame #03 pc 0000000000d89d74 /data/app/com.lein.pppoker.android-1/lib
/arm/libcocos2dlua.so (_ZN7cocos2d15EventDispatcher29dispatchTouchEventToListene
rsEPNS0_19EventListenerVectorERKNSt6__ndk18functionIFbPNS_13EventListenerEEEE+16
4): Routine std::__ndk1::__allocate(unsigned long) at D:/android-ndk-r16/build//
…/sources/cxx-stl/llvm-libc++/include/new:226
Stack frame #04 pc 0000000000d8a98c /data/app/com.lein.pppoker.android-1/lib
/arm/libcocos2dlua.so (_ZN7cocos2d15EventDispatcher18dispatchTouchEventEPNS_10Ev
entTouchE+824): Routine ~basic_stringstream at D:/android-ndk-r16/build//…/sour
ces/cxx-stl/llvm-libc++/include/iosfwd:126
Stack frame #05 pc 0000000000d8a2c8 /data/app/com.lein.pppoker.android-1/lib
/arm/libcocos2dlua.so (_ZN7cocos2d15EventDispatcher13dispatchEventEPNS_5EventE+2
04): Routine std::__ndk1::char_traits::assign(char&, char const&) at D:/an
droid-ndk-r16/build//…/sources/cxx-stl/llvm-libc++/include/__string:208
Stack frame #06 pc 0000000000d60b68 /data/app/com.lein.pppoker.android-1/lib
/arm/libcocos2dlua.so (ZN7cocos2d6GLView18handleTouchesBeginEiPiPfS2+1072): Ro
utine void cocos2d::experimental::volumeRampMulti<1, 6, float, float, float, int
, int>(float*, unsigned long, float const*, int*, float*, float const*, int*, in
t) at D:/PPokerEngine/frameworks/cocos2d-x/cocos/audio/android/…/…\audio/andro
id/AudioMixerOps.h:337
Stack frame #07 pc 00000000006e4db5 /data/app/com.lein.pppoker.android-1/lib
/arm/libcocos2dlua.so (Java_org_cocos2dx_lib_Cocos2dxRenderer_nativeTouchesBegin
+44): Routine std::__ndk1::char_traits::copy(char*, char const*, unsigned
long) at D:/android-ndk-r16/build//…/sources/cxx-stl/llvm-libc++/include/__stri
ng:225
Stack frame #08 pc 0000000000f8de91 /data/app/com.lein.pppoker.android-1/oat
/arm/base.odex