From owner-freebsd-java Sat Oct 26 19:18:27 2002 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3D46737B401 for ; Sat, 26 Oct 2002 19:18:25 -0700 (PDT) Received: from ncsmtp03.ogw.rr.com (ncsmtp03.ogw.rr.com [24.93.67.84]) by mx1.FreeBSD.org (Postfix) with ESMTP id A273243E6A for ; Sat, 26 Oct 2002 19:18:24 -0700 (PDT) (envelope-from mmercer@nc.rr.com) Received: from mail4.nc.rr.com (fe4 [24.93.67.51]) by ncsmtp03.ogw.rr.com (8.12.5/8.12.2) with ESMTP id g9R2I3iZ001134; Sat, 26 Oct 2002 22:18:03 -0400 (EDT) Received: from nc.rr.com ([24.74.128.130]) by mail4.nc.rr.com with Microsoft SMTPSVC(5.5.1877.757.75); Sat, 26 Oct 2002 22:18:29 -0400 Message-ID: <3DBB4CEA.E0DC7E1C@nc.rr.com> Date: Sat, 26 Oct 2002 22:18:18 -0400 From: Michael E Mercer Reply-To: mmercer@nc.rr.com X-Mailer: Mozilla 4.61 [en] (X11; U; FreeBSD 4.7-STABLE i386) X-Accept-Language: en MIME-Version: 1.0 To: Greg Lewis , freebsd-java@freebsd.org Subject: Re: LimeWire crash gdb information References: <3DBAE791.27A93619@nc.rr.com> <20021027083816.B10962@misty.eyesbeyond.com> <3DBB49F8.941D3E09@nc.rr.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org 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