H-uru / dirtsand

The D'ni in Real-Time Server and Network Dæmon
GNU Affero General Public License v3.0
35 stars 24 forks source link

Port to string_theory #109

Closed zrax closed 7 years ago

Hoikas commented 7 years ago
                 from /home/adamj/dev/dirtsand/SDL/DescriptorDb.h:24,
                 from /home/adamj/dev/dirtsand/AuthServ/AuthDaemon.cpp:20:
/usr/include/c++/4.8/bits/hashtable.h: In instantiation of ‘class std::_Hashtable<ST::string, std::pair<const ST::string, int>, std::allocator<std::pair<const ST::string, int> >, std::__detail::_Select1st, std::equal_to<ST::string>, ST::hash, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<false, false, true> >’:
/usr/include/c++/4.8/bits/unordered_map.h:100:18:   required from ‘class std::unordered_map<ST::string, int, ST::hash>’
/home/adamj/dev/dirtsand/SDL/DescriptorDb.h:66:18:   required from here
/usr/include/c++/4.8/bits/hashtable.h:268:7: error: static assertion failed: Cache the hash code or make functors involved in hash code and bucket index computation default constructible
       static_assert(__if_hash_not_cached<
       ^
/usr/include/c++/4.8/bits/hashtable.h: In instantiation of ‘class std::_Hashtable<ST::string, std::pair<const ST::string, SDL::State>, std::allocator<std::pair<const ST::string, SDL::State> >, std::__detail::_Select1st, std::equal_to<ST::string>, ST::hash, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<false, false, true> >’:
/usr/include/c++/4.8/bits/unordered_map.h:100:18:   required from ‘class std::unordered_map<ST::string, SDL::State, ST::hash>’
/home/adamj/dev/dirtsand/AuthServ/AuthDaemon.cpp:33:54:   required from here
/usr/include/c++/4.8/bits/hashtable.h:268:7: error: static assertion failed: Cache the hash code or make functors involved in hash code and bucket index computation default constructible
make[2]: *** [CMakeFiles/dirtsand.dir/AuthServ/AuthDaemon.cpp.o] Error 1
make[1]: *** [CMakeFiles/dirtsand.dir/all] Error 2
make: *** [all] Error 2
zrax commented 7 years ago

That's a libstdc++ bug (https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56278). Out of curiosity, does it work if you derive ST::hash from std::hash<std::string> (that's the only discernable difference to DS::String I can find).

Hoikas commented 7 years ago

That doesn't seem to fix the issue, unfortunately. I do note that I am using an out of date version of mint, so I will update to the latest of that and try again. There isn't that much we can do about STL bugs :/

zrax commented 7 years ago

I can't tell what's up with the SDL::Variable::_ref destructor from the call stack alone, but the other two issues should be fixed.

Hoikas commented 7 years ago

I got this when attempting to create a player

Abort at bin/dirtsand() [0x52e7e6]
    from bin/dirtsand() [0x52e90e]
    from /lib/x86_64-linux-gnu/libc.so.6(+0x354b0) [0x7f4fe63b74b0]
    from /lib/x86_64-linux-gnu/libc.so.6(gsignal+0x38) [0x7f4fe63b7428]
    from /lib/x86_64-linux-gnu/libc.so.6(abort+0x16a) [0x7f4fe63b902a]
    from /usr/local/lib/libstring_theory.so.1(_ZN2ST18set_assert_handlerESt8functionIFvPKcS2_iS2_EE+0) [0x7f4fe6f0ad48]
    from /usr/local/lib/libstring_theory.so.1(_ZNSt17_Function_handlerIFvPKcS1_iS1_EPS2_E9_M_invokeERKSt9_Any_dataOS1_S8_OiS8_+0x7c) [0x7f4fe6f0b15b]
    from /usr/local/lib/libstring_theory.so.1(_ZNKSt8functionIFvPKcS1_iS1_EEclES1_S1_iS1_+0x8d) [0x7f4fe6f0e5d3]
    from /usr/local/lib/libstring_theory.so.1(_ZN2ST13base64_encodeEPKvm+0x77) [0x7f4fe6f0da64]
    from bin/dirtsand(_Z13v_create_nodeRKN2DS5Vault4NodeE+0xe57) [0x502628]
    from bin/dirtsand(_Z12v_create_age18AuthServer_AgeInfoj+0xba3) [0x4feb9c]
    from bin/dirtsand(_Z17dm_auth_createAgeP14Auth_AgeCreate+0x35b) [0x4f3aec]
    from bin/dirtsand(_Z13dm_authDaemonv+0x9ec) [0x4f72f8]
    from bin/dirtsand(_ZNSt12_Bind_simpleIFPFvvEvEE9_M_invokeIJEEEvSt12_Index_tupleIJXspT_EEE+0x25) [0x4d8dbd]
    from bin/dirtsand(_ZNSt12_Bind_simpleIFPFvvEvEEclEv+0x2c) [0x4d8d16]
    from bin/dirtsand(_ZNSt6thread5_ImplISt12_Bind_simpleIFPFvvEvEEE6_M_runEv+0x1c) [0x4d8ca6]
    from /usr/lib/x86_64-linux-gnu/libstdc++.so.6(+0xb8c80) [0x7f4fe6c36c80]
    from /lib/x86_64-linux-gnu/libpthread.so.0(+0x76ba) [0x7f4fe67526ba]
    from /lib/x86_64-linux-gnu/libc.so.6(clone+0x6d) [0x7f4fe648882d]
