MantisBT - VCMI
View Issue Details
0002180VCMIAI - Adventure Mappublic2015-04-11 08:192023-09-30 15:47
loki13 
SXX 
normalcrashalways
acknowledgedopen 
LinuxGentoo
0.98 
 
0002180: WoG: crash on AI turn - assert on ai->knownTeleportChannels
game crashes on AI turn
take the map and savegame from attachment. capture the shipyard, build captain quarters and end turn.
Opening StupidAI
Loaded Stupid AI 0.1
Warning: an orphaned child!
Warning: an orphaned child!
Another allied hero stands in our way
Another allied hero stands in our way
Hero Арлаш cannot reach 2 18 1
Another allied hero stands in our way
Player 5 ends turn
Player 5 ended turn
Player 6 starting turn
read: End of file
Ended handling connection
Warning: an orphaned child!
Warning: an orphaned child!
Warning: an orphaned child!
Warning: an orphaned child!
Warning: an orphaned child!
Warning: an orphaned child!
Warning: an orphaned child!
Warning: an orphaned child!
Warning: an orphaned child!
2022
has duplicate 0002219closed Warmonger Just crash day 4, week 1 
zip attach.zip (570,126) 2015-04-11 08:19
https://bugs.vcmi.eu/file_download.php?file_id=2227&type=bug
Issue History
2015-04-11 08:19loki13New Issue
2015-04-11 08:19loki13Statusnew => assigned
2015-04-11 08:19loki13Assigned To => Warmonger
2015-04-11 08:19loki13File Added: attach.zip
2015-08-30 09:30WarmongerNote Added: 0005827
2015-08-30 09:30WarmongerAssigned ToWarmonger => SXX
2015-08-30 09:30WarmongerStatusassigned => confirmed
2015-08-30 12:21WarmongerRelationship addedhas duplicate 0002219
2015-12-25 12:06SXXSummarycrash on AI turn => WoG: crash on AI turn
2015-12-25 12:07SXXNote Added: 0006234
2015-12-25 12:23SXXSummaryWoG: crash on AI turn => WoG: crash on AI turn - assert on ai->knownTeleportChannels
2016-03-17 14:56SXXNote Added: 0006481
2022-04-26 10:10PovelitelNote Added: 0008282
2022-04-26 10:16PovelitelTag Attached: 2022
2023-04-12 16:59IvanStatusconfirmed => acknowledged

Notes
(0005827)
Warmonger   
2015-08-30 09:30   
The problem is suprisingly caused by Subterranean Gate:

assert(ai->knownTeleportChannels.find(tObj->channel) != ai->knownTeleportChannels.end());

At Goals.cpp, line 606
(0006234)
SXX   
2015-12-25 12:07   
This one is interesting crash that I'd never seen anywhere else.
Also it's require WoG to be enabled in order to load save.
(0006481)
SXX   
2016-03-17 14:56   
Re-checking this one now and looks like for whatever reason map don't have any teleport channels initialized and this is weird since I never seen anything like that before.

Trying to find out what might cause it.
(0008282)
Povelitel   
2022-04-26 10:10   
Reproduce in last develop