MantisBT

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001183VCMIGUI - Battlespublic2013-01-22 07:482013-01-22 12:26
ReporterAlexVinS 
Assigned ToWarmonger 
PrioritynormalSeveritycrashReproducibilityhave not tried
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version0.91 
Summary0001183: Crash in Battle related probably to creature arts
DescriptionCrash when click on hex during the turn of creature with magic wand.
Steps To Reproducemap VCMI_Tests_2011b. (with magic wand added to Ivor).
give magic wand to (f.e.) elves attack smth (I attacked gorgons dwelling)
during elves turn right click on emtpty hex.
Additional InformationFrom log: Listening... Awaiting command for Battle stack [7]: 90 creatures of Лесные эльфы from slot 6 of armyobj=72

From debugger:

Program received signal SIGSEGV, Segmentation fault.
In libstdc++-6!_ZNSt11char_traitsIcE2eqERKcS2_ () (D:\projects\vcmi\engine\libstdc++-6.dll)
0000006 0x005e688c in boost::io::detail::put_last<char, std::char_traits<char>, std::string> (os=..., x=...) at d:/cpplibs/boost/include/boost-1_52/boost/format/feed_args.hpp:100
d:\cpplibs\boost\include\boost-1_52\boost\format\feed_args.hpp:100:3955:beg:0x5e688c
At d:\cpplibs\boost\include\boost-1_52\boost\format\feed_args.hpp:100
0000006 0x005e688c in boost::io::detail::put_last<char, std::char_traits<char>, std::string> (os=..., x=...) at d:/cpplibs/boost/include/boost-1_52/boost/format/feed_args.hpp:100
d:\cpplibs\boost\include\boost-1_52\boost\format\feed_args.hpp:100:3955:beg:0x5e688c
At D:\projects\vcmi\engine\client\BattleInterface\CBattleInterface.cpp:3057
0000011 0x00424c1f in CBattleInterface::handleHex (this=0xd466bb8, myNumber=..., eventType=8) at D:\projects\vcmi\engine\client\BattleInterface\CBattleInterface.cpp:3057
D:\projects\vcmi\engine\client\BattleInterface\CBattleInterface.cpp:3057:99735:beg:0x424c1f
At D:\projects\vcmi\engine\client\BattleInterface\CBattleInterface.cpp:3057
0000011 0x00424c1f in CBattleInterface::handleHex (this=0xd466bb8, myNumber=..., eventType=8) at D:\projects\vcmi\engine\client\BattleInterface\CBattleInterface.cpp:3057
D:\projects\vcmi\engine\client\BattleInterface\CBattleInterface.cpp:3057:99735:beg:0x424c1f
At D:\projects\vcmi\engine\client\BattleInterface\CBattleInterface.cpp:3057
Continuing...
Program received signal SIGSEGV, Segmentation fault.
In libstdc++-6!_ZNSt11char_traitsIcE2eqERKcS2_ () (D:\projects\vcmi\engine\libstdc++-6.dll)
0000006 0x005e688c in boost::io::detail::put_last<char, std::char_traits<char>, std::string> (os=..., x=...) at d:/cpplibs/boost/include/boost-1_52/boost/format/feed_args.hpp:100
d:\cpplibs\boost\include\boost-1_52\boost\format\feed_args.hpp:100:3955:beg:0x5e688c
At d:\cpplibs\boost\include\boost-1_52\boost\format\feed_args.hpp:100
0000006 0x005e688c in boost::io::detail::put_last<char, std::char_traits<char>, std::string> (os=..., x=...) at d:/cpplibs/boost/include/boost-1_52/boost/format/feed_args.hpp:100
d:\cpplibs\boost\include\boost-1_52\boost\format\feed_args.hpp:100:3955:beg:0x5e688c
Continuing...
[Inferior 1 (process 3792) exited with code 030000000005]
Debugger finished with status 0
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0003302)
AlexVinS (developer)
2013-01-22 08:12

After defeating green Uland I`ve got magic wand, but there is now arts on that hero. It was starting bonus?
(0003303)
Warmonger (administrator)
2013-01-22 08:18
edited on: 2013-01-22 08:18

There is a problem with random spells casted by stack, callback often returns -1 spell index, but not always :?

(0003304)
Warmonger (administrator)
2013-01-22 09:48

There was just conflict between multiple spellcasting abilities.

Fixed in r3119. Genie and other casters still seem to work.

- Issue History
Date Modified Username Field Change
2013-01-22 07:48 AlexVinS New Issue
2013-01-22 07:49 Warmonger Assigned To => Warmonger
2013-01-22 07:49 Warmonger Status new => assigned
2013-01-22 08:12 AlexVinS Note Added: 0003302
2013-01-22 08:18 Warmonger Note Added: 0003303
2013-01-22 08:18 Warmonger Status assigned => confirmed
2013-01-22 08:18 Warmonger Note Edited: 0003303 View Revisions
2013-01-22 08:20 AlexVinS Status confirmed => assigned
2013-01-22 08:20 AlexVinS Steps to Reproduce Updated View Revisions
2013-01-22 09:48 Warmonger Note Added: 0003304
2013-01-22 09:48 Warmonger Status assigned => resolved
2013-01-22 09:48 Warmonger Fixed in Version => 0.91
2013-01-22 09:48 Warmonger Resolution open => fixed
2013-01-22 12:26 AlexVinS Status resolved => closed

Site | Forums | Wiki | Slack | GitHub


Copyright © 2000 - 2024 MantisBT Team
Hosting provided by DigitalOcean