Mon 28 Nov 2011 12:11:06 AM UTC, comment #2:
I don't have a complete picture of what's going on yet, but I'm a little dubious about this code in gui-gtk-2.0/chatline.c:apply_text_tag():
Looking at the gtk_text_buffer_create_tag() docs, I think that the ownership of the created tag is passed to a structure inside 'buf', so the caller doesn't have to free it. The annotation "transfer none" apparently means "Don't free data after the code is done", which I think may corroborate my argument.
The same applies to case TTT_LINK.
This server uses loads of colours, though, so I'm not sure why we're not seeing loads of these warnings. Perhaps the reference count only drops below zero in unusual circumstances. Or perhaps this possible thing I've found has nothing to do with these warnings.
|
Sun 27 Nov 2011 09:22:23 PM UTC, original submission:
Getting some Gtk warnings from the client (S2_3 r20613, circa 2.3.1) on initial connection to the server "freeciv-debian.ns0.it" (which can be found on the metaserver at the moment).
This server sends some funky featured text on connect with a colour ASCII-art picture of a soldier; I suspect this is implicated, but I haven't investigated further.
The warnings from a normal run:
With "-d 3 -l file -- --g-fatal-warnings", it dies at the first of these, with the following backtrace:
Last few entries from the log:
|