GNU gdb (GDB) 8.2.1 Copyright (C) 2018 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-pc-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: . Find the GDB manual and other documentation resources online at: . For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from vcmiclient...done. (gdb) r Starting program: /usr/bin/vcmiclient [Thread debugging using libthread_db enabled] Using host libthread_db library "/usr/lib/libthread_db.so.1". Starting... [New Thread 0x7fffedd94700 (LWP 4528)] VCMI 0.99 c310a05ee0d3ebb7cd8d004183e4f52abae87809 (client) Creating console and configuring logger: 8 ms The log file will be saved to "/home/zer0def/.cache/vcmi/VCMI_Client_log.txt"  Initialization: 5 ms  Data loading: 254 ms  Mod handler: 0 ms  Mod filesystems: 27 ms Basic initialization: 287 ms Initialized logging system based on settings successfully. [log level] ai => not set [log level] animation => not set [log level] bonus => not set [log level] global => trace [log level] mod => not set [log level] network => not set Error: campaign movies was not found! Error: campaign music was not found! Loading settings: 294 ms [New Thread 0x7fffed2ae700 (LWP 4529)] [New Thread 0x7fffe3025700 (LWP 4530)] [New Thread 0x7fffe26e3700 (LWP 4531)] [New Thread 0x7fffe1ee2700 (LWP 4532)] Found 4 render drivers  opengl (active)  opengles2  opengles  software Check display mode: requested 800 x 600; available up to 1366 x 768 Created renderer opengl  Initializing screen: 358 ms  Initializing video: 0 ms [New Thread 0x7fffe1061700 (LWP 4534)] Initializing screen and sound handling: 5 ms [New Thread 0x7fffe0860700 (LWP 4535)]  Bonus type handler: 5 ms  General text handler: 8 ms  Hero handler: 6 ms  Artifact handler: 0 ms  Thread 8 "vcmiclient" received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x7fffe0860700 (LWP 4535)] std::_Sp_counted_ptr_inplace, (__gnu_cxx::_Lock_policy)2>::_M_get_deleter (this=0x7fffb00888c0, type_info node=...) at /usr/include/c++/8.2.1/bits/shared_ptr_base.h:573 573 else if (__ti == typeid(_Sp_make_shared_tag)) (gdb) thread apply all bt full Thread 8 (Thread 0x7fffe0860700 (LWP 4535)): #0 std::_Sp_counted_ptr_inplace, (__gnu_cxx::_Lock_policy)2>::_M_get_deleter (this=0x7fffb00888c0, type_info node=...) at /usr/include/c++/8.2.1/bits/shared_ptr_base.h:573 No locals. #1 0x00007ffff7d9ce91 in std::__shared_count<(__gnu_cxx::_Lock_policy)2>::_M_get_deleter (this=0x7fffe085f858, type_info node=...) at /usr/include/c++/8.2.1/bits/shared_ptr_base.h:750 No locals. #2 std::__shared_ptr::__shared_ptr>(std::_Sp_make_shared_tag, std::allocator const&) (__a=..., __tag=..., this=0x7fffe085f850) at /usr/include/c++/8.2.1/bits/shared_ptr_base.h:1328 __p = #3 std::shared_ptr::shared_ptr>(std::_Sp_make_shared_tag, std::allocator const&) (__a=..., __tag=..., this=0x7fffe085f850) at /usr/include/c++/8.2.1/bits/shared_ptr.h:360 No locals. #4 std::allocate_shared>(std::allocator const&) (__a=...) at /usr/include/c++/8.2.1/bits/shared_ptr.h:707 No locals. #5 std::make_shared () at /usr/include/c++/8.2.1/bits/shared_ptr.h:723 No locals. #6 JsonUtils::parseBonus (ability_vec=std::vector of length 4, capacity 4 = {...}) at /usr/src/debug/vcmi-git/lib/JsonNode.cpp:439 b = std::shared_ptr (use count 1, weak count 0) = {get() = 0x0} type = Python Exception int too big to convert: it = #7 0x00007ffff7ce8500 in CCreatureHandler::loadCommanders (this=0x7fffb009fa70) at /usr/src/debug/vcmi-git/lib/CCreatureHandler.cpp:239 bonus = {type = JsonNode::JsonType::DATA_VECTOR, data = {Bool = 80, Float = 6.9532895144299619e-310, String = 0x7fffb005db50, Vector = 0x7fffb005db50, Struct = 0x7fffb005db50, Integer = 140736146561872}, meta = "core", flags = std::vector of length 0, capacity 0} __for_range = __for_begin = __for_end = data = {type = JsonNode::JsonType::DATA_STRUCT, data = {Bool = 112, Float = 6.9532895202876042e-310, String = 0x7fffb007aa70, Vector = 0x7fffb007aa70, Struct = 0x7fffb007aa70, Integer = 140736146680432}, meta = "core", flags = std::vector of length 0, capacity 0} config = @0x7fffe085f870: {type = JsonNode::JsonType::DATA_STRUCT, data = {Bool = 112, Float = 6.9532895202876042e-310, String = 0x7fffb007aa70, Vector = 0x7fffb007aa70, Struct = 0x7fffb007aa70, Integer = 140736146680432}, meta = "core", flags = std::vector of length 0, capacity 0} i = #8 0x00007ffff7cefe19 in CCreatureHandler::CCreatureHandler (this=0x7fffb009fa70) at /usr/src/debug/vcmi-git/lib/CCreatureHandler.cpp:217 i = #9 0x00007ffff7db3353 in createHandler (timer=..., name="Creature", handler=@0x1004d6de0: 0x7fffb009fa70) at /usr/src/debug/vcmi-git/lib/VCMI_Lib.cpp:87 No locals. #10 LibClasses::init (this=0x1004d6dc0, onlyEssential=) at /usr/src/debug/vcmi-git/lib/VCMI_Lib.cpp:107 pomtime = {start = 744360, last = 763831, mem = 0} totalTime = {start = , last = 744367, mem = 0} #11 0x00000001002a746f in init () at /usr/src/debug/vcmi-git/client/CMT.cpp:122 tmh = {start = , last = 744357, mem = 0} #12 0x00007ffff762bb72 in ?? () from /usr/lib/libboost_thread.so.1.69.0 No symbol table info available. #13 0x00007ffff7602a9d in start_thread () from /usr/lib/libpthread.so.0 No symbol table info available. #14 0x00007ffff57e1b23 in clone () from /usr/lib/libc.so.6 No symbol table info available. Thread 7 (Thread 0x7fffe1061700 (LWP 4534)): #0 0x00007ffff57d6d16 in ppoll () from /usr/lib/libc.so.6 No symbol table info available. #1 0x00007fffe1a6da13 in pa_mainloop_poll () from /usr/lib/libpulse.so.0 No symbol table info available. #2 0x00007fffe1a6dfe0 in pa_mainloop_iterate () from /usr/lib/libpulse.so.0 No symbol table info available. #3 0x00007ffff7578847 in ?? () from /usr/lib/libSDL2-2.0.so.0 No symbol table info available. #4 0x00007ffff74d0046 in ?? () from /usr/lib/libSDL2-2.0.so.0 No symbol table info available. #5 0x00007ffff7516f9f in ?? () from /usr/lib/libSDL2-2.0.so.0 No symbol table info available. #6 0x00007ffff759a6ea in ?? () from /usr/lib/libSDL2-2.0.so.0 No symbol table info available. #7 0x00007ffff7602a9d in start_thread () from /usr/lib/libpthread.so.0 No symbol table info available. #8 0x00007ffff57e1b23 in clone () from /usr/lib/libc.so.6 No symbol table info available. Thread 6 (Thread 0x7fffe1ee2700 (LWP 4532)): #0 0x00007ffff57d6d16 in ppoll () from /usr/lib/libc.so.6 No symbol table info available. #1 0x00007fffe1a6da13 in pa_mainloop_poll () from /usr/lib/libpulse.so.0 No symbol table info available. #2 0x00007fffe1a6dfe0 in pa_mainloop_iterate () from /usr/lib/libpulse.so.0 No symbol table info available. #3 0x00007fffe1a6e091 in pa_mainloop_run () from /usr/lib/libpulse.so.0 No symbol table info available. #4 0x00007ffff75789b0 in ?? () from /usr/lib/libSDL2-2.0.so.0 No symbol table info available. #5 0x00007ffff7516f9f in ?? () from /usr/lib/libSDL2-2.0.so.0 No symbol table info available. #6 0x00007ffff759a6ea in ?? () from /usr/lib/libSDL2-2.0.so.0 No symbol table info available. #7 0x00007ffff7602a9d in start_thread () from /usr/lib/libpthread.so.0 No symbol table info available. #8 0x00007ffff57e1b23 in clone () from /usr/lib/libc.so.6 No symbol table info available. Thread 5 (Thread 0x7fffe26e3700 (LWP 4531)): #0 0x00007ffff7608afc in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0 No symbol table info available. #1 0x00007fffe7771104 in ?? () from /usr/lib/dri/r600_dri.so No symbol table info available. #2 0x00007fffe7770e28 in ?? () from /usr/lib/dri/r600_dri.so No symbol table info available. #3 0x00007ffff7602a9d in start_thread () from /usr/lib/libpthread.so.0 No symbol table info available. #4 0x00007ffff57e1b23 in clone () from /usr/lib/libc.so.6 No symbol table info available. Thread 4 (Thread 0x7fffe3025700 (LWP 4530)): #0 0x00007ffff7608afc in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0 No symbol table info available. #1 0x00007fffe7771104 in ?? () from /usr/lib/dri/r600_dri.so No symbol table info available. #2 0x00007fffe7770e28 in ?? () from /usr/lib/dri/r600_dri.so No symbol table info available. #3 0x00007ffff7602a9d in start_thread () from /usr/lib/libpthread.so.0 No symbol table info available. #4 0x00007ffff57e1b23 in clone () from /usr/lib/libc.so.6 No symbol table info available. Thread 3 (Thread 0x7fffed2ae700 (LWP 4529)): #0 0x00007ffff760b436 in do_futex_wait.constprop () from /usr/lib/libpthread.so.0 No symbol table info available. #1 0x00007ffff760b538 in __new_sem_wait_slow.constprop.0 () from /usr/lib/libpthread.so.0 No symbol table info available. #2 0x00007ffff759b114 in ?? () from /usr/lib/libSDL2-2.0.so.0 No symbol table info available. #3 0x00007ffff759b25d in ?? () from /usr/lib/libSDL2-2.0.so.0 No symbol table info available. #4 0x00007ffff7517550 in ?? () from /usr/lib/libSDL2-2.0.so.0 No symbol table info available. #5 0x00007ffff7516f9f in ?? () from /usr/lib/libSDL2-2.0.so.0 No symbol table info available. #6 0x00007ffff759a6ea in ?? () from /usr/lib/libSDL2-2.0.so.0 No symbol table info available. #7 0x00007ffff7602a9d in start_thread () from /usr/lib/libpthread.so.0 No symbol table info available. #8 0x00007ffff57e1b23 in clone () from /usr/lib/libc.so.6 No symbol table info available. Thread 2 (Thread 0x7fffedd94700 (LWP 4528)): #0 0x00007ffff7608ef6 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0 No symbol table info available. #1 0x00007ffff7ce5099 in boost::condition_variable::do_wait_until (timeout=..., m=..., this=0x7fffedd93a40) at /usr/include/boost/thread/detail/platform_time.hpp:326 guard = {m = 0x7fffedd93470} check_for_interruption = {thread_info = 0x1004bbf90, m = 0x7fffedd93a40, set = true, done = false} the_mutex = 0x7fffedd93a40 cond_res = cond_res = guard = check_for_interruption = the_mutex = #2 boost::condition_variable::timed_wait, bool (*)()> (pred=, wait_duration=..., m=..., this=0x7fffedd93a40) at /usr/include/boost/thread/pthread/condition_variable_fwd.hpp:236 d = ts = {dur = {ts_val = {tv_sec = 6609, tv_nsec = 814149087}}} d = ts = #3 boost::this_thread::sleep > (rel_time=...) at /usr/include/boost/thread/pthread/thread_data.hpp:277 mx = {m = {__data = {__lock = 0, __count = 0, __owner = 0, __nusers = 0, __kind = 0, __spins = 0, __elision = 0, __list = {__prev = 0x0, __next = 0x0}}, __size = '\000' , __align = 0}} lock = {m = 0x7fffedd934d0, is_locked = false} cond = {internal_mutex = {__data = {__lock = 0, __count = 0, __owner = 0, __nusers = 1, __kind = 0, __spins = 0, __elision = 0, __list = {__prev = 0x0, __next = 0x0}}, __size = '\000' , "\001", '\000' , __align = 0}, cond = {__data = {{__wseq = 2, __wseq32 = {__low = 2, __high = 0}}, {__g1_start = 0, __g1_start32 = {__low = 0, __high = 0}}, __g_refs = {2, 0}, __g_size = {0, 0}, __g1_orig_size = 0, __wrefs = 10, __g_signals = {0, 0}}, __size = "\002", '\000' , "\002", '\000' , "\n\000\000\000\000\000\000\000\000\000\000", __align = 2}} #4 0x00007ffff7ce49ae in CConsoleHandler::run (this=0x1004bbf20) at /usr/include/boost/date_time/time_duration.hpp:259 buffer = "" #5 0x00007ffff762bb72 in ?? () from /usr/lib/libboost_thread.so.1.69.0 No symbol table info available. #6 0x00007ffff7602a9d in start_thread () from /usr/lib/libpthread.so.0 No symbol table info available. #7 0x00007ffff57e1b23 in clone () from /usr/lib/libc.so.6 No symbol table info available. Thread 1 (Thread 0x7fffedd9aec0 (LWP 4504)): #0 0x00007ffff7608afc in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0 No symbol table info available. #1 0x00007ffff763458d in ?? () from /usr/lib/libboost_thread.so.1.69.0 No symbol table info available. #2 0x00007ffff762bd84 in boost::thread::join_noexcept() () from /usr/lib/libboost_thread.so.1.69.0 No symbol table info available. #3 0x00000001000e2be9 in boost::thread::join (this=0x7fffffffd240) at /usr/include/boost/thread/detail/thread.hpp:743 No locals. #4 main (argc=, argv=) at /usr/src/debug/vcmi-git/client/CMT.cpp:459 opts = {static m_default_line_length = 80, m_caption = "Allowed options", m_line_length = 80, m_min_description_length = 40, m_options = std::vector of length 23, capacity 32 = {{px = 0x1004b9900, pn = { pi_ = 0x1004b9a20}}, {px = 0x1004b9aa0, pn = {pi_ = 0x1004b9bc0}}, {px = 0x1004b9be0, pn = {pi_ = 0x1004b9ce0}}, {px = 0x1004b9d70, pn = {pi_ = 0x1004b9e40}}, {px = 0x1004b9f20, pn = {pi_ = 0x1004b9ff0}}, { px = 0x1004ba160, pn = {pi_ = 0x1004ba230}}, {px = 0x1004ba270, pn = {pi_ = 0x1004ba340}}, {px = 0x1004ba380, pn = {pi_ = 0x1004ba440}}, {px = 0x1004ba580, pn = {pi_ = 0x1004ba640}}, {px = 0x1004ba890, pn = { pi_ = 0x1004ba950}}, {px = 0x1004ba9f0, pn = {pi_ = 0x1004baab0}}, {px = 0x1004bab50, pn = {pi_ = 0x1004bacb0}}, {px = 0x1004bacf0, pn = {pi_ = 0x1004bade0}}, {px = 0x1004bae20, pn = {pi_ = 0x1004baef0}}, { px = 0x1004bafd0, pn = {pi_ = 0x1004bb0a0}}, {px = 0x1004bb0e0, pn = {pi_ = 0x1004bb1f0}}, {px = 0x1004bb230, pn = {pi_ = 0x1004bb330}}, {px = 0x1004bb580, pn = {pi_ = 0x1004bb670}}, {px = 0x1004bb6b0, pn = { pi_ = 0x1004bb7f0}}, {px = 0x1004bb830, pn = {pi_ = 0x1004bb940}}, {px = 0x1004bbaa0, pn = {pi_ = 0x1004bbb40}}, {px = 0x1004bbc20, pn = {pi_ = 0x1004bbd20}}, {px = 0x1004bbe00, pn = {pi_ = 0x1004bbf00}}}, belong_to_group = std::vector of length 23, capacity 64 = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, groups = std::vector of length 0, capacity 0} total = {start = , last = 77811, mem = 0} pomtime = {start = , last = 738322, mem = } logPath = {static separator = 47 '/', static preferred_separator = 47 '/', static dot = 46 '.', m_pathname = "/home/zer0def/.cache/vcmi/VCMI_Client_log.txt"} logConfig = {filePath = {static separator = 47 '/', static preferred_separator = 47 '/', static dot = 46 '.', m_pathname = "/home/zer0def/.cache/vcmi/VCMI_Client_log.txt"}, console = 0x1004bbf20, appendToLogFile = true} session = {parent = @0x100448580, path = std::vector of length 1, capacity 1 = {"session"}, node = @0x100753590, copy = {type = JsonNode::JsonType::DATA_NULL, data = {Bool = false, Float = 0, String = 0x0, Vector = 0x0, Struct = 0x0, Integer = 0}, meta = "", flags = std::vector of length 0, capacity 0}} setSettingBool = setSettingInteger = setSettingString = testFile = video = res = @0x100759c50: {type = JsonNode::JsonType::DATA_STRUCT, data = {Bool = 160, Float = 2.1258039541028126e-314, String = 0x100759ca0, Vector = 0x100759ca0, Struct = 0x100759ca0, Integer = 4302675104}, meta = "", flags = std::vector of length 0, capacity 0} loading = {thread_info = {px = 0x1009b7a40, pn = {pi_ = 0x1009d6440}}} (gdb) q A debugging session is active. Inferior 1 [process 4504] will be killed. Quit anyway? (y or n) y