From owner-freebsd-threads@FreeBSD.ORG Wed Sep 17 11:48:07 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 4B9CC16A4B3; Wed, 17 Sep 2003 11:48:07 -0700 (PDT) Received: from fri.itea.ntnu.no (fri.itea.ntnu.no [129.241.7.60]) by mx1.FreeBSD.org (Postfix) with ESMTP id BCA6043F75; Wed, 17 Sep 2003 11:48:05 -0700 (PDT) (envelope-from morten@rodal.no) Received: from localhost (localhost [127.0.0.1]) by fri.itea.ntnu.no (Postfix) with ESMTP id 2DE99C7028; Wed, 17 Sep 2003 20:48:04 +0200 (CEST) Received: from slurp.rodal.no (m200h.studby.ntnu.no [129.241.135.200]) by fri.itea.ntnu.no (Postfix) with ESMTP id 672BEC705F; Wed, 17 Sep 2003 20:48:03 +0200 (CEST) Received: (from morten@localhost) by slurp.rodal.no (8.12.9/8.12.9/Submit) id h8HIm2D6020005; Wed, 17 Sep 2003 20:48:02 +0200 (CEST) (envelope-from morten) Date: Wed, 17 Sep 2003 20:48:01 +0200 From: Morten Rodal To: deischen@FreeBSD.org Message-ID: <20030917184759.GA19852@slurp.rodal.no> References: <20030915200204.F2297@news1.macomnet.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Content-Scanned: with sophos and spamassassin at mailgw.ntnu.no. 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 List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Sep 2003 18:48:07 -0000 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 -- Morten Rodal