Added a header to the backtrace

This commit is contained in:
Klaus Schmidinger 2025-01-15 08:43:12 +01:00
parent 8fb6a2b24b
commit 657e5dda5d
3 changed files with 5 additions and 2 deletions

View File

@ -3373,6 +3373,7 @@ Stefan Hofmann <stefan.hofmann@t-online.de>
for adding vdrrootdir and incdir to vdr.pc for adding vdrrootdir and incdir to vdr.pc
for fixing some typos in the translation files for fixing some typos in the translation files
for adding 1 to Utf8BufSize() for worst case for adding 1 to Utf8BufSize() for worst case
for adding a header to the backtrace
Stefan Blochberger <Stefan.Blochberger@gmx.de> Stefan Blochberger <Stefan.Blochberger@gmx.de>
for suggesting to automatically display the progress display whenever replay of a for suggesting to automatically display the progress display whenever replay of a

View File

@ -10034,7 +10034,7 @@ Video Disk Recorder Revision History
(suggested by Stefan Hofmann). (suggested by Stefan Hofmann).
- Added vdrrootdir and incdir to vdr.pc (thanks to Stefan Hofmann). - Added vdrrootdir and incdir to vdr.pc (thanks to Stefan Hofmann).
2025-01-13: 2025-01-15:
- Removed all DEPRECATED_* code. - Removed all DEPRECATED_* code.
- Fixed error checking in case the fps value can't be determined by the frame parser. - Fixed error checking in case the fps value can't be determined by the frame parser.
@ -10052,3 +10052,4 @@ Video Disk Recorder Revision History
- Added 1 to Utf8BufSize() for worst case (thanks to Stefan Hofmann). - Added 1 to Utf8BufSize() for worst case (thanks to Stefan Hofmann).
- Fixed handling margins for timers that are not VPS controlled and not spawned (thanks - Fixed handling margins for timers that are not VPS controlled and not spawned (thanks
to Markus Ehrnsperger). to Markus Ehrnsperger).
- Added a header to the backtrace (thanks to Stefan Hofmann).

View File

@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and * See the main source file 'vdr.c' for copyright information and
* how to reach the author. * how to reach the author.
* *
* $Id: thread.c 5.2 2024/01/18 13:01:07 kls Exp $ * $Id: thread.c 5.3 2025/01/15 08:43:12 kls Exp $
*/ */
#include "thread.h" #include "thread.h"
@ -597,6 +597,7 @@ cStateLockLog::cStateLockLog(void)
void cStateLockLog::Dump(const char *Name, tThreadId ThreadId) void cStateLockLog::Dump(const char *Name, tThreadId ThreadId)
{ {
dsyslog("--- begin invalid lock sequence report"); dsyslog("--- begin invalid lock sequence report");
dsyslog("TID T C R DR S ST");
int LastFlags = 0; int LastFlags = 0;
for (int i = 0; i < SLL_SIZE; i++) { for (int i = 0; i < SLL_SIZE; i++) {
if (tThreadId tid = logThreadIds[logIndex]) { if (tThreadId tid = logThreadIds[logIndex]) {