gcj win32 frustration

Rutger Ovidius r_ovidius@eml.cc
Tue Aug 3 14:35:00 GMT 2004


Hi,

I do have addr2line and c++filt in my path. I have installed
mingw-utils from mingw.org and it doesn't seem to make a difference.
The stack is printed on the dos console, not in any popup box.

I compile on cygwin, and therefore my dir is e:\cygwin\datal, but
under cygwin it looks like e:\datal I suppose.  I have copied all of
e:\cygwin\datal to e:\datal and it makes no difference to the
stacktrace.

I use the gdb snapshot from mingw.org. Maybe they aren't very up to
date with gdb builds. I'll try to build cvs sometime but I don't know
how smooth the build is on win32.

I really believe the NPE stacktrace will be useless -- I used to
see similar libgcc2.c related stack traces with completely unrelated
crashes (SWT unable to load an image would yield a similar useless
trace).

So, I think I'm still stuck.

Regards,
Rutger Ovidius


Monday, August 2, 2004, 11:47:07 PM, you wrote:

RM> Rutger Ovidius wrote:
RM> [...]
>> The NPE looks like this:
>> java.lang.NullPointerException
>>    at 0x0062c9be (E:\datal\gcc\gcc\gcc\libgcc2.c)
>>    at 0x0062ceb2 (E:\datal\gcc\gcc\gcc\libgcc2.c)
>>    at 0x0062cf63 (E:\datal\gcc\gcc\gcc\libgcc2.c)
>>    at 0x0062e27d (E:\datal\gcc\gcc\gcc\libgcc2.c)
RM> [...]

RM> Do make sure that you have both "addr2line" as
RM> well as "c++filt" in your PATH before you start
RM> the executable. If possible, also retain the GCC
RM> sources in "E:\data1\gcc" as seen above.

RM> You can use the "mingw-utils" package by Jose
RM> Fonseca and press "Cancel" on the NPE dialogue
RM> box to see more details about the error.

RM> As for GDB, with the current GCC CVS, you *must*
RM> use at least 6.1.1 or the soon to be released
RM> 6.2.

RM> Hope this helps (a bit at least),
RM> Ranjit.






More information about the Java mailing list