URL:
<http://gna.org/bugs/?22147>
Summary: networking instability in linger mode
Project: Battle for Wesnoth
Submitted by: involution
Submitted on: Fri 06 Jun 2014 05:17:01 PM UTC
Category: Bug
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: None of the others
Status: None
Privacy: Public
Assigned to: None
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: 1.12
Operating System: Linux Mint 16
_______________________________________________________
Details:
If clients lose connection from the host while in linger mode at the end of a
networked mp scenario, host, client and obs all crash.
wesnoth: src/playturn_network_adapter.cpp:73: bool
playturn_network_adapter::read(config &): Assertion `!is_at_end()' failed.
./client: line 2: 13535 Aborted ./wesnoth/wesnoth --data-dir
./wesnoth/ --server localhost:12345
--log-debug=enginerefac,mp/connect/engine,network $*
Test procedure:
Launch a local wesnothd instance and 3 connected clients. Set two of them to
fight, and the third to observer. Then, during linger mode, kill the server
with a kill signal. The other three clients will crash as well.
Alternatively, connect to the main server, let the game run to completion,
then turn off your wifi and let the connection time out.
I didn't test yet what happens if these kinds of things happen before linger
mode is entered.
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?22147>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Wesnoth-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-bugs