MantisBT - VCMI |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0002375 | VCMI | AI - Adventure Map | public | 2016-01-14 20:01 | 2022-03-21 18:01 |
|
Reporter | misiokles | |
Assigned To | Nullkiller | |
Priority | normal | Severity | crash | Reproducibility | random |
Status | assigned | Resolution | open | |
Platform | PC | OS | Windows | OS Version | 10 |
Product Version | 0.98f | |
Target Version | | Fixed in Version | | |
|
Summary | 0002375: Crash during AI turn |
Description | During AI turn, after AI's victourious battle, there's random crash. |
Steps To Reproduce | |
Additional Information | Used mods: Forgotten Tales (Bastion) and Axolotl Creature Pack. |
Tags | R1 |
Relationships | |
Attached Files | Autosave_4.vcgm1 (2,872,611) 2016-01-15 06:30 https://bugs.vcmi.eu/file_download.php?file_id=2423&type=bug Autosave_4.vsgm1 (2,866,015) 2016-01-15 06:31 https://bugs.vcmi.eu/file_download.php?file_id=2424&type=bug |
|
Issue History |
Date Modified | Username | Field | Change |
2016-01-14 20:01 | misiokles | New Issue | |
2016-01-14 20:01 | misiokles | Status | new => assigned |
2016-01-14 20:01 | misiokles | Assigned To | => Warmonger |
2016-01-14 20:04 | misiokles | Note Added: 0006277 | |
2016-01-14 20:49 | SXX | Note Added: 0006278 | |
2016-01-14 20:51 | SXX | Note Edited: 0006278 | bug_revision_view_page.php?bugnote_id=6278#r3132 |
2016-01-15 04:19 | SXX | Assigned To | Warmonger => SXX |
2016-01-15 04:19 | SXX | Status | assigned => feedback |
2016-01-15 06:30 | misiokles | File Added: Autosave_4.vcgm1 | |
2016-01-15 06:31 | misiokles | File Added: Autosave_4.vsgm1 | |
2016-01-15 06:34 | misiokles | Note Added: 0006280 | |
2016-01-15 06:34 | misiokles | Status | feedback => assigned |
2016-01-15 14:23 | SXX | Note Added: 0006282 | |
2016-01-15 18:24 | misiokles | Note Added: 0006286 | |
2016-01-15 19:56 | SXX | Note Added: 0006287 | |
2016-01-15 19:57 | SXX | Note Edited: 0006287 | bug_revision_view_page.php?bugnote_id=6287#r3134 |
2016-01-15 20:16 | SXX | Note Edited: 0006287 | bug_revision_view_page.php?bugnote_id=6287#r3135 |
2016-01-15 21:19 | misiokles | Note Added: 0006288 | |
2016-01-15 22:08 | SXX | Note Added: 0006290 | |
2016-01-15 22:09 | SXX | Note Added: 0006291 | |
2016-01-15 22:35 | SXX | Note Added: 0006292 | |
2016-01-15 22:45 | SXX | Note Edited: 0006292 | bug_revision_view_page.php?bugnote_id=6292#r3137 |
2016-01-16 08:51 | misiokles | Note Added: 0006295 | |
2016-01-16 13:22 | SXX | Note Added: 0006296 | |
2016-01-16 13:23 | SXX | Note Edited: 0006296 | bug_revision_view_page.php?bugnote_id=6296#r3139 |
2016-01-18 20:55 | misiokles | Note Added: 0006307 | |
2016-01-18 20:59 | SXX | Note Added: 0006308 | |
2022-03-21 18:01 | Povelitel | Tag Attached: R1 | |
2022-03-21 18:01 | Povelitel | Assigned To | SXX => Nullkiller |
Notes |
|
|
|
|
(0006278)
|
SXX
|
2016-01-14 20:49
(edited on: 2016-01-14 20:51) |
|
Welcome to bug tracker. Any chance you have save file before that crash?
VCMI make auto saves on start of each turn.
So if you have one please upload both vcgm1 and vsgm1 files.
|
|
|
|
Here's savegames. Played mods: Forgotten Tales (Bastion) and Axolotl creature pack. It's strange - game crashes when AI attacks Bastion's Netsutset hero. But sometimes during AI turn, Netsutset become completely another hero without crashes! |
|
|
(0006282)
|
SXX
|
2016-01-15 14:23
|
|
What exactly Bastion version you running? Can you give a link please? |
|
|
|
|
|
(0006287)
|
SXX
|
2016-01-15 19:56
(edited on: 2016-01-15 20:16) |
|
Your save is also clearly require WoG, anything else? What submods of WoG enabled?
Did you manage to load it yourself? For me it's stuck on YourTurn package.
|
|
|
|
Yes, WoG with all submods (except russian translations). Yes, I manage to load it without errors. Used AB map: Time's Up! (quite good for testing). |
|
|
(0006290)
|
SXX
|
2016-01-15 22:08
|
|
Ok got it working, probably messed up save files last time.
Though now it's doesn't crash for me right away.
Though if I skip multiple turns then I getting crash due to some lock. |
|
|
(0006291)
|
SXX
|
2016-01-15 22:09
|
|
1 raise 0x7f3167aeecc9
2 abort 0x7f3167af20d8
3 ?? 0x7f3167ae7b86
4 __assert_fail 0x7f3167ae7c32
5 boost::shared_mutex::state_data::assert_lock_shared shared_mutex.hpp 59 0x56a8e5
6 boost::shared_mutex::unlock_shared shared_mutex.hpp 262 0x56a756
7 vstd::detail::unlock_shared_policy<boost::shared_mutex>::unlock UnlockGuard.h 37 0x56a719
8 vstd::unlock_guard<boost::shared_mutex, vstd::detail::unlock_shared_policy<boost::shared_mutex>>::unlock_guard
UnlockGuard.h 60 0x56a6f6
9 vstd::makeUnlockSharedGuard<boost::shared_mutex> UnlockGuard.h 106 0x56a69c
10 vstd::makeUnlockSharedGuardIf<boost::shared_mutex> UnlockGuard.h 112 0x5581a5
11 CBattleCallback::sendRequest CCallback.cpp 188 0x553fae
12 CBattleCallback::battleMakeAction CCallback.cpp 178 0x555454
13 CBattleAI::attemptCastingSpell BattleAI.cpp 527 0x7f3149e2cf33
14 CBattleAI::activeStack BattleAI.cpp 137 0x7f3149e2bd77
15 CAdventureAI::activeStack CGameInterface.cpp 238 0x7f316c50f025
16 CClient::waitForMoveAndSend Client.cpp 142 0x7aa78c
17 std::_Mem_fn<void (CClient:: *)(PlayerColor)>::operator()<PlayerColor&, void> functional
601 0xa90b6e
18 std::_Bind<std::_Mem_fn<void (CClient:: *)(PlayerColor)> (CClient *, PlayerColor)>::__call<void,
, 0ul, 1ul>(std::tuple<>&&, std::_Index_tuple<0ul, 1ul>) functional 1295 0xa90acb
19 std::_Bind<std::_Mem_fn<void (CClient:: *)(PlayerColor)> (CClient *, PlayerColor)>::operator()<,
void>() functional 1353 0xa90a56
20 boost::detail::thread_data<std::_Bind<std::_Mem_fn<void (CClient:: *)(PlayerColor)> (CClient
*, PlayerColor)>>::run() thread.hpp 117 0xa908dc
21 ?? 0x7f316af5da4a
22 start_thread 0x7f316ad3c182
23 clone 0x7f3167bb247d |
|
|
(0006292)
|
SXX
|
2016-01-15 22:35
(edited on: 2016-01-15 22:45) |
|
So one more question? Does it crash for you always on skip of turn?
Also what is set as "Neutral AI" for you? StupidAI or BattleAI?
PS: Anyway, how often does it crash for you?
|
|
|
|
No, it crashes from time to time. Sometimes reload savegame helps, sometimes restart computer, and sometimes nothing :( But I've noticed that crash is often followed by green messages at bottom-left part of the screen. These messages can't be print-screened, but they say that 'something went fishy'. I see strange behaviour with Bastion (for now) heroes before AI turn and after AI turn. In some cases Bastion heroes are switched into another after many autosave reload and new AI turns.
Neutral AI is set to Battle AI. |
|
|
(0006296)
|
SXX
|
2016-01-16 13:22
(edited on: 2016-01-16 13:23) |
|
> But I've noticed that crash is often followed by green messages at bottom-left part of the screen.
Green message it's just server error. Most of time they just mean that AI attempt to do something without checking if that possible to do that or not. Though these may be related to crashes.
Also all details most likely present in terminal window that runs alongside with VCMI and there also log files in your documents directory called VCMI_Client.txt / VCMI_Server.txt, so in about the same location as save files are.
|
|
|
|
Unfortunatelly these logs are lost and re-written due to further games :( |
|
|
(0006308)
|
SXX
|
2016-01-18 20:59
|
|
It's just for future reports. :-)
Though I may confirm that save sometimes crash, but it's really hard to reproduce it. |
|