Re: vdr-1.7.11 (+ vdr-xine) segfaults

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

 



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@xxxxxx

_______________________________________________
vdr mailing list
vdr@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr

[Index of Archives]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Big List of Linux Books]     [Fedora Users]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux