From owner-freebsd-ports@FreeBSD.ORG Mon Feb 2 16:38:10 2009 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BEC62106564A for ; Mon, 2 Feb 2009 16:38:10 +0000 (UTC) (envelope-from daniel@roe.ch) Received: from calvin.ustdmz.roe.ch (calvin.ustdmz.roe.ch [IPv6:2001:41e0:ff17:face::26]) by mx1.freebsd.org (Postfix) with ESMTP id 232198FC27 for ; Mon, 2 Feb 2009 16:38:10 +0000 (UTC) (envelope-from daniel@roe.ch) Received: from roe (ssh-from [193.247.250.2]) by calvin.ustdmz.roe.ch (envelope-from ) with LOCAL id 1LU1oG-000E7k-Ii ; Mon, 02 Feb 2009 17:38:08 +0100 Date: Mon, 2 Feb 2009 17:38:08 +0100 From: Daniel Roethlisberger To: Alexander Konovalenko Message-ID: <20090202163808.GA53962@hobbes.ustdmz.roe.ch> Mail-Followup-To: Alexander Konovalenko , freebsd-ports@freebsd.org, cm@therek.net References: <20090201104201.8BE301065677@hub.freebsd.org> <200902012330.19988@3667> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200902012330.19988@3667> User-Agent: Mutt/1.4.2.3i Cc: freebsd-ports@freebsd.org, cm@therek.net Subject: Re: firefox[2,3] will not start after recent ports upgrade X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Feb 2009 16:38:11 -0000 Alexander Konovalenko 2009-02-01: > > From: Daniel Roethlisberger > >... > > Could it be the case that firefox-bin hangs in umtxn state? > > you're right! > > > (Check using ps -laux instead of -aux) > > > > > > http://daemon.nanophys.kth.se/~kono/ktrace_ff2.txt > > > http://daemon.nanophys.kth.se/~kono/ktrace_ff3.txt > > > > These trace the wrong process: the wrapper shell script (sh). > > The actual hanging process would be firefox-bin, not sh. Try > > ktracing with child processes (-i). > > "ktrace -i" showed last line: > firefox-bin CALL _umtx_op(0x65f8e0,0x8,0x1,0x65f8c0,0) > > http://daemon.nanophys.kth.se/~kono/ktrace_ff3_ktrace-i.txt > > Do you know which port/lib causing this hang on _umtx_op? Unfortunately, no. I have a box with ports tree from around mid-January on which I was unable to fix this problem. Native firefox 2 and 3 hung in umtxn state. So I did pkg_delete -a, rm -rf /usr/local, rebuilt and installed all ports: now the firefox3 build hangs in umtxn state while running a tool called shlibsign. No idea how to fix this. I don't want to update the ports tree to after the unpretty xorg-7.4 changes just yet. I suspect the problem may be related to upgrading using freebsd-update from 7.0 to 7.1, but that's just a wild guess based on the problem appearing after the upgrade; I did make sure no old leftover libraries or binaries were still lying around. -- Daniel Roethlisberger http://daniel.roe.ch/