1.12.5 Simultaneous Disconnect/Crash to Desktop

Having trouble with the game? Report issues and get help here. Read this first!

Moderator: Forum Moderators

Forum rules
Before reporting issues in this section, you must read the following topic:
Post Reply
Adama
Posts: 2
Joined: April 20th, 2016, 3:53 am

1.12.5 Simultaneous Disconnect/Crash to Desktop

Post by Adama »

Issue:

All players in an online game simultaneously disconnect or crash to desktop

Details:

I am running Wesnoth 1.12.5 on pc with Windows 8.1
I am unsure of how to duplicate the issue, but it has happened on multiple occasions.

Screen capture of error message:
Error.JPG
Save file:
kk_Player33_Adama_wc2_map_3.gz
(403.74 KiB) Downloaded 269 times
gfgtdf
Developer
Posts: 1432
Joined: February 10th, 2013, 2:25 pm

Re: 1.12.5 Simultaneous Disconnect/Crash to Desktop

Post by gfgtdf »

pleaase provide more information:
  • When this issue occured was it
    1. Your turn
    2. The Ai's turn
    3. Turn of another (remote) player.
  • Were you the host of this game?
  • Did you reload the game before this issue occured?
  • Did you change the controller using ':controller' or ':droid' before this issue occured?
  • Does this issue also occur on wesnoth 1.13.4?
Scenario with Robots SP scenario (1.11/1.12), allows you to build your units with components, PYR No preperation turn 1.12 mp-mod that allows you to select your units immideately after the game begins.
Adama
Posts: 2
Joined: April 20th, 2016, 3:53 am

Re: 1.12.5 Simultaneous Disconnect/Crash to Desktop

Post by Adama »

When this issue occurred, it was another player's turn.
I was not the host
The game had not been reloaded before the issue
I don't remember exactly if :control had been used, though it's possible
I have not used 1.13.4 before and am not using it now.

Thank you for your reply
gfgtdf
Developer
Posts: 1432
Joined: February 10th, 2013, 2:25 pm

Re: 1.12.5 Simultaneous Disconnect/Crash to Desktop

Post by gfgtdf »

Thx for this additional information. Unfortunueley i still cannot find the cause of this issue. So i'll post what i know in case someone else has an idea:

During the Ai turn the game 'disables' the undo functionality becasue the Ai never undoes its moves (a optiomisation i doubt that it gives a notiable speed improvemnt). To do that it sets "use_undo = false" in the function above. The message above complains becasue 'use_undo' was set to false (undo functionality disabled) but there were still functions on the undo stack.


In wesnoth 1.13 there was a bug that shows in the same asertion failure when one used :droid while there were still undoable moves see this commit https://github.com/wesnoth/wesnoth/comm ... 45ab348544 but i just tested but i wasn't able to reproduce that bug on 1.12.5 but i also currently don't know whythat bug doesn't appear on 1.12.5
Scenario with Robots SP scenario (1.11/1.12), allows you to build your units with components, PYR No preperation turn 1.12 mp-mod that allows you to select your units immideately after the game begins.
howwitty
Posts: 65
Joined: May 29th, 2006, 5:05 am
Location: U.S.

Re: 1.12.5 Simultaneous Disconnect/Crash to Desktop

Post by howwitty »

I have also seen this crash recently, and even crashes in multiplayer where no error message appears. I have never had this problem before 1.12. Hasn't happened that much during this week.
I'm tired.
gfgtdf
Developer
Posts: 1432
Joined: February 10th, 2013, 2:25 pm

Re: 1.12.5 Simultaneous Disconnect/Crash to Desktop

Post by gfgtdf »

@howwitty do you have a hint on how to reproduce this bug?
Scenario with Robots SP scenario (1.11/1.12), allows you to build your units with components, PYR No preperation turn 1.12 mp-mod that allows you to select your units immideately after the game begins.
gfgtdf
Developer
Posts: 1432
Joined: February 10th, 2013, 2:25 pm

Re: 1.12.5 Simultaneous Disconnect/Crash to Desktop

Post by gfgtdf »

OK I was able to reprodice it in the following way:
1) Start a 2p dark forecast, no fog, no shroud.
2) On turn 1 of player 1 move the leader to one of the villages
3) On turn 1 of player 2 move the leader to the other village villages
4) On turn 2 of player 1 move the leader back to the keep
5) Now quit the game with player 1.
6) On client 2 press 'replace with ai' when you get the .. has disconnected dialog.


I think just applying the same fix as on 1.13 (the commit mentioned above) shoudl fix this issue.

@Adama You are sure that it was a remotes player turn an not maybe a (remote) ais turn when this issue appeared?
Scenario with Robots SP scenario (1.11/1.12), allows you to build your units with components, PYR No preperation turn 1.12 mp-mod that allows you to select your units immideately after the game begins.
Post Reply