Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Oct 2008 10:17:52 +0100
From:      "Dominique Goncalves" <dominique.goncalves@gmail.com>
To:        freebsd-stable@freebsd.org
Subject:   Perl application hang in umtxn state
Message-ID:  <7daacbbe0810290217l60236d8ci1b2c4011720a0cc8@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hi,

I run FreeBSD 7.1-PRERELEASE and with a Perl GTK2 application, Perl
hang in umtxn state:

  PID USERNAME    THR PRI NICE   SIZE    RES STATE    TIME   WCPU COMMAND
76288 dom           1  53    0 67860K 46080K umtxn    0:02  0.00% perl5.8.8

And the only way to stop the application is kill -9

I tried to use ktrace/kdump and ktrace.out show "_umtx_op"

$ kdump -f ktrace.out
[...]
 13199 perl5.8.8 RET   lstat 0
 13199 perl5.8.8 CALL  gettimeofday(0xbfbfb144,0)
 13199 perl5.8.8 RET   gettimeofday 0
 13199 perl5.8.8 CALL  _umtx_op(0xbfbfd18c,0x3,0x1,0,0)
 13199 perl5.8.8 RET   _umtx_op 0
 13199 perl5.8.8 CALL  sigprocmask(SIG_BLOCK,0xbfbfd120,0x8121490)
 13199 perl5.8.8 RET   sigprocmask 0
 13199 perl5.8.8 CALL  _umtx_op(0x287fb8a0,0x5,0,0,0)
 13199 perl5.8.8 RET   _umtx_op RESTART
 13199 perl5.8.8 PSIG  SIGKILL SIG_DFL


How to debug this hang? (btw I'm not a developer)

$ uname -a
FreeBSD freebsd7 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #15 r184123:
Tue Oct 21 16:24:59 CEST 2008
root@freebsd7:/usr/obj/usr/src/sys/GENERIC  i386

Thanks for your help,
Regards.

-- 
There's this old saying: "Give a man a fish, feed him for a day. Teach
a man to fish, feed him for life."



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