MantisBT - VCMI
View Issue Details
0002823VCMIMechanics - Adventure Mappublic2017-12-09 13:292023-10-05 10:21
banehunter 
AVS 
normalcrashsometimes
closedfixed 
LinuxDebian9
0.99 
 
0002823: Crash while using Town Portal
When I try to use Town Portal, most of the time (but not always) the game crashes after I select the town to teleport and click okay.
There are no errors in the terminal. As far as I can tell it doesn’t matter which town I select.
Load the attached save game.
End current turn.
When the new day starts, select Isra.
Use the spell book to cast Town Portal. Select a town and click okay.
Most of the time (80%) the game will crash.
The zip archive contains a save game and a screenshot of my settings in the launcher.
R1
zip save.zip (1,599,926) 2017-12-09 13:29
https://bugs.vcmi.eu/file_download.php?file_id=2811&type=bug
Issue History
2017-12-09 13:29banehunterNew Issue
2017-12-09 13:29banehunterFile Added: save.zip
2017-12-09 13:34banehunterNote Added: 0007333
2017-12-09 13:35AVSNote Added: 0007334
2017-12-09 13:58AVSNote Edited: 0007334bug_revision_view_page.php?bugnote_id=7334#r3416
2017-12-12 11:57banehunterNote Added: 0007335
2017-12-12 14:36AVSAssigned To => AVS
2017-12-12 14:36AVSStatusnew => assigned
2018-03-01 14:58PovelitelNote Added: 0007439
2018-03-01 15:04PovelitelNote Edited: 0007439bug_revision_view_page.php?bugnote_id=7439#r3448
2018-03-01 15:05PovelitelNote Edited: 0007439bug_revision_view_page.php?bugnote_id=7439#r3449
2022-03-22 18:55PovelitelTag Attached: R1
2023-09-30 15:55PovelitelNote Added: 0008716
2023-10-05 10:21IvanStatusassigned => closed
2023-10-05 10:21IvanResolutionopen => fixed

Notes
(0007333)
banehunter   
2017-12-09 13:34   
With trace logging these are the messages that appear in the terminal:

Check display mode: requested 1280 x 800; available up to 1920 x 1200
Created renderer opengl
read: End of file
Ended handling connection
write: Broken pipe

----

There is no VCMI_Client_log.txt or VCMI_Server_log.txt in ~/.config/vcmi/
(0007334)
AVS   
2017-12-09 13:35   
(edited on: 2017-12-09 13:58)
There were issues in 0.99 with Town Portal, f.e. 0002678. Is this bug still reproducible in mainline? https://code.launchpad.net/~vcmi/+archive/ubuntu/ppa [^]

(0007335)
banehunter   
2017-12-12 11:57   
I see the latest build is from 27 of November. That's what I was using when I discovered the crash.
(0007439)
Povelitel   
2018-03-01 14:58   
(edited on: 2018-03-01 15:05)
pos.w = anim->getImage(0, group)->width();

> VCMI_client.exe!CShowableAnim::CShowableAnim(int x, int y, std::basic_string<char,std::char_traits<char>,std::allocator<char> > name, unsigned char Flags, unsigned int Delay, unsigned __int64 Group)Строка 327 C++ Символы загружены.
     VCMI_client.exe!CBuildingRect::CBuildingRect(CCastleBuildings * Par, const CGTownInstance * Town, const CStructure * Str)Строка 55 C++ Символы загружены.
     VCMI_client.exe!CCastleBuildings::recreate()Строка 537 C++ Символы загружены.
     VCMI_client.exe!CCastleBuildings::CCastleBuildings(const CGTownInstance * Town)Строка 484 C++ Символы загружены.
     VCMI_client.exe!CCastleInterface::CCastleInterface(const CGTownInstance * Town, const CGTownInstance * from)Строка 898 C++ Символы загружены.
     VCMI_client.exe!CPlayerInterface::openTownWindow(const CGTownInstance * town)Строка 472 C++ Символы загружены.
     VCMI_client.exe!CPlayerInterface::heroVisitsTown(const CGHeroInstance * hero, const CGTownInstance * town)Строка 609 C++ Символы загружены.
     VCMI_client.exe!callOnlyThatInterface<IGameEventsReceiver,CGHeroInstance const * __ptr64,CGTownInstance const * __ptr64,CGHeroInstance const * __ptr64 & __ptr64,CGTownInstance * __ptr64>(CClient * cl, PlayerColor player, void(IGameEventsReceiver::*)(const CGHeroInstance *, const CGTownInstance *) ptr, const CGHeroInstance * & <args_0>, CGTownInstance * && <args_1>)Строка 60 C++ Символы загружены.
     VCMI_client.exe!callInterfaceIfPresent<IGameEventsReceiver,CGHeroInstance const * __ptr64,CGTownInstance const * __ptr64,CGHeroInstance const * __ptr64 & __ptr64,CGTownInstance * __ptr64>(CClient * cl, PlayerColor player, void(IGameEventsReceiver::*)(const CGHeroInstance *, const CGTownInstance *) ptr, const CGHeroInstance * & <args_0>, CGTownInstance * && <args_1>)Строка 69 C++ Символы загружены.
     VCMI_client.exe!HeroVisitCastle::applyCl(CClient * cl)Строка 158 C++ Символы загружены.
     VCMI_client.exe!CClient::handlePack(CPack * pack)Строка 688 C++ Символы загружены.
     VCMI_client.exe!CClient::run()Строка 190 C++ Символы загружены.

Грузил без модов. Телепортировался в конфлюкс.

(0008716)
Povelitel   
2023-09-30 15:55   
I believe that this is no longer relevant and this ticket should just be closed