Re: [Freeciv-Dev] GTK client bug
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
On Mon, 1 Feb 1999, Daniel Burrows wrote:
> I have a guaranteed way to crash the GTK+ client. (1.7.2, may be fixed now?)
>
> (1) start the client with transparent flags off (not necessary but makes
> things more controllable)
> (2) turn transparent flags on
> (3) click on a unit. (or expire the movement points of the current unit
> or click on Next Turn. Just get a new unit to be focused)
>
> For some reason which I am unable to determine, clicking on a unit in this
> situation results in the message:
>
> Gdk-ERROR **: BadWindow (invalid Window parameter)
> serial 10402 error_code 3 request_code 61 minor_code 0
No it's not fixed now... I've noticed the bug sometime ago, however i
could not reproduce it acurately. Thanks for the report, now it should be
easier to find the problem. (I think i know what causes the bug, and if
i'm not mistaken it will take some major rewrites to fix).
> aborting...
>
> I traced into set_unit_focus() and it seems to exit without anything bad
> happening. Given that, I can't figure out why this crash occurs, but maybe
> someone more familiar with GDK/the Freeciv GTK+ client can come up with an
> answer.
It's a problem with a wrong argument to some GDK function. To be able to
debug in GDK properly you need to enable a comand line option --gdk-sync
or something like that i'll look at that tonight.
BTW does anyone have a rough estimate for the time freeciv 1.8.0 will come
out?
---
Vasco Alexandre da Silva Costa, student @ Instituto Superior Tecnico,
Technical University of Lisbon - Software & Computer Engineering
|
|