Segfault at bin/dirtsand() [0x52e7e6]
    from bin/dirtsand() [0x52e90e]
    from /lib/x86_64-linux-gnu/libc.so.6(+0x354b0) [0x7f4fe63b74b0]
    from bin/dirtsand(_ZN3SDL8Variable4_ref5clearEv+0x3b) [0x545299]
    from bin/dirtsand(_ZN3SDL8Variable4_refD1Ev+0x18) [0x4f7a44]
    from bin/dirtsand(_ZN3SDL8Variable4_ref5unrefEv+0x38) [0x4f7a90]
    from bin/dirtsand(_ZN3SDL8VariableD1Ev+0x27) [0x4f7a29]
    from bin/dirtsand(_ZSt8_DestroyIN3SDL8VariableEEvPT_+0x18) [0x4faec5]
    from bin/dirtsand(_ZNSt12_Destroy_auxILb0EE9__destroyIPN3SDL8VariableEEEvT_S5_+0x2e) [0x4fa92f]
    from bin/dirtsand(_ZSt8_DestroyIPN3SDL8VariableEEvT_S3_+0x23) [0x4fa1f2]
    from bin/dirtsand(_ZSt8_DestroyIPN3SDL8VariableES1_EvT_S3_RSaIT0_E+0x27) [0x4f9683]
    from bin/dirtsand(_ZNSt6vectorIN3SDL8VariableESaIS1_EED2Ev+0x35) [0x4f88c7]
    from bin/dirtsand(_ZN3SDL5State4_refD2Ev+0x4c) [0x4f7c02]
    from bin/dirtsand(_ZN3SDL5State4_ref5unrefEv+0x34) [0x4f7c3a]
    from bin/dirtsand(_ZN3SDL5StateD2Ev+0x27) [0x4f7b3d]
    from bin/dirtsand(_ZNSt4pairIKN2ST6stringEN3SDL5StateEED1Ev+0x1c) [0x4fb330]
    from bin/dirtsand(_ZN9__gnu_cxx13new_allocatorISt4pairIKN2ST6stringEN3SDL5StateEEE7destroyIS7_EEvPT_+0x1c) [0x4fb35c]
    from bin/dirtsand(_ZNSt16allocator_traitsISaISt4pairIKN2ST6stringEN3SDL5StateEEEE7destroyIS6_EEvRS7_PT_+0x23) [0x4faf7e]
    from bin/dirtsand(_ZNSt8__detail16_Hashtable_allocISaINS_10_Hash_nodeISt4pairIKN2ST6stringEN3SDL5StateEELb0EEEEE18_M_deallocate_nodeEPS9_+0x6c) [0x4faa00]
    from bin/dirtsand(_ZNSt8__detail16_Hashtable_allocISaINS_10_Hash_nodeISt4pairIKN2ST6stringEN3SDL5StateEELb0EEEEE19_M_deallocate_nodesEPS9_+0x42) [0x4fa2c2]
    from bin/dirtsand(_ZNSt10_HashtableIN2ST6stringESt4pairIKS1_N3SDL5StateEESaIS6_ENSt8__detail10_Select1stESt8equal_toIS1_ENS0_4hashENS8_18_Mod_range_hashingENS8_20_Default_ranged_hashENS8_20_Prime_rehash_policyENS8_17_Hashtable_traitsILb0ELb0ELb1EEEE5clearEv+0x2a) [0x4f976c]
    from bin/dirtsand(_ZNSt10_HashtableIN2ST6stringESt4pairIKS1_N3SDL5StateEESaIS6_ENSt8__detail10_Select1stESt8equal_toIS1_ENS0_4hashENS8_18_Mod_range_hashingENS8_20_Default_ranged_hashENS8_20_Prime_rehash_policyENS8_17_Hashtable_traitsILb0ELb0ELb1EEEED1Ev+0x18) [0x4f896a]
    from bin/dirtsand(_ZNSt13unordered_mapIN2ST6stringEN3SDL5StateENS0_4hashESt8equal_toIS1_ESaISt4pairIKS1_S3_EEED1Ev+0x18) [0x4fbab2]
    from /lib/x86_64-linux-gnu/libc.so.6(+0x39ff8) [0x7f4fe63bbff8]
    from /lib/x86_64-linux-gnu/libc.so.6(+0x3a045) [0x7f4fe63bc045]
    from bin/dirtsand() [0x52e918]
    from /lib/x86_64-linux-gnu/libc.so.6(+0x354b0) [0x7f4fe63b74b0]
    from /lib/x86_64-linux-gnu/libc.so.6(gsignal+0x38) [0x7f4fe63b7428]
    from /lib/x86_64-linux-gnu/libc.so.6(abort+0x16a) [0x7f4fe63b902a]
    from /usr/local/lib/libstring_theory.so.1(_ZN2ST18set_assert_handlerESt8functionIFvPKcS2_iS2_EE+0) [0x7f4fe6f0ad48]
    from /usr/local/lib/libstring_theory.so.1(_ZNSt17_Function_handlerIFvPKcS1_iS1_EPS2_E9_M_invokeERKSt9_Any_dataOS1_S8_OiS8_+0x7c) [0x7f4fe6f0b15b]
    from /usr/local/lib/libstring_theory.so.1(_ZNKSt8functionIFvPKcS1_iS1_EEclES1_S1_iS1_+0x8d) [0x7f4fe6f0e5d3]
    from /usr/local/lib/libstring_theory.so.1(_ZN2ST13base64_encodeEPKvm+0x77) [0x7f4fe6f0da64]
    from bin/dirtsand(_Z13v_create_nodeRKN2DS5Vault4NodeE+0xe57) [0x502628]
    from bin/dirtsand(_Z12v_create_age18AuthServer_AgeInfoj+0xba3) [0x4feb9c]
    from bin/dirtsand(_Z17dm_auth_createAgeP14Auth_AgeCreate+0x35b) [0x4f3aec]
    from bin/dirtsand(_Z13dm_authDaemonv+0x9ec) [0x4f72f8]
    from bin/dirtsand(_ZNSt12_Bind_simpleIFPFvvEvEE9_M_invokeIJEEEvSt12_Index_tupleIJXspT_EEE+0x25) [0x4d8dbd]
    from bin/dirtsand(_ZNSt12_Bind_simpleIFPFvvEvEEclEv+0x2c) [0x4d8d16]
    from bin/dirtsand(_ZNSt6thread5_ImplISt12_Bind_simpleIFPFvvEvEEE6_M_runEv+0x1c) [0x4d8ca6]
    from /usr/lib/x86_64-linux-gnu/libstdc++.so.6(+0xb8c80) [0x7f4fe6c36c80]
    from /lib/x86_64-linux-gnu/libpthread.so.0(+0x76ba) [0x7f4fe67526ba]
    from /lib/x86_64-linux-gnu/libc.so.6(clone+0x6d) [0x7f4fe648882d]
