[mythtv] [BUG?] Endless waiting for thread...
david.whyte at gmail.com
Tue Mar 8 04:47:05 UTC 2005
What backend version are you running? Do the protocols match (though
that would be a different, straight forward error that should pop-up).
On Mon, 07 Mar 2005 22:28:16 -0600, Kevin Kuphal <kuphal at dls.net> wrote:
> MythTV CVS (as of yesterday)
> Remote frontend
> This may have happened when I killed my remote frontend as I prepared to
> upgrade to today's CVS on it. The backend went into and endless loop of:
> 2005-03-07 21:37:35.423 unknown socket
> 2005-03-07 21:38:01.197 unknown socket
> 2005-03-07 21:38:09.456 waiting for a thread..
> 2005-03-07 21:38:09.481 waiting for a thread..
> 2005-03-07 21:38:09.514 waiting for a thread..
> 2005-03-07 21:38:09.543 waiting for a thread..
> 2005-03-07 21:38:09.573 waiting for a thread..
> 2005-03-07 22:21:35.556 waiting for a thread..
> 2005-03-07 22:21:35.586 waiting for a thread..
> 2005-03-07 22:21:35.646 waiting for a thread..
> Until I killed it with a restart. During this time I had restarted the
> frontend a number of times but would not get a response from the backend
> due to it being caught in that loop. It was definitely caught in
> readSocket from the backend:
> void MainServer::readSocket(void)
> RefSocket *socket = (RefSocket *)sender();
> PlaybackSock *testsock = getPlaybackBySock(socket);
> if (testsock && testsock->isExpectingReply())
> ProcessRequestThread *prt = NULL;
> while (!prt)
> if (!threadPool.empty())
> prt = threadPool.back();
> if (!prt)
> VERBOSE(VB_ALL, "waiting for a thread..");
> I'm not familiar enough with that code to know why it got stuck in there
> but maybe someone else can see a way that could get a backend out of
> that endless looping situation. Thanks.
> mythtv-dev mailing list
> mythtv-dev at mythtv.org
GMAIL is 'da bomb baby....YEAH
I have GMail invites, if you want one, email me direct.
More information about the mythtv-dev