Follow-up Comment #14, bug #24249 (project freeciv):
1. used revision 31289 with improved logging 2. my compile options: --enable-svnrev --enable-gitrev --enable-xml-registry --with-followtag --enable-dev-save-compat=yes --with-readline --enable-freeciv-manual=html --enable-mapimg=no --enable-sdl-mixer --enable-ruledit=no --enable-debug=yes --enable-ipv6=no --enable-sys-lua=no --with-missinglist 3. I start with $ LANG= freeciv-gtk3 --log ... freeciv-server though, is started from within freeciv-gtk3 always with debug level 3, no matter what debug level I choose on the command line. I provide 2 logs (shortened) level 3 and 4 for demonstration and comparison. 4. The best for the end. Trying to start freeciv-server with the exact command line that freeciv-gtk3 calls. With option --bind localhost the start goes fail. $ LANG= freeciv-server -p 5557 --bind localhost -q 1 -e --saves ~/.freeciv/saves --scenarios ~/.freeciv/scenarios -A none --debug 4 --log nolog Encodings: Data=UTF-8, Local=ISO-8859-1, Internal=UTF-8 This is the server for Freeciv version 2.90.99-dev (r31289) You can learn a lot about Freeciv at http://www.freeciv.org/ 0: bind failure: Address already in use (2 failed) 2: Backtrace: 2: 0: freeciv-server(backtrace_print+0x16) [0x82962c6] 2: 1: freeciv-server(vdo_log+0x76) [0x8299a56] 2: 2: freeciv-server(do_log+0x2a) [0x8299a9a] 2: 3: freeciv-server(server_open_socket+0x279) [0x81386f9] 2: 4: freeciv-server(srv_main+0x62) [0x807d902] 2: 5: freeciv-server(main+0x25b) [0x807482b] 2: 6: /lib/i386-linux-gnu/i686/cmov/libc.so.6(__libc_start_main+0xf3) [0xb5b40a63] 2: 7: freeciv-server() [0x8075116] 2: Host: 127.0.0.1, Port: 5557 $ Without the option --bind localhost, everything goes fine $ LANG= freeciv-server -p 5557 -q 1 -e --saves ~/.freeciv/saves --scenarios ~/.freeciv/scenarios -A none --debug 4 --log nologEncodings: Data=UTF-8, Local=ISO-8859-1, Internal=UTF-8 This is the server for Freeciv version 2.90.99-dev (r31289) You can learn a lot about Freeciv at http://www.freeciv.org/ 2: Loading rulesets. That also proves, that the socket is free, when the client starts the server. I can start freeciv-server -p 5557 at the same time where the client says it can't. see file serverlogs Christian (file #26231, file #26232, file #26233, file #26234) _______________________________________________________ Additional Item Attachment: File name: gtk3-level3-log2 Size:6 KB File name: gtk3-level4-log2 Size:8 KB File name: serverlogs Size:15 KB File name: server-level4-nobind-log2.xz Size:10 KB _______________________________________________________ Reply to this item at: <http://gna.org/bugs/?24249> _______________________________________________ Nachricht gesendet von/durch Gna! http://gna.org/ _______________________________________________ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev