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: libgcj problems on panther


On Nov 12, 2003, at 9:40 AM, Tom Tromey wrote:

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.

Yes, I've seen similar problems. See:


http://gcc.gnu.org/ml/java/2003-11/msg00105.html

Ideally we should fix the underlying mutual-initializer-dependency problem which caused this code to be necessary, but moving the classloader initialization to after the main thread is attached might be a suitable workaround.

Regards

Bryce.



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