Mailing List archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[vdr] Re: Watchdog PANIC (fix)
Stefan Huelswitt wrote:
>
> 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:
You're definitely right, this has been missing all the time!
Thanks
Klaus
--
_______________________________________________________________
Klaus Schmidinger Phone: +49-8635-6989-10
CadSoft Computer GmbH Fax: +49-8635-6989-40
Hofmark 2 Email: kls@cadsoft.de
D-84568 Pleiskirchen, Germany URL: www.cadsoft.de
_______________________________________________________________
Home |
Main Index |
Thread Index