[mythtv-commits] Ticket #9485: frontend cannot connect after trying to play a missing recording

MythTV noreply at mythtv.org
Tue Feb 8 20:53:16 UTC 2011


#9485: frontend cannot connect after trying to play a missing recording
------------------------------------------------+--------------------------
 Reporter:  Mike Rice <mikerice1969@…>          |          Owner:
     Type:  Bug Report                          |         Status:  new
 Priority:  minor                               |      Milestone:  unknown
Component:  MythTV - General                    |        Version:
 Severity:  medium                              |  0.24-fixes
 Keywords:                                      |     Resolution:
                                                |  Ticket locked:  0
------------------------------------------------+--------------------------
Description changed by wagnerrp:

Old description:

> My wife seems to have found a way to hang the backend.  I wasn't there
> but looking at the logs it appears she tried to play a recording where
> the file was missing.
>
> Am using:
> {{{
> MythTV Version   : v0.24-109-g945c673-dirty
> MythTV Branch    : fixes/0.24
> Network Protocol : 63
> Library API      : 0.24.20101129-1
> QT Version       : 4.7.1
> Options compiled in:
>  linux debug using_alsa using_oss using_backend using_bindings_perl
> using_bindings_python using_dvb using_firewire using_frontend
> using_hdhomerun using_hdpvr using_iptv       using_ivtv
> using_joystick_menu using_lirc using_mheg using_opengl_video
> using_opengl_vsync using_qtdbus using_qtwebkit using_v4l using_x11
> using_xrandr using_xv using_      bindings_perl using_bindings_python
> using_mythtranscode using_opengl using_vdpau using_ffmpeg_threads
> using_live using_mheg
> }}}
>
> From the frontend log:
> {{{
> 2011-01-16 16:09:55.200 PlaybackBoxHelper Error: CHECK_AVAILABILITY
> 'myth://192.168.1.26:6543/5738_20091122115900.mpg' file not found
> 2011-01-16 16:09:55.200 MythSocket(ffffffffb1f9c478:43): write -> 43 123
> MESSAGE[]:[]SYSTEM_EVENT PLAY_STARTED HOSTNAME mythfrontend2 CHANID 5738
> STARTTIME 2009-11-22T11:59:00 SENDER mythfrontend2
> 2011-01-16 16:09:55.326 MythSocket(ffffffffb1f9c478:43): read  <- 43 2
> OK
> 2011-01-16 16:09:55.379 MythSocket(ffffffffb1f9c478:43): write -> 43 60
> MESSAGE[]:[]MASTER_UPDATE_PROG_INFO 5738 2009-11-22T11:59:00
> 2011-01-16 16:09:55.569 MythSocket(ffffffffb1f9c478:43): read  <- 43 2
> OK
> }}}
> After a bit it gives up but it cannot re-connect to the backend:
> {{{
> 2011-01-16 16:10:27.634 MythSocket(b5ecad0:56): readStringList: Error,
> timed out after 7000 ms.
> 2011-01-16 16:10:27.634 Remote file timeout.
> 2011-01-16 16:10:28.276 MythSocket(ffffffffb1f9c478:43): read  <- 43 6
> 0[]:[]
> 2011-01-16 16:10:28.277 PlaybackBoxHelper Error: CHECK_AVAILABILITY
> 'myth://192.168.1.26:6543/5738_20091122115900.mpg' file not found
> 2011-01-16 16:10:28.277 MythSocket(ffffffffb1f9c478:43): write -> 43 123
> MESSAGE[]:[]SYSTEM_EVENT PLAY_STOPPED HOSTNAME mythfrontend2 CHANID 5738
> STARTTIME 2009-11-22T11:59:00 SENDER mythfrontend2
> 2011-01-16 16:10:58.281 MythSocket(ffffffffb1f9c478:43): readStringList:
> Error, timed out after 30000 ms.
> 2011-01-16 16:10:58.281 Connection to backend server lost
> 2011-01-16 16:10:58.281 MythSocket(ad035c0:39): write -> 39 30
> MYTH_PROTO_VERSION 63 3875641D
> 2011-01-16 16:11:05.285 MythSocket(ad035c0:39): readStringList: Error,
> timed out after 7000 ms.
> 2011-01-16 16:11:05.285 Protocol version check failure.
> 2011-01-16 16:11:05.285 Reconnection to backend server failed
> }}}
>
> I will attach the frontend and backend logs along with the stack trace
> for the backend when it was in this state.
>
> If this only happens when trying to play a missing recording it is
> probably not a big deal since that is probably an anomaly. But I don't
> know if that's the case.

