Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Dec 2011 01:53:52 +0100
From:      Gary Jennejohn <gljennjohn@googlemail.com>
To:        Kevin Oberman <kob6558@gmail.com>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: dvdrip hang when PERL_VERSION=5.12.4
Message-ID:  <20111211015352.2702998b@ernst.jennejohn.org>
In-Reply-To: <CAN6yY1t8LuM5BPS7T1kczZ9Kf7v6d5WA3B9_6TwQzpfDXrdJJg@mail.gmail.com>
References:  <20111210193313.225a20f0@ernst.jennejohn.org> <CAN6yY1t8LuM5BPS7T1kczZ9Kf7v6d5WA3B9_6TwQzpfDXrdJJg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 10 Dec 2011 14:02:54 -0800
Kevin Oberman <kob6558@gmail.com> wrote:

> On Sat, Dec 10, 2011 at 10:33 AM, Gary Jennejohn
> <gljennjohn@googlemail.com> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20111211015352.2702998b>