This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Major bug -- Exception handling broken
- To: <cygwin at sourceware dot cygnus dot com>
- Subject: Major bug -- Exception handling broken
- From: "Ross Smith" <ross dot s at ihug dot co dot nz>
- Date: Wed, 31 May 2000 11:46:25 +1200
Exception handling in g++ is totally broken in the current Cygwin
release. Almost any program that uses exceptions crashes:
class Foo {};
int main() {
try { throw Foo(); }
catch (const Foo&) { return 0; }
}
$ g++ foo.cpp -o foo
$ ./foo
0 [main] foo 1007 handle_exceptions: Exception: STATUS_ACCESS_VIOLATION
5052 [main] foo 1007 stackdump: Dumping stack trace to foo.exe.stackdump
System is NT4+sp6a; CPU is PIII/450; Cygwin installation is straight
from the current setup.exe. If you need any more details let me know.
(I reported this last week, but nobody paid any attention.)
--
Ross Smith <ross.s@ihug.co.nz> The Internet Group, Auckland, New Zealand
========================================================================
"So that's 2 T-1s and a newsfeed ... would you like clues with that?"
-- Peter Da Silva
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com