New description:

 My wife seems to have found a way to hang the backend.  I wasn't there but
 looking at the logs it appears she tried to play a recording where the
 file was missing.

 Am using:

 From the frontend log:
 {{{
 2011-01-16 16:09:55.200 PlaybackBoxHelper Error: CHECK_AVAILABILITY
 'myth://192.168.1.26:6543/5738_20091122115900.mpg' file not found
 2011-01-16 16:09:55.200 MythSocket(ffffffffb1f9c478:43): write -> 43 123
 MESSAGE[]:[]SYSTEM_EVENT PLAY_STARTED HOSTNAME mythfrontend2 CHANID 5738
 STARTTIME 2009-11-22T11:59:00 SENDER mythfrontend2
 2011-01-16 16:09:55.326 MythSocket(ffffffffb1f9c478:43): read  <- 43 2
 OK
 2011-01-16 16:09:55.379 MythSocket(ffffffffb1f9c478:43): write -> 43 60
 MESSAGE[]:[]MASTER_UPDATE_PROG_INFO 5738 2009-11-22T11:59:00
 2011-01-16 16:09:55.569 MythSocket(ffffffffb1f9c478:43): read  <- 43 2
 OK
 }}}
 After a bit it gives up but it cannot re-connect to the backend:
 {{{
 2011-01-16 16:10:27.634 MythSocket(b5ecad0:56): readStringList: Error,
 timed out after 7000 ms.
 2011-01-16 16:10:27.634 Remote file timeout.
 2011-01-16 16:10:28.276 MythSocket(ffffffffb1f9c478:43): read  <- 43 6
 0[]:[]
 2011-01-16 16:10:28.277 PlaybackBoxHelper Error: CHECK_AVAILABILITY
 'myth://192.168.1.26:6543/5738_20091122115900.mpg' file not found
 2011-01-16 16:10:28.277 MythSocket(ffffffffb1f9c478:43): write -> 43 123
 MESSAGE[]:[]SYSTEM_EVENT PLAY_STOPPED HOSTNAME mythfrontend2 CHANID 5738
 STARTTIME 2009-11-22T11:59:00 SENDER mythfrontend2
 2011-01-16 16:10:58.281 MythSocket(ffffffffb1f9c478:43): readStringList:
 Error, timed out after 30000 ms.
 2011-01-16 16:10:58.281 Connection to backend server lost
 2011-01-16 16:10:58.281 MythSocket(ad035c0:39): write -> 39 30
 MYTH_PROTO_VERSION 63 3875641D
 2011-01-16 16:11:05.285 MythSocket(ad035c0:39): readStringList: Error,
 timed out after 7000 ms.
 2011-01-16 16:11:05.285 Protocol version check failure.
 2011-01-16 16:11:05.285 Reconnection to backend server failed
 }}}

 I will attach the frontend and backend logs along with the stack trace for
 the backend when it was in this state.

 If this only happens when trying to play a missing recording it is
 probably not a big deal since that is probably an anomaly. But I don't
 know if that's the case.

--

-- 
Ticket URL: <http://code.mythtv.org/trac/ticket/9485#comment:1>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center


More information about the mythtv-commits mailing list