This is the mail archive of the cygwin-apps@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[FWD] [ mingw-Bugs-616059 ] Win Callbacks/C++


Oscar Fuentes has discovered a serious problem with DWARF2 exception
handling in GCC in context of windows messages,  reported below and discussed
in
several posts to mingw users.  
This will also affect Cygwin apps that use C++ exceptions in
combination with windows callbacks.

The immediate kneejerk is to revert to sjlj exception handling.

What does Cygwin want to do?   IMO, an even worse bug would be to have
mingw use sjlj and cygwin use Dwarf2, or vice-versa.

Danny


----- Original Message -----
From: <noreply@sourceforge.net>
To: <noreply@sourceforge.net>
Sent: Sunday, 29 September 2002 07:54
Subject: [Mingw-notify] [ mingw-Bugs-616059 ] Win Callbacks/C++
exceptions crashes app


> This list is used to send updates of submitted patches, bug reports
and file releases.  You are discouraged from posting to this list.  If
you wish to unsubscribe you can do so at
https://lists.sourceforge.net/lists/listinfo/mingw-notify.Bugs item
#616059, was opened at 2002-09-29 06:54
> You can respond by visiting:
>
https://sourceforge.net/tracker/?func=detail&atid=102435&aid=616059&grou
p_id=2435
>
> Category: None
> Group: None
> Status: Open
> Resolution: None
> Priority: 5
> Submitted By: Oscar Fuentes (oscarfuentes)
> Assigned to: Nobody/Anonymous (nobody)
> Summary: Win Callbacks/C++ exceptions crashes app
>
> Initial Comment:
> G++ 3.2 configured with DWARF2 exception handling (as distributed by
www.mingw.org).
>
> When a C++ exception is thrown from a Windows Callback (or, more
generally, the exception needs to cross a Windows callback on its way to
the exception handler) the application dies before reaching the
exception handler.
>
> On the attached test case, an exception is thrown when you close the
window. The exception handler is never reached.
>
> ----------------------------------------------------------------------
>
> You can respond by visiting:
>
https://sourceforge.net/tracker/?func=detail&atid=102435&aid=616059&grou
p_id=2435
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> MinGW-notify mailing list
> MinGW-notify@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mingw-notify


http://mobile.yahoo.com.au - Yahoo! Messenger for SMS
- Always be connected to your Messenger Friends


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]