[mythtv-users] MythSocket readStringList Error

Brian Long briandlong at gmail.com
Mon Mar 22 10:46:58 UTC 2010


On Sun, Jan 17, 2010 at 12:56 AM, Bob Cottingham <bobnvic at gmail.com> wrote:
> My master backend repeatedly stops responding after a few recordings.
> It is still shown as running, but nothing can connect to it.  I've had
> this problem for quite a while.  In .21 I had to run with --noupnp to
> keep the slave backend from being dropped.  After upgrading to .22 the
> master backend stopped responding and dropping the slave backend.  I
> upgraded to trunk and still have the problem.  I added the --noupnp
> option to mythbackend today and it still has the MythSocket time outs,
> but it appears to have recovered this time, which I haven't seen
> before.  Here is the version info:
>
> bob at mythbox:~$ mythbackend --version
> Please include all output in bug reports.
> MythTV Version   : 23165
> MythTV Branch    : trunk
> Network Protocol : 56
> Library API      : 0.23.20100115-1
> QT Version       : 4.5.2
> Options compiled in:
>  linux release using_oss using_alsa using_backend using_directfb
> using_dvb using_frontend using_hdhomerun using_hdpvr using_iptv
> using_ivtv using_joystick_menu using_lirc using_mheg
> using_opengl_video using_opengl_vsync using_qtwebkit using_v4l
> using_x11 using_xrandr using_xv using_bindings_perl
> using_bindings_python using_opengl using_ffmpeg_threads using_live
> using_mheg
>
> relevant portion of the master mythbackend log (recording was
> occurring on the slave backend during this time):
> 2010-01-16 20:30:21.681 MainServer::ANN Monitor
> 2010-01-16 20:30:21.681 adding: tzcheck as a client (events: 0)
> 2010-01-16 20:30:33.262 MythSocket(ffffffffa9a80850:32):
> readStringList: Error, timed out after 30000 ms.
> 2010-01-16 20:30:33.262 Slave backend: mythliving no longer connected
> 2010-01-16 20:30:33.396 setting 4/BOOM/"Dexter's Laboratory" as aborted
> 2010-01-16 20:30:33.396 PlaybackSock::SendReceiveStringList(): No response.
> 2010-01-16 20:30:33.396 MythSocket(a97ce20:40): writeStringList:
> Error, invalid string list.
> 2010-01-16 20:30:33.397 MythSocket(ffffffffa9a80850:-1):
> writeStringList: Error, called with unconnected socket.
> 2010-01-16 20:30:33.397 MythSocket(ffffffffa9a80850:-1):
> readStringList: Error, called with unconnected socket.
> 2010-01-16 20:30:33.397 PlaybackSock::SendReceiveStringList(): No response.
> 2010-01-16 20:30:33.402 MainServer::ANN Monitor
> 2010-01-16 20:30:33.402 adding: mythbox as a client (events: 0)
> 2010-01-16 20:30:33.419 MainServer::HandleGenPreviewPixmap()
>                        Couldn't find backend for:
>                        Dexter's Laboratory : "Shoo,Shoe Gnomes/Sister's Got a Brand"
> 2010-01-16 20:30:33.419 MainServer: HandleGenPreviewPixmap: Unable to
> find file locally, unable to make preview image.
> 2010-01-16 20:30:36.185 Reschedule interrupted, will retry
> 2010-01-16 20:30:36.190 Reschedule requested for id 0.
> 2010-01-16 20:30:41.405 MainServer::ANN Monitor
> 2010-01-16 20:30:41.405 adding: tzcheck as a client (events: 0)
> 2010-01-16 20:30:42.928 adding: mythliving as a slave backend server
> 2010-01-16 20:31:04.451 setting 4/BOOM/"Dexter's Laboratory" as recording
> 2010-01-16 20:31:07.518 Reschedule interrupted, will retry
> 2010-01-16 20:31:07.518 Reschedule requested for id 0.
>
> The backend stayed up after this point with several more recordings on
> the master and slave backends each. What can I provide to track this
> down?  It doesn't seg fault or crash so I don't think gdb is
> appropriate.

Bob,
I have this same problem.  Have you narrowed it down at all?  I
recently added an HD-PVR to my system and I wonder if it's the
culprit.  I've resorted to running "mythbackend --printsched" every 5
minutes and parsing errors like "Error querying master" or
"writeStringList: Error, invalid string list" to determine if I should
restart the backend.

$ mythbackend --version
Please include all output in bug reports.
MythTV Version   : 23405
MythTV Branch    : branches/release-0-22-fixes/mythtv/
Network Protocol : 50
Library API      : 0.22.20091023-1
QT Version       : 4.4.3
Options compiled in:
 linux release using_oss using_alsa using_arts using_jack
using_backend using_dvb using_firewire using_frontend using_hdhomerun
using_hdpvr using_iptv using_ivtv using_joystick_menu using_libfftw3
using_lirc using_mheg using_opengl_video using_opengl_vsync
using_qtwebkit using_v4l using_x11 using_xrandr using_xv using_xvmc
using_xvmc_vld using_xvmcw using_bindings_perl using_bindings_python
using_opengl using_vdpau using_ffmpeg_threads using_libavc_5_3
using_live using_mheg

/Brian/


More information about the mythtv-users mailing list