C.Y.M wrote:
While testing vdr-1.3.20, I have started to have a major problem with
my kernel crashing (total lockup and forced hard reset). This is how I
reproduce the problem:
1) Record a show on a timer
2) Playback a recording *while* vdr is recording something
3) Stop the playback of the recording and instead of vdr returning to
live-tv, it just shows a black screen.
4) Start and stop the playback of the recording a few more times and I
get an irq oops with a full lockup (forcing me to hard reset).
While testing this on a two card system, the black screen was easily
reproducible but not the total lockup. This may be specific to a
single FF card setup. I can not reproduce this to with
vdr-1.3.17+safe threading patches.
Best Regards,
C.Y.M.
I noticed this, too.
This should fix it:
--- dvbdevice.c 2005/02/06 12:30:14 1.117
+++ dvbdevice.c 2005/02/08 11:20:30 1.118
@@ -866,8 +866,10 @@
const tTrackId *TrackId = GetTrack(Type);
if (TrackId && TrackId->id) {
if (IS_AUDIO_TRACK(Type)) {
- pidHandles[ptAudio].pid = TrackId->id;
- SetPid(&pidHandles[ptAudio], ptAudio, true);
+ if (pidHandles[ptAudio].pid) {
+ pidHandles[ptAudio].pid = TrackId->id;
+ SetPid(&pidHandles[ptAudio], ptAudio, true);
+ }
}
else if (IS_DOLBY_TRACK(Type)) {
// Currently this works only in Transfer Mode