[mythtv-commits] Re: Ticket #793: mythbackend segfault at end of every recording (DVB)

MythTV mythtv at cvs.mythtv.org
Mon Dec 12 00:34:56 EST 2005


#793: mythbackend segfault at end of every recording (DVB)
------------------------------+---------------------------------------------
 Reporter:  jppoet at gmail.com  |        Owner:  ijr
     Type:  defect            |       Status:  new
 Priority:  critical          |    Milestone:     
Component:  mythtv            |      Version:     
 Severity:  high              |   Resolution:     
------------------------------+---------------------------------------------
Comment (by jppoet at gmail.com):

 In
   void DTVRecorder::BufferedWrite(const TSPacket &tspacket)

 a call is made to
   ringBuffer->Write(tspacket.data(), TSPacket::SIZE);

 At the end of a recording, but ringBuffer == NULL.

 Changing

   ringBuffer->Write(tspacket.data(), TSPacket::SIZE);

 To

   if (ringBuffer)
       ringBuffer->Write(tspacket.data(), TSPacket::SIZE);

 will probably fix the segfault, but does this indicate a more serious
 problem?

 thanks,

 John

-- 
Ticket URL: <http://cvs.mythtv.org/trac/ticket/793>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list