www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/07/22/20:22:39

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00
X-Spam-Check-By: sourceware.org
Message-ID: <4A67AD3A.8060800@sbcglobal.net>
Date: Thu, 23 Jul 2009 00:22:18 +0000
From: Greg Chicares <gchicares AT sbcglobal DOT net>
User-Agent: Thunderbird 2.0.0.21 (Windows/20090302)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: (g++) program crashes when I throw an exception in a separate thread
References: <20090722200521 DOT zftez7gasggsk0gw AT webmail DOT mit DOT edu>
In-Reply-To: <20090722200521.zftez7gasggsk0gw@webmail.mit.edu>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On 2009-07-23 00:05Z, Joshua John Bialkowski wrote:
> 
> I'm using g++ (GCC) version 3.4.4 from the cygwin installer, and I've run in to
> this very confusing problem. I'm compiling with the -mno-cygwin option
[...]
> The problem I have is that when I launch a separate thread, and then throw an
> exception in that separate thread, my program will crash... even if I catch
> that exception.

Are you compiling with '-mthreads'?

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019