MantisBT - VCMI
View Issue Details
0002605VCMIMechanics - Adventure Mappublic2016-11-14 18:422022-03-21 18:42
exfizik 
Nullkiller 
normalmajoralways
assignedopen 
Linux 64 bitOpenSuseTumbleweed
0.99 
 
0002605: Freeze between heroes
When I end my turn, the game crashes. The console says:
Cannot get object with id 5342. Object is not visible.
Cannot get object with id 5342. Object is not visible.
read: Connection reset by peer
Ended handling connection
Segmentation fault (core dumped)
write: Broken pipe

Not sure if that's the reason, but I see that AI has a hero with the same name as one of mine (Calid). I'm attaching the log files and the save file.
P.S. on a related not, I encounter a lot of errors like this:
read: Connection reset by peer
Ended handling connection
Segmentation fault (core dumped)
write: Broken pip

In a previous game it would always happen when I used Town Portal spell, and once happened when I used Armageddon. Although, I suspect the error is not about these spells in particular... Not sure where to dig for this one, but it's certainly annoying.




Load the save file, end turn.
I tried both 0.99 release and the git head. The errors are the same.
R1
zip vcmi.zip (1,265,047) 2016-11-14 18:42
https://bugs.vcmi.eu/file_download.php?file_id=2646&type=bug
png Selection_001.png (97,951) 2016-11-14 20:31
https://bugs.vcmi.eu/file_download.php?file_id=2647&type=bug
png

? 2jenovas.vcgm1 (4,278,047) 2017-10-09 19:27
https://bugs.vcmi.eu/file_download.php?file_id=2791&type=bug
zip 2jenovasLogs.zip (143,050) 2017-10-09 19:27
https://bugs.vcmi.eu/file_download.php?file_id=2792&type=bug
? 2jenovas.vsgm1 (4,283,831) 2017-10-09 19:27
https://bugs.vcmi.eu/file_download.php?file_id=2793&type=bug
Issue History
2016-11-14 18:42exfizikNew Issue
2016-11-14 18:42exfizikFile Added: vcmi.zip
2016-11-14 20:31exfizikFile Added: Selection_001.png
2017-10-09 19:25steelsun905Note Added: 0007296
2017-10-09 19:27steelsun905File Added: 2jenovas.vcgm1
2017-10-09 19:27steelsun905File Added: 2jenovasLogs.zip
2017-10-09 19:27steelsun905File Added: 2jenovas.vsgm1
2017-10-09 19:28steelsun905Note Added: 0007297
2018-03-01 14:53PovelitelNote Added: 0007438
2022-02-10 08:52PovelitelAssigned To => Nullkiller
2022-02-10 08:52PovelitelStatusnew => assigned
2022-02-10 08:54PovelitelNote Added: 0008051
2022-03-17 10:17PovelitelNote Edited: 0008051bug_revision_view_page.php?bugnote_id=8051#r3648
2022-03-17 10:22PovelitelSeveritycrash => major
2022-03-17 10:22PovelitelSummaryDuplicate heroes in game => Freeze between heroes
2022-03-17 10:24PovelitelNote Added: 0008155
2022-03-21 18:42PovelitelTag Attached: R1

Notes
(0007296)
steelsun905   
2017-10-09 19:25   
I'm also seeing an issue that appears to be related to duplicate heroes.

- Open the attached save file
- End turn
- Note that Jenova receives a level up
- Note that the game stops responding to user input and the pink player's turn never ends

The blue and pink players both have the same hero, Jenova, confirmed by checking log files and with the vcmieagles cheat code (clear fog of war).

Attaching logs and save file (2jenovas).

Environment:
- Windows 10 Pro 64 bit
- Latest October 7th 2017 Windows Build: https://builds.vcmi.download/branch/develop/Windows/VCMI-branch-develop-9cc2464.exe [^]
- Mods (all delivered with the launcher, none added from elsewhere, no modifications locally)
 - H4 artifacts
 - Witchking artifacts
 - H4 artifacts - commanders
 - Axolotl creatures Pack
 - Horn of the Abyss
 - In the wake of gods (all except WoG russian translation)
 - VCMI Essential files
 - new terrains (era II mod port)
 - new old spells
(0007297)
steelsun905   
2017-10-09 19:28   
In addition, it may be worth mentioning that while the duplicate heroes are likely the root cause, no adverse behavior occurred until the Pink player used a Tree of Knowledge to level up their duplicate hero.
(0007438)
Povelitel   
2018-03-01 14:53   
first save "aa"

return boost::str(boost::format(CGI->generaltexth->allTexts[138])

> VCMI_client.exe!CExchangeWindow::prepareBackground::__l2::<лямбда>(const CGHeroInstance * h)Строка 801 C++ Символы загружены.
     VCMI_client.exe!CExchangeWindow::prepareBackground()Строка 806 C++ Символы загружены.
     VCMI_client.exe!CExchangeWindow::CExchangeWindow(ObjectInstanceID hero1, ObjectInstanceID hero2, QueryID queryID)Строка 855 C++ Символы загружены.
     VCMI_client.exe!CPlayerInterface::heroExchangeStarted(ObjectInstanceID hero1, ObjectInstanceID hero2, QueryID query)Строка 1532 C++ Символы загружены.
     VCMI_client.exe!callOnlyThatInterface<IGameEventsReceiver,ObjectInstanceID,ObjectInstanceID,QueryID,ObjectInstanceID const & __ptr64,ObjectInstanceID const & __ptr64,QueryID & __ptr64>(CClient * cl, PlayerColor player, void(IGameEventsReceiver::*)(ObjectInstanceID, ObjectInstanceID, QueryID) ptr, const ObjectInstanceID & <args_0>, const ObjectInstanceID & <args_1>, QueryID & <args_2>)Строка 60 C++ Символы загружены.
     VCMI_client.exe!callInterfaceIfPresent<IGameEventsReceiver,ObjectInstanceID,ObjectInstanceID,QueryID,ObjectInstanceID const & __ptr64,ObjectInstanceID const & __ptr64,QueryID & __ptr64>(CClient * cl, PlayerColor player, void(IGameEventsReceiver::*)(ObjectInstanceID, ObjectInstanceID, QueryID) ptr, const ObjectInstanceID & <args_0>, const ObjectInstanceID & <args_1>, QueryID & <args_2>)Строка 69 C++ Символы загружены.
     VCMI_client.exe!ExchangeDialog::applyCl(CClient * cl)Строка 582 C++ Символы загружены.
     VCMI_client.exe!CClient::handlePack(CPack * pack)Строка 688 C++ Символы загружены.
     VCMI_client.exe!CClient::run()Строка 190 C++ Символы загружены.
(0008051)
Povelitel   
2022-02-10 08:54   
(edited on: 2022-03-17 10:17)
The blue player freezes when trying to trade with another hero in the city (vcmi.zip)

ERROR network [2820] - System message: Server encountered a problem:

| Player "BLUE" has to answer queries before attempting any further actions.

| Top Query: "A query of type 'class CGarrisonDialogQuery' and qid = 84 affecting players BLUE and BLUE"

(0008155)
Povelitel   
2022-03-17 10:24   
Saves 2jenovas I could not load