This is the mail archive of the glibc-bugs@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/221] New: C++ throw terminates ucontext_t context, instead of returning via uc_link


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]