Comment 4 for bug 411349

Revision history for this message
Andrew Bennetts (spiv) wrote : Re: [Bug 411349] Re: bzr hangs (deadlock) on push/pull/merge

Frits Jalvingh wrote:
> I have an strace of the server *after* it hangs, not before it:
> futex(0x937a5a8, FUTEX_WAIT, 0, NULL) = 0
> futex(0x937a5a8, FUTEX_WAIT, 0, NULL) = 0
> futex(0x937a5a8, FUTEX_WAKE, 1) = 1
> poll([{fd=4, events=POLLIN}], 1, 1000) = 0
[etc]
> In effect it is not doing anything.

I think that's probably just the main thread, again. fd 4 seems likely to be
the listening socket (I'd expect 0, 1, 2 are stdio, and 3 to be the ~/.bzr.log).
So this thread is just polling the listening socket for new incoming
connections, I think, which is normal and correct.

Try looking in /proc/<pid>/task for PIDs of the thread(s), and stracing those.

Thanks for your persistence!