Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vdr] Re: UPT-Error related with vdr-1.1.27-1.1.28-c.diff



Martin Holst wrote:
> 
> Klaus Schmidinger wrote:
> > [...]
> > > > You might want to use the 'status' plugin that comes with VDR to
> > > > monitor the devices (maybe add some more output, depending
> > > > on what you want to test).
> > >
> > > With that plugin I could log, to which channels the secondary device
> > > switches. Now I noticed, that I get for every channel switch two
> > > log-entries. The first one is a channel switch to channel 0 (which
> > > shouldn't exist ;-) and the second one switch to the channel, which
> > > was intended. What's the reason for that behaviour?
> >
> > From VDR/status.h:
> > [...]
> > So the first call is done to allow a plugin to detach cReceivers from the
> > device or do anything else that might be necessary _before_ the actual
> > channel switching is done. You may just ignore that call.
> 
> Ok.
> 
> > > Is it possible to undo the changes in the c-diff in a recent vdr-version
> > > without to much effort, so that we can test this?
> >
> > I'm afraid you will have to do this manually. It shouldn't be too hard,
> > just a lengthy editor session...
> 
> Now I've undo the changes of the c-diff in vdr 1.2.5. VDR compiles without
> an error message but whenever I start vdr, I'll get an segmentation fault.
> As I can see in my log, the last entry is the (Switching to channel 30).
> I also added some printf-statements to the main-loop of vdr and it seems
> as this loop runs several times before the segmentation fault occurs.
> Any suggestions?

Sounds like you're dereferencing a NULL pointer.
Maybe a backtrace in gdb will tell you where this happens.

> I think the problem is, that there are some successive changes in the
> CAM-handling between 1.1.28 and 1.2.5. Maybe it is easier to undo the
> changes in vdr 1.1.28 and check if the problem is solved.

Yes, that may be true.

Klaus


-- 
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe vdr" as subject.



Home | Main Index | Thread Index