Anonymous | Login | 2024-10-30 05:50 UTC |
My View | View Issues | Change Log | Roadmap |
View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0003022 | VCMI | AI - Adventure Map | public | 2018-11-06 18:29 | 2023-10-10 13:42 | ||||
Reporter | Povelitel | ||||||||
Assigned To | Dydzio | ||||||||
Priority | high | Severity | crash | Reproducibility | unable to reproduce | ||||
Status | closed | Resolution | fixed | ||||||
Platform | OS | OS Version | |||||||
Product Version | 0.99 | ||||||||
Target Version | Fixed in Version | 1.next | |||||||
Summary | 0003022: Obj::HERO crash | ||||||||
Description | May be related (or duplicate) 3021. Unreproducible bug from save, happened on AI turn. It is very often and painful problem( if(obj->ID == Obj::HERO) > VCAI.dll!MapObjectsEvaluator::getObjectValue(const CGObjectInstance * obj)Строка 61 C++ VCAI.dll!VisitObjEngine::evaluate(Goals::VisitObj & goal)Строка 375 C++ VCAI.dll!FuzzyHelper::setPriority(Goals::TSubgoal & g)Строка 167 C++ VCAI.dll!VCAI::mainLoop()Строка 869 C++ VCAI.dll!VCAI::makeTurn()Строка 836 C++ part from client log 2018-Nov-07 19:45:45.873741 TRACE network [244c] - Received CPack of type struct PlayerBlocked 2018-Nov-07 19:45:45.887250 TRACE network [244c] - Made first apply on cl: struct PlayerBlocked 2018-Nov-07 19:45:45.887750 TRACE network [244c] - Applied on gs: struct PlayerBlocked 2018-Nov-07 19:45:45.887750 TRACE ai [244c] - Entering void __cdecl VCAI::playerBlocked(int,bool): reason '1', start '1'. 2018-Nov-07 19:45:45.887750 TRACE ai [244c] - Leaving void __cdecl VCAI::playerBlocked(int,bool). 2018-Nov-07 19:45:45.887750 TRACE network [244c] - Made second apply on cl: struct PlayerBlocked 2018-Nov-07 19:45:45.888751 TRACE network [244c] - Received CPack of type struct TryMoveHero 2018-Nov-07 19:45:45.890752 TRACE network [244c] - Made first apply on cl: struct TryMoveHero 2018-Nov-07 19:45:45.891253 TRACE network [244c] - Applied on gs: struct TryMoveHero 2018-Nov-07 19:45:45.891253 TRACE ai [244c] - Entering void __cdecl VCAI::tileRevealed(const class std::unordered_set<class int3,struct ShashInt3,struct std::equal_to<class int3>,class std::allocator<class int3> > &). 2018-Nov-07 19:45:45.891253 DEBUG ai [244c] - AIPathfinder has been reseted. 2018-Nov-07 19:45:45.892254 TRACE ai [244c] - Leaving void __cdecl VCAI::tileRevealed(const class std::unordered_set<class int3,struct ShashInt3,struct std::equal_to<class int3>,class std::allocator<class int3> > &). 2018-Nov-07 19:45:45.892254 TRACE ai [244c] - Entering void __cdecl VCAI::heroMoved(const struct TryMoveHero &). 2018-Nov-07 19:45:45.892254 DEBUG ai [244c] - AIPathfinder has been reseted. 2018-Nov-07 19:45:45.893254 TRACE ai [244c] - Leaving void __cdecl VCAI::heroMoved(const struct TryMoveHero &). 2018-Nov-07 19:45:45.893254 TRACE ai [244c] - Entering void __cdecl VCAI::heroMoved(const struct TryMoveHero &). 2018-Nov-07 19:45:45.893254 DEBUG ai [244c] - AIPathfinder has been reseted. 2018-Nov-07 19:45:45.893754 TRACE ai [244c] - Leaving void __cdecl VCAI::heroMoved(const struct TryMoveHero &). 2018-Nov-07 19:45:45.893754 TRACE ai [244c] - Entering void __cdecl VCAI::heroMoved(const struct TryMoveHero &). 2018-Nov-07 19:45:45.894255 DEBUG ai [244c] - AIPathfinder has been reseted. 2018-Nov-07 19:45:45.894755 TRACE ai [244c] - Leaving void __cdecl VCAI::heroMoved(const struct TryMoveHero &). 2018-Nov-07 19:45:45.895256 TRACE network [244c] - Made second apply on cl: struct TryMoveHero 2018-Nov-07 19:45:45.895756 TRACE network [244c] - Received CPack of type struct HeroVisit 2018-Nov-07 19:45:45.895756 TRACE network [244c] - Made first apply on cl: struct HeroVisit 2018-Nov-07 19:45:45.896256 TRACE network [244c] - Applied on gs: struct HeroVisit 2018-Nov-07 19:45:45.896256 TRACE ai [244c] - Entering void __cdecl VCAI::heroVisit(const class CGHeroInstance *,const class CGObjectInstance *,bool): start '1'; obj 'Fountain of Youth'. 2018-Nov-07 19:45:45.896256 DEBUG ai [244c] - Completing goal: GET OBJ Fountain of Youth (Wystan) 2018-Nov-07 19:45:45.897257 TRACE ai [244c] - Entering ResourceManager.notifyGoalCompleted goal=GET OBJ Fountain of Youth (Wystan) 2018-Nov-07 19:45:45.897257 TRACE ai [244c] - ResourceManager contains goal BUILD STRUCTURE which requires resources [10, 0, 10, 20, 0, 0, 15000, 0] 2018-Nov-07 19:45:45.897757 TRACE ai [244c] - Leaving void __cdecl VCAI::heroVisit(const class CGHeroInstance *,const class CGObjectInstance *,bool). 2018-Nov-07 19:45:45.897757 TRACE network [244c] - Made second apply on cl: struct HeroVisit 2018-Nov-07 19:45:45.898258 TRACE network [244c] - Received CPack of type struct InfoWindow 2018-Nov-07 19:45:45.898258 TRACE network [244c] - Made first apply on cl: struct InfoWindow 2018-Nov-07 19:45:45.898258 TRACE network [244c] - Applied on gs: struct InfoWindow 2018-Nov-07 19:45:45.898758 TRACE ai [244c] - Entering void __cdecl VCAI::showInfoDialog(const class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > &,const class std::vector<struct Component,class std::allocator<struct Component> > &,int): soundID '0'. 2018-Nov-07 19:45:45.898758 TRACE ai [244c] - Leaving void __cdecl VCAI::showInfoDialog(const class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > &,const class std::vector<struct Component,class std::allocator<struct Component> > &,int). 2018-Nov-07 19:45:45.898758 TRACE network [244c] - Made second apply on cl: struct InfoWindow 2018-Nov-07 19:45:45.899759 TRACE network [244c] - Received CPack of type struct HeroVisit 2018-Nov-07 19:45:45.899759 TRACE network [244c] - Made first apply on cl: struct HeroVisit 2018-Nov-07 19:45:45.899759 TRACE network [244c] - Applied on gs: struct HeroVisit 2018-Nov-07 19:45:45.899759 TRACE ai [244c] - Entering void __cdecl VCAI::heroVisit(const class CGHeroInstance *,const class CGObjectInstance *,bool): start '0'; obj 'n/a'. 2018-Nov-07 19:45:45.899759 TRACE ai [244c] - Leaving void __cdecl VCAI::heroVisit(const class CGHeroInstance *,const class CGObjectInstance *,bool). 2018-Nov-07 19:45:45.900258 TRACE network [244c] - Made second apply on cl: struct HeroVisit 2018-Nov-07 19:45:45.900759 TRACE network [244c] - Received CPack of type struct PlayerBlocked 2018-Nov-07 19:45:45.900759 TRACE network [244c] - Made first apply on cl: struct PlayerBlocked 2018-Nov-07 19:45:45.900759 TRACE network [244c] - Applied on gs: struct PlayerBlocked 2018-Nov-07 19:45:45.900759 TRACE ai [244c] - Entering void __cdecl VCAI::playerBlocked(int,bool): reason '1', start '0'. 2018-Nov-07 19:45:45.901259 TRACE ai [244c] - Leaving void __cdecl VCAI::playerBlocked(int,bool). 2018-Nov-07 19:45:45.901259 TRACE network [244c] - Made second apply on cl: struct PlayerBlocked 2018-Nov-07 19:45:45.901760 TRACE network [244c] - Received CPack of type struct PackageApplied 2018-Nov-07 19:45:45.901760 TRACE network [244c] - Made first apply on cl: struct PackageApplied 2018-Nov-07 19:45:45.901760 TRACE network [244c] - Applied on gs: struct PackageApplied 2018-Nov-07 19:45:45.902260 TRACE ai [244c] - Entering void __cdecl VCAI::requestRealized(struct PackageApplied *). 2018-Nov-07 19:45:45.902260 TRACE ai [244c] - Leaving void __cdecl VCAI::requestRealized(struct PackageApplied *). 2018-Nov-07 19:45:45.902260 TRACE network [244c] - Made second apply on cl: struct PackageApplied 2018-Nov-07 19:45:45.902260 TRACE ai [2aa8] - Entering void __cdecl VCAI::performObjectInteraction(const class CGObjectInstance *,struct HeroPtr): Hero Wystan and object Fountain of Youth at (107 133 0). 2018-Nov-07 19:45:45.902260 DEBUG ai [2aa8] - Completing goal: GET OBJ Fountain of Youth (Wystan) 2018-Nov-07 19:45:45.903761 TRACE ai [2aa8] - Entering ResourceManager.notifyGoalCompleted goal=GET OBJ Fountain of Youth (Wystan) 2018-Nov-07 19:45:45.903761 TRACE ai [2aa8] - ResourceManager contains goal BUILD STRUCTURE which requires resources [10, 0, 10, 20, 0, 0, 15000, 0] 2018-Nov-07 19:45:45.903761 TRACE ai [2aa8] - Leaving void __cdecl VCAI::performObjectInteraction(const class CGObjectInstance *,struct HeroPtr). 2018-Nov-07 19:45:45.903761 DEBUG ai [2aa8] - Completing goal: VISIT TILE (107 133 0) (Wystan) 2018-Nov-07 19:45:45.904762 TRACE ai [2aa8] - Entering ResourceManager.notifyGoalCompleted goal=VISIT TILE (107 133 0) (Wystan) 2018-Nov-07 19:45:45.904762 TRACE ai [2aa8] - ResourceManager contains goal BUILD STRUCTURE which requires resources [10, 0, 10, 20, 0, 0, 15000, 0] 2018-Nov-07 19:45:45.904762 DEBUG ai [2aa8] - Completing goal: CLEAR WAY TO (107 133 0) (Wystan) 2018-Nov-07 19:45:45.906263 TRACE ai [2aa8] - Entering ResourceManager.notifyGoalCompleted goal=CLEAR WAY TO (107 133 0) (Wystan) 2018-Nov-07 19:45:45.906263 TRACE ai [2aa8] - ResourceManager contains goal BUILD STRUCTURE which requires resources [10, 0, 10, 20, 0, 0, 15000, 0] 2018-Nov-07 19:45:45.906263 DEBUG ai [2aa8] - Hero Wystan moved from (107 133 0) to (107 133 0). Returning 1. 2018-Nov-07 19:45:45.912267 DEBUG ai [2aa8] - Recalculate paths for Wystan 2018-Nov-07 19:45:45.913268 DEBUG ai [2aa8] - Virtual boat added at (118 115 0) 2018-Nov-07 19:45:45.920272 TRACE ai [2aa8] - Link src node (114 131 0) to destination node (115 131 0) while bypassing visitable obj 2018-Nov-07 19:45:45.920772 TRACE ai [2aa8] - Trying to find a way for Wystan to visit tile (109 139 0) 2018-Nov-07 19:45:45.920772 TRACE ai [2aa8] - Pat server 2018-Nov-07 19:45:45.874241 TRACE network [2b88] - Sending to all clients: struct HeroVisit 2018-Nov-07 19:45:45.874241 TRACE network [2b88] - Sending a pack of type struct HeroVisit 2018-Nov-07 19:45:45.874241 TRACE network [2b88] - Applied on gs: struct HeroVisit 2018-Nov-07 19:45:45.874241 TRACE network [2b88] - Sending to all clients: struct PlayerBlocked 2018-Nov-07 19:45:45.874742 TRACE network [2b88] - Sending a pack of type struct PlayerBlocked 2018-Nov-07 19:45:45.874742 TRACE network [2b88] - Applied on gs: struct PlayerBlocked 2018-Nov-07 19:45:45.874742 TRACE global [2b88] - Destructed the query with id 3066 2018-Nov-07 19:45:45.874742 TRACE global [2b88] - Hero Wystan ends movement 2018-Nov-07 19:45:45.874742 TRACE global [2b88] - Destructed the query with id 3065 2018-Nov-07 19:45:45.874742 TRACE global [2b88] - Leaving bool __cdecl CGameHandler::moveHero::<lambda_92133043bea238cfd8e24efa7f94abd4>::operator ()(enum TryMoveHero::EResult,enum CGameHandler::EGuardLook,enum CGameHandler::EVisitDest,enum CGameHandler::ELEaveTile) const. 2018-Nov-07 19:45:45.874742 TRACE global [2b88] - Message struct MoveHero successfully applied! 2018-Nov-07 19:45:45.874742 TRACE network [2b88] - Sending a pack of type struct PackageApplied 2018-Nov-07 19:45:45.933281 TRACE network [2b88] - Received CPack of type struct EndTurn 2018-Nov-07 19:45:45.933281 TRACE global [2b88] - Message struct EndTurn successfully applied! 2018-Nov-07 19:45:45.933281 TRACE network [2b88] - Sending a pack of type struct PackageApplied 2018-Nov-07 19:45:45.933281 TRACE network [1e94] - Sending to all clients: struct YourTurn 2018-Nov-07 19: | ||||||||
Additional Information | VCMI 0.99 5693e724422291ca7637ac41a4f623ff196707e3 | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
Notes | |
(0007729) Dydzio (developer) 2019-02-06 17:28 |
Greatly reduced by https://github.com/vcmi/vcmi/pull/530 [^] and future occurrences of this problem from different sources will be mitigated by https://github.com/vcmi/vcmi/commit/f06c8a872592bddfbe3fd5116979af0679f27bd3 [^] |
(0008740) Povelitel (updater) 2023-10-10 13:42 |
no longer relevant |
Issue History | |||
Date Modified | Username | Field | Change |
2018-11-06 18:29 | Povelitel | New Issue | |
2018-11-06 18:29 | Povelitel | Status | new => assigned |
2018-11-06 18:29 | Povelitel | Assigned To | => Dydzio |
2018-11-07 16:47 | Povelitel | Description Updated | View Revisions |
2018-11-07 16:47 | Povelitel | Description Updated | View Revisions |
2018-11-07 16:48 | Povelitel | Additional Information Updated | View Revisions |
2018-12-27 11:55 | Povelitel | Priority | normal => high |
2018-12-27 11:55 | Povelitel | Summary | Random crash => Obj::HERO crash |
2018-12-27 11:55 | Povelitel | Description Updated | View Revisions |
2019-02-06 17:28 | Dydzio | Note Added: 0007729 | |
2019-02-06 17:28 | Dydzio | Status | assigned => resolved |
2019-02-06 17:28 | Dydzio | Fixed in Version | => 1.next |
2019-02-06 17:28 | Dydzio | Resolution | open => fixed |
2019-02-06 17:33 | Dydzio | Relationship added | duplicate of 0003021 |
2023-10-10 13:42 | Povelitel | Note Added: 0008740 | |
2023-10-10 13:42 | Povelitel | Status | resolved => closed |
Copyright © 2000 - 2024 MantisBT Team |