Project

General

Profile

Actions

Bug #1865

open

Qt: Segmentation fault; Storms have no player.

Added by John Robertson 3 days ago. Updated 1 day ago.

Status:
In Review
Priority:
Normal
Category:
Qt-client
Target version:
Start date:
01/05/2026
Due date:
% Done:

0%

Estimated time:

Description

On a lark, I had a Spy attack a Storm.

Insta-BOOM, evidently, Storms do not belong to a player.
Thus calls operating on `unit_owner(target_unit)` cause a segmentation fault.

Applying the patch, shows the 'Choose Your Strategy' dialog.


Files

fc-T0142-Y00820-manual.sav (4.85 MB) fc-T0142-Y00820-manual.sav John Robertson, 01/05/2026 12:17 PM
clipboard-202601050320-pf1vi.png (651 KB) clipboard-202601050320-pf1vi.png John Robertson, 01/05/2026 12:20 PM
1865.patch (987 Bytes) 1865.patch John Robertson, 01/05/2026 12:23 PM
0056-Qt-Fix-flagless-unit-crash-on-action-selection-dialo.patch (1.89 KB) 0056-Qt-Fix-flagless-unit-crash-on-action-selection-dialo.patch Marko Lindqvist, 01/07/2026 01:22 AM

Related issues 1 (1 open0 closed)

Related to Bug #1867: gtk: Action selection dialog crash with flagless unitNew01/05/2026

Actions
Actions

Also available in: Atom PDF