[mythtv] Slave backend hang after ANN command
John Patrick Poet
john at BlueSkyTours.com
Tue Apr 5 23:00:32 UTC 2005
On Tue, 5 Apr 2005, Jason Gillis wrote:
> I'm working with CVS as of yesterday (Apr 04 - about 23:00 UTC). I have two systems: A master backend and one slave.
> I'm seeing a hang on the slave side when it connects to the master. I've been able to debug things enough to see that the slave is sending an "ANN SlaveBackend" command to the server. On the slave side, it looks like the reconnectTimeout() function which sends the announce command completes. It just doesn't seem to see the master's QUERY_FREESPACE request that comes next.
> This is mostly reproduceable on my systems. That is, it is intermittent, but I have more trouble getting it to work than I do getting it to hang. I'm not able to tell if it's a slave issue or a master issue, either. I've been focusing my effort on the slave as it _looks_ like the master is doing the right thing.
> I've tried to do a little bit of debugging, and did get a backtrace from gdb, but I'm not sure how helpful it really is:
I am also seeing this behavior, but have not had time to diagnose even as
much as you have. Just wanted to let you know that you are not alone.
More information about the mythtv-dev