MantisBT

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002375VCMIAI - Adventure Mappublic2016-01-14 20:012022-03-21 18:01
Reportermisiokles 
Assigned ToNullkiller 
PrioritynormalSeveritycrashReproducibilityrandom
StatusassignedResolutionopen 
PlatformPCOSWindowsOS Version10
Product Version0.98f 
Target VersionFixed in Version 
Summary0002375: Crash during AI turn
DescriptionDuring AI turn, after AI's victourious battle, there's random crash.
Additional InformationUsed mods: Forgotten Tales (Bastion) and Axolotl Creature Pack.
TagsR1
Attached Files? file icon Autosave_4.vcgm1 [^] (2,872,611 bytes) 2016-01-15 06:30
? file icon Autosave_4.vsgm1 [^] (2,866,015 bytes) 2016-01-15 06:31

- Relationships

-  Notes
(0006277)
misiokles (reporter)
2016-01-14 20:04

Link to crash_infos.dmp files (over 5 MB)
http://www102.zippyshare.com/v/nFerkCc3/file.html [^]
(0006278)
SXX (administrator)
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.

(0006280)
misiokles (reporter)
2016-01-15 06:34

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 (administrator)
2016-01-15 14:23

What exactly Bastion version you running? Can you give a link please?
(0006286)
misiokles (reporter)
2016-01-15 18:24

Version 1.0, with removed Forgotten Tales\mods\Bastion\Content\Sprites\bastion\town-hall.json file, because it seems to cause errors. Here's my zipped 'version': http://www106.zippyshare.com/v/cV38PZi8/file.html [^]
(0006287)
SXX (administrator)
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.

(0006288)
misiokles (reporter)
2016-01-15 21:19

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 (administrator)
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 (administrator)
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 (administrator)
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?

(0006295)
misiokles (reporter)
2016-01-16 08:51

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 (administrator)
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.

(0006307)
misiokles (reporter)
2016-01-18 20:55

Unfortunatelly these logs are lost and re-written due to further games :(
(0006308)
SXX (administrator)
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.

- 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 View Revisions
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 View Revisions
2016-01-15 20:16 SXX Note Edited: 0006287 View Revisions
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 View Revisions
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 View Revisions
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

Site | Forums | Wiki | Slack | GitHub


Copyright © 2000 - 2024 MantisBT Team
Hosting provided by DigitalOcean