MantisBT - VCMI
View Issue Details
0001917VCMIOtherpublic2014-10-10 12:252022-03-28 16:01
ilya_pomaskin 
 
normalcrashalways
resolvedfixed 
MacOS X10.9.3
0.96b 
1.next 
0001917: Server crashing when creating new game
Server stack trace:
Error: signal 11:
0 vcmiserver 0x000000010a7281a6 _Z17handleLinuxSignali + 38
1 libsystem_platform.dylib 0x00007fff924ec5aa _sigtramp + 26
2 ??? 0x00007fff556f58c8 0x0 + 140734626748616
3 vcmiserver 0x000000010a5397a6 _ZN12CGameHandler12sendAndApplyEP14CPackForClient + 214
4 vcmiserver 0x000000010a51fd0c _ZN12CGameHandler7newTurnEv + 7564
5 vcmiserver 0x000000010a5288c2 _ZN12CGameHandler3runEb + 10898
6 vcmiserver 0x000000010a72682a _ZN11CVCMIServer7newGameEv + 170
7 vcmiserver 0x000000010a7277d3 _ZN11CVCMIServer5startEv + 2691
8 vcmiserver 0x000000010a7286f0 main + 816
9 libdyld.dylib 0x00007fff89fb35fd start + 1
No tags attached.
txt VCMI_Client_log.txt (132,477) 2014-10-10 12:29
https://bugs.vcmi.eu/file_download.php?file_id=1934&type=bug
log vcmi_client.log (16,930) 2014-10-10 12:29
https://bugs.vcmi.eu/file_download.php?file_id=1935&type=bug
txt VCMI_Server_log.txt (117,825) 2014-10-10 12:30
https://bugs.vcmi.eu/file_download.php?file_id=1936&type=bug
log vcmi_server.log (2,422) 2014-10-10 12:30
https://bugs.vcmi.eu/file_download.php?file_id=1937&type=bug
Issue History
2014-10-10 12:25ilya_pomaskinNew Issue
2014-10-10 12:28ilya_pomaskinNote Added: 0005006
2014-10-10 12:29ilya_pomaskinFile Added: VCMI_Client_log.txt
2014-10-10 12:29ilya_pomaskinFile Added: vcmi_client.log
2014-10-10 12:30ilya_pomaskinFile Added: VCMI_Server_log.txt
2014-10-10 12:30ilya_pomaskinFile Added: vcmi_server.log
2022-03-15 19:00PovelitelNote Added: 0008083
2022-03-15 19:00PovelitelAssigned To => Povelitel
2022-03-15 19:00PovelitelStatusnew => feedback
2022-03-28 16:01PovelitelNote Added: 0008221
2022-03-28 16:01PovelitelStatusfeedback => resolved
2022-03-28 16:01PovelitelFixed in Version => 1.next
2022-03-28 16:01PovelitelResolutionopen => fixed
2022-03-28 16:01PovelitelAssigned ToPovelitel =>

Notes
(0005006)
ilya_pomaskin   
2014-10-10 12:28   
Error happens here:
lib/CGameState.cpp:2162

void CGameState::apply(CPack *pack)
{
    ui16 typ = typeList.getTypeID(pack); // return 0
    applierGs->apps[typ]->applyOnGS(this,pack); // apps[0] does not exists, so program throws exception
}
(0008083)
Povelitel   
2022-03-15 19:00   
Try the latest from https://builds.vcmi.download/branch/develop/macOS [^]
(0008221)
Povelitel   
2022-03-28 16:01   
should be fixed