[mythtv] [mythtv-commits] Ticket #1370: Mythbackend DVB EIT Parser Seg Fault w/ r9109

Stuart Auchterlonie stuarta at squashedfrog.net
Thu Feb 23 23:53:35 UTC 2006


On Thu, Feb 23, 2006 at 11:38:16PM -0000, MythTV wrote:
> #1370: Mythbackend DVB EIT Parser Seg Fault w/ r9109
> ------------------------------------+---------------------------------------
>  Reporter:  a.petersen at telstra.com  |        Owner:  danielk 
>      Type:  defect                  |       Status:  reopened
>  Priority:  minor                   |    Milestone:  0.19    
> Component:  mythtv                  |      Version:  head    
>  Severity:  medium                  |   Resolution:          
> ------------------------------------+---------------------------------------
> Comment (by danielk):
> 
>  Can someone send me the output of the attached patch?
> 
>  It should help me figure out why this is method is failing.

Initial reading of the backtrace & backend log lead me to think that
there is attempts being made to read past the end of the data.

Valgrind seems to confirm this... (numerous occurances)
--

==21144== Use of uninitialised value of size 4 ==21144==    at 0x45FA519: NetworkInformationTable::TransportDescriptorsLength(unsigned) const (dvbtables.h:61)
==21144==    by 0x468D605: NetworkInformationTable::Parse() const (dvbtables.cpp:13)
==21144==    by 0x46A57E0: NetworkInformationTable::NetworkInformationTable(PSIPTable const&) (dvbtables.h:22)
==21144==    by 0x472C57E: SIParser::ParseTable(unsigned char*, int, unsigned short) (siparser.cpp:572)
==21144==    by 0x4733AE1: DVBSIParser::StartSectionReader() (dvbsiparser.cpp:298)
==21144==    by 0x47340D2: DVBSIParser::SystemInfoThread(void*) (dvbsiparser.cpp:102)
==21144==    by 0x5C22F4B: pthread_start_thread (manager.c:310)
==21144==    by 0x5E36929: clone (clone.S:119)

---
==21144== Use of uninitialised value of size 4
==21144==    at 0x45F84B8: MPEGDescriptor::DescriptorLength() const (mpegdescriptors.h:145)
==21144==    by 0x46A9A70: MPEGDescriptor::Parse(unsigned char const*, unsigned) (mpegdescriptors.cpp:16)
==21144==    by 0x4729CEF: SIParser::HandleNIT(NetworkInformationTable const*) (siparser.cpp:975)


Stuart



More information about the mythtv-dev mailing list