Re: Amaya crashes on Gtk

Le lundi 30 juin 2008 à 14:23 +1000, alfredo4570 a écrit :
> Hi,
> I've check the open bug reports and could not see this bug.
> 
> I installed Amaya on Ubuntu 7.10 via the Synaptic Package Manager.
> 
> Running Amaya very briefly brings up a window which disappears immediately.
> 
> Running Amaya from a console generates this message:
> 
> ----------------------------------------------------------
> $ amaya
> 14:02:07: Deleted stale lock file '/home/homer/.amaya-homer'.
> 
> (amaya:708): Gtk-CRITICAL **: gtk_widget_set_colormap: assertion 
> `!GTK_WIDGET_REALIZED (widget)' failed
> The program 'amaya' received an X Window System error.
> This probably reflects a bug in the program.
> The error was 'BadMatch (invalid parameter attributes)'.
>   (Details: serial 6977 error_code 8 request_code 158 minor_code 5)
>   (Note to programmers: normally, X errors are reported asynchronously;
>    that is, you will receive the error a while after causing it.
>    To debug your program, run it with the --sync command line
>    option to change this behavior. You can then get a meaningful
>    backtrace from your debugger if you break on the gdk_x_error() function.)
> $
> ----------------------------------------------------------
> Alf

This is a well known GTK bug.
Could you check amaya scripts (/usr/bin/amaya
or /usr/share/applications/amaya.desktop). They must set the env
variables like that:

Exec=env XLIB_SKIP_ARGB_VISUALS=1
G_SLICE=always-malloc /usr/lib/Amaya/wx/bin/amaya_bin %u

I guess the last Amaya 10.0.1 version should have that bug fix.

Regards
-- 
Irene Vatton <Irene.Vatton@inria.fr>
INRIA

Received on Monday, 30 June 2008 14:07:13 UTC