[mythtv] Ticket #3031: Recording will not commence until a PMT is set.

John P Poet jppoet at gmail.com
Thu Apr 19 00:09:43 UTC 2007


On 4/18/07, John P Poet <jppoet at gmail.com> wrote:
> On 4/18/07, MythTV <mythtv at cvs.mythtv.org> wrote:
> > #3031: Recording will not commence until a PMT is set.
> > --------------------+-------------------------------------------------------
> >  Reporter:  jppoet  |        Owner:  danielk
> >      Type:  patch   |       Status:  assigned
> >  Priority:  major   |    Milestone:  0.21
> > Component:  mythtv  |      Version:  head
> >  Severity:  medium  |   Resolution:
> > --------------------+-------------------------------------------------------
> >
> > Comment(by danielk):
> >
> >  Thanks John, this really narrows it down. Unfortunately the fix patch you
> >  posted breaks program number only tuning for some channels. I've added
> >  another patch '3031-dbg-6.patch' can you attach the logs for a successful
> >  and a failed run with 'mythbackend -v channel,record,siparser'? I've added
> >  some additional debugging for Reset() usage which should help be figure
> >  out what is different between the failing and successful runs.
>
> I figured that call was in there for a reason ;)
>
> I was wondering if there was a way the Reset routine could detect that
> it was being called in an invalid situation.  If so, a test could be
> added in which I could set a breakpoint.  Once the breakpoint was
> triggered, I could produce a backtrace.
>
> I will try '3031-dbg-6.patch'.  Once again, it will be pretty late
> tonight before I can, though.
>
> John
>


Managed to sneak home an try this.  Attached are two logs as requested.

Summary:

Failure:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2007-04-18 18:01:22.503 DVBSM(0)::AddPIDFilter(0x0):
2007-04-18 18:01:22.503 DVBSM(0)::UpdateValues: Table monitor started
2007-04-18 18:01:22.509 DVBSM(0)::RemovePIDFilter(0x0):
2007-04-18 18:01:22.841 DVBSM(0): RunTableMonitorTS(): begin (# of pids 2)
2007-04-18 18:01:22.842 DVBSM(0)::AddPIDFilter(0x0):
2007-04-18 18:01:22.843 DVBSM(0)::AddPIDFilter(0x1ffb):
2007-04-18 18:01:22.864 SM(0)::AddFlags: Seen(VCT,TVCT,) Match() Wait()
2007-04-18 18:01:22.864 DTVSM(0)::SetVCT(): tvct->ProgramNumber(idx
0): prog num 3
2007-04-18 18:01:22.865 DTVSM(0)::SetProgramNumber(3):
2007-04-18 18:01:22.865 SM(0)::RemoveFlags: Seen(PMT,Crypt,)
Match(PMT,Crypt,) Wait()
2007-04-18 18:01:22.866 ATSCStreamData::Reset(int) called from
SetDesiredProgram(int)
2007-04-18 18:01:22.867 ATSCStreamData::Reset(int,int) called from
ATSCStreamData::Reset(int)
2007-04-18 18:01:22.867 MPEGStreamData::Reset(int) called from
ATSCStreamData::Reset(int,int)
2007-04-18 18:01:22.868 MPEGStreamData::Reset(int) called from
ATSCStreamData::Reset(int)
2007-04-18 18:01:22.868 SM(0)::AddFlags: Seen() Match() Wait(PMT,)
2007-04-18 18:01:22.869 SM(0)::AddFlags: Seen() Match(VCT,TVCT,) Wait()
2007-04-18 18:01:22.913 SM(0)::AddFlags: Seen(PAT,) Match() Wait()
2007-04-18 18:01:22.914 SM(0)::AddFlags: Seen() Match(PAT,) Wait()
2007-04-18 18:01:22.914 CreatePATSingleProgram()
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Success:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2007-04-18 17:59:34.820 DVBSM(0)::AddPIDFilter(0x0):
2007-04-18 17:59:34.820 DVBSM(0)::UpdateValues: Table monitor started
2007-04-18 17:59:34.826 DVBSM(0)::RemovePIDFilter(0x0):
2007-04-18 17:59:35.148 DVBSM(0): RunTableMonitorTS(): begin (# of pids 2)
2007-04-18 17:59:35.148 DVBSM(0)::AddPIDFilter(0x0):
2007-04-18 17:59:35.149 DVBSM(0)::AddPIDFilter(0x1ffb):
2007-04-18 17:59:35.259 SM(0)::AddFlags: Seen(PAT,) Match() Wait()
2007-04-18 17:59:35.260 SM(0)::AddFlags: Seen(VCT,TVCT,) Match() Wait()
2007-04-18 17:59:35.260 DTVSM(0)::SetVCT(): tvct->ProgramNumber(idx
0): prog num 3
2007-04-18 17:59:35.261 DTVSM(0)::SetProgramNumber(3):
2007-04-18 17:59:35.261 SM(0)::RemoveFlags: Seen(PMT,Crypt,)
Match(PMT,Crypt,) Wait()
2007-04-18 17:59:35.262 SM(0)::AddFlags: Seen(PAT,) Match() Wait()
2007-04-18 17:59:35.263 SM(0)::AddFlags: Seen() Match(PAT,) Wait()
2007-04-18 17:59:35.263 CreatePATSingleProgram()
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

John
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mythbackend-dbg-6-failed.log.bz2
Type: application/x-bzip2
Size: 4646 bytes
Desc: not available
Url : http://mythtv.org/pipermail/mythtv-dev/attachments/20070418/9cbfa6b0/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mythbackend-dbg-6-worked.log.bz2
Type: application/x-bzip2
Size: 5139 bytes
Desc: not available
Url : http://mythtv.org/pipermail/mythtv-dev/attachments/20070418/9cbfa6b0/attachment-0001.bin 


More information about the mythtv-dev mailing list