MantisBT - VCMI
View Issue Details
0002623VCMIMechanics - Battlespublic2016-11-29 01:022017-06-14 08:11
laska 
AVS 
normalminorsometimes
resolvedfixed 
0.99 
1.next 
0002623: after battle crash
console output
---------------
Failed to queue music. setName= musicURI=Music/Win Battle
Exception: Resource with name MUSIC/WIN BATTLE and type MUSIC wasn't found.
battleGetAllObstacles called when no battle!
battleGetStacksIf called when no battle!
battleGetAllObstacles called when no battle!
battleGetStackByPos called when no battle!
battleGetStackByPos called when no battle!
battleGetStackByPos called when no battle!
Failed to queue music. setName= musicURI=Music/Snow.mp3
Exception: Resource with name MUSIC/SNOW and type MUSIC wasn't found.
Warning: IntObject re-activated with mismatching used and active
battleGetStacksIf called when no battle!



debugger backtrace
-----------------------------
Thread 115 "CClient::waitFo" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7f3befbc5700 (LWP 15261)]
CPlayerInterface::activeStack (this=this@entry=0x7f3be5610ae0, stack=
    0x7f3be5475070)
    at /home/kl/Downloads/nes/vcmi/vcmi.git/client/CPlayerInterface.cpp:810
810 if (b->givenCommand->get())
(gdb) bt
#0 CPlayerInterface::activeStack (this=this@entry=0x7f3be5610ae0,
    stack=0x7f3be5475070)
    at /home/kl/Downloads/nes/vcmi/vcmi.git/client/CPlayerInterface.cpp:810
#1 0x000056281f696266 in CClient::waitForMoveAndSend (this=0x7f3be4000a30,
    color=...) at /home/kl/Downloads/nes/vcmi/vcmi.git/client/Client.cpp:143
0000002 0x000056281f7b412b in std::__invoke_impl<void, void (CClient::* const&)(PlayerColor), CClient*&, PlayerColor&> (__t=<optimized out>, __f=<optimized out>)
    at /usr/include/c++/6/functional:235
0000003 std::__invoke<void (CClient::* const&)(PlayerColor), CClient*&, PlayerColor&> (__fn=<optimized out>) at /usr/include/c++/6/functional:260
0000004 std::_Mem_fn_base<void (CClient::*)(PlayerColor), true>::operator()<CClient*&, PlayerColor&> (this=<optimized out>) at /usr/include/c++/6/functional:613
0000005 std::_Bind<std::_Mem_fn<void (CClient::*)(PlayerColor)> (CClient*, PlayerColor)>::__call<void, , 0ul, 1ul>(std::tuple<>&&, std::_Index_tuple<0ul, 1ul>) (
    __args=<optimized out>, this=<optimized out>)
    at /usr/include/c++/6/functional:943
0000006 std::_Bind<std::_Mem_fn<void (CClient::*)(PlayerColor)> (CClient*, PlayerColor)>::operator()<, void>() (this=<optimized out>)
    at /usr/include/c++/6/functional:1002
0000007 boost::detail::thread_data<std::_Bind<std::_Mem_fn<void (CClient::*)(PlayerColor)> (CClient*, PlayerColor)> >::run() (this=<optimized out>)
    at /usr/include/boost/thread/detail/thread.hpp:116
0000008 0x00007f3c28968116 in ?? ()
---Type <return> to continue, or q <return> to quit---
  o.1.62.0
0000009 0x00007f3c27d87464 in start_thread (arg=0x7f3befbc5700) at pthread_create.c:333
0000010 0x00007f3c241419df in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105
(gdb)
No tags attached.
duplicate of 0002692resolved AVS Finishing battle with a spell causes crash after confirming post-battle summary screen 
Issue History
2016-11-29 01:02laskaNew Issue
2017-06-14 08:11AVSRelationship addedduplicate of 0002692
2017-06-14 08:11AVSNote Added: 0007091
2017-06-14 08:11AVSStatusnew => resolved
2017-06-14 08:11AVSFixed in Version => 1.next
2017-06-14 08:11AVSResolutionopen => fixed
2017-06-14 08:11AVSAssigned To => AVS

Notes
(0007091)
AVS   
2017-06-14 08:11   
Should be fixed now