Perl application hang in umtxn state
Dominique Goncalves
dominique.goncalves at gmail.com
Wed Oct 29 02:38:59 PDT 2008
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 at 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."
More information about the freebsd-stable
mailing list