This is the mail archive of the
glibc-bugs@sources.redhat.com
mailing list for the glibc project.
[Bug libc/221] New: C++ throw terminates ucontext_t context, instead of returning via uc_link
- From: "a dot darovskikh at compassplus dot ru" <sourceware-bugzilla at sources dot redhat dot com>
- To: glibc-bugs at sources dot redhat dot com
- Date: 16 Jun 2004 09:51:16 -0000
- Subject: [Bug libc/221] New: C++ throw terminates ucontext_t context, instead of returning via uc_link
- Reply-to: sourceware-bugzilla at sources dot redhat dot com
When an exception occurs in another execution thread
created with makecontext(), it causes program to exit
with SIGABRT, instead of being catched in the main thread.
Returning from this function works OK. I use recent GCC (3.4.0),
and, as far as I understand, the problem is somewhere inside
_Unwind_RaiseException, which doesn't check if it's another context.
The test case is included.
--
Summary: C++ throw terminates ucontext_t context, instead of
returning via uc_link
Product: glibc
Version: 2.3.3
Status: NEW
Severity: normal
Priority: P2
Component: libc
AssignedTo: gotom at debian dot or dot jp
ReportedBy: a dot darovskikh at compassplus dot ru
CC: glibc-bugs at sources dot redhat dot com
GCC host triplet: i686-pc-linux-gnu
http://sources.redhat.com/bugzilla/show_bug.cgi?id=221
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.