Mailing List archive

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

[vdr] Watchdog PANIC (fix)



Hi,
recently my VDR died several times due to watchdog panics during
cutting process. I can trigger this with the sequence:

- delete a longer recording
- immidiately start watching another recording
- set some marks while watching. You must keep watching at least
  1 hour (DELETEDLIFETIME).
- start cutting
- leave VDR alone

After a minute VDR starts to remove the deleted recording. Due to
high IO load from the cutting process this may take too long and
trigger the watchdog (defaults too 60s for me).

I suggest the fix (linenumbers may not match):

--- vdr.c.orig	Tue Apr  9 16:51:35 2002
+++ vdr.c	Thu Apr 25 20:16:11 2002
@@ -588,7 +588,7 @@
                  Interface->Info(tr("Editing process finished"));
               }
            }
-        if (!*Interact && (!cRecordControls::Active() || ForceShutdown)) {
+        if (!*Interact && ((!cRecordControls::Active() && !cVideoCutter::Active()) || ForceShutdown)) {
            time_t Now = time(NULL);
            if (Now - LastActivity > ACTIVITYTIMEOUT) {
               // Shutdown:


-- 
Stefan Huelswitt
huels@iname.com  | http://home.pages.de/~nathan



Home | Main Index | Thread Index