MantisBT

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000928VCMIOtherpublic2012-04-12 12:212014-05-30 17:41
Reporterq4a 
Assigned ToTow 
PrioritynormalSeveritycrashReproducibilityalways
StatusclosedResolutionfixed 
Platformx86OSWindowsOS VersionXP SP3
Product Version0.88 
Target VersionFixed in Version 
Summary0000928: Crash on AI turn
DescriptionTested on r2622 with attached save game.
VS point the failed assertion to:
E:\game\vcmi\lib\CObjectHandler.cpp:
        if((defInfo->visitMap[5-y] >> x) & 1)

Call stack:

> VCMI_lib.dll!CGObjectInstance::getVisitableOffset() Line 413 + 0xe bytes C++
     VCMI_lib.dll!CGObjectInstance::visitablePos() Line 496 + 0xf bytes C++
     VCAI.dll!VCAI::wander(const CGHeroInstance * h) Line 1201 + 0x15 bytes C++
     VCAI.dll!VCAI::performTypicalActions() Line 1741 C++
     VCAI.dll!VCAI::tryRealize(CGoal g) Line 1602 C++
     VCAI.dll!VCAI::striveToGoal(const CGoal & ultimateGoal) Line 1700 C++
     VCAI.dll!VCAI::makeTurnInternal() Line 943 + 0x32 bytes C++
     VCAI.dll!VCAI::makeTurn() Line 923 C++
     VCAI.dll!boost::_mfi::mf0<void,VCAI>::operator()(VCAI * p) Line 49 + 0x12 bytes C++
     VCAI.dll!boost::_bi::list1<boost::_bi::value<VCAI *> >::operator()<boost::_mfi::mf0<void,VCAI>,boost::_bi::list0>(boost::_bi::type<void> __formal, boost::_mfi::mf0<void,VCAI> & f, boost::_bi::list0 & a, boost::_bi::type<void> __formal) Line 254 C++
     VCAI.dll!boost::_bi::bind_t<void,boost::_mfi::mf0<void,VCAI>,boost::_bi::list1<boost::_bi::value<VCAI *> > >::operator()() Line 21 C++
     VCAI.dll!boost::detail::thread_data<boost::_bi::bind_t<void,boost::_mfi::mf0<void,VCAI>,boost::_bi::list1<boost::_bi::value<VCAI *> > > >::run() Line 62 C++
     VCAI.dll!boost::`anonymous namespace'::thread_start_function(void * param) Line 177 C++
     msvcr100d.dll!_callthreadstartex() Line 314 + 0xf bytes C
     msvcr100d.dll!_threadstartex(void * ptd) Line 297 C
     kernel32.dll!7c80b729()
     [Frames below may be incorrect and/or missing, no symbols loaded for kernel32.dll]
Steps To ReproduceLoad attached save game (homm3 map "Serpents Treasure.h3m")
Click "End Turn".
Crash happen on Red AI turn.
Additional InformationLog files attached. Console output:
CStupidAI [0F493868]: battleAttack called
CStupidAI [0F2F4EF0]: battleAttack called
CStupidAI [0F493868]: battleStacksAttacked called
CStupidAI [0F2F4EF0]: battleStacksAttacked called
CStupidAI [0F493868]: actionFinished called
CStupidAI [0F2F4EF0]: actionFinished called
                Player 0: I won the battle of Cyra attacking Monster at 22 0 0!
CStupidAI [0F493868]: battleEnd called
CStupidAI [0F493868]: destroyed
CStupidAI [0F2F4EF0]: battleEnd called
Warning: an orphaned child!
                Hero Cyra moved from 17 3 0 to 21 0 0
                Hero Cyra apparently used all MPs (0 left)
TagsNo tags attached.
Attached Files7z file icon save.7z [^] (140,886 bytes) 2012-04-12 12:21
7z file icon log.7z [^] (15,724 bytes) 2012-04-12 12:23
png file icon e2.png [^] (38,765 bytes) 2012-04-12 12:24

- Relationships

-  Notes
(0002364)
q4a (reporter)
2012-04-12 12:25

Edit:
VS point the failed assertion to:
E:\game\vcmi\lib\CObjectHandler.cpp:431
(0002373)
Tow (developer)
2012-04-17 15:03

Fixed in r2629.

- Issue History
Date Modified Username Field Change
2012-04-12 12:21 q4a New Issue
2012-04-12 12:21 q4a File Added: save.7z
2012-04-12 12:23 q4a File Added: log.7z
2012-04-12 12:24 q4a File Added: e2.png
2012-04-12 12:25 q4a Note Added: 0002364
2012-04-14 08:04 Tow Assigned To => Tow
2012-04-14 08:04 Tow Status new => confirmed
2012-04-17 15:03 Tow Note Added: 0002373
2012-04-17 15:03 Tow Status confirmed => resolved
2012-04-17 15:03 Tow Resolution open => fixed
2014-05-30 17:41 beegee Status resolved => closed

Site | Forums | Wiki | Slack | GitHub


Copyright © 2000 - 2024 MantisBT Team
Hosting provided by DigitalOcean