Opened 9 years ago

Closed 9 years ago

#8510 closed defect (invalid)

Severe memory leak mythbackend

Reported by: andrew.berridge@… Owned by: Isaac Richards
Priority: minor Milestone: unknown
Component: MythTV - General Version: 0.23rc1
Severity: low Keywords: mythbackend memory leak
Cc: Ticket locked: no

Description

Not sure what's unique about my system, but... Using Fedora 13, mythbackend 0.23-1.fc13 (r24509), I get a severe memory leak, which renders my system unusable.

It seems to have something to do with the EIT scan. I get this (with verbose all). The Addflags message just continues ad infinitum and the memory usage goes up & up! This is a showstopper for me. I just can't use myth at all...

2010-05-29 17:48:09.470 Using profile 'Live TV' to record 2010-05-29 17:48:09.470 TVRec(7): DVB service_id 9613 on net_id 2 tsid 2043 2010-05-29 17:48:09.470 DTVSM(/dev/dvb/adapter0/frontend0)::SetDVBService(transport_id: 2043, network_id: 2, service_id: 9613): 2010-05-29 17:48:09.470 SM(/dev/dvb/adapter0/frontend0)::RemoveFlags?: Seen(PMT,SDT,Crypt,) Match(PMT,SDT,Crypt,) Wait() 2010-05-29 17:48:09.470 SM(/dev/dvb/adapter0/frontend0)::AddFlags?: Seen() Match() Wait(PMT,SDT,) 2010-05-29 17:48:09.470 SM(/dev/dvb/adapter0/frontend0)::AddFlags?: Seen() Match() Wait(PMT,SDT,Pos,) 2010-05-29 17:48:09.470 TVRec(7): Successfully set up DVB table monitoring. 2010-05-29 17:48:09.470 SM(/dev/dvb/adapter0/frontend0)::Start: begin 2010-05-29 17:48:09.470 SM(/dev/dvb/adapter0/frontend0)::AddFlags?: Seen() Match() Wait(Sig,) 2010-05-29 17:48:09.470 SM(/dev/dvb/adapter0/frontend0)::RemoveFlags?: Seen() Match() Wait(Pos,) 2010-05-29 17:48:09.471 SM(/dev/dvb/adapter0/frontend0)::Start: end 2010-05-29 17:48:09.471 TVRec(7): SetFlags?(SignalMonitorRunning?,) -> RunMainLoop?,SignalMonitorRunning?,EITScannerRunning, 2010-05-29 17:48:09.471 TVRec(7): ClearFlags?(WaitingForSignal?,) -> RunMainLoop?,SignalMonitorRunning?,EITScannerRunning, 2010-05-29 17:48:09.471 TVRec(7): SetFlags?(WaitingForSignal?,) -> RunMainLoop?,WaitingForSignal?,SignalMonitorRunning?,EITScannerRunning, 2010-05-29 17:48:09.471 TVRec(7): ClearFlags?(NeedToStartRecorder?,) -> RunMainLoop?,WaitingForSignal?,SignalMonitorRunning?,EITScannerRunning, 2010-05-29 17:48:09.471 TVRec(7): SetChannel?(9613) -- end 2010-05-29 17:48:09.471 EITScanner (7): Now looking for EIT data on multiplex of channel 9613 2010-05-29 17:48:09.471 EITCache: Pruning all entries that ended before UTC 2010-05-28T17:53:18 2010-05-29 17:48:09.471 EITCache: Deleting old cache entries from the database 2010-05-29 17:48:09.473 MSqlQuery::exec(DBManager0) DELETE FROM eit_cache WHERE endtime < '1275065598' 2010-05-29 17:48:09.534 SM(/dev/dvb/adapter0/frontend0)::AddFlags?: Seen() Match() Wait(Sig,) 2010-05-29 17:48:09.593 SM(/dev/dvb/adapter0/frontend0)::AddFlags?: Seen() Match() Wait(Sig,) 2010-05-29 17:48:09.653 SM(/dev/dvb/adapter0/frontend0)::AddFlags?: Seen() Match() Wait(Sig,) 2010-05-29 17:48:09.712 SM(/dev/dvb/adapter0/frontend0)::AddFlags?: Seen() Match() Wait(Sig,) 2010-05-29 17:48:09.773 SM(/dev/dvb/adapter0/frontend0)::AddFlags?: Seen() Match() Wait(Sig,) 2010-05-29 17:48:09.832 SM(/dev/dvb/adapter0/frontend0)::AddFlags?: Seen() Match() Wait(Sig,) 2010-05-29 17:48:09.892 SM(/dev/dvb/adapter0/frontend0)::AddFlags?: Seen() Match() Wait(Sig,) 2010-05-29 17:48:09.951 SM(/dev/dvb/adapter0/frontend0)::AddFlags?: Seen() Match() Wait(Sig,) 2010-05-29 17:48:10.011 SM(/dev/dvb/adapter0/frontend0)::AddFlags?: Seen() Match() Wait(Sig,) 2010-05-29 17:48:10.071 SM(/dev/dvb/adapter0/frontend0)::AddFlags?: Seen() Match() Wait(Sig,) 2010-05-29 17:48:10.130 SM(/dev/dvb/adapter0/frontend0)::AddFlags?: Seen() Match() Wait(Sig,) 2010-05-29 17:48:10.190 SM(/dev/dvb/adapter0/frontend0)::AddFlags?: Seen() Match() Wait(Sig,) 2010-05-29 17:48:10.250 SM(/dev/dvb/adapter0/frontend0)::AddFlags?: Seen() Match() Wait(Sig,) 2010-05-29 17:48:10.310 SM(/dev/dvb/adapter0/frontend0)::AddFlags?: Seen() Match() Wait(Sig,) 2010-05-29 17:48:10.369 SM(/dev/dvb/adapter0/frontend0)::AddFlags?: Seen() Match() Wait(Sig,) 2010-05-29 17:48:10.428 SM(/dev/dvb/adapter0/frontend0)::AddFlags?: Seen() Match() Wait(Sig,) 2010-05-29 17:48:10.488 SM(/dev/dvb/adapter0/frontend0)::AddFlags?: Seen() Match() Wait(Sig,) 2010-05-29 17:48:10.547 SM(/dev/dvb/adapter0/frontend0)::AddFlags?: Seen() Match() Wait(Sig,) 2010-05-29 17:48:10.613 SM(/dev/dvb/adapter0/frontend0)::AddFlags?: Seen() Match() Wait(Sig,) 2010-05-29 17:48:10.673 SM(/dev/dvb/adapter0/frontend0)::AddFlags?: Seen() Match() Wait(Sig,) 2010-05-29 17:48:10.732 SM(/dev/dvb/adapter0/frontend0)::AddFlags?: Seen() Match() Wait(Sig,) 2010-05-29 17:48:10.792 SM(/dev/dvb/adapter0/frontend0)::AddFlags?: Seen() Match() Wait(Sig,) 2010-05-29 17:48:10.851 SM(/dev/dvb/adapter0/frontend0)::AddFlags?: Seen() Match() Wait(Sig,) 2010-05-29 17:48:10.911 SM(/dev/dvb/adapter0/frontend0)::AddFlags?: Seen() Match() Wait(Sig,) 2010-05-29 17:48:10.971 SM(/dev/dvb/adapter0/frontend0)::AddFlags?: Seen() Match() Wait(Sig,)

I have disabled scheduling, housekeeping, autoexpire, jobqueue, upnp to no effect.

Thanks,

Andrew

Change History (3)

comment:1 Changed 9 years ago by Jarod Wilson

There are a few post-release fixes that went in, not sure if any of them are relevant here, but there are updated packages that should land shortly in the rpm fusion repos.

comment:2 Changed 9 years ago by danielk

Priority: criticalminor
Severity: highlow
Status: newinfoneeded_new

Please attach your valgrind logs.

comment:3 Changed 9 years ago by robertm

Resolution: invalid
Status: infoneeded_newclosed

No reponse.

Note: See TracTickets for help on using tickets.