Bug#296805: libgtk2.0-0: Segfault in gdk_event_apply_filters

Daniel Pinto de Mello e Silva Daniel Pinto de Mello e Silva <dsilva@ccs.neu.edu>, 296805@bugs.debian.org
Thu, 24 Feb 2005 16:32:37 +0900


On Thu, 2005-02-24 at 21:14 +0100, Sjoerd Simons wrote:
> tag 296805 +unreproducible
> thanks,
> 
> On Thu, Feb 24, 2005 at 02:41:06PM -0500, Daniel Silva wrote:
> > GTK2 is segfaulting all the time for some reason.  Here's a test
> > program:
> > 
> > $cat test.c
> > 
> > #include <gtk/gtk.h>
> > 
> > int main()
> > {
> >   gtk_init(0, 0);
> >   gtk_window_new(0);
> >   gtk_main();
> >   return 0;
> > }
> 
> That program works fine here. Btw you should use NULL instead of 0, if your 
> passing pointers..
> 

I think it might have something to do with the Qt theme for GTK2.

I was using a normal GTK2 theme and started a second X server on
display :1 running Enlightenment, and from there changed the GTK2 theme
to the "Qt" theme.  After shutting down the second X server, gtk2
programs in the first X server started giving me those segfaults.

I rebooted and GNOME locked up when starting Nautilus.  When I restarted
X with KDE, GTK apps worked fine again, and they were set to use the Qt
theme.

I'll try to reproduce it.

Daniel