MantisBT - VCMI
View Issue Details
0001672VCMIGUI - Adventure Mappublic2014-01-30 18:302023-05-29 11:19
beegee 
Ivan 
normalcrashrandom
closedfixed 
 
 
0001672: Segmentation fault when starting the map
When starting a map a segmentation fault occurs randomly. It happens during YourTurn->applyCl procedure is called.

File: CAdvMapInterface.cpp, Line 139
curPos causes the seg fault
const int3 &curPos = currentPath->nodes[i].coord, &nextPos = currentPath->nodes[i+1].coord;
        if(curPos.z != adventureInt->position.z)
            continue;


Stacktrace:

0 CTerrainRect::showPath CAdvmapInterface.cpp 140 0xcc2839
1 CTerrainRect::show CAdvmapInterface.cpp 272 0xcc38f1
2 CAdvMapInt::show CAdvmapInterface.cpp 758 0xcc90db
3 CAdvMapInt::showAll CAdvmapInterface.cpp 679 0xcc8abb
4 CGuiHandler::totalRedraw CGuiHandler.cpp 150 0x9e269f
5 CGuiHandler::pushInt CGuiHandler.cpp 115 0x9e2977
6 CPlayerInterface::playerStartsTurn CPlayerInterface.cpp 2567 0xbbf513
7 non-virtual thunk to CPlayerInterface::playerStartsTurn(PlayerColor) CPlayerInterface.cpp 2585 0xbbf6ac
8 YourTurn::applyCl NetPacksClient.cpp 789 0xdcd297
9 CApplyOnCL<YourTurn>::applyOnClAfter Client.cpp 73 0xb92eb9
10 CClient::handlePack Client.cpp 513 0xb65bc3
11 CClient::run Client.cpp 150 0xb659c6
12 boost::_mfi::mf0<void, CClient>::operator() mem_fn_template.hpp 49 0xc0a6c2
13 boost::_bi::list1<boost::_bi::value<CClient*> >::operator()<boost::_mfi::mf0<void, CClient>, boost::_bi::list0> bind.hpp 253 0xc0a625
14 boost::_bi::bind_t<void, boost::_mfi::mf0<void, CClient>, boost::_bi::list1<boost::_bi::value<CClient*> > >::operator() bind_template.hpp 20 0xc0a5bf
15 boost::detail::thread_data<boost::_bi::bind_t<void, boost::_mfi::mf0<void, CClient>, boost::_bi::list1<boost::_bi::value<CClient*> > > >::run thread.hpp 117 0xc0a56c
16 thread_proxy /lib64/libboost_thread.so.1.54.0 0x3930a0c2aa
17 start_thread /lib64/libpthread.so.0 0x39c8607f33
18 clone /lib64/libc.so.6 0x39c7ef4ead
R1
related to 0000824resolved Nordsoft One-time crash at interface initialization 
Issue History
2014-01-30 18:30beegeeNew Issue
2022-03-22 15:27PovelitelTag Attached: R1
2022-03-30 17:26PovelitelRelationship addedrelated to 0000824
2023-04-11 20:29IvanAssigned To => Ivan
2023-04-11 20:29IvanStatusnew => assigned
2023-04-12 23:17IvanStatusassigned => confirmed
2023-05-29 11:19IvanStatusconfirmed => closed
2023-05-29 11:19IvanResolutionopen => fixed

There are no notes attached to this issue.