Mailing List archive

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

[vdr] NPTL with vdr-1.3.15 may be causing problems



I have been using NPTL without any apparent major problems since VDR recently began enabling support for it. VDR (1.3.14) seemed to be able to handle NPTL except I did notice that there were a few "ERROR: thread %ld won't end (waited %d seconds) - cancelling it..." errors in the logs once in a while. But, since I have been using vdr-1.3.15, it seems to crash (sometimes) when NPTL is enabled and a timer goes off to record. I know I have mentioned this already in several mail threads with "questionable" topics, but perhaps NPTL has something to do with my "ERROR: video data stream broken" errors. I have now disabled NPTL and I am waiting to see if that fixes the problems I am having with timers crashing VDR. Perhaps this is why Klaus does not see any problems because he is not testing it with NPTL enabled. VDR (1.3.15) with NPTL disabled has been running now for 12 hours with out crashing and with one successfull timed recording. I do not know if this is the actual cause of the problem, but it seems to be the only major difference between my test scenario and Klaus'.

BTW, there is a spelling error in thread.c:

--- thread.c.orig 2004-11-03 13:31:08.000000000 -0800
+++ thread.c 2004-11-03 13:31:24.000000000 -0800
@@ -275,7 +275,7 @@
return;
cCondWait::SleepMs(10);
}
- esyslog("ERROR: thread %ld won't end (waited %d seconds) - cancelling it...", childTid, WaitSeconds);
+ esyslog("ERROR: thread %ld won't end (waited %d seconds) - canceling it...", childTid, WaitSeconds);
}
if (childTid) {
pthread_cancel(childTid);




Home | Main Index | Thread Index