URL:
<http://gna.org/bugs/?12817>
Summary: Wesnoth unexpectedly terminates when download of
add-on has been cancelled.
Project: Battle for Wesnoth
Submitted by: None
Submitted on: Понедельник 05.01.2009 at 10:38 CET
Category: Bug
Severity: 5 - Blocker
Priority: 5 - Normal
Item Group: Networking
Status: None
Privacy: Public
Assigned to: None
Originator Email: [email protected]
Open/Closed: Open
Discussion Lock: Any
Release: Wesnoth 1.5.7
Operating System: Ubuntu x64 8.10
_______________________________________________________
Details:
Prerequisites:
1) Server with some campaigns (several megabytes campaign is really
recommended). Choose any big campaign on 1.5 server.
2) Reasonably "slow" link so download does not completes instantly so you
have chahce to cancel it. I have 6mbps ADSL for example so downloading 10Mb
add-on from server still takes some time.
To reproduce:
1) Begin download of reasonably sized add-on from add-ons server.
2) While add-on being downloaded, click cancel button
Result:
Game immediately terminated without any warnings.
Furthermore, such unexpected termination also locks-up mouse so I can no
longer use mouse on my desktop to manage windows, etc. Actually mouse will
resume it's operation if I will re-launch wesnoth (by using just keyboard)
and then mouse starts working again (in both Wesnoth and on desktop when I
leave it).
Error message in console:
===================
wesnoth: network_worker.cpp:594:
void<unnamed>::check_socket_result(_TCPsocket*&, <unnamed>::SOCKET_STATE&):
Assertion `lock_it != sockets_locked[shard].end()' failed.
Aborted
===================
I can see at least three problems:
1) Game should not terminate on cancel. This is very annoying and shocking.
2) Shutdown sequence in such case is probably wrong and GUI not seems to
terminate properly, leaving mouse in unusable state while returning to
desktop. I got bunch of other errors but I never seen mouse locked up on game
termination before.
3) It will be really great if game at least attempts to display GUI dialog
about error rather than completely die without messages (except in console
where less advanced users will never find them).
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?12817>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Wesnoth-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-bugs