From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mumit Khan To: 028587726-0001 Cc: cygwin@sourceware.cygnus.com Subject: Re: STATUS_ACCESS_VIOLATION in egcs-1.1.1 (cygwin) compiled program Date: Tue, 09 Mar 1999 15:21:00 -0000 Message-id: In-reply-to: < Pine.SUN.3.93.990309171422.25021C-100000@modi.xraylith.wisc.edu > References: X-SW-Source: 1999-03/msg00302.html On Tue, 9 Mar 1999, Mumit Khan wrote: > On Wed, 10 Mar 1999, 028587726-0001 wrote: > > > The following program crashes with STATUS_ACCESS_VIOLATION when > > returning a class. Its compiled with egcs-2.91.60 in Cygnus b20.1. It > > does not crash in a LINUX System, compiled with the same Version of the > > egcs compiler. > > If I'm a stupid, tell me. > > This is fixed in upcoming egcs-1.1.2. I'll announce the binaries as soon > as EGCS group announces the source release (hopefully early next week). > Ooops. Sorry, but I was thinking about a similar, but unrelated bug! You may be running into a problem with the exception handling that is win32 specific (or rather specific to targets that are using setjmp/ longjmp based exception handling). A workaround is to turn on optimization. I'll take a closer look soon and let you know. Regards, Mumit -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe@sourceware.cygnus.com From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mumit Khan To: 028587726-0001 Cc: cygwin@sourceware.cygnus.com Subject: Re: STATUS_ACCESS_VIOLATION in egcs-1.1.1 (cygwin) compiled program Date: Wed, 31 Mar 1999 19:45:00 -0000 Message-ID: References: X-SW-Source: 1999-03n/msg00302.html Message-ID: <19990331194500.-lhHbt0P9paKkOOY9P0EBwkdB0B5YgbU2nJdy6rR6JE@z> On Tue, 9 Mar 1999, Mumit Khan wrote: > On Wed, 10 Mar 1999, 028587726-0001 wrote: > > > The following program crashes with STATUS_ACCESS_VIOLATION when > > returning a class. Its compiled with egcs-2.91.60 in Cygnus b20.1. It > > does not crash in a LINUX System, compiled with the same Version of the > > egcs compiler. > > If I'm a stupid, tell me. > > This is fixed in upcoming egcs-1.1.2. I'll announce the binaries as soon > as EGCS group announces the source release (hopefully early next week). > Ooops. Sorry, but I was thinking about a similar, but unrelated bug! You may be running into a problem with the exception handling that is win32 specific (or rather specific to targets that are using setjmp/ longjmp based exception handling). A workaround is to turn on optimization. I'll take a closer look soon and let you know. Regards, Mumit -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe@sourceware.cygnus.com