Ticket #46660

Qt: Crash with "-- --help"

Eröffnet am: 2023-01-30 16:23 Letztes Update: 2023-02-02 06:47

Auswertung:
Verantwortlicher:
Typ:
Status:
Geschlossen
Komponente:
Meilenstein:
Priorität:
5 - Mittel
Schweregrad:
5 - Mittel
Lösung:
Gefixt
Datei:
1

Details

Qt-client crashes exiting after showing help for "-- --help". That's because there's no tileset loaded on such a run, but client_exit() unconditionally tries to free it.

Note that other clients do not even attempt such controlled exit, but just exit() directly from parameter parsing after handling --help. We probably should make them to do the right thing too.

Ticket-Verlauf (3/5 Historien)

2023-01-30 16:23 Aktualisiert von: cazfi
  • New Ticket "Qt: Crash with "-- --help"" created
2023-01-31 11:12 Aktualisiert von: cazfi
  • Verantwortlicher Update from (Keine) to cazfi
  • Lösung Update from Keine to Accepted
  • Meilenstein Update from (Keine) to 3.0.6 (closed)
2023-01-31 16:18 Aktualisiert von: cazfi
Kommentar

Attached the patch forgotten earlier.

2023-02-02 06:47 Aktualisiert von: cazfi
  • Status Update from Offen to Geschlossen
  • Lösung Update from Accepted to Gefixt

Bearbeiten

You are not logged in. I you are not logged in, your comment will be treated as an anonymous post. » Anmelden