From owner-freebsd-ports@FreeBSD.ORG Sun Dec 11 00:53:57 2011 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 A64401065675 for ; Sun, 11 Dec 2011 00:53:57 +0000 (UTC) (envelope-from gljennjohn@googlemail.com) Received: from mail-ey0-f182.google.com (mail-ey0-f182.google.com [209.85.215.182]) by mx1.freebsd.org (Postfix) with ESMTP id 340A38FC1B for ; Sun, 11 Dec 2011 00:53:56 +0000 (UTC) Received: by eaaf13 with SMTP id f13so122984eaa.13 for ; Sat, 10 Dec 2011 16:53:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=date:from:to:cc:subject:message-id:in-reply-to:references:reply-to :x-mailer:mime-version:content-type:content-transfer-encoding; bh=7s9xjIM4G4OG32hWK3B9I5mi++r4tBhbV+d/dAKXxVg=; b=Dxb0oRFRP5fq/ppaoatepStwqErCxIhXcz0zdL5HivkgHnM9OLwao9iahiyIYTew93 VLDOKGCgR7iDdUZhfaseISu82mcjDE5HzTIcGNpBrJelXuZwOEpYYoVCTdeXUe65jkBq GoRuksASR9Z+SIlGJMmbJOd5BvuZzUVahIeIg= Received: by 10.213.21.147 with SMTP id j19mr987831ebb.149.1323564835909; Sat, 10 Dec 2011 16:53:55 -0800 (PST) Received: from ernst.jennejohn.org (p578E2986.dip.t-dialin.net. [87.142.41.134]) by mx.google.com with ESMTPS id z54sm53505447eeh.5.2011.12.10.16.53.53 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 10 Dec 2011 16:53:54 -0800 (PST) Date: Sun, 11 Dec 2011 01:53:52 +0100 From: Gary Jennejohn To: Kevin Oberman Message-ID: <20111211015352.2702998b@ernst.jennejohn.org> In-Reply-To: References: <20111210193313.225a20f0@ernst.jennejohn.org> X-Mailer: Claws Mail 3.7.10 (GTK+ 2.24.6; amd64-portbld-freebsd10.0) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Cc: freebsd-ports@freebsd.org Subject: Re: dvdrip hang when PERL_VERSION=5.12.4 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: gljennjohn@googlemail.com List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Dec 2011 00:53:57 -0000 On Sat, 10 Dec 2011 14:02:54 -0800 Kevin Oberman wrote: > On Sat, Dec 10, 2011 at 10:33 AM, Gary Jennejohn > wrote: > > > > I just noticed that dvdrip does not work when PERL_VERSION=5.12.4. > > > > Ths symptom is a hang as soon as the user tries to create a new project. > > Here's the ps output: > > 150 5360 4704     1  40  0 236740  47116 umtxn    I     2    0:00.88 > > /usr/local/bin/perl /usr/local/bin/dvdrip > > > > Note the umtxn. > > > > Forcing PERL_VERSION=5.8.9 and reinstalling dvdrip results in a working > > copy and creating a new project returns basically immediately and everything > > else also works. > > > > Just thought I'd report it for the archive. > > Ouch! umtxn is waiting on a kernel lock. This should NOT happen and it > looks more like a kernel issue than a userland one. > > If you can still run dvdrip with 5.12.4, what does 'procstat -k PID" > show? It should provide some useful kernel stack information. Also, > what version of FreeBSD and is it on i386, and64, or some other? > OK, just for you :) FreeBSD 10.0-CURRENT FreeBSD 10.0-CURRENT #160 r228349 amd64 procstat -k 3910 PID TID COMM TDNAME KSTACK 3910 100157 perl5.12.4 - mi_switch sleepq_catch_signals sleepq_wait_sig _sleep _do_lock_umutex do_lock_umutex __umtx_op_wait_umutex amd64_syscall Xfast_syscall So actually, it's perl5.12.4 which is hanging. -- Gary Jennejohn