#42480: Lost connection to server: decoding error Open Date: 2021-06-07 04:23 Last Update: 2021-06-07 04:29 URL for this Ticket: https://osdn.net//projects/freeciv/ticket/42480 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=42480 --------------------------------------------------------------------- Last Changes/Comment on this Ticket: 2021-06-07 04:29 Updated by: bard * Details Updated --------------------------------------------------------------------- Ticket Status: Reporter: bard Owner: (None) Type: Bugs Status: Open Priority: 5 - Medium MileStone: (None) Component: Server Severity: 5 - Medium Resolution: None --------------------------------------------------------------------- Ticket details: I'm testing 3.0.0-beta2+ (compiled in kubuntu 20.04, up to date) When I try to start a new game from the client, it sometimes (looks random) get an error from the server, and goes back to the initial menu (welcome screen). If I try the same again it uses to end working after 2 or 3 attempts. The more players in the game (or the larger the map, I'm not sure), it seems the higher the chances to fail. It happens with the default ruleset and default options (civ2civ3, hexemplio), and also when I chose another rulesets or tilesets (I have tried classic and civ2civ3_earth). These are the backtraces In debug mode (I have tested gtk2 and gtk3.22): 3: Uncompressing of the packet stream failed. The connection will be closed now. 1: Lost connection to server: decoding error. 2: Backtrace: 2: 0: ./client/freeciv-gtk3.22(backtrace_print+0x3b) [0x563c48db0e0b] 2: 1: ./client/freeciv-gtk3.22(vdo_log+0xad) [0x563c48db68ed] 2: 2: ./client/freeciv-gtk3.22(do_log+0xb6) [0x563c48db69d6] 2: 3: ./client/freeciv-gtk3.22(+0x735c7) [0x563c48ba35c7] 2: 4: ./client/freeciv-gtk3.22(get_packet_from_connection_raw+0x41d) [0x563c48dde5bd] 2: 5: ./client/freeciv-gtk3.22(input_from_server+0xec) [0x563c48ba3d7c] 2: 6: ./client/freeciv-gtk3.22(+0x67fa4) [0x563c48b97fa4] 2: 7: /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_dispatch+0x14e) [0x7f2cd022004e] 2: 8: /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0(+0x52400) [0x7f2cd0220400] 2: 9: /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_loop_run+0x83) [0x7f2cd02206f3] 2: 10: /usr/lib/x86_64-linux-gnu/libgtk-3.so.0(gtk_main+0x7d) [0x7f2cd0a3937d] 2: 11: ./client/freeciv-gtk3.22(ui_main+0x18f4) [0x563c48b9a7a4] 2: 12: ./client/freeciv-gtk3.22(client_main+0x3f8) [0x563c48b9d0b8] 2: 13: /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf3) [0x7f2ccffde0b3] 2: 14: ./client/freeciv-gtk3.22(_start+0x2e) [0x563c48b976fe] 2: Loading tileset "hexemplio". 1: Lost connection to server: decoding error. 2: Backtrace: 2: 0: ./client/freeciv-gtk2(backtrace_print+0x3b) [0x55ff569a32ab] 2: 1: ./client/freeciv-gtk2(vdo_log+0xad) [0x55ff569a8d8d] 2: 2: ./client/freeciv-gtk2(do_log+0xb6) [0x55ff569a8e76] 2: 3: ./client/freeciv-gtk2(+0x71a37) [0x55ff56795a37] 2: 4: ./client/freeciv-gtk2(get_packet_from_connection_raw+0x41d) [0x55ff569d0a5d] 2: 5: ./client/freeciv-gtk2(input_from_server+0xec) [0x55ff567961ec] 2: 6: ./client/freeciv-gtk2(+0x682c4) [0x55ff5678c2c4] 2: 7: /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_dispatch+0x14e) [0x7f1e1c57d04e] 2: 8: /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0(+0x52400) [0x7f1e1c57d400] 2: 9: /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_loop_run+0x83) [0x7f1e1c57d6f3] 2: 10: /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0(gtk_main+0xc2) [0x7f1e1c923092] 2: 11: ./client/freeciv-gtk2(ui_main+0x54e) [0x55ff5678d57e] 2: 12: ./client/freeciv-gtk2(client_main+0x3f8) [0x55ff5678f528] 2: 13: /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf3) [0x7f1e1c33d0b3] 2: 14: ./client/freeciv-gtk2(_start+0x2e) [0x55ff5678a3be] Let me know what else could I test to give more useful info. -- Ticket information of Freeciv project Freeciv Project is hosted on OSDN Project URL: https://osdn.net/projects/freeciv/ OSDN: https://osdn.net URL for this Ticket: https://osdn.net/projects/freeciv/ticket/42480 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=42480