MantisBT - VCMI
View Issue Details
0001772VCMIGUI - Adventure Mappublic2014-04-06 10:412023-04-11 20:30
beegee 
Ivan 
normalmajoralways
resolvedfixed 
 
 
0001772: SIGABRT when ending game from adventure map
SIGABRT occures when ending the game from the adventure map.

Thread 15 (Thread 0x7f5c6328d700 (LWP 8206)):
#0 0x00000034af035c39 in raise () from /lib64/libc.so.6
No symbol table info available.
#1 0x00000034af037348 in abort () from /lib64/libc.so.6
No symbol table info available.
0000002 0x00000034af02eb96 in __assert_fail_base () from /lib64/libc.so.6
No symbol table info available.
0000003 0x00000034af02ec42 in __assert_fail () from /lib64/libc.so.6
No symbol table info available.
0000004 0x0000000000b5bc68 in boost::mutex::~mutex (this=0x15e9d80 <eventsM>) at /usr/include/boost/thread/pthread/mutex.hpp:108
No locals.
0000005 0x0000000000b5bb15 in boost::mutex::~mutex (this=0x15e9d80 <eventsM>) at /usr/include/boost/thread/pthread/mutex.hpp:107
No locals.
0000006 0x00000034af0394c9 in __run_exit_handlers () from /lib64/libc.so.6
No symbol table info available.
0000007 0x00000034af039515 in exit () from /lib64/libc.so.6
No symbol table info available.
0000008 0x0000000000eda3d9 in operator() (this=0x7f5c4c6b3938) at /home/bge/VCMI/trunk/src/client/CMT.cpp:988
No locals.
0000009 0x0000000000eda5dd in boost::detail::function::void_function_obj_invoker0<handleQuit()::$_2, void>::invoke(boost::detail::function::function_buffer&) (function_obj_ptr=...) at /usr/include/boost/function/function_template.hpp:153
        f = 0x7f5c4c6b3938
