Subject: Re: bug#34454: GTK programs segfaulting

From: Ludovic Courtès <[email-masked]>
Date: Sun, 10 Mar 2019 18:45:06 +0100

Hi Bradley,

Bradley Haggerty <[email-masked]> skribis:

> I've allowed emacs and icecat to update after holding them back for
> sometime. So far icecat has yet to crash, although I haven't restart it so
> it's likely the safe version running from memory. Emacs, however, crashes
> instantly. Error details below.
>
> brad@kazuki:~/ > emacs
>
> (emacs-26-1:10553): Gdk-ERROR **: 17:18:31.044: The program 'emacs-26-1'
> received an X Window System error.
> This probably reflects a bug in the program.
> The error was 'BadMatch (invalid parameter attributes)'.
>   (Details: serial 605 error_code 8 request_code 2 (core protocol)
> minor_code 0)
>   (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 GDK_SYNCHRONIZE environment
>    variable to change this behavior. You can then get a meaningful
>    backtrace from your debugger if you break on the gdk_x_error() function.)
> Fatal error 5: Trace/breakpoint trap

What distro are you using Guix on?

Can you reproduce the error with:

  guix environment --pure --ad-hoc emacs -- emacs

?

Thanks,
Ludo’.