[cl-gtk2-devel] Odd hangs when resizing

Kalyanov Dmitry kalyanov.dmitry at gmail.com
Sun Feb 21 12:14:53 UTC 2010


On Sunday 21 February 2010 05:24:01, Maciej Katafiasz wrote:
> Hi,
> 
> I'm hitting (and have been, it just took me forever to identify the
> cause) an odd bug. Namely, if I ever resize or hide (that includes
> minimising or switching to another desktop) a CL-GTK2 window, the
> whole thing hangs. That is, the GTK+ part stops being responsive at
> all, and Lisp is pretty wedged too, with slime-threads view failing to
> work, etc. As soon as it tries to touch the GTK+ main loop, it hangs
> too, although the main thread in *inferior-lisp* and SLIME thread
> remain responsive. Still, I have to restart it to get it back in
> order.
> 
> Needless to say, this kind of bug makes it rather impossible to do
> anything. Has anyone else seen anything like that? The test is
> trivial, just run the gtk-hello example and minimise and restore the
> window. For me it comes back completely gray and stops responding to
> anything. The same happens actually any time the window loses focus at
> all. I'm utterly stumped, as I have no idea how to debug it. It's
> impossible to touch it from the Lisp side, and trying to attach GDB to
> SBCL ends with SBCL dying, which doesn't help matters.

I've also encountered similar behaviour (but not hanging) but could not yet 
find its cause. Also similar behavior happens in CCL on Windows.

I've been trying to debug it for some time with no success.

My current guess at the moment is that it has something to do with signals.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <https://mailman.common-lisp.net/pipermail/cl-gtk2-devel/attachments/20100221/95d98a8f/attachment.sig>


More information about the cl-gtk2-devel mailing list