Re: [gtk-list] gtk+970925 with solaris x11r6



Jens-Ulrik Holger Petersen <petersen@kurims.kyoto-u.ac.jp> writes:
>
> I just (re-)installed gtk+970925 (with the guile-gtk-0.5 patch) under
> solaris-2.5 and X11R6.1.
> 
> The test programs work better now, but I still get some crashes.
> 
> Eg when I run "gtk/testgtk" and press on "text" and then press "close" 
> on the window "test" of "text", I get a core dump:
> 
> ---- Start of included text ----------------8<--- cut here -------------
> petersen@orion:~/src/gtk/solaris/gtk% testgtk
> 
> ** ERROR **: 41943104 -> NULL
> 
> Abort (core dumped)
> ---- End of included text -------------------8<--- and here -------------

This deliberate abort is caused by the gtk-interp.patch from
guile-gtk.  It means that some XEvent has been received for a XWindow
whose corresponding GdkWindow has already been destroyed.  This
shouldn't happen for regular GdkWindows (non-pixmaps), because the
GdkStructure is only freed when the DestroyNotify event has been
received.

That is, as long as the reference counting works right.

For GdkPixmaps, things work differently, and I'm not at all sure if I
have got it right.  Do Pixmaps get XEvents?

However, I just tried testgtk and it seems to work for me.  Maybe it
is a timing problem.  Could you try "testgtk --sync"?

> Probably these are all known problems and have been fixed?  Or is
> something wrong here?

I can't reproduce any of them, sorry.  Does the Guile version of
testgtk, test-gtk.scm, crash on you, too?



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]