[vdr] vdr-1.3.39 segfaults on 'svdrpsend.pl clre'

Klaus Schmidinger Klaus.Schmidinger at cadsoft.de
Mon Jan 16 17:26:10 CET 2006


Malte Schröder wrote:
> On Monday 16 January 2006 15:41, Malte Schröder wrote:
> 
>>Hello,
>>I use infosatepg + tvmovie2vdr to get epg-data some stations.
>>This has been working with vdr-1.3.38, but vdr-1.3.39 segfaults when
>>tvmovie2vdr starts sending the epg-data to vdr.
> 
> 
> Infact vdr segfaults when tvmovie2vdr (or I manually) sends CLRE via svdrp ...

Here's a quick fix for this - I may nned to look further
into this...

--- epg.c       2006/01/15 13:58:30     1.49
+++ epg.c       2006/01/16 16:18:49
@@ -935,7 +935,8 @@
    cSchedulesLock SchedulesLock(true, 1000);
    cSchedules *s = (cSchedules *)Schedules(SchedulesLock);
    if (s) {
-     s->Clear();
+     for (cSchedule *Schedule = s->First(); Schedule; Schedule = s->Next(Schedule))
+         Schedule->Cleanup(INT_MAX);
       return true;
       }
    return false;



Klaus



More information about the vdr mailing list