creator版本:2.4.0rc2
在解析text = ’ '的时候崩溃,
Build fingerprint: ‘Xiaomi/sagit/sagit:9/PKQ1.190118.001/20.6.4:user/release-keys’
Revision: ‘0’
ABI: ‘arm’
pid: 12030, tid: 12068, name: GLThread 12947 >>> com.a.a <<<
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0
Cause: null pointer dereference
r0 00000000 r1 d46fd724 r2 00000000 r3 00000000
r4 d46fdcd8 r5 d1b048fc r6 d4299841 r7 d429993c
r8 d46fdd30 r9 00000000 r10 d2fe7468 r11 d46fd6d0
ip d4267a7c sp d46fd634 lr d334ac94 pc d334b058
backtrace:
#00 pc 00b2d058 /data/app/com.a.a-wo0HoepSuFAPVvM2YzVe4w==/lib/arm/libcocos2djs.so (cocos2d::GlyphBitmap::getWidth() const+12)
#01 pc 00b2cc90 /data/app/com.a.a-wo0HoepSuFAPVvM2YzVe4w==/lib/arm/libcocos2djs.so (cocos2d::FontAtlas::prepareLetter(unsigned long, std::__ndk1::shared_ptrcocos2d::GlyphBitmap)+168)
#02 pc 00b2d6c4 /data/app/com.a.a-wo0HoepSuFAPVvM2YzVe4w==/lib/arm/libcocos2djs.so (cocos2d::FontAtlas::prepareLetters(std::__ndk1::basic_string<char32_t, std::__ndk1::char_traits<char32_t>, std::__ndk1::allocator<char32_t>> const&, cocos2d::FontFreeType*)+312)
#03 pc 00a626d4 /data/app/com.a.a-wo0HoepSuFAPVvM2YzVe4w==/lib/arm/libcocos2djs.so (cocos2d::LabelLayout::updateContent()+476)
#04 pc 00a6224c /data/app/com.a.a-wo0HoepSuFAPVvM2YzVe4w==/lib/arm/libcocos2djs.so (cocos2d::LabelLayout::init(std::__ndk1::basic_string<char, std::__ndk1::char_traits, std::__ndk1::allocator> const&, std::__ndk1::basic_string<char, std::__ndk1::char_traits, std::__ndk1::allocator> const&, float, float, cocos2d::LabelLayoutInfo*)+496)
#05 pc 00903ff0 /data/app/com.a.a-wo0HoepSuFAPVvM2YzVe4w==/lib/arm/libcocos2djs.so (cocos2d::LabelRenderer::genStringLayout()+296)
#06 pc 009044f8 /data/app/com.a.a-wo0HoepSuFAPVvM2YzVe4w==/lib/arm/libcocos2djs.so (cocos2d::LabelRenderer::render()+152)
#07 pc 007c97a4 /data/app/com.a.a-wo0HoepSuFAPVvM2YzVe4w==/lib/arm/libcocos2djs.so
#08 pc 007c95b8 /data/app/com.a.a-wo0HoepSuFAPVvM2YzVe4w==/lib/arm/libcocos2djs.so (js_engine_LabelRenderer_renderRegistry(v8::FunctionCallbackInfov8::Value const&)+336)
#09 pc 014df0b5 /data/app/com.a.a-wo0HoepSuFAPVvM2YzVe4w==/lib/arm/libcocos2djs.so (v8::internal::FunctionCallbackArguments::Call(v8::internal::CallHandlerInfo)+336)
#10 pc 014dea69 /data/app/com.a.a-wo0HoepSuFAPVvM2YzVe4w==/lib/arm/libcocos2djs.so
#11 pc 014de427 /data/app/com.a.a-wo0HoepSuFAPVvM2YzVe4w==/lib/arm/libcocos2djs.so
#12 pc 01401c60 /data/app/com.a.a-wo0HoepSuFAPVvM2YzVe4w==/lib/arm/libcocos2djs.so