Date: Sat, 26 Oct 2002 22:18:18 -0400 From: Michael E Mercer <mmercer@nc.rr.com> To: Greg Lewis <glewis@eyesbeyond.com>, freebsd-java@freebsd.org Subject: Re: LimeWire crash gdb information Message-ID: <3DBB4CEA.E0DC7E1C@nc.rr.com> References: <3DBAE791.27A93619@nc.rr.com> <20021027083816.B10962@misty.eyesbeyond.com> <3DBB49F8.941D3E09@nc.rr.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Me and my haste, never noticed the bang in the check for stillborn below,
so it did get to run....
Michael E Mercer wrote:
> Hello All,
>
> Unless I am mistaken, LimeWire under java_g crashed from a sysAssert call in
> SIMPLE_INITFD macro defined in iomgr.c.
>
> The only difference between the LINUX macro and the "else" is a call to sysAssert.
>
> iomgr.c, line #217:
> sysAssert(fd_flags[newfd] == 0);
>
> >From what I gathered in the comments of the method trace, is the thread
> never actually made it to full life.
>
> jvm.c:
> static void /* first routine called in the new thread */
> ThreadRT0(Hjava_lang_Thread *p)
> {
> ExecEnv *ee = EE();
>
> #ifdef TRACING
> if (trace) {
> jio_fprintf(stderr, "Started thread %p\n", p);
> }
> #endif
>
> if (!unhand(p)->stillborn) {
> /* Otherwise this thread was asked to exit before it got to run */
> execute_java_dynamic_method(ee, (void *)p, "run", "()V");
> <<<<----------------------- HERE
> }
> }
>
> Well since I have no idea what is going on, is there anything else I can do to help?
>
> later
> MeM
>
> Greg Lewis wrote:
>
> > On Sat, Oct 26, 2002 at 03:05:53PM -0400, Michael E Mercer wrote:
> > > Hello peoples,
> > >
> > > I have definitely fell in over my head... I loaded java and java.core in gdb and
> > >
> > > typed "where"
> > >
> > > Now I have absolutely no idea what to do now.
> > >
> > > I would love to help but definitely need some guidance...
> >
> > Since you can now get a core dump with java_g, try examining the core
> > dump from that, you'll find the trace to be much more useful (it will
> > include line numbers, etc.).
> >
> > I'd like to get a look at whatever trace that produces.
> >
> > --
> > Greg Lewis Email : glewis@eyesbeyond.com
> > Eyes Beyond Web : http://www.eyesbeyond.com
> > Information Technology FreeBSD : glewis@FreeBSD.org
> >
> > To Unsubscribe: send mail to majordomo@FreeBSD.org
> > with "unsubscribe freebsd-java" in the body of the message
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-java" in the body of the message
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-java" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3DBB4CEA.E0DC7E1C>
