GNOME Bugzilla – Bug 549012
deadlock in DAP
Last modified: 2010-11-26 18:56:54 UTC
I got up this morning to find Banshee unresponsive, so I looked into what might be causing it. It appears that there is a deadlock in DAP caused by a dbus call not returning. I'll attach the log which includes a thread trace. I am running Banshee from subversion, r4410.
Created attachment 117226 [details] Banshee log, includes thread trace
There are two threads attempting to hold the Banshee.Dap.DapService.sync lock. The thread which obtained the lock is blocked while waiting on a dbus reply -- line 331. The second thread (which is the main UI thread) is waiting for the same lock on line 272. It appears that the locking is maybe a little overzealous, but I think the root cause is that the dbus call just blocked forever. It smells like a bug in dbus-sharp -- either it dropped the reply, or did not properly time out.
Oh, I forgot to mention that when I sent the SIGQUIT to get the stack traces, it freed things up somehow. I'd imagine it's just a side effect of the fetching the traces, but I don't know.
I am pretty sure this is the same bug as https://bugzilla.gnome.org/show_bug.cgi?id=614039 at it's core, however the newer bug has more information on it's eventual fix so I am marking this as the duplicate. *** This bug has been marked as a duplicate of bug 614039 ***