[mythtvnz] Mythtvbackend segfaults when using a HDHomerun and DVB-C

Douglas Pearless Douglas.Pearless at pearless.co.nz
Sat Nov 7 05:28:16 GMT 2009


I managed to get things working.

It seems that because I have manually added the only channel I was 
trying and got the frequency wrong, this caused the problem (though it 
should not have seg faulted).
I deleted the channel, and changed to frequency range to Finland and 
re-scanned and it found all the New Zealand channels.
Then I was able to manually insert only the Choose channel (the only 
un-encrypted one) and viola! it works.

Cheers
Douglas.

Mark de Reeper wrote:
>
> On Fri, Nov 6, 2009 at 9:42 AM, Douglas Pearless 
> <Douglas.Pearless at pearless.co.nz 
> <mailto:Douglas.Pearless at pearless.co.nz>> wrote:
>
>     Hi,
>
>     I have decided to try my HDHomeRun on DVB-C (telstraclear).
>
>     I have configure it and I can watch channel 68 "Choose" by
>     manually tuning it using HDHomerun config program and piping the
>     stream to VLC as it is unencrypted.
>
>     I added it to mythtv and note that I have the very latest build
>     from the avenard repo (0.22) and mythbackend segfaults.
>
>     running the backend with -v all to capture the debug messages I get:
>
>      2009-11-06 11:14:46.034 HDHRSH(172.22.0.124-0): Successfully
>     connected to device
>     2009-11-06 11:14:46.034 HDHRSH: Creating new stream handler
>     172.22.0.124-0 for 172.22.0.124-0
>     2009-11-06 11:14:46.035 MSqlQuery::exec() "SELECT
>     cardinputid,        inputname,   startchan,        tunechan,   
>     externalcommand,        sourceid FROM cardinput WHERE cardid = '7'"
>     2009-11-06 11:14:46.035 MSqlQuery::exec() "SELECT channum,
>     callsign, channel.chanid,        atsc_major_chan,
>     atsc_minor_chan,        name, icon, mplexid, visible FROM channel
>     WHERE sourceid='4' "
>     2009-11-06 11:14:46.035 ChannelBase(7): Input #7: 'MPEG2TS'
>     schan(68) sourceid(4) ccid(7)
>     2009-11-06 11:14:46.035 ChannelBase(7): Current Input #7: 'MPEG2TS'
>     2009-11-06 11:14:46.036 MSqlQuery::exec() "SELECT inputgroupid
>     FROM inputgroup WHERE cardinputid = '7' ORDER BY inputgroupid,
>     cardinputid, inputgroupname"
>     2009-11-06 11:14:46.036 HDHRChan(172.22.0.124-0):
>     SetChannelByString(68)
>     2009-11-06 11:14:46.036 HDHRChan(172.22.0.124-0): Opening HDHR channel
>     2009-11-06 11:14:46.036 MSqlQuery::exec() "SELECT channel.chanid
>     FROM channel, capturecard, cardinput WHERE channel.channum      =
>     '68'           AND       channel.sourceid     = cardinput.sourceid
>     AND       cardinput.inputname  = 'MPEG2TS'             AND      
>     cardinput.cardid     = capturecard.cardid AND      
>     capturecard.cardid   = '7'            AND      
>     capturecard.hostname = 'mythtv'"
>     2009-11-06 11:14:46.037 MSqlQuery::exec() "SELECT inputgroupid
>     FROM inputgroup WHERE cardinputid = '7' ORDER BY inputgroupid,
>     cardinputid, inputgroupname"
>     2009-11-06 11:14:46.038 MSqlQuery::exec() "SELECT finetune,
>     freqid, tvformat, freqtable,        commmethod, mplexid,       
>     atsc_major_chan, atsc_minor_chan, serviceid FROM channel,
>     videosource WHERE videosource.sourceid = channel.sourceid
>     AND       channum              = '68'         AND      
>     channel.sourceid     = '4'"
>     2009-11-06 11:14:46.038 HDHRChan(172.22.0.124-0): Tuning to :114643968
>     2009-11-06 11:14:46.038 HDHRSH(172.22.0.124-0): Tuning channel
>     :114643968 (was none)
>     Segmentation fault
>
>     I note that channel 68 is 610000000 Hz, and program 401.
>
>     Has anyone got this working or am I on the bleeding edge?
>
> I had a similar experience a couple of weekends ago (HDHomerun doing 
> DVB-T) and ended up having to go back to a rev of .22 that was working 
> for me. Of course I had removed the packages and updated to the latest 
> from the repo only to find this issue. It had been long enough the rev 
> I was using was no longer around so I was forced to download the 
> specific rev (21866) of the src and compile it myself.
>
> Looks like it is happening in the same spot, here a snip of my log:
>
> 2009-10-25 16:56:26.807 MSqlQuery::exec() "SELECT channel.chanid FROM 
> channel, capturecard, cardinput WHERE channel.channum      = 
> '10'           AND       channel.sourceid     = cardinput.sourceid 
> AND       cardinput.inputname  = 'MPEG2TS'             AND       
> cardinput.cardid     = capturecard.cardid AND       
> capturecard.cardid   = '7'            AND       capturecard.hostname = 
> 'mythtv'"
> 2009-10-25 16:56:26.819 MSqlQuery::exec() "SELECT inputgroupid FROM 
> inputgroup WHERE cardinputid = '3' ORDER BY inputgroupid, cardinputid, 
> inputgroupname"
> 2009-10-25 16:56:26.832 MSqlQuery::exec() "SELECT finetune, freqid, 
> tvformat, freqtable,        commmethod, mplexid,        
> atsc_major_chan, atsc_minor_chan, serviceid FROM channel, videosource 
> WHERE videosource.sourceid = channel.sourceid AND       
> channum              = '10'         AND       channel.sourceid     = '1'"
> 2009-10-25 16:56:26.844 MSqlQuery::exec() "SELECT transportid, 
> networkid, frequency, modulation, sistandard FROM dtv_multiplex WHERE 
> mplexid = '6'"
> 2009-10-25 16:56:26.855 HDHRChan(12104329-1): Tuning to :778000000
> 2009-10-25 16:56:26.867 HDHRSH(12104329-1): Tuning channel :778000000 
> (was none)
>
> Not had a chance to revisit this problem yet (in AU on work at the mo) 
> so don't have a lot of advice for you except to say to are not alone :-)
>
> Mark
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ourshack.com/pipermail/mythtvnz/attachments/20091107/b6b2e9a9/attachment-0001.htm 


More information about the mythtvnz mailing list