[vdr] vdr-1.7.11 (+ vdr-xine) segfaults

Reinhard Nissl rnissl at gmx.de
Wed Jan 27 21:05:36 CET 2010


Hi,

Am 27.01.2010 06:26, schrieb Jouni Karvo:

> A quick google did not tell me how to enable thread numbers in the log. 
> Is it a specific library package to be installed or is it some certain
> kernel option?

Edit VDR's thread.c and replace method cThread::ThreadId() with
the below version:

tThreadId cThread::ThreadId(void)
{
  tThreadId tid = syscall(__NR_gettid);
  if (tid == -1)
     esyslog("ERROR: retrieving thread ID failed: [%d] %s", tid,
strerror(tid));
  return tid;
}

Please report the logged error message.

Bye.
-- 
Dipl.-Inform. (FH) Reinhard Nissl
mailto:rnissl at gmx.de



More information about the vdr mailing list