MantisBT - Soldat Dedicated Server | ||||||||||
View Issue Details | ||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||
0000154 | Soldat Dedicated Server | General | public | 2012-02-08 23:26 | 2012-02-13 01:44 | |||||
Reporter | Mr | |||||||||
Assigned To | Shoozza | |||||||||
Priority | normal | Severity | block | Reproducibility | always | |||||
Status | resolved | Resolution | fixed | |||||||
Platform | x64 | OS | Windows | OS Version | 7 | |||||
Product Version | 2.7.2 | |||||||||
Target Version | Fixed in Version | 2.7.3 | ||||||||
John | ||||||||||
Summary | 0000154: Forcefully closing connection to admin server results in malfunction of admin server | |||||||||
Description | I've stumbled upon this issue quite a few times now while working on MSAC and a gather bot for #lrs, turns out it does not happen randomly: If an admin connection to the Soldat dedicated server is forcefully closed, new admin clients do not receive any more data after authenticating. The "Sever version: 2.7.2" line is the last line that is received. If there are players on the server, it sometimes randomly crashes a few minutes after the connection broke. | |||||||||
Steps To Reproduce | Due to how Windows internally handles sockets of programs which quit without cleaning up a socket handle, this can easily be reproduced on Windows using nc. It can be reproduced on *nix by remotely connecting (not through loop-back) with an admin client and kill -9'ing its process (random). 1) Get nc for Windows: http://joncraton.org/blog/46/netcat-for-windows [^] 2) Start the Soldat dedicated server 3) nc localhost 23073 4) Enter the admin password, hit return, execute any command. -> You will get a correct response (echo of your command). 5) Terminate nc by pressing ctrl-c (note that no 'Admin disconnected' message is displayed in the dedicated server's console) 6) Wait a few seconds, then repeat 3) and 4) -> The command will be displayed in the dedicated server's console (and will be processed by scripts), the admin client will however not receive any response. | |||||||||
Additional Information | I assume that this is caused by incorrectly handling send(), recv() or select() returning -1, or not checking the error fd after calling select(). | |||||||||
Tags | No tags attached. | |||||||||
Relationships |
| |||||||||
Attached Files | ||||||||||
Issue History | ||||||||||
Date Modified | Username | Field | Change | |||||||
2012-02-08 23:26 | Mr | New Issue | ||||||||
2012-02-09 03:35 | Shoozza | Note Added: 0001311 | ||||||||
2012-02-09 03:35 | Shoozza | Status | new => feedback | |||||||
2012-02-09 15:45 | Mr | Note Added: 0001312 | ||||||||
2012-02-09 15:45 | Mr | Status | feedback => new | |||||||
2012-02-11 16:07 | Mr | Note Added: 0001314 | ||||||||
2012-02-13 01:43 | Shoozza | Relationship added | duplicate of 0000124 | |||||||
2012-02-13 01:44 | Shoozza | Note Added: 0001318 | ||||||||
2012-02-13 01:44 | Shoozza | Status | new => resolved | |||||||
2012-02-13 01:44 | Shoozza | Fixed in Version | => 2.7.3 | |||||||
2012-02-13 01:44 | Shoozza | Resolution | open => fixed | |||||||
2012-02-13 01:44 | Shoozza | Assigned To | => Shoozza |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|