Bug Report no. 38 |
Reported ByBjorn Wennberg Date18 Nov 1998 Platformsx86 linux VersionomniORB 2.6.1 or earlier DescriptionWith the appropriate patches to gdb and glibc, it should be possible to debug a multithreaded program on x86 linux. For example, one should be able to debug an omniORB2 program using gdb that comes with x86 Redhat 5.2. However, when the debugger is used to debug an omniORB2 program, for example eg3_impl, the omniORB2 program throws an exception from within the omnithread library. The reason why this is happening is because the pthread library in glibc-2.0.x returns with errno=EINTR in pthread_cond_timedwait(). This is an unexpected behaviour and does not conform to the POSIX specification. The patch below is a workaround to cope with this behaviour. With the patch applied, it is now possible, for the first time, to debug omniORB2 programs on linux! PatchApply this patch. The patch changes src/lib/omnithread/posix.cc. Action
|
|
For comments, feedback, etc, please see the 'Keeping in touch' page. |