Skip to content

Android crash on start when compiling for armeabi #17239

@xdeop

Description

@xdeop
  • cocos2d-x version: 3.13.1
  • devices test on: Samsung Galaxy Alpha
  • developing environments
    • NDK version: r13b
    • Xcode version: 8.2.1
    • Android Studio version: 2.2.3

I'm getting this crash on game start:

********** Crash dump: **********
Build fingerprint: 'samsung/sltexx/slte:5.0.2/LRX22G/G850FXXU2COI3:user/release-keys'
pid: 1855, tid: 3046, name: GLThread 4983 >>> com.example.mygame <<<
signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
Stack frame #00 pc 00039f70 /system/lib/libc.so (tgkill+12)
Stack frame #1 pc 00017589 /system/lib/libc.so (pthread_kill+52)
Stack frame #2 pc 0001819b /system/lib/libc.so (raise+10)
Stack frame #3 pc 00014ae5 /system/lib/libc.so (__libc_android_abort+36)
Stack frame #4 pc 00012aac /system/lib/libc.so (abort+4)
Stack frame #5 pc 00a31567 /data/app/com.example.mygame-1/lib/arm/libMyGame.so (__gnu_cxx::__verbose_terminate_handler()+226)
Stack frame #6 pc 009ffd8d /data/app/com.example.mygame-1/lib/arm/libMyGame.so (__cxxabiv1::__terminate(void ()())+4)
Stack frame #7 pc 009ffe01 /data/app/com.example.mygame-1/lib/arm/libMyGame.so (std::terminate()+8)
Stack frame #8 pc 009fff5b /data/app/com.example.mygame-1/lib/arm/libMyGame.so (__cxa_rethrow+46)
Stack frame #9 pc 0054898c /data/app/com.example.mygame-1/lib/arm/libMyGame.so (std::_Hashtable<std::string, std::pair<std::string const, cocos2d::Value>, std::allocator<std::pair<std::string const, cocos2d::Value> >, std::__detail::_Select1st, std::equal_tostd::string, std::hashstd::string, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<true, false, true> >::operator=(std::_Hashtable<std::s
Stack frame #10 pc 0054873c /data/app/com.example.mygame-1/lib/arm/libMyGame.so (std::unordered_map<std::string, cocos2d::Value, std::hashstd::string, std::equal_tostd::string, std::allocator<std::pair<std::string const, cocos2d::Value> > >::operator=(std::unordered_map<std::string, cocos2d::Value, std::hashstd::string, std::equal_tostd::string, std::allocator<std::pair<std::string const, cocos2d::Value> > > const&)+32)
Stack frame #11 pc 006abd2c /data/app/com.example.mygame-1/lib/arm/libMyGame.so (cocos2d::Value::Value(std::unordered_map<std::string, cocos2d::Value, std::hashstd::string, std::equal_tostd::string, std::allocator<std::pair<std::string const, cocos2d::Value> > > const&)+268)
Stack frame #12 pc 0063fb80 /data/app/com.example.mygame-1/lib/arm/libMyGame.so (cocos2d::Configuration::getInfo() const+52)
Stack frame #13 pc 0065c748 /data/app/com.example.mygame-1/lib/arm/libMyGame.so (cocos2d::Director::setOpenGLView(cocos2d::GLView
)+224)
Stack frame #14 pc 0048470d /data/app/com.example.mygame-1/lib/arm/libMyGame.so (Java_org_cocos2dx_lib_Cocos2dxRenderer_nativeInit+156)
Stack frame #15 pc 00147e41 /data/dalvik-cache/arm/data@[email protected]@[email protected]
Crash dump is completed

I'm unable to track or discover where the error is.

Thanks in advance!!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions