From owner-freebsd-threads@FreeBSD.ORG Wed Sep 17 12:21:08 2003 Return-Path: Delivered-To: freebsd-threads@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3A0EC16A4B3; Wed, 17 Sep 2003 12:21:08 -0700 (PDT) Received: from mail.pcnet.com (mail.pcnet.com [204.213.232.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 336E443FBD; Wed, 17 Sep 2003 12:21:07 -0700 (PDT) (envelope-from eischen@vigrid.com) Received: from mail.pcnet.com (mail.pcnet.com [204.213.232.4]) by mail.pcnet.com (8.12.8/8.12.1) with ESMTP id h8HJL5Dm010207; Wed, 17 Sep 2003 15:21:06 -0400 (EDT) Date: Wed, 17 Sep 2003 15:21:05 -0400 (EDT) From: Daniel Eischen X-Sender: eischen@pcnet5.pcnet.com To: Morten Rodal In-Reply-To: <20030917184759.GA19852@slurp.rodal.no> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: threads@FreeBSD.org cc: David Xu Subject: Re: libthr/libkse and Mozilla Firebird X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: deischen@FreeBSD.org List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Sep 2003 19:21:08 -0000 On Wed, 17 Sep 2003, Morten Rodal wrote: > I apologize if you guys get this mail twice, but it doesn't seem to > have reached threads@freebsd.org?! So, I'm resending it. > > > On Mon, Sep 15, 2003 at 04:09:03PM -0400, Daniel Eischen wrote: > > On Mon, 15 Sep 2003, Maxim Konovalov wrote: > > > > > On Mon, 15 Sep 2003, 19:56+0400, Maxim Konovalov wrote: > > > > > > > [...] > > > > > Do you have any malloc options set, or any kernel options set > > > > > > > > no malloc options. > > > > > > > > > that are different from GENERIC? > > > > > > > > here you are: http://maxim.int.ru/stuff/GOLF5 > > > > > > > > The only option I am worry about is 'options HZ 1000'. Could it > > > > interfere with libkse? > > > > > > From ktrace.out the last things firebird done were: > > > > > > # kdump -f ktrace.out | tail -20 > > > 37436 MozillaFirebird-bin CALL socket(0x2,0x1,0) > > > 37436 MozillaFirebird-bin RET socket 31/0x1f > > > 37436 MozillaFirebird-bin CALL fcntl(0x1f,0x3,0x10) > > > 37436 MozillaFirebird-bin RET fcntl 2 > > > 37436 MozillaFirebird-bin CALL fcntl(0x1f,0x4,0x6) > > > 37436 MozillaFirebird-bin RET fcntl 0 > > > 37436 MozillaFirebird-bin CALL connect(0x1f,0xbfaedc48,0x10) > > > 37436 MozillaFirebird-bin RET connect -1 errno 36 Operation now in progress > > > 37436 MozillaFirebird-bin CALL poll(0xbfaedce8,0x6,0xffffffff) > > > 37436 MozillaFirebird-bin RET fork 0 > > > 37436 MozillaFirebird-bin CALL gettimeofday(0xbfabaf10,0) > > > 37436 MozillaFirebird-bin RET gettimeofday 0 > > > 37436 MozillaFirebird-bin CALL gettimeofday(0xbfabaee0,0) > > > 37436 MozillaFirebird-bin RET gettimeofday 0 > > > 37436 MozillaFirebird-bin PSIG SIGSEGV caught handler=0x484f62e0 mask=0xfffefaff code=0xc > > > 37436 MozillaFirebird-bin CALL unlink(0x81c4440) > > > 37436 MozillaFirebird-bin NAMI "/home/maxim/.phoenix/default/17ma97wm.slt/lock" > > > 37436 MozillaFirebird-bin RET unlink 0 > > > 37436 MozillaFirebird-bin CALL exit(0xb) > > I get the same(?) ktrace when my firebird disappears. > > 66628 MozillaFirebird-bin CALL break(0x90a1000) > 66628 MozillaFirebird-bin RET break 0 > 66628 MozillaFirebird-bin PSIG SIGSEGV caught handler=0x288b72e0 mask=0xfffefaff code=0xc > 66628 MozillaFirebird-bin CALL unlink(0x81c9040) > 66628 MozillaFirebird-bin NAMI "/usr/home/morten/.phoenix/default/gd75op6b.slt/lock" > 66628 MozillaFirebird-bin RET unlink 0 > 66628 MozillaFirebird-bin CALL exit(0xb) > > > > > Can you run it under the debugger? I was able to get > > mozilla to run under the debugger, but had to be root > > for it to work. > > > > How are you able to run it under the debugger? Whenever I try > (haven't tried as root) my computer panics! > > For more info on the panic (if it has anything to do with debugging > libkse programs) see this thread on current@ > > Message-ID: <20030912065458.GA604@atlantis.rodal.no> > > or > > http://lists.freebsd.org/pipermail/freebsd-current/2003-September/010356.html I just posted a similar panic when trying to debug mozilla on an SMP system. Something seems wrong in the kernel and it doesn't appear to be KSE related. -- Dan Eischen