This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: libgcj problems on panther
- From: Tom Tromey <tromey at redhat dot com>
- To: Andreas Tobler <toa at pop dot agri dot ch>
- Cc: GCC-Java <java at gcc dot gnu dot org>, Andrew Pinski <pinskia at physics dot uc dot edu>
- Date: 11 Nov 2003 13:40:56 -0700
- Subject: Re: libgcj problems on panther
- References: <3FAF9D0A.6010403@pop.agri.ch>
- Reply-to: tromey at redhat dot com
>>>>> "Andreas" == Andreas Tobler <toa@pop.agri.ch> writes:
Andreas> since a few days panther (OS-X 10.3) is out and gives us some nice
Andreas> improvements regarding build speed. Unfortunately we also have a
Andreas> serious problem to run the testsuite in libgcj. It is not only
Andreas> testsuite related.
Andreas> Andrew Pinski found out, if we remove the
Andreas> gnu/gcj/convert/Output_ASCII.class from the buildtree, the app runs
Andreas> with and with out CLASSPATH set. It also runs in the builddir.
Ok, Panther doesn't have a shared libgcj, so Output_ASCII isn't
linked in. So libgcj tries to load the .class file...
Andreas> 262 next = *n;
Andreas> n = (_Jv_MethodChain **) 0x38
Andreas> thread = (struct Thread *) 0x0
This is the immediate cause of the crash. `n' is garbage and
`thread' is null.
I think this happens because we're running this code before the first
thread has been started, so there isn't a valid method chain.
We aren't really set up to be doing this sort of thing. You could try
working around this crash somehow, but there's no guarantee that you
won't run into another one afterward...
Tom