bugFreeciv - Bugs: bug #21677, Gtk and Gdk critical errors

Show feedback again

bug #21677: Gtk and Gdk critical errors

Submitted by:  None
Submitted on:  Tue Feb 18 12:33:45 2014  
Category: client-gtk-2.0Severity: 4 - Important
Priority: 5 - NormalStatus: None
Assigned to: NoneOriginator Email: -unavailable-
Open/Closed: OpenRelease: 2.4.1
Operating System: GNU/LinuxPlanned Release: 
Contains string changes: None

Add a New Comment (Rich MarkupRich Markup):

You are not logged in

Please log in, so followups can be emailed to you.


Tue Feb 18 22:16:39 2014, comment #1:

Sounds rather like the old symptom from bug #21592.

Jacob Nevins <jtn>
Project Administrator
Tue Feb 18 12:33:45 2014, original submission:

Freeciv v2.4.1 compiled on OpenSuse 12.3 with KDE, using Gtk-2.0

I get the following errors repeatedly during game play:
(freeciv-gtk2:25370): Gdk-CRITICAL **: IA__gdk_window_process_updates: assertion `GDK_IS_WINDOW (window)' failed

(freeciv-gtk2:25370): Gtk-CRITICAL **: IA__gtk_widget_get_state: assertion `GTK_IS_WIDGET (widget)' failed

after a while of playing (a couple of hours), the game slows down drastically (movement of units becomes noticeably slow, opening a city window is slow, moving about the map window is slow, etc.), and I start getting these errors:
(freeciv-gtk2:2148): Gdk-WARNING **: XID collision, trouble ahead

If I save the game, exit out of the game, restart, and reload, the errors go away for a short time, then return.

From YAST on my system:
gtk2-devel package is version 2.24.18-2.4.2
compiled using gcc version 4.7-7.1.1

I can see the above errors by opening a Konsole session, cd to the freeciv directory, and executing:
This is followed by the following messages:
Unable to find client executable: freeciv
Searching for freeciv clients ...
... using ./client/freeciv-gtk2
Running ./client/freeciv-gtk2

When I watch the Konsole window, that's where I see the above gtk and gdk errors.

I also have the bug where the combat animations do not appear, but fixed by running this:
and by adding this line to mapview.c in flush_dirty:
gdk_window_process_updates(gtk_widget_get_window(map_canvas), FALSE);
These are the only two modifications I have installed.
The combination of these two fixes corrects the problem with animations not appearing.

I would be happy to provide any files from my system if needed.



(Note: upload size limit is set to 1024 kB, after insertion of the required escape characters.)

Attach File(s):

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by jtn (Posted a comment)
  • -unavailable- added by None (Submitted the item)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Error: not logged in



    No Changes Have Been Made to This Item
    Show feedback again

    Back to the top

    Powered by Savane 3.1-cleanup