This is the mail archive of the java@gcc.gnu.org mailing list for the Java 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]

Re: Reminder: Illegal Package-Private Accesses in libgcj


On Nov 3, 2003, at 7:23 PM, Ranjit Mathew wrote:

The problem was that the callback was called
from within Win32 OS/system-lib code that
of course didn't have any EH frame information
causing the libgcc unwinder to abort the program.

The fix probably would have been to write
a (perhaps complicated) MD_FALLBACK_FRAME_STATE_FOR
for this and other such scenarios.

I don't think that would be necessary, at least for Java. It seems like a reasonable restriction (for us) not to try and throw through OS frames.


The problematic code idiom seems to be common
for Win32 GUI programs in C++, making DW2
useless for MinGW for the time being.

So, is the problem:


a) there is/was a bug in the unwinder that causes it to try and throw into OS frames even though you have an enclosing try block, or
b) common C++ code on windows expects to be able to throw through the OS ?


Regards

Bryce



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