[mythtv] mythbackend crashes with segmentation fault after the specific sequences of events.

Mudit Wahal mwahal at gmail.com
Fri Jun 17 01:04:04 UTC 2005


Isaac,

My script is based on debug output logged from the mythfrontend. I'm
modeling my script based on how the frontend is sending commands when
it switches to liveTV to when I stop watching live TV.

I'll remove the first Announce and try again.

This is the beginning of mythfrontend (0.18.1) log I've captured.
======================
written utf8 = 'MYTH_PROTO_VERSION 15'
read from server  = 'ACCEPT[]:[]15'
written utf8 = 'ANN Playback mythtvbe 0'
read from server  = 'OK'

written utf8 = 'GET_NEXT_FREE_RECORDER[]:[]-1'
read from server  = '1[]:[]192.168.123.3[]:[]6543'
written utf8 = 'MYTH_PROTO_VERSION 15'
read from server  = 'ACCEPT[]:[]15'
written utf8 = 'ANN Playback mythtvbe 0'
read from server  = 'OK'
written utf8 = 'QUERY_RECORDER 1[]:[]SETUP_RING_BUFFER[]:[]0'

read from server  =
'rbuf://192.168.123.3:6543/cache/cache/ringbuf1.nuv[]:[]2[]:[]-1073741824[]:[]0[]:[]104857600'
written utf8 = 'ANN Playback mythtvbe 0'
read from server  = 'OK'
written utf8 = 'ANN RingBuffer mythtvbe 1'
read from server  = 'OK'
written utf8 = 'QUERY_RECORDER 1[]:[]SPAWN_LIVETV'
read from server  = 'ok'
=====================

Thanks

Mudit

On 6/16/05, Isaac Richards <ijr at case.edu> wrote:
> On Thursday 16 June 2005 05:27 pm, Mudit Wahal wrote:
> > Hi all,
> >
> > I'm trying to write some scripts which can change the mode to the
> > Watch Live TV and change channels up and down. When I run my script
> > first time, every thing is fine. But when I run it second time, the
> > mythbackend crashes when I send QUERY_RECORDER 1[]:[]STOP_LIVETV.
> 
> Use CVS.  Your script is broken, though.  You're not supposed to announce a
> socket more than once.
> 
> Isaac
> _______________________________________________
> mythtv-dev mailing list
> mythtv-dev at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
>


More information about the mythtv-dev mailing list