Ticket #43019

qt: write_shortcuts() segfault on quit

Open Date: 2021-10-10 13:35 Last Update: 2021-10-18 13:54

Reporter:
Owner:
Type:
Status:
Closed
Component:
MileStone:
Priority:
5 - Medium
Severity:
5 - Medium
Resolution:
Fixed
File:
2

Details

First noticed with Qt6 in #41675 but now that I checked, it happens with Qt5 too. There's a segfault in write_shortcuts():

Thread 1 "freeciv-qt" received signal SIGSEGV, Segmentation fault.
write_shortcuts () at ../../../../src/client/gui-qt/shortcuts.cpp:792
792 s.setValue("id", sc->id);

Ticket History (3/6 Histories)

2021-10-10 13:35 Updated by: cazfi
  • New Ticket "qt: write_shortcuts() segfault on quit" created
2021-10-10 13:40 Updated by: cazfi
Comment

Happens when quitting immediately from the start menu, but the one time I went to game there was no segfault.

2021-10-10 14:23 Updated by: cazfi
  • Resolution Update from None to Accepted
  • Milestone Update from (None) to 2.6.6 (closed)
2021-10-18 13:54 Updated by: cazfi
  • Status Update from Open to Closed
  • Owner Update from (None) to cazfi
  • Resolution Update from Accepted to Fixed

Edit

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