Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: MythTV: Mythtvnz

Mythtvbackend segfaults when using a HDHomerun and DVB-C

 

 

MythTV mythtvnz RSS feed   Index | Next | Previous | View Threaded


Douglas.Pearless at pearless

Nov 5, 2009, 2:42 PM

Post #1 of 4 (231 views)
Permalink
Mythtvbackend segfaults when using a HDHomerun and DVB-C

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?


mark.dereeper at gmail

Nov 5, 2009, 6:44 PM

Post #2 of 4 (216 views)
Permalink
Re: Mythtvbackend segfaults when using a HDHomerun and DVB-C [In reply to]

On Fri, Nov 6, 2009 at 9:42 AM, Douglas Pearless <
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


Douglas.Pearless at pearless

Nov 6, 2009, 9:28 PM

Post #3 of 4 (202 views)
Permalink
Re: Mythtvbackend segfaults when using a HDHomerun and DVB-C [In reply to]

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


mark.dereeper at gmail

Nov 22, 2009, 6:49 PM

Post #4 of 4 (27 views)
Permalink
Re: Mythtvbackend segfaults when using a HDHomerun and DVB-C [In reply to]

On Sat, Nov 7, 2009 at 6:28 PM, Douglas Pearless <
Douglas.Pearless[at]pearless.co.nz> wrote:

> 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> 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
>
> Took a look at this again over the weekend because it is still a problem
for me. In case anyone else is still facing this issue, you might want to
track http://cvs.mythtv.org/trac/ticket/7624 which has some more details on
the problem.

Mark

MythTV mythtvnz RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.