MantisBT - VCMI
View Issue Details
0002687VCMICampaignspublic2017-05-29 17:482018-01-09 07:20
truckercap 
SXX 
normalcrashalways
resolvedfixed 
GNU/LinuxGNU/LinuxAntergros Cinn.
0.99 
1.next 
0002687: Crash after campaign video (2nd scenario)
This varies from the other open crash bug that is open relating to unknown map formats/empty map files.
On a fresh install of Antergros with vcmi-git built from AUR.

Campaigns start just fine for the first scenario but after completing first scenario and watching the campaign video for the second scenario the game crashes

VCMI_Client_log.txt

2017-May-29 12:35:23.117506 INFO network [7f3bebc62700] - Connecting to the server: 1
2017-May-29 12:35:23.117582 INFO network [7f3bebc62700] - Will send info to server...
2017-May-29 12:35:23.156406 ERROR network [7f3c10ac9700] - Error: server failed to close correctly or crashed!
2017-May-29 12:35:23.156452 ERROR network [7f3c10ac9700] - Check /home/xxxx/.cache/vcmi/server_log.txt for more info

VCMI_Server_log.txt

2017-May-29 12:35:23.153556 TRACE global [7fcf04b2c740] - Calling Init for object 939, ,
2017-May-29 12:35:23.153566 TRACE global [7fcf04b2c740] - Calling Init for object 940, ,
2017-May-29 12:35:23.153574 TRACE global [7fcf04b2c740] - Calling Init for object 941, deadVegetation, object
2017-May-29 12:35:23.153584 TRACE global [7fcf04b2c740] - Calling Init for object 942, ,
2017-May-29 12:35:23.153591 TRACE global [7fcf04b2c740] - Calling Init for object 943, deadVegetation, object
2017-May-29 12:35:23.153601 TRACE global [7fcf04b2c740] - Calling Init for object 944, shrub, object
2017-May-29 12:35:23.153608 TRACE global [7fcf04b2c740] - Calling Init for



 
Install VCMI_git, build using --gog option.
launch vcmilauncher with any expansion mod enabled.
Beat first scenario of campaign.
Attempt 2nd scenario, crashes on startup.
This error has occurred on all expansion mod campaigns I have attempted. WOG and Heroes Chronicles (one submod enabled at a time).
I will verify whether this issue affects stock campaigns today.
No tags attached.
duplicate of 0002037closed SXX Crash RoE - Long Live Qeen - mission2 - Guardian Angel 
Issue History
2017-05-29 17:48truckercapNew Issue
2017-05-29 17:51truckercapNote Added: 0007067
2017-05-29 19:26truckercapNote Added: 0007068
2017-05-30 03:43truckercapNote Added: 0007069
2017-07-14 12:53SXXRelationship addedduplicate of 0002037
2017-07-14 13:00SXXNote Added: 0007115
2017-07-14 13:00SXXStatusnew => resolved
2017-07-14 13:00SXXFixed in Version => 1.next
2017-07-14 13:00SXXResolutionopen => fixed
2017-07-14 13:00SXXAssigned To => SXX
2017-07-14 13:01SXXNote Added: 0007116
2017-08-22 12:04amzukk1Note Added: 0007230
2017-08-24 18:34SXXNote Added: 0007239
2018-01-09 07:20t4nkerNote Added: 0007349

Notes
(0007067)
truckercap   
2017-05-29 17:51   
Reference of console error when crash occurs.

terminate called after throwing an instance of 'boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::system::system_error> >'
  what(): read: End of file
(0007068)
truckercap   
2017-05-29 19:26   
This error occurs during stock campaigns as well. Sometimes after the first campaign video.
(0007069)
truckercap   
2017-05-30 03:43   
After a new update to boost, and recompiling VCMI, this issue does not seem to manifest itself.
(0007115)
SXX   
2017-07-14 13:00   
Should be resolved now:
https://github.com/vcmi/vcmi/commit/ee7862b12f2d72ea51993416e1cbafbb300d825c [^]
https://github.com/vcmi/vcmi/commit/4bf1c9a9a354857ae79e21b2c390aca7b10fde06 [^]

I tested few campaigns and they seems to be working fine.
Old saves should also be working as long as you just go to next scenario.
(0007116)
SXX   
2017-07-14 13:01   
Actually this is weird that it's fixed itself for you. There was actually a bug that mess badly with gamestate on initialization and cause crash on saving.
(0007230)
amzukk1   
2017-08-22 12:04   
On android there is still the bug visible. It can be reproduced in two ways:
- Load single player map, Exit to main menu and try to load other single player map again - the VCMI gets stuck on loading screen.
- Second mission in campaign is not loading correctly - see point above.

Tested on version:
https://builds.vcmi.download/branch/develop/Android/VCMI-branch-develop-5067e73-091f3dc.apk [^]

On Android 7.0
(0007239)
SXX   
2017-08-24 18:34   
I'm sorry to say, but sadly latest built Android version might still contain already fixed issues. I'll probably try to fix Android build later, but for now it's broken and outdated.
(0007349)
t4nker   
2018-01-09 07:20   
any luck of fixing the loading freeze on android?