cvs commit: src/lib/libkse/thread thr_kern.c

Arno J. Klaassen arno at heho.snv.jussieu.fr
Sat Dec 1 05:49:21 PST 2007


Daniel Eischen <deischen at freebsd.org> writes:

> >Arno J. Klaassen wrote:
> >
> > [ ... ]
> > That gives :
> >
> > #0  0x000000080075d151 in _pthread_sigmask (how=3, set=0x813cc6e10, oset=0x0)
> >    at /files/bsd/src7/lib/libkse/thread/thr_sigmask.c:52
> > #1  0x000000080075d103 in _sigprocmask (how=3, set=0x813cc6e10, oset=0x0)
> >    at /files/bsd/src7/lib/libkse/thread/thr_sigprocmask.c:49
> > #2  0x000000080076c423 in _kse_single_thread (curthread=0x813cc6c00)
> >    at /files/bsd/src7/lib/libkse/thread/thr_kern.c:361
> > #3  0x0000000800758f29 in _fork ()
> >    at /files/bsd/src7/lib/libkse/thread/thr_fork.c:101
> > #4  0x0000000801e43158 in jdk_fork_wrapper ()
> >    at ../../../src/solaris/native/java/lang/UNIXProcess_md.c:437
> >
> > Hope this is better
> 
> Yes, this would seem to be a kernel problem, as _get_curthread()
> seems to be returning garbage.

(gdb) p curthread
$1 = (struct pthread *) 0x0


> This is a libkse MD function,
> that relies on %gs (for i386/amd64) to point to something
> that was initialized in the parent.
> 
> Julian, David, got any ideas?

I can publish ti full java_g.core if helpful.

Best,

Arno


More information about the freebsd-java mailing list