模糊的gnu_stl崩溃

时间:2015-06-22 11:44:28

标签: android c++ gcc stl android-ndk

我使用Android NDK从我的应用程序中获得了相当模糊的崩溃。

********** Crash dump: **********
Build fingerprint: 'samsung/jfltexx/jflte:4.4.2/KOT49H/I9505XXUGNE5:user/release-keys'
pid: 4447, tid: 4447, name: com.redacted  >>> com.redacted <<<
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 00000004
Stack frame #00  pc 0111086e  /data/app-lib/com.redacted-1/libcocos2dcpp.so: Routine local_Rb_tree_decrement at /s/ndk-toolchain/src/gcc/gcc-4.9/libstdc++-v3/src/c++98/tree.cc:98
Stack frame #01  pc 006329f0  /data/app-lib/com.redacted-1/libcocos2dcpp.so (std::_Rb_tree_iterator<std::pair<std::string const, std::string> >::operator--()+28): Routine std::_Rb_tree_iterator<std::pair<std::string const, std::string> >::operator--() at /Users/arvidgerstmann/android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.9/include/bits/stl_tree.h:218
Stack frame #02  pc 00632934  /data/app-lib/com.redacted-1/libcocos2dcpp.so (std::_Rb_tree<std::string, std::pair<std::string const, std::string>, std::_Select1st<std::pair<std::string const, std::string> >, std::less<std::string>, std::allocator<std::pair<std::string const, std::string> > >::_M_get_insert_unique_pos(std::string const&)+324): Routine std::_Rb_tree<std::string, std::pair<std::string const, std::string>, std::_Select1st<std::pair<std::string const, std::string> >, std::less<std::string>, std::allocator<std::pair<std::string const, std::string> > >::_M_get_insert_unique_pos(std::string const&) at /Users/arvidgerstmann/android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.9/include/bits/stl_tree.h:1494
Stack frame #03  pc 006320f8  /data/app-lib/com.redacted-1/libcocos2dcpp.so (std::_Rb_tree<std::string, std::pair<std::string const, std::string>, std::_Select1st<std::pair<std::string const, std::string> >, std::less<std::string>, std::allocator<std::pair<std::string const, std::string> > >::_M_get_insert_hint_unique_pos(std::_Rb_tree_const_iterator<std::pair<std::string const, std::string> >, std::string const&)+268): Routine std::_Rb_tree<std::string, std::pair<std::string const, std::string>, std::_Select1st<std::pair<std::string const, std::string> >, std::less<std::string>, std::allocator<std::pair<std::string const, std::string> > >::_M_get_insert_hint_unique_pos(std::_Rb_tree_const_iterator<std::pair<std::string const, std::string> >, std::string const&) at /Users/arvidgerstmann/android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.9/include/bits/stl_tree.h:1586
Stack frame #04  pc 007017fc  /data/app-lib/com.redacted-1/libcocos2dcpp.so (_ZNSt8_Rb_treeISsSt4pairIKSsSsESt10_Select1stIS2_ESt4lessISsESaIS2_EE22_M_emplace_hint_uniqueIJRKSt21piecewise_construct_tSt5tupleIJRS1_EESD_IJEEEEESt17_Rb_tree_iteratorIS2_ESt23_Rb_tree_const_iteratorIS2_EDpOT_+152): Routine std::_Rb_tree_iterator<std::pair<std::string const, std::string> > std::_Rb_tree<std::string, std::pair<std::string const, std::string>, std::_Select1st<std::pair<std::string const, std::string> >, std::less<std::string>, std::allocator<std::pair<std::string const, std::string> > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<std::string const&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<std::string const, std::string> >, std::piecewise_construct_t const&, std::tuple<std::string const&>&&, std::tuple<>&&) at /Users/arvidgerstmann/android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.9/include/bits/stl_tree.h:1834 (discriminator 2)

我正在使用GCC 4.9和相应的GNU_STL来在Android上构建项目。它适用于clang和标准的c ++库 崩溃在启动后直接发生,甚至没有进入我的main()功能。

0 个答案:

没有答案