0000010 0x0000000000ba5cbb in boost::function0<void>::operator() (this=0x7f5c4c6b3930) at /usr/include/boost/function/function_template.hpp:766
No locals.
0000011 0x0000000000ba22ed in CFunctionList<void ()>::operator()() const (this=0x2a06550) at /home/bge/VCMI/trunk/src/client/battle/../../lib/FunctionList.h:61
        i = 1
        funcs2 = std::vector of length 2, capacity 2 = {{<boost::function0<void>> = {<boost::function_base> = {vtable = 0x10f8a89 <void boost::function0<void>::assign_to<boost::_bi::bind_t<void, boost::_mfi::mf0<void, CInfoWindow>, boost::_bi::list1<boost::_bi::value<CInfoWindow*> > > >(boost::_bi::bind_t<void, boost::_mfi::mf0<void, CInfoWindow>, boost::_bi::list1<boost::_bi::value<CInfoWindow*> > >)::stored_vtable+1>, functor = {obj_ptr = 0x81, type = {type = 0x81, const_qualified = false, volatile_qualified = false}, func_ptr = 0x81, bound_memfunc_ptr = {memfunc_ptr = <error reading variable>, obj_ref = {obj_ptr = 0x81, is_const_qualified = false, is_volatile_qualified = false}, data = -127 '\201'}}, static args = 0, static arity = 0}, <No data fields>}, {<boost::function0<void>> = {<boost::function_base> = {vtable = 0x10ed521 <void boost::function0<void>::assign_to<handleQuit()::$_2>(handleQuit()::$_2)::stored_vtable+1>, functor = {obj_ptr = 0x2706ca8, type = {type = 0x2706ca8, const_qualified = 104, volatile_qualified = 72}, func_ptr = 0x2706ca8, bound_memfunc_ptr = {memfunc_ptr = <error reading variable>, obj_ref = {obj_ptr = 0x2706ca8, is_const_qualified = 104, is_volatile_qualified = 72}, data = -88 '\250'}}, static args = 0, static arity = 0}, <No data fields>}}
0000012 0x0000000000bba7f0 in CAdventureMapButton::onButtonClicked (this=0x2a064a0) at /home/bge/VCMI/trunk/src/client/gui/CIntObjectClasses.cpp:325
        parent = 0x0
        prefix =
0000013 0x0000000000bba9c3 in CAdventureMapButton::clickLeft (this=0x2a064a0, down=..., previousState=true) at /home/bge/VCMI/trunk/src/client/gui/CIntObjectClasses.cpp:350
No locals.
0000014 0x0000000000bbaa07 in virtual thunk to CAdventureMapButton::clickLeft(boost::logic::tribool, bool) (this=0x2a06570, down=..., previousState=true) at /home/bge/VCMI/trunk/src/client/gui/CIntObjectClasses.cpp:350
No locals.
0000015 0x0000000000bad7f6 in CGuiHandler::handleEvent (this=0x15e9c30 <GH>, sEvent=0x7f5c6328cab0) at /home/bge/VCMI/trunk/src/client/gui/CGuiHandler.cpp:287
        i =
        hlp = std::list = {[0] = 0x2a17940, [1] = 0x2a06570}
        prev = true
0000016 0x0000000000bac70e in CGuiHandler::handleEvents (this=0x15e9c30 <GH>) at /home/bge/VCMI/trunk/src/client/gui/CGuiHandler.cpp:180
        ev = {type = 6 '\006', active = {type = 6 '\006', gain = 0 '\000', state = 1 '\001'}, key = {type = 6 '\006', which = 0 '\000', state = 1 '\001', keysym = {scancode = 236 '\354', sym = SDLK_UNKNOWN, mod = KMOD_NONE, unicode = 0}}, motion = {type = 6 '\006', which = 0 '\000', state = 1 '\001', x = 492, y = 407, xrel = 0, yrel = 0}, button = {type = 6 '\006', which = 0 '\000', button = 1 '\001', state = 0 '\000', x = 492, y = 407}, jaxis = {type = 6 '\006', which = 0 '\000', axis = 1 '\001', value = 492}, jball = {type = 6 '\006', which = 0 '\000', ball = 1 '\001', xrel = 492, yrel = 407}, jhat = {type = 6 '\006', which = 0 '\000', hat = 1 '\001', value = 0 '\000'}, jbutton = {type = 6 '\006', which = 0 '\000', button = 1 '\001', state = 0 '\000'}, resize = {type = 6 '\006', w = 26673644, h = 0}, expose = {type = 6 '\006'}, quit = {type = 6 '\006'}, user = {type = 6 '\006', code = 26673644, data1 = 0x0, data2 = 0x0}, syswm = {type = 6 '\006', msg = 0x0}}
        lock = {m = 0x15e9d80 <eventsM>, is_locked = true}
0000017 0x0000000000e8f00f in CPlayerInterface::update (this=0x7f5c3ceeb6f8) at /home/bge/VCMI/trunk/src/client/CPlayerInterface.cpp:1644
        acquiredTheLockOnPim = true
        un = {m = 0x271da80, is_locked = true}
        gsLock = {m = 0x7f5c3c01ae80, is_locked = true}
0000018 0x0000000000e8f29c in non-virtual thunk to CPlayerInterface::update() (this=0x7f5c3ceeb718) at /home/bge/VCMI/trunk/src/client/CPlayerInterface.cpp:1658
No locals.
0000019 0x0000000000bae37d in CGuiHandler::run (this=0x15e9c30 <GH>) at /home/bge/VCMI/trunk/src/client/gui/CGuiHandler.cpp:388
        e = @0x3: <error reading variable>
0000020 0x0000000000ee1ed2 in boost::_mfi::mf0<void, CGuiHandler>::operator() (this=0x2a34478, p=0x15e9c30 <GH>) at /usr/include/boost/bind/mem_fn_template.hpp:49
No locals.
0000021 0x0000000000ee1e35 in boost::_bi::list1<boost::_bi::value<CGuiHandler*> >::operator()<boost::_mfi::mf0<void, CGuiHandler>, boost::_bi::list0> (this=0x2a34488, f=..., a=...) at /usr/include/boost/bind/bind.hpp:253
No locals.
0000022 0x0000000000ee1dcf in boost::_bi::bind_t<void, boost::_mfi::mf0<void, CGuiHandler>, boost::_bi::list1<boost::_bi::value<CGuiHandler*> > >::operator() (this=0x2a34478) at /usr/include/boost/bind/bind_template.hpp:20
        a = {<No data fields>}
0000023 0x0000000000ee1d7c in boost::detail::thread_data<boost::_bi::bind_t<void, boost::_mfi::mf0<void, CGuiHandler>, boost::_bi::list1<boost::_bi::value<CGuiHandler*> > > >::run (this=0x2a342c0) at /usr/include/boost/thread/detail/thread.hpp:117
No locals.
0000024 0x00000034da20c2aa in thread_proxy () from /lib64/libboost_thread.so.1.54.0
No symbol table info available.
0000025 0x00000034af807f33 in start_thread () from /lib64/libpthread.so.0
No symbol table info available.
0000026 0x00000034af0f4ded in clone () from /lib64/libc.so.6
No symbol table info available.

Thread 1 (Thread 0x7f5c644ba880 (LWP 8184)):
#0 0x00000034af80e59d in __lll_lock_wait () from /lib64/libpthread.so.0
No symbol table info available.
#1 0x00000034af80a179 in _L_lock_814 () from /lib64/libpthread.so.0
No symbol table info available.
0000002 0x00000034af80a048 in pthread_mutex_lock () from /lib64/libpthread.so.0
No symbol table info available.
0000003 0x0000000000b17ddd in pthread_mutex_lock (m=0x15e9d80 <eventsM>) at /usr/include/boost/thread/pthread/mutex.hpp:61
        ret = 0
0000004 boost::mutex::lock (this=0x15e9d80 <eventsM>) at /usr/include/boost/thread/pthread/mutex.hpp:113
        res = 0
0000005 0x0000000000b17c74 in boost::unique_lock<boost::mutex>::lock (this=0x7fff64e868b0) at /usr/include/boost/thread/lock_types.hpp:346
No locals.
0000006 0x0000000000b24e47 in boost::unique_lock<boost::mutex>::unique_lock (this=0x7fff64e868b0, m_=...) at /usr/include/boost/thread/lock_types.hpp:124
No locals.
0000007 0x0000000000b092fd in boost::unique_lock<boost::mutex>::unique_lock (this=0x7fff64e868b0, m_=...) at /usr/include/boost/thread/lock_types.hpp:125
No locals.
0000008 0x0000000000ed9a15 in listenForEvents () at /home/bge/VCMI/trunk/src/client/CMT.cpp:920
        lock = {m = 0x15e9d80 <eventsM>, is_locked = false}
        ev = {type = 4 '\004', active = {type = 4 '\004', gain = 0 '\000', state = 0 '\000'}, key = {type = 4 '\004', which = 0 '\000', state = 0 '\000', keysym = {scancode = 235 '\353', sym = 65535, mod = KMOD_NONE, unicode = 0}}, motion = {type = 4 '\004', which = 0 '\000', state = 0 '\000', x = 491, y = 407, xrel = -1, yrel = 0}, button = {type = 4 '\004', which = 0 '\000', button = 0 '\000', state = 0 '\000', x = 491, y = 407}, jaxis = {type = 4 '\004', which = 0 '\000', axis = 0 '\000', value = 491}, jball = {type = 4 '\004', which = 0 '\000', ball = 0 '\000', xrel = 491, yrel = 407}, jhat = {type = 4 '\004', which = 0 '\000', hat = 0 '\000', value = 0 '\000'}, jbutton = {type = 4 '\004', which = 0 '\000', button = 0 '\000', state = 0 '\000'}, resize = {type = 4 '\004', w = 26673643, h = 65535}, expose = {type = 4 '\004'}, quit = {type = 4 '\004'}, user = {type = 4 '\004', code = 26673643, data1 = 0xffff, data2 = 0x0}, syswm = {type = 4 '\004', msg = 0xffff}}
        ret = 1
        resChanged = {parent = @0x15e8280, path = std::vector of length 2, capacity 2 = {, }, callback = {<std::_Maybe_unary_or_binary_function<void, JsonNode const&>> = {<std::unary_function<JsonNode const&, void>> = {<No data fields>}, <No data fields>}, <std::_Function_base> = {static _M_max_size = 16, static _M_max_align = 8, _M_functor = {_M_unused = {_M_object = 0x2a5b620, _M_const_object = 0x2a5b620, _M_function_pointer = 0x2a5b620, _M_member_pointer = <error reading variable>, _M_pod_data = " \266\245\002\000\000\000\000v\264\355\000\000\000\000"}, _M_manager = 0xedb580 <std::_Function_base::_Base_manager<listenForEvents()::$_3>::_M_manager(std::_Any_data&, std::_Any_data const&, std::_Manager_operation)>}, _M_invoker = 0xedb540 <std::_Function_handler<void (JsonNode const&), listenForEvents()::$_3>::_M_invoke(std::_Any_data const&, JsonNode const&)>}}
0000009 0x0000000000ed4f0f in main (argc=1, argv=0x7fff64e87828) at /home/bge/VCMI/trunk/src/client/CMT.cpp:413
        opts = {static m_default_line_length = 80, m_caption = , m_line_length = 80, m_min_description_length = 40, m_options = std::vector of length 11, capacity 16 = {{px = 0x272d420, pn = {pi_ = 0x272d560}}, {px = 0x272d5e0, pn = {pi_ = 0x272d6f0}}, {px = 0x272d780, pn = {pi_ = 0x272d8a0}}, {px = 0x272d980, pn = {pi_ = 0x272da30}}, {px = 0x272da70, pn = {pi_ = 0x272db30}}, {px = 0x272dc00, pn = {pi_ = 0x272dc60}}, {px = 0x272dcf0, pn = {pi_ = 0x272de00}}, {px = 0x272de40, pn = {pi_ = 0x272df30}}, {px = 0x272df70, pn = {pi_ = 0x272e040}}, {px = 0x272db70, pn = {pi_ = 0x272e1e0}}, {px = 0x272e220, pn = {pi_ = 0x272e380}}}, belong_to_group = , groups = std::vector of length 0, capacity 0}
        total = {start = 44124, last = 737252, mem = 0}
        pomtime = {start = 44124, last = 226112, mem = 0}
        logPath =
        logConfig = {filePath = , console = 0x272e540, appendToLogFile = true}
        testFile = {<No data fields>}
        video = @0x299d738: {type = JsonNode::DATA_STRUCT, data = {Bool = 96, Float = 2.1559333103740639e-316, String = 0x299d760, Vector = 0x299d760, Struct = 0x299d760}, meta = }
        res = @0x299d7c8: {type = JsonNode::DATA_STRUCT, data = {Bool = 240, Float = 2.155940424919364e-316, String = 0x299d7f0, Vector = 0x299d7f0, Struct = 0x299d7f0}, meta = }
        loading = {thread_info = {px = 0x0, pn = {pi_ = 0x0}}}
Python Exception <class 'gdb.error'> No type named std::basic_string<char>::_Rep.:
Python Exception <type 'exceptions.ValueError'> Cannot find type std::_List_iterator<CIntObject*>::_Node:
Python Exception <class 'gdb.error'> No type named std::basic_string<char>::_Rep.:
Python Exception <class 'gdb.error'> No type named std::basic_string<char>::_Rep.:
Python Exception <class 'gdb.error'> No type named std::basic_string<char>::_Rep.:
Python Exception <class 'gdb.error'> Argument to arithmetic operation not a number or boolean.:
Python Exception <class 'gdb.error'> No type named std::basic_string<char>::_Rep.:
Python Exception <class 'gdb.error'> No type named std::basic_string<char>::_Rep.:
Python Exception <class 'gdb.error'> No type named std::basic_string<char>::_Rep.:
Python Exception <class 'gdb.error'> No type named std::basic_string<char>::_Rep.:
R1
Issue History
2014-04-06 10:41beegeeNew Issue
2022-03-21 18:28PovelitelTag Attached: R1
2022-03-21 18:28PovelitelAssigned To => Nullkiller
2022-03-21 18:28PovelitelStatusnew => assigned
2023-04-11 20:30IvanNote Added: 0008535
2023-04-11 20:30IvanStatusassigned => resolved
2023-04-11 20:30IvanResolutionopen => fixed
2023-04-11 20:30IvanAssigned ToNullkiller => Ivan

Notes
(0008535)
Ivan   
2023-04-11 20:30   
Fixed in 1.2