Unhandled exception at bin/dirtsand() [0x52e7e6]
    from bin/dirtsand() [0x52e926]
    from /usr/lib/x86_64-linux-gnu/libstdc++.so.6(+0x8d6b6) [0x7f4fe6c0b6b6]
    from /usr/lib/x86_64-linux-gnu/libstdc++.so.6(+0x8d701) [0x7f4fe6c0b701]
    from bin/dirtsand(_ZNSt6threadD2Ev+0x21) [0x4d7785]
    from /lib/x86_64-linux-gnu/libc.so.6(+0x39ff8) [0x7f4fe63bbff8]
    from /lib/x86_64-linux-gnu/libc.so.6(+0x3a045) [0x7f4fe63bc045]
    from bin/dirtsand() [0x52e918]
    from /lib/x86_64-linux-gnu/libc.so.6(+0x354b0) [0x7f4fe63b74b0]
    from bin/dirtsand(_ZN3SDL8Variable4_ref5clearEv+0x3b) [0x545299]
    from bin/dirtsand(_ZN3SDL8Variable4_refD1Ev+0x18) [0x4f7a44]
    from bin/dirtsand(_ZN3SDL8Variable4_ref5unrefEv+0x38) [0x4f7a90]
    from bin/dirtsand(_ZN3SDL8VariableD1Ev+0x27) [0x4f7a29]
    from bin/dirtsand(_ZSt8_DestroyIN3SDL8VariableEEvPT_+0x18) [0x4faec5]
    from bin/dirtsand(_ZNSt12_Destroy_auxILb0EE9__destroyIPN3SDL8VariableEEEvT_S5_+0x2e) [0x4fa92f]
    from bin/dirtsand(_ZSt8_DestroyIPN3SDL8VariableEEvT_S3_+0x23) [0x4fa1f2]
    from bin/dirtsand(_ZSt8_DestroyIPN3SDL8VariableES1_EvT_S3_RSaIT0_E+0x27) [0x4f9683]
    from bin/dirtsand(_ZNSt6vectorIN3SDL8VariableESaIS1_EED2Ev+0x35) [0x4f88c7]
    from bin/dirtsand(_ZN3SDL5State4_refD2Ev+0x4c) [0x4f7c02]
    from bin/dirtsand(_ZN3SDL5State4_ref5unrefEv+0x34) [0x4f7c3a]
    from bin/dirtsand(_ZN3SDL5StateD2Ev+0x27) [0x4f7b3d]
    from bin/dirtsand(_ZNSt4pairIKN2ST6stringEN3SDL5StateEED1Ev+0x1c) [0x4fb330]
    from bin/dirtsand(_ZN9__gnu_cxx13new_allocatorISt4pairIKN2ST6stringEN3SDL5StateEEE7destroyIS7_EEvPT_+0x1c) [0x4fb35c]
    from bin/dirtsand(_ZNSt16allocator_traitsISaISt4pairIKN2ST6stringEN3SDL5StateEEEE7destroyIS6_EEvRS7_PT_+0x23) [0x4faf7e]
    from bin/dirtsand(_ZNSt8__detail16_Hashtable_allocISaINS_10_Hash_nodeISt4pairIKN2ST6stringEN3SDL5StateEELb0EEEEE18_M_deallocate_nodeEPS9_+0x6c) [0x4faa00]
    from bin/dirtsand(_ZNSt8__detail16_Hashtable_allocISaINS_10_Hash_nodeISt4pairIKN2ST6stringEN3SDL5StateEELb0EEEEE19_M_deallocate_nodesEPS9_+0x42) [0x4fa2c2]
    from bin/dirtsand(_ZNSt10_HashtableIN2ST6stringESt4pairIKS1_N3SDL5StateEESaIS6_ENSt8__detail10_Select1stESt8equal_toIS1_ENS0_4hashENS8_18_Mod_range_hashingENS8_20_Default_ranged_hashENS8_20_Prime_rehash_policyENS8_17_Hashtable_traitsILb0ELb0ELb1EEEE5clearEv+0x2a) [0x4f976c]
    from bin/dirtsand(_ZNSt10_HashtableIN2ST6stringESt4pairIKS1_N3SDL5StateEESaIS6_ENSt8__detail10_Select1stESt8equal_toIS1_ENS0_4hashENS8_18_Mod_range_hashingENS8_20_Default_ranged_hashENS8_20_Prime_rehash_policyENS8_17_Hashtable_traitsILb0ELb0ELb1EEEED1Ev+0x18) [0x4f896a]
    from bin/dirtsand(_ZNSt13unordered_mapIN2ST6stringEN3SDL5StateENS0_4hashESt8equal_toIS1_ESaISt4pairIKS1_S3_EEED1Ev+0x18) [0x4fbab2]
    from /lib/x86_64-linux-gnu/libc.so.6(+0x39ff8) [0x7f4fe63bbff8]
    from /lib/x86_64-linux-gnu/libc.so.6(+0x3a045) [0x7f4fe63bc045]
    from bin/dirtsand() [0x52e918]
    from /lib/x86_64-linux-gnu/libc.so.6(+0x354b0) [0x7f4fe63b74b0]
    from /lib/x86_64-linux-gnu/libc.so.6(gsignal+0x38) [0x7f4fe63b7428]
    from /lib/x86_64-linux-gnu/libc.so.6(abort+0x16a) [0x7f4fe63b902a]
    from /usr/local/lib/libstring_theory.so.1(_ZN2ST18set_assert_handlerESt8functionIFvPKcS2_iS2_EE+0) [0x7f4fe6f0ad48]
    from /usr/local/lib/libstring_theory.so.1(_ZNSt17_Function_handlerIFvPKcS1_iS1_EPS2_E9_M_invokeERKSt9_Any_dataOS1_S8_OiS8_+0x7c) [0x7f4fe6f0b15b]
    from /usr/local/lib/libstring_theory.so.1(_ZNKSt8functionIFvPKcS1_iS1_EEclES1_S1_iS1_+0x8d) [0x7f4fe6f0e5d3]
    from /usr/local/lib/libstring_theory.so.1(_ZN2ST13base64_encodeEPKvm+0x77) [0x7f4fe6f0da64]
    from bin/dirtsand(_Z13v_create_nodeRKN2DS5Vault4NodeE+0xe57) [0x502628]
    from bin/dirtsand(_Z12v_create_age18AuthServer_AgeInfoj+0xba3) [0x4feb9c]
    from bin/dirtsand(_Z17dm_auth_createAgeP14Auth_AgeCreate+0x35b) [0x4f3aec]
    from bin/dirtsand(_Z13dm_authDaemonv+0x9ec) [0x4f72f8]
    from bin/dirtsand(_ZNSt12_Bind_simpleIFPFvvEvEE9_M_invokeIJEEEvSt12_Index_tupleIJXspT_EEE+0x25) [0x4d8dbd]
    from bin/dirtsand(_ZNSt12_Bind_simpleIFPFvvEvEEclEv+0x2c) [0x4d8d16]
    from bin/dirtsand(_ZNSt6thread5_ImplISt12_Bind_simpleIFPFvvEvEEE6_M_runEv+0x1c) [0x4d8ca6]
    from /usr/lib/x86_64-linux-gnu/libstdc++.so.6(+0xb8c80) [0x7f4fe6c36c80]
    from /lib/x86_64-linux-gnu/libpthread.so.0(+0x76ba) [0x7f4fe67526ba]
    from /lib/x86_64-linux-gnu/libc.so.6(clone+0x6d) [0x7f4fe648882d]
