This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: gcj-mingw32: it compiles, it runs, it segfaults [found the culprit!]
- From: Adam Megacz <gcj at lists dot megacz dot com>
- To: java at gcc dot gnu dot org
- Date: 11 Dec 2001 14:20:12 -0500
- Subject: Re: gcj-mingw32: it compiles, it runs, it segfaults [found the culprit!]
- Organization: Myself
- References: <Pine.LNX.4.10.10112110010110.7123-100000@mars.deadcafe.org>
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