(g++) program crashes when I throw an exception in a separate thread

Greg Chicares gchicares@sbcglobal.net
Thu Jul 23 02:47:00 GMT 2009


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



More information about the Cygwin mailing list