[mythtv-commits] Ticket #2664: Backend SEGFAULT on invalid PMT

MythTV mythtv at cvs.mythtv.org
Mon Jan 8 13:10:15 UTC 2007


#2664: Backend SEGFAULT on invalid PMT
------------------------------------+---------------------------------------
 Reporter:  froedep at googlemail.com  |        Owner:  danielk
     Type:  defect                  |       Status:  new    
 Priority:  minor                   |    Milestone:  0.21   
Component:  dvb                     |      Version:  head   
 Severity:  low                     |   Resolution:         
------------------------------------+---------------------------------------
Comment (by froedep at googlemail.com):

 Sorry it took me so long to test your patch. I've applied it to the latest
 SVN, which builds fine. Problem is that no data is saved to the drive when
 I record anything. If I revert to SVN without the above patch I get the
 recordings as per usual.

 This is the log I get when recording something - the programme appears in
 the recorded list as normal, just no data is saved.

 2007-01-08 13:01:40.901 TVRec(1): StartRecording(BBC News; Weather)
 2007-01-08 13:01:40.901 TVRec(1): ClearFlags(AskAllowRecording,) ->
 RunMainLoop,
 2007-01-08 13:01:41.015 TVRec(1): StartedRecording(0x82f8c98)
 fn(/mnt/store/video/mythtv/2001_20070108130200.mpg)
 2007-01-08 13:01:41.017 TVRec(1): ClearFlags(CancelNextRecording,) ->
 RunMainLoop,
 2007-01-08 13:01:41.018 TVRec(1): Changing from None to RecordingOnly
 2007-01-08 13:01:41.018 TVRec(1):
 ClearFlags(FrontendReady,CancelNextRecording,) -> RunMainLoop,
 2007-01-08 13:01:41.018 TVRec(1): SetFlags(AskAllowRecording,) ->
 RunMainLoop,AskAllowRecording,
 2007-01-08 13:01:41.018 TVRec(1): Request: Program(yes) channel() input()
 flags(Recording,)
 2007-01-08 13:01:41.022 TVRec(1): HW Tuner: 1->1
 2007-01-08 13:01:41.022 TVRec(1): ClearFlags(PENDINGACTIONS,) ->
 RunMainLoop,AskAllowRecording,
 2007-01-08 13:01:41.023 TVRec(1): Starting Signal Monitor
 2007-01-08 13:01:41.023 TVRec(1): SetupSignalMonitor(1, 0)
 2007-01-08 13:01:41.029 TVRec(1): Signal monitor successfully created
 2007-01-08 13:01:41.029 TVRec(1): Setting up table monitoring.
 2007-01-08 13:01:41.039 Using profile 'Live TV' to record
 2007-01-08 13:01:41.039 TVRec(1): DVB service_id 4166 on net_id 9018 tsid
 4102
 2007-01-08 13:01:41.039 TVRec(1): Successfully set up DVB table
 monitoring.
 2007-01-08 13:01:41.048 TVRec(1): SetFlags(SignalMonitorRunning,) ->
 RunMainLoop,AskAllowRecording,SignalMonitorRunning,
 2007-01-08 13:01:41.048 TVRec(1): ClearFlags(WaitingForSignal,) ->
 RunMainLoop,AskAllowRecording,SignalMonitorRunning,
 2007-01-08 13:01:41.049 TVRec(1): SetFlags(WaitingForSignal,) ->
 RunMainLoop,AskAllowRecording,WaitingForSignal,SignalMonitorRunning,
 2007-01-08 13:01:41.049 TVRec(1): ClearFlags(NeedToStartRecorder,) ->
 RunMainLoop,AskAllowRecording,WaitingForSignal,SignalMonitorRunning,
 2007-01-08 13:01:41.049 TVRec(1): SetFlags(NeedToStartRecorder,) ->
 RunMainLoop,AskAllowRecording,WaitingForSignal,NeedToStartRecorder,SignalMonitorRunning,
 2007-01-08 13:01:41.172 CreatePATSingleProgram()
 2007-01-08 13:01:41.173 PAT in input stream
 2007-01-08 13:01:41.173 Program Association Table
  PSIP tableID(0x0) length(37) extension(0x1006)
       version(25) current(1) section(0) last_section(0)
          tsid: 4102
  programCount: 7
   program number 0 has PID 0x  10   data  0x 0 0x 0 0xe0 0x10
   program number 4166 has PID 0x1046   data  0x10 0x46 0xf0 0x46
   program number 4351 has PID 0x10ff   data  0x10 0xff 0xf0 0xff
   program number 4415 has PID 0x113f   data  0x11 0x3f 0xf1 0x3f
   program number 4479 has PID 0x117f   data  0x11 0x7f 0xf1 0x7f
   program number 4671 has PID 0x123f   data  0x12 0x3f 0xf2 0x3f
   program number 4230 has PID 0x1086   data  0x10 0x86 0xf0 0x86

 2007-01-08 13:01:41.174 desired_program(4166) pid(0x1046)
 2007-01-08 13:01:41.174 pmt_pid(0x1046)
 2007-01-08 13:01:41.174 PAT for output stream
 2007-01-08 13:01:41.174 Program Association Table
  PSIP tableID(0x0) length(13) extension(0x1006)
       version(25) current(1) section(0) last_section(0)
          tsid: 4102
  programCount: 1
   program number 1 has PID 0x1046   data  0x 0 0x 1 0xf0 0x46

-- 
Ticket URL: <http://cvs.mythtv.org/trac/ticket/2664#comment:7>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list