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: gcj-mingw32: it compiles, it runs, it segfaults [found the culprit!]



Jeff Sturm <jsturm@one-point.com> writes:
> Urg.  That's no help.  You need to get the faulting PC somehow.  On a
> Windows NT machine you could extract that from C:\WINNT\DRWATSON.LOG
> (IIRC).  I have no idea what the equivalent is on Windows 98 though.

Hey, thanks everybody for your help with this. I reverted to
printf-and-commenting-stuff-out debugging mode today on my morning
BART ride and I managed to drill all the way down to where the error
is happening: System.out.println() causes the program to fail in a
really bizarre way -- just a "program aborted" -- no exceptions, no
useful information yielded by gdb. I had to trace all the way through
jvgenmain->prims->natFirstThread to find this out, though =)

I'll post more info and a fix when I have it. Suffice it to say that
it seems that all the other gcj machinery is working properly on
mingw32... at least in single threaded mode without exceptions... =)

  - a


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