[cl-gtk2-devel] Odd hangs when resizing

Maciej Katafiasz mathrick at gmail.com
Tue Feb 23 20:25:03 UTC 2010


On Tue, Feb 23, 2010 at 20:53, Kalyanov Dmitry
<kalyanov.dmitry at gmail.com> wrote:
>> Okay, I finally managed to get a multithreaded CLISP compiled and
>> running, and it does the exact same thing, every time. So there's got
>> to be a deeper cause, it's not just a random fluke in one
>> implementation.
>
> At the moment, you might try running with gobject::*debug-gc* set to T
> gobject::*debug-subclass* :
>
> (asdf:oos 'asdf:load-op :cl-gtk2-gtk)
> (setf gobject::*debug-gc* t gobject::*debug-subclass* t)
> (gtk-demo:demo)
>
> and see what messages are printed.

Actually, I just found the cause, sort-of. It's because I had
accessibility enabled, which creates an extra thread, which then gets
stuck somewhere in pthread_cond_wait(). I haven't quite found out why
that happens yet, but at least I know where to look. If you want to
investigate it further, it'd be awesome. Right now I can't afford
spending any more time on it and am happy with just getting it
working. Fortunately I don't need a11y for daily work, so I can simply
disable it and pretend it doesn't exist for now.

Cheers,
Maciej




More information about the cl-gtk2-devel mailing list