GNOME Bugzilla – Bug 111655
deadlock on tabbing focus goes out of search entry
Last modified: 2004-12-22 21:47:04 UTC
I have a deadlock in net-rb 0.4.7.1 on GDK_THREADS_ENTER while starting up inside gdb. I don't know how I triggered it, but I have a stracktrace for you. On screen are the dialog informing me about the failed bonobo activation (different prefix...) and the main rb window. (gdb) thr a a where
+ Trace 36299
Thread 1 (Thread 1024 (LWP 445))
But I think this deadlock might be present in stock rb, too.
Could it be that this happens when you press keys while the libraries initialize?
Tracked it down. The offending code is in lib/widgets/rb-search-entry.c The SEARCH signal is emitted without GDK_THREADS_ENTERing from the timeout callback and is emitted while GDK_THREADS_ENTERed from the focus_out callback. In the second case this causes a deadlock when GDK_THREADS_ENTER is called again. I've solved this in net-rb, so it's only a rb bug now.
Fixed in CVS, thanks.