Project

General

Profile

Actions

Bug #1643

open

world-wrapped naval goto crashes network connection

Added by John Robertson 7 days ago. Updated 7 days ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Qt-client
Target version:
-
Start date:
08/02/2025
Due date:
% Done:

0%

Estimated time:

Description

(latest dev / qt-client)
related to #1642

  1. select a naval ship
  2. issue a goto command and mouse to an area that causes a world-wrapping path
  3. the client doesn't crash, but the connection to the server is dropped.

I think the goto action packet is malformed as the following asserts are thrown:

1: in send_packet_unit_orders_100() [../../common/packets_gen.c::36549]: assertion '!dout.too_short' failed.
1: Please report this message at https://redmine.freeciv.org/projects/freeciv

followed by

1: Lost connection to server: server disconnected.
QSocketNotifier: Invalid socket 26 and type 'Read', disabling...

Actions

Also available in: Atom PDF