public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/221] New: C++ throw terminates ucontext_t context, instead of returning via uc_link
@ 2004-06-16  9:51 a dot darovskikh at compassplus dot ru
  2004-06-16  9:54 ` [Bug libc/221] " a dot darovskikh at compassplus dot ru
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: a dot darovskikh at compassplus dot ru @ 2004-06-16  9:51 UTC (permalink / raw)
  To: glibc-bugs

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.


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2004-08-10  2:26 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-06-16  9:51 [Bug libc/221] New: C++ throw terminates ucontext_t context, instead of returning via uc_link a dot darovskikh at compassplus dot ru
2004-06-16  9:54 ` [Bug libc/221] " a dot darovskikh at compassplus dot ru
2004-06-18  4:56 ` a dot darovskikh at compassplus dot ru
2004-06-18 11:18 ` jakub at redhat dot com
2004-06-18 11:32 ` a dot darovskikh at compassplus dot ru
2004-08-10  2:26 ` drepper at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).