[mythtv-users] backend dies when frontend quits (on singlemachine)

Chuck Filson mythtv at goodeid.com
Fri Jul 20 15:10:33 UTC 2007


On Thursday 19 July 2007 07:17 pm, Michelle Dupuis wrote:
> Ok....here is a trace (verbose) output from a mythbackend once I exit the
> front-end (at which time MythWelcome reappears on screen, with an error
> message that says can't connect to backend.)
>
> Obviously the backend is shutting down when I exit MythFrontend (before
> control returned to MythWelcome).  This feels & smells like a stupid setup
> bug on my part.
>
> Any ideas on why the backend stopping?  (What the HandleRemoteEncoder error
> all about)
>
> -MD-
>
>
> 2007-07-19 19:14:03.434 MythSocket(b53071a8:20): socket is readable
> 2007-07-19 19:14:03.434 MythSocket(b53071a8:20): socket closed
> 2007-07-19 19:14:03.434 MythSocket(b53071a8:20): state change Connected ->
> Idle
> 2007-07-19 19:14:03.434 MythSocket(b53071a8:-1): cb->connectionClosed()
> 2007-07-19 19:14:03.435 MythSocket(b5307680:21): socket is readable
> 2007-07-19 19:14:03.435 MythSocket(b5307680:21): socket closed
> 2007-07-19 19:14:03.435 MythSocket(b5307680:21): state change Connected ->
> Idle
> 2007-07-19 19:14:03.435 MythSocket(b5307680:-1): cb->connectionClosed()
> 2007-07-19 19:14:03.518 MythSocket(b5306dd0:16): socket is readable
> 2007-07-19 19:14:03.519 MythSocket(b5306dd0:16): cb->readyRead()
> 2007-07-19 19:14:03.519 MythSocket(b5306dd0:16): UpRef: 2
> 2007-07-19 19:14:03.519 read  <- 16 35      QUERY_REMOTEENCODER
> 1[]:[]GET_STATE
> 2007-07-19 19:14:03.519 MainServer: HandleRemoteEncoder(cmd GET_STATE)
> Unknown encoder: 1, exiting
> 2007-07-19 19:14:03.519 MythSocket: readyread thread exit
>
> > -----Original Message-----
> > From: mythtv-users-bounces at mythtv.org
> > [mailto:mythtv-users-bounces at mythtv.org] On Behalf Of Joe Ripley
> > Sent: Thursday, July 19, 2007 10:02 AM
> > To: Discussion about mythtv
> > Subject: Re: [mythtv-users] backend dies when frontend quits
> > (on singlemachine)
> >
> > On 7/18/07, Michelle Dupuis <support at ocg.ca> wrote:
> > > I have a simple myth trunk setup, with backend and frontend
> >
> > running on
> >
> > > one box.
> > >
> > > When I exit the front-end, the backend seems to die.  If I
> >
> > check the
> >
> > > status with "service mythbackend status" I see:
> > > mythbackend dead but pid file exists
> > >
> > > The symptom I experience is that when I exit the frontend,
> >
> > I return to
> >
> > > the mythwelcome screen but it complains that there is no backend to
> > > connect to....
> >
> > Some logs from your mythbackend process would probably help
> > in the diagnosis...
> >
> > --
> > Joe Ripley
> > vitaminjoe at gmail.com

	Do you perhaps have a capture card configured that is not connected to a 
video source? This situation causes the same problem for me whenever that 
unconnected card status is queried.

	I believe this has been fixed for 0.21.

Chuck



More information about the mythtv-users mailing list