battleGetFightingHero(sc->side)"> battleGetFightingHero(sc->side)">
MantisBT

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001178VCMIGUI - Battlespublic2013-01-20 15:422013-01-21 20:19
ReporterAlexVinS 
Assigned ToTow 
PriorityhighSeveritymajorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0001178: Crash when AI casts spell
Descriptionmap "VCMI_Tests_2011b.h3m" crash in \BattleInterface\CBattleInterface.cpp:1717 (in fact deeper in stdlib)

after wrong access to cb->battleGetFightingHero(sc->side)
Steps To Reproduceattack with Sir Mullich nearby enemy hero. Will crash on first AI turn.
Additional InformationCBattleAI [0xcfa1b58]: Best spell is Ускорение. Will cast.
Sending a request "16MakeCustomAction". It'll have an ID=6.
Sending to server a pack of type 16MakeCustomAction
We'll wait till request 6 is answered.
    received server message of type 11StartAction
CBattleAI [0xcfa1b58]: actionStarted called
    Made first apply on cl
    Applied on gs
    Made second apply on cl
Listening... received server message of type 14SetStackEffect
    Made first apply on cl
    Applied on gs
CBattleAI [0xcfa1b58]: battleStacksEffectsSet called
    Made second apply on cl
Listening... received server message of type 15BattleSpellCast
    Made first apply on cl
    Applied on gs
FIXME: battleGetFightingHero access check

TagsNo tags attached.
Attached Files? file icon VCMI_Tests_2011b.h3m [^] (18,793 bytes) 2013-01-20 15:42

- Relationships

-  Notes
(0003289)
Tow (developer)
2013-01-20 20:30

Please try r3112.
(0003299)
AlexVinS (developer)
2013-01-21 20:12

Thanks. This is fixed, but there are more crashes ...
(0003300)
Tow (developer)
2013-01-21 20:19

That's what happens when I'm not around! :P

Just keep reporting them, and we'll fix them one by one. :)

- Issue History
Date Modified Username Field Change
2013-01-20 15:42 AlexVinS New Issue
2013-01-20 15:42 AlexVinS File Added: VCMI_Tests_2011b.h3m
2013-01-20 20:04 Tow Assigned To => Tow
2013-01-20 20:04 Tow Status new => assigned
2013-01-20 20:30 Tow Note Added: 0003289
2013-01-20 20:30 Tow Status assigned => resolved
2013-01-20 20:30 Tow Resolution open => fixed
2013-01-21 20:12 AlexVinS Note Added: 0003299
2013-01-21 20:12 AlexVinS Status resolved => closed
2013-01-21 20:19 Tow Note Added: 0003300

Site | Forums | Wiki | Slack | GitHub


Copyright © 2000 - 2024 MantisBT Team
Hosting provided by DigitalOcean