MantisBT

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002023VCMIAI - Battlespublic2015-01-02 19:152024-05-11 08:57
ReporterKroArtem 
Assigned ToNullkiller 
PriorityhighSeveritymajorReproducibilityhave not tried
StatusclosedResolutionunable to reproduce 
Platformx86_64OSUbuntuOS Version14.10
Product Version0.97b 
Target VersionFixed in Version 
Summary0002023: Crash during battle
DescriptionCrash 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)
TagsR1
Attached Filespng file icon Снимок экрана от 2015-01-02 22:08:30.png [^] (910,633 bytes) 2015-01-02 19:15


zip file icon Saves.zip [^] (1,219,921 bytes) 2015-01-03 23:18

- Relationships

-  Notes
(0005304)
Warmonger (administrator)
2015-01-02 19:38

Savegame, steps to reproduce please?
(0005309)
KroArtem (updater)
2015-01-02 19:50

That's what I was not able to reproduce even with the same savegame, sorry.
(0005313)
KroArtem (updater)
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 (administrator)
2015-02-15 04:48

Interesting if this one related to 0002025 or not. :-)
(0008966)
Povelitel (updater)
2024-05-11 08:57

Unable to reproduce. Too old format.

Try new version from here https://github.com/vcmi/vcmi/releases/tag/1.5.0 [^]

- Issue History
Date Modified Username Field Change
2015-01-02 19:15 KroArtem New Issue
2015-01-02 19:15 KroArtem Status new => assigned
2015-01-02 19:15 KroArtem Assigned To => Tow
2015-01-02 19:15 KroArtem File Added: Снимок экрана от 2015-01-02 22:08:30.png
2015-01-02 19:38 Warmonger Note Added: 0005304
2015-01-02 19:50 KroArtem Note Added: 0005309
2015-01-03 23:16 KroArtem Note Added: 0005313
2015-01-03 23:18 KroArtem File Added: Saves.zip
2015-02-15 04:48 SXX Note Added: 0005506
2022-03-21 18:29 Povelitel Tag Attached: R1
2022-03-21 18:30 Povelitel Assigned To Tow => Nullkiller
2024-05-11 08:57 Povelitel Note Added: 0008966
2024-05-11 08:57 Povelitel Status assigned => closed
2024-05-11 08:57 Povelitel Resolution open => unable to reproduce

Site | Forums | Wiki | Slack | GitHub


Copyright © 2000 - 2024 MantisBT Team
Hosting provided by DigitalOcean