[opensuse-programming] pthread cleanup handler not called on pthread_cancel and sometimes pthread_exit
Hi, Since going to opensuse 10.2 we have found a problem with pthread cleanup handlers not being called on pthread_cancel and under certain conditions on pthread_exit from within C++ programs. The issue is that cleanup handlers put onto a threads cleanup stack via pthread_cleanup_push() should be called when a thread is canceled or exits. In some cases that is not happening. This only appears to be an issue with C++ programs that have exceptions enabled (default). It doesn't happen with C programs or if exceptions are disabled by using -fno-exceptions. This is not a viable solution. The issue is well documented as a glibc bug here: http://sourceware.org/bugzilla/show_bug.cgi?id=4123, so I won't repeat all of the details here. Unfortunately, this is a critical bug and it has been sitting open since March 2 without any visible activity other than my recent activity. Does anyone have suggestions about how to possibly work around this issue or to help move things along? Thanks, -- kr --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-programming+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-programming+help@opensuse.org
On Tue, 11 Sep 2007 08:58:21 -0500, K.R. Foley wrote:
The issue is well documented as a glibc bug here: http://sourceware.org/bugzilla/show_bug.cgi?id=4123,
You might get a better response by entering a bug in https://bugzilla.novell.com that references the above URL. Philipp --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-programming+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-programming+help@opensuse.org
Philipp Thomas wrote:
On Tue, 11 Sep 2007 08:58:21 -0500, K.R. Foley wrote:
The issue is well documented as a glibc bug here: http://sourceware.org/bugzilla/show_bug.cgi?id=4123,
You might get a better response by entering a bug in https://bugzilla.novell.com that references the above URL.
Philipp
I'm really sorry for my late response to this. I did try this before. Before going any further let me just say that I despise Novell's Bugzilla. It is down quite a bit and is extremely slow, almost like an after-thought on their part. I did however try once again, because your advice was sound. Before entering a new bug report I searched once again for an existing bug on this topic. After about an hour's worth of failures I finally got a search that included this bug https://bugzilla.novell.com/show_bug.cgi?id=289641 which appears to be exactly the same issue, just reported differently. I have now added a reference to the bug mentioned above. Thanks, -- kr --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-programming+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-programming+help@opensuse.org
On Sun, 16 Sep 2007 09:47:28 -0500, K.R. Foley wrote:
Before going any further let me just say that I despise Novell's Bugzilla. It is down quite a bit and is extremely slow, almost like an after-thought on their part.
I know, I experience this daily :( I have no idea where the bottleneck is.
https://bugzilla.novell.com/show_bug.cgi?id=289641 which appears to be exactly the same issue, just reported differently. I have now added a reference to the bug mentioned above.
I've added myself to the CC of that bug, let's see if this does get resolved. AFAICT, this seems to be a rather trickery matter. Philipp --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-programming+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-programming+help@opensuse.org
participants (2)
-
K.R. Foley
-
Philipp Thomas