From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15653 invoked by alias); 16 Jun 2004 09:51:18 -0000 Mailing-List: contact glibc-bugs-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sources.redhat.com Received: (qmail 15593 invoked by uid 48); 16 Jun 2004 09:51:16 -0000 Date: Wed, 16 Jun 2004 09:51:00 -0000 From: "a dot darovskikh at compassplus dot ru" To: glibc-bugs@sources.redhat.com Message-ID: <20040616095113.221.a.darovskikh@compassplus.ru> Reply-To: sourceware-bugzilla@sources.redhat.com Subject: [Bug libc/221] New: C++ throw terminates ucontext_t context, instead of returning via uc_link X-Bugzilla-Reason: CC X-SW-Source: 2004-06/txt/msg00066.txt.bz2 List-Id: 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.