Bug #656552

Occasional crash when dragging worklist entries

Added by S.C. L. over 3 years ago. Updated about 2 years ago.

Target version:
Start date:
Due date:
% Done:


Estimated time:


In the 2.6.0-beta0+r35254 gtk+3.22 client (and an earlier gtk+3 client whose revision number I can't recall), attempting to drag&drop a worklist entry in either panel of the city production dialog sometimes causes a crash.

I have not been able to discern when exactly this happens. It seems to be pretty consistently reproducible by immediately trying to drag an entry direclty after founding your first city. Selecting an entry without dragging highly reduces the chances of a crash, even after closing and reopening the dialog. Reconnecting the client to a server where you already own a city also keeps the crash chances low. The crash still does happen occasionally, mainly when directly dragging without properly selecting an item first.

According to Visual Studio 2017's debugger, the crash is caused by an access violation at 0x0000000070EDE372 (libgdk-3-0.dll) in freeciv-gtk3.22.exe: 0xC0000005.


#1 Updated by Marko Lindqvist over 3 years ago

Can you tell what is the gtk+ version in that build? You can see it from client Help->About Freeciv

#2 Updated by S.C. L. over 3 years ago

This is Freeciv version 2.6.0-beta0-msys2 (beta version), gui-gtk-3.22 client.
Built against gtk+ 3.22.7, using 3.22.7
Built against glib 2.50.2, using 2.50.2

#3 Updated by Marko Lindqvist over 3 years ago

Can you test if gtk3-client has these same problems you have been reporting about gtk3.22-client. That information would help us decide what client we promote as the default one in freeciv-2.6.

#4 Updated by Jacob Nevins about 2 years ago

Didn't manage to reproduce in 2.6.0-beta3 msys2 Gtk3.22 client under Wine on a quick try, although it's intermittent so that probably doesn't prove anything.

#5 Updated by Jacob Nevins about 2 years ago

  • Target version deleted (2.6.0)

Also available in: Atom PDF