Unhandled exception at bin/dirtsand() [0x52e7e6]
    from bin/dirtsand() [0x52e926]
    from /usr/lib/x86_64-linux-gnu/libstdc++.so.6(+0x8d6b6) [0x7f4fe6c0b6b6]
    from /usr/lib/x86_64-linux-gnu/libstdc++.so.6(+0x8d701) [0x7f4fe6c0b701]
    from bin/dirtsand(_ZNSt6threadD2Ev+0x21) [0x4d7785]
    from /lib/x86_64-linux-gnu/libc.so.6(+0x39ff8) [0x7f4fe63bbff8]
    from /lib/x86_64-linux-gnu/libc.so.6(+0x3a045) [0x7f4fe63bc045]
    from bin/dirtsand() [0x52e930]
    from /usr/lib/x86_64-linux-gnu/libstdc++.so.6(+0x8d6b6) [0x7f4fe6c0b6b6]
    from /usr/lib/x86_64-linux-gnu/libstdc++.so.6(+0x8d701) [0x7f4fe6c0b701]
    from bin/dirtsand(_ZNSt6threadD2Ev+0x21) [0x4d7785]
    from /lib/x86_64-linux-gnu/libc.so.6(+0x39ff8) [0x7f4fe63bbff8]
    from /lib/x86_64-linux-gnu/libc.so.6(+0x3a045) [0x7f4fe63bc045]
    from bin/dirtsand() [0x52e918]
    from /lib/x86_64-linux-gnu/libc.so.6(+0x354b0) [0x7f4fe63b74b0]
    from bin/dirtsand(_ZN3SDL8Variable4_ref5clearEv+0x3b) [0x545299]
    from bin/dirtsand(_ZN3SDL8Variable4_refD1Ev+0x18) [0x4f7a44]
    from bin/dirtsand(_ZN3SDL8Variable4_ref5unrefEv+0x38) [0x4f7a90]
    from bin/dirtsand(_ZN3SDL8VariableD1Ev+0x27) [0x4f7a29]
    from bin/dirtsand(_ZSt8_DestroyIN3SDL8VariableEEvPT_+0x18) [0x4faec5]
    from bin/dirtsand(_ZNSt12_Destroy_auxILb0EE9__destroyIPN3SDL8VariableEEEvT_S5_+0x2e) [0x4fa92f]
    from bin/dirtsand(_ZSt8_DestroyIPN3SDL8VariableEEvT_S3_+0x23) [0x4fa1f2]
    from bin/dirtsand(_ZSt8_DestroyIPN3SDL8VariableES1_EvT_S3_RSaIT0_E+0x27) [0x4f9683]
    from bin/dirtsand(_ZNSt6vectorIN3SDL8VariableESaIS1_EED2Ev+0x35) [0x4f88c7]
    from bin/dirtsand(_ZN3SDL5State4_refD2Ev+0x4c) [0x4f7c02]
    from bin/dirtsand(_ZN3SDL5State4_ref5unrefEv+0x34) [0x4f7c3a]
    from bin/dirtsand(_ZN3SDL5StateD2Ev+0x27) [0x4f7b3d]
    from bin/dirtsand(_ZNSt4pairIKN2ST6stringEN3SDL5StateEED1Ev+0x1c) [0x4fb330]
    from bin/dirtsand(_ZN9__gnu_cxx13new_allocatorISt4pairIKN2ST6stringEN3SDL5StateEEE7destroyIS7_EEvPT_+0x1c) [0x4fb35c]
    from bin/dirtsand(_ZNSt16allocator_traitsISaISt4pairIKN2ST6stringEN3SDL5StateEEEE7destroyIS6_EEvRS7_PT_+0x23) [0x4faf7e]
    from bin/dirtsand(_ZNSt8__detail16_Hashtable_allocISaINS_10_Hash_nodeISt4pairIKN2ST6stringEN3SDL5StateEELb0EEEEE18_M_deallocate_nodeEPS9_+0x6c) [0x4faa00]
    from bin/dirtsand(_ZNSt8__detail16_Hashtable_allocISaINS_10_Hash_nodeISt4pairIKN2ST6stringEN3SDL5StateEELb0EEEEE19_M_deallocate_nodesEPS9_+0x42) [0x4fa2c2]
    from bin/dirtsand(_ZNSt10_HashtableIN2ST6stringESt4pairIKS1_N3SDL5StateEESaIS6_ENSt8__detail10_Select1stESt8equal_toIS1_ENS0_4hashENS8_18_Mod_range_hashingENS8_20_Default_ranged_hashENS8_20_Prime_rehash_policyENS8_17_Hashtable_traitsILb0ELb0ELb1EEEE5clearEv+0x2a) [0x4f976c]
    from bin/dirtsand(_ZNSt10_HashtableIN2ST6stringESt4pairIKS1_N3SDL5StateEESaIS6_ENSt8__detail10_Select1stESt8equal_toIS1_ENS0_4hashENS8_18_Mod_range_hashingENS8_20_Default_ranged_hashENS8_20_Prime_rehash_policyENS8_17_Hashtable_traitsILb0ELb0ELb1EEEED1Ev+0x18) [0x4f896a]
    from bin/dirtsand(_ZNSt13unordered_mapIN2ST6stringEN3SDL5StateENS0_4hashESt8equal_toIS1_ESaISt4pairIKS1_S3_EEED1Ev+0x18) [0x4fbab2]
    from /lib/x86_64-linux-gnu/libc.so.6(+0x39ff8) [0x7f4fe63bbff8]
    from /lib/x86_64-linux-gnu/libc.so.6(+0x3a045) [0x7f4fe63bc045]
    from bin/dirtsand() [0x52e918]
    from /lib/x86_64-linux-gnu/libc.so.6(+0x354b0) [0x7f4fe63b74b0]
    from /lib/x86_64-linux-gnu/libc.so.6(gsignal+0x38) [0x7f4fe63b7428]
    from /lib/x86_64-linux-gnu/libc.so.6(abort+0x16a) [0x7f4fe63b902a]
    from /usr/local/lib/libstring_theory.so.1(_ZN2ST18set_assert_handlerESt8functionIFvPKcS2_iS2_EE+0) [0x7f4fe6f0ad48]
    from /usr/local/lib/libstring_theory.so.1(_ZNSt17_Function_handlerIFvPKcS1_iS1_EPS2_E9_M_invokeERKSt9_Any_dataOS1_S8_OiS8_+0x7c) [0x7f4fe6f0b15b]
    from /usr/local/lib/libstring_theory.so.1(_ZNKSt8functionIFvPKcS1_iS1_EEclES1_S1_iS1_+0x8d) [0x7f4fe6f0e5d3]
    from /usr/local/lib/libstring_theory.so.1(_ZN2ST13base64_encodeEPKvm+0x77) [0x7f4fe6f0da64]
    from bin/dirtsand(_Z13v_create_nodeRKN2DS5Vault4NodeE+0xe57) [0x502628]
    from bin/dirtsand(_Z12v_create_age18AuthServer_AgeInfoj+0xba3) [0x4feb9c]
    from bin/dirtsand(_Z17dm_auth_createAgeP14Auth_AgeCreate+0x35b) [0x4f3aec]
    from bin/dirtsand(_Z13dm_authDaemonv+0x9ec) [0x4f72f8]
    from bin/dirtsand(_ZNSt12_Bind_simpleIFPFvvEvEE9_M_invokeIJEEEvSt12_Index_tupleIJXspT_EEE+0x25) [0x4d8dbd]
    from bin/dirtsand(_ZNSt12_Bind_simpleIFPFvvEvEEclEv+0x2c) [0x4d8d16]
    from bin/dirtsand(_ZNSt6thread5_ImplISt12_Bind_simpleIFPFvvEvEEE6_M_runEv+0x1c) [0x4d8ca6]
    from /usr/lib/x86_64-linux-gnu/libstdc++.so.6(+0xb8c80) [0x7f4fe6c36c80]
    from /lib/x86_64-linux-gnu/libpthread.so.0(+0x76ba) [0x7f4fe67526ba]
    from /lib/x86_64-linux-gnu/libc.so.6(clone+0x6d) [0x7f4fe648882d]
