MantisBT - VCMI
View Issue Details
0002023VCMIAI - Battlespublic2015-01-02 19:152022-03-21 18:30
KroArtem 
Nullkiller 
highmajorhave not tried
assignedopen 
x86_64Ubuntu14.10
0.97b 
 
0002023: Crash during battle
Crash during battle.
vcmi marked 0.97c by Warmonger
Stacktrace:

FIXME: battleGetFightingHero wrong argument!
FIXME: battleGetFightingHero wrong argument!
[Thread 0x7fffdac4a700 (LWP 14342) exited]
Created movement start anim for Thunderbirds
Created movement anim for Thunderbirds
Created movement end anim for Thunderbirds
Created melee attack anim for Thunderbirds
Created defence anim for Orc Chieftains
Created melee attack anim for Orc Chieftains
Created defence anim for Thunderbirds
[New Thread 0x7fffdac4a700 (LWP 14343)]
FIXME battleGetPossibleTargets doesn't work with target type 3
FIXME: battleGetFightingHero wrong argument!
[Thread 0x7fffdac4a700 (LWP 14343) exited]
Created melee attack anim for Ancient Behemoths
Created defence anim for Ogre

Program received signal SIGSEGV, Segmentation fault.
0x00007fffc6474630 in ?? ()
(gdb) bt
#0 0x00007fffc6474630 in ?? ()
#1 0x00000000004860d5 in operator() (this=0x6067ed0)
    at /usr/include/c++/4.9/functional:2439
0000002 operator()<> (this=0x7fffffff74c0)
    at /build/buildd/vcmi-0.97+git20141227.3838~ubuntu14.10.1/client/battle/../../lib/FunctionList.h:62
0000003 CCreatureAnimation::endAnimation (this=this@entry=0x7fffcf9e6e20)
    at /build/buildd/vcmi-0.97+git20141227.3838~ubuntu14.10.1/client/battle/CCreatureAnimation.cpp:208
0000004 0x000000000048650a in CCreatureAnimation::incrementFrame (
    this=0x7fffcf9e6e20, timePassed=timePassed@entry=0,0209999997)
    at /build/buildd/vcmi-0.97+git20141227.3838~ubuntu14.10.1/client/battle/CCreatureAnimation.cpp:224
0000005 0x000000000045f714 in CBattleInterface::showStacks (
    this=this@entry=0x7fffc4f63900, to=to@entry=0xd370a0,
    stacks=std::vector of length 1, capacity 1 = {...})
    at /build/buildd/vcmi-0.97+git20141227.3838~ubuntu14.10.1/client/battle/CBattleInterface.cpp:3347
0000006 0x00000000004609b9 in CBattleInterface::showAliveStacks (
    this=0x7fffc4f63900, to=0xd370a0,
    stacks=std::vector of length 1, capacity 1 = {...})
    at /build/buildd/vcmi-0.97+git20141227.3838~ubuntu14.10.1/client/battle/CBattleInterface.cpp:3310
---Type <return> to continue, or q <return> to quit---
0000007 0x00000000004699b2 in CBattleInterface::<lambda(BattleObjectsByHex::HexData&)>::operator()(BattleObjectsByHex::HexData &) const (
    __closure=__closure@entry=0x7fffffff76f0, hex=...)
    at /build/buildd/vcmi-0.97+git20141227.3838~ubuntu14.10.1/client/battle/CBattleInterface.cpp:3239
0000008 0x0000000000469c65 in CBattleInterface::showBattlefieldObjects (
    this=this@entry=0x7fffc4f63900, to=to@entry=0xd370a0)
    at /build/buildd/vcmi-0.97+git20141227.3838~ubuntu14.10.1/client/battle/CBattleInterface.cpp:3263
0000009 0x000000000046e7b0 in CBattleInterface::show (this=0x7fffc4f63900,
    to=0xd370a0)
    at /build/buildd/vcmi-0.97+git20141227.3838~ubuntu14.10.1/client/battle/CBattleInterface.cpp:3032
0000010 0x00000000005e69f2 in CPlayerInterface::update (this=<optimized out>)
    at /build/buildd/vcmi-0.97+git20141227.3838~ubuntu14.10.1/client/CPlayerInterface.cpp:1600
0000011 0x0000000000492711 in operator() (__closure=<optimized out>,
    target=<optimized out>)
    at /build/buildd/vcmi-0.97+git20141227.3838~ubuntu14.10.1/client/gui/CGuiHandler.cpp:417
0000012 std::_Function_handler<void(IUpdateable*), CGuiHandler::renderFrame()::<lambda(IUpdateable*)> >::_M_invoke(const std::_Any_data &, IUpdateable *) (
    __functor=..., __args#0=<optimized out>)
---Type <return> to continue, or q <return> to quit---
    at /usr/include/c++/4.9/functional:2039
0000013 0x00000000005e9d35 in operator() (__args#0=0x7fffc483e720,
    this=0x7fffffffd150) at /usr/include/c++/4.9/functional:2439
0000014 CPlayerInterface::runLocked(std::function<void (IUpdateable*)>) (
    this=<optimized out>, functor=...)
    at /build/buildd/vcmi-0.97+git20141227.3838~ubuntu14.10.1/client/CPlayerInterface.cpp:1634
0000015 0x00000000004931b1 in CGuiHandler::renderFrame (
    this=this@entry=0x93dc40 <GH>)
    at /build/buildd/vcmi-0.97+git20141227.3838~ubuntu14.10.1/client/gui/CGuiHandler.cpp:431
0000016 0x0000000000440a15 in mainLoop ()
    at /build/buildd/vcmi-0.97+git20141227.3838~ubuntu14.10.1/client/CMT.cpp:1197
0000017 main (argc=<optimized out>, argv=0x7fffffffde98)
    at /build/buildd/vcmi-0.97+git20141227.3838~ubuntu14.10.1/client/CMT.cpp:485
(gdb)
R1
png Снимок экрана от 2015-01-02 22:08:30.png (910,633) 2015-01-02 19:15
https://bugs.vcmi.eu/file_download.php?file_id=2058&type=bug
png

zip Saves.zip (1,219,921) 2015-01-03 23:18
https://bugs.vcmi.eu/file_download.php?file_id=2060&type=bug
Issue History
2015-01-02 19:15KroArtemNew Issue
2015-01-02 19:15KroArtemStatusnew => assigned
2015-01-02 19:15KroArtemAssigned To => Tow
2015-01-02 19:15KroArtemFile Added: Снимок экрана от 2015-01-02 22:08:30.png
2015-01-02 19:38WarmongerNote Added: 0005304
2015-01-02 19:50KroArtemNote Added: 0005309
2015-01-03 23:16KroArtemNote Added: 0005313
2015-01-03 23:18KroArtemFile Added: Saves.zip
2015-02-15 04:48SXXNote Added: 0005506
2022-03-21 18:29PovelitelTag Attached: R1
2022-03-21 18:30PovelitelAssigned ToTow => Nullkiller

Notes
(0005304)
Warmonger   
2015-01-02 19:38   
Savegame, steps to reproduce please?
(0005309)
KroArtem   
2015-01-02 19:50   
That's what I was not able to reproduce even with the same savegame, sorry.
(0005313)
KroArtem   
2015-01-03 23:16   
Had the same crash today. Attacked Pegasi with my second hero (not Sandro), but I don't find any similarities between these two crashes.
(0005506)
SXX   
2015-02-15 04:48   
Interesting if this one related to 0002025 or not. :-)