[LaunchMON-devel] Code added to work around a bug in NPTL POSIX thread debug library
Brought to you by:
dongahn
|
From: Dong H. A. <ah...@ll...> - 2009-10-30 20:18:44
|
FYI, There appears to be a bug in a version of the NPTL thread debug library where its td_thr_get_info call (a call to provide thread-related information to the debugger. That function) has a conditional statement whose condition is determined based on an uninitialized value. Looking at its source code, this condition seem to only occur when the target thread is the main thread. So, I am working around this by not relying on this call for the main thread. I've added the work around to the main 0.7 branch. So, if you see some odd intermittent thread/process tracing errors, you might want to pick this up from the main branch. Best, Dong |