From 39294e0147ef76cf6bf239f23f095836e3c65f6d Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sun, 25 Jun 2017 12:10:19 +0200 Subject: [PATCH] Added a note to the log, indicating that no further invalid lock sequences will be reported until VDR is restarted --- HISTORY | 2 ++ thread.c | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/HISTORY b/HISTORY index 06139383..d82501ce 100644 --- a/HISTORY +++ b/HISTORY @@ -9154,3 +9154,5 @@ Video Disk Recorder Revision History so plugin authors should switch to the new one. - Now using readdir() instead of readdir_r(), if GLIBC version 2.24 or newer is used (suggested by Frank Neumann). +- Added a note to the log, indicating that no further invalid lock sequences will be + reported until VDR is restarted. diff --git a/thread.c b/thread.c index 5ab5f615..8fc23400 100644 --- a/thread.c +++ b/thread.c @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: thread.c 4.10 2017/06/22 15:10:42 kls Exp $ + * $Id: thread.c 4.11 2017/06/25 12:08:16 kls Exp $ */ #include "thread.h" @@ -634,6 +634,7 @@ void cStateLockLog::Dump(const char *Name, tThreadId ThreadId) dsyslog("full backtrace:"); cBackTrace::BackTrace(NULL, 2); dsyslog("--- end invalid lock sequence report"); + dsyslog("--- THERE WILL BE NO FURTHER REPORTS UNTIL VDR IS RESTARTED!"); fprintf(stderr, "invalid lock sequence at %s\n", *DayDateTime(time(NULL))); }