Unhandled exception at bin/dirtsand() [0x52e7e6]
    from bin/dirtsand() [0x52e926]
    from /usr/lib/x86_64-linux-gnu/libstdc++.so.6(+0x8d6b6) [0x7f4fe6c0b6b6]
    from /usr/lib/x86_64-linux-gnu/libstdc++.so.6(+0x8d701) [0x7f4fe6c0b701]
    from bin/dirtsand(_ZNSt6threadD2Ev+0x21) [0x4d7785]
    from /lib/x86_64-linux-gnu/libc.so.6(+0x39ff8) [0x7f4fe63bbff8]
    from /lib/x86_64-linux-gnu/libc.so.6(+0x3a045) [0x7f4fe63bc045]
    from bin/dirtsand() [0x52e930]
    from /usr/lib/x86_64-linux-gnu/libstdc++.so.6(+0x8d6b6) [0x7f4fe6c0b6b6]
    from /usr/lib/x86_64-linux-gnu/libstdc++.so.6(+0x8d701) [0x7f4fe6c0b701]
    from bin/dirtsand(_ZNSt6threadD2Ev+0x21) [0x4d7785]
    from /lib/x86_64-linux-gnu/libc.so.6(+0x39ff8) [0x7f4fe63bbff8]
    from /lib/x86_64-linux-gnu/libc.so.6(+0x3a045) [0x7f4fe63bc045]
    from bin/dirtsand() [0x52e930]
    from /usr/lib/x86_64-linux-gnu/libstdc++.so.6(+0x8d6b6) [0x7f4fe6c0b6b6]
    from /usr/lib/x86_64-linux-gnu/libstdc++.so.6(+0x8d701) [0x7f4fe6c0b701]
    from bin/dirtsand(_ZNSt6threadD2Ev+0x21) [0x4d7785]
    from /lib/x86_64-linux-gnu/libc.so.6(+0x39ff8) [0x7f4fe63bbff8]
    from /lib/x86_64-linux-gnu/libc.so.6(+0x3a045) [0x7f4fe63bc045]
    from bin/dirtsand() [0x52e918]
    from /lib/x86_64-linux-gnu/libc.so.6(+0x354b0) [0x7f4fe63b74b0]
    from bin/dirtsand(_ZN3SDL8Variable4_ref5clearEv+0x3b) [0x545299]
    from bin/dirtsand(_ZN3SDL8Variable4_refD1Ev+0x18) [0x4f7a44]
    from bin/dirtsand(_ZN3SDL8Variable4_ref5unrefEv+0x38) [0x4f7a90]
    from bin/dirtsand(_ZN3SDL8VariableD1Ev+0x27) [0x4f7a29]
    from bin/dirtsand(_ZSt8_DestroyIN3SDL8VariableEEvPT_+0x18) [0x4faec5]
    from bin/dirtsand(_ZNSt12_Destroy_auxILb0EE9__destroyIPN3SDL8VariableEEEvT_S5_+0x2e) [0x4fa92f]
    from bin/dirtsand(_ZSt8_DestroyIPN3SDL8VariableEEvT_S3_+0x23) [0x4fa1f2]
    from bin/dirtsand(_ZSt8_DestroyIPN3SDL8VariableES1_EvT_S3_RSaIT0_E+0x27) [0x4f9683]
    from bin/dirtsand(_ZNSt6vectorIN3SDL8VariableESaIS1_EED2Ev+0x35) [0x4f88c7]
    from bin/dirtsand(_ZN3SDL5State4_refD2Ev+0x4c) [0x4f7c02]
    from bin/dirtsand(_ZN3SDL5State4_ref5unrefEv+0x34) [0x4f7c3a]
    from bin/dirtsand(_ZN3SDL5StateD2Ev+0x27) [0x4f7b3d]
    from bin/dirtsand(_ZNSt4pairIKN2ST6stringEN3SDL5StateEED1Ev+0x1c) [0x4fb330]
    from bin/dirtsand(_ZN9__gnu_cxx13new_allocatorISt4pairIKN2ST6stringEN3SDL5StateEEE7destroyIS7_EEvPT_+0x1c) [0x4fb35c]
    from bin/dirtsand(_ZNSt16allocator_traitsISaISt4pairIKN2ST6stringEN3SDL5StateEEEE7destroyIS6_EEvRS7_PT_+0x23) [0x4faf7e]
    from bin/dirtsand(_ZNSt8__detail16_Hashtable_allocISaINS_10_Hash_nodeISt4pairIKN2ST6stringEN3SDL5StateEELb0EEEEE18_M_deallocate_nodeEPS9_+0x6c) [0x4faa00]
    from bin/dirtsand(_ZNSt8__detail16_Hashtable_allocISaINS_10_Hash_nodeISt4pairIKN2ST6stringEN3SDL5StateEELb0EEEEE19_M_deallocate_nodesEPS9_+0x42) [0x4fa2c2]
    from bin/dirtsand(_ZNSt10_HashtableIN2ST6stringESt4pairIKS1_N3SDL5StateEESaIS6_ENSt8__detail10_Select1stESt8equal_toIS1_ENS0_4hashENS8_18_Mod_range_hashingENS8_20_Default_ranged_hashENS8_20_Prime_rehash_policyENS8_17_Hashtable_traitsILb0ELb0ELb1EEEE5clearEv+0x2a) [0x4f976c]
    from bin/dirtsand(_ZNSt10_HashtableIN2ST6stringESt4pairIKS1_N3SDL5StateEESaIS6_ENSt8__detail10_Select1stESt8equal_toIS1_ENS0_4hashENS8_18_Mod_range_hashingENS8_20_Default_ranged_hashENS8_20_Prime_rehash_policyENS8_17_Hashtable_traitsILb0ELb0ELb1EEEED1Ev+0x18) [0x4f896a]
    from bin/dirtsand(_ZNSt13unordered_mapIN2ST6stringEN3SDL5StateENS0_4hashESt8equal_toIS1_ESaISt4pairIKS1_S3_EEED1Ev+0x18) [0x4fbab2]
    from /lib/x86_64-linux-gnu/libc.so.6(+0x39ff8) [0x7f4fe63bbff8]
    from /lib/x86_64-linux-gnu/libc.so.6(+0x3a045) [0x7f4fe63bc045]
    from bin/dirtsand() [0x52e918]
    from /lib/x86_64-linux-gnu/libc.so.6(+0x354b0) [0x7f4fe63b74b0]
    from /lib/x86_64-linux-gnu/libc.so.6(gsignal+0x38) [0x7f4fe63b7428]
    from /lib/x86_64-linux-gnu/libc.so.6(abort+0x16a) [0x7f4fe63b902a]
    from /usr/local/lib/libstring_theory.so.1(_ZN2ST18set_assert_handlerESt8functionIFvPKcS2_iS2_EE+0) [0x7f4fe6f0ad48]
    from /usr/local/lib/libstring_theory.so.1(_ZNSt17_Function_handlerIFvPKcS1_iS1_EPS2_E9_M_invokeERKSt9_Any_dataOS1_S8_OiS8_+0x7c) [0x7f4fe6f0b15b]
    from /usr/local/lib/libstring_theory.so.1(_ZNKSt8functionIFvPKcS1_iS1_EEclES1_S1_iS1_+0x8d) [0x7f4fe6f0e5d3]
    from /usr/local/lib/libstring_theory.so.1(_ZN2ST13base64_encodeEPKvm+0x77) [0x7f4fe6f0da64]
    from bin/dirtsand(_Z13v_create_nodeRKN2DS5Vault4NodeE+0xe57) [0x502628]
    from bin/dirtsand(_Z12v_create_age18AuthServer_AgeInfoj+0xba3) [0x4feb9c]
    from bin/dirtsand(_Z17dm_auth_createAgeP14Auth_AgeCreate+0x35b) [0x4f3aec]
    from bin/dirtsand(_Z13dm_authDaemonv+0x9ec) [0x4f72f8]
    from bin/dirtsand(_ZNSt12_Bind_simpleIFPFvvEvEE9_M_invokeIJEEEvSt12_Index_tupleIJXspT_EEE+0x25) [0x4d8dbd]
    from bin/dirtsand(_ZNSt12_Bind_simpleIFPFvvEvEEclEv+0x2c) [0x4d8d16]
    from bin/dirtsand(_ZNSt6thread5_ImplISt12_Bind_simpleIFPFvvEvEEE6_M_runEv+0x1c) [0x4d8ca6]
    from /usr/lib/x86_64-linux-gnu/libstdc++.so.6(+0xb8c80) [0x7f4fe6c36c80]
    from /lib/x86_64-linux-gnu/libpthread.so.0(+0x76ba) [0x7f4fe67526ba]
    from /lib/x86_64-linux-gnu/libc.so.6(clone+0x6d) [0x7f4fe648882d]
Hoikas commented 7 years ago

The above stack phailure was fixed with an update to string_theory