GNOME Bugzilla – Bug 335688
Hang when closing windows with SMB resources
Last modified: 2009-09-01 08:47:47 UTC
I had opened a lot of folders on a Windows 2003 server and started closing them when this happened. It just hangs there and won't respond. Backtrace from gdb: (gdb) bt
+ Trace 67170
Got a similar situation where nautilus crashed. I was presented with an authentication dialog along with the crash dialog: (gdb) bt
+ Trace 68539
*** Bug 343347 has been marked as a duplicate of this bug. ***
Looks like strange things are happen when we are running a dialog while GDK_THREADS are locked. Probably it's gtk bug.
Oh, forgot about it. The reason of evince bug was in missing gdk_threads_init (I suspect it was called somewere). After addtion of initialization call everything start working fine. Although it seems rather strange that gnome-vfs doesn't init gdk threads somewhere. They are used in gnome-vfs, why should I care about it?
Btw, nautilus also doesn't initialize gdk threads. See bug 312894 for details.
I've also filed bug 343601 against libgnomeui gnome_authentication_manager_init should init gdk threads
Gnome-vfs does not use gdk threads. Enabling gdk threads would force all apps that link to gnome-vfs to be threadsafe wrt the gdk lock, or things could deadlock. Doing that for no reason is very bad. Looking at the backtraces for this bug it seems more likely that the corba communication with the vfs daemon is causing issues rather than the gdk lock.
Changing version to 2.14 because we don't depend on CORBA anymore.
This appears to happen with the dbus-using gnome-vfs too. I got a hanging nautilus today when closing a window that had been left open for a long time. It showed the (greyed out) auth dialog and hung. gdb gave me this backtrace: (gdb) bt
+ Trace 72174
Closing this as I have no way to test it anymore.