From owner-freebsd-questions@FreeBSD.ORG Sun Oct 5 00:40:11 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7B71A1065688 for ; Sun, 5 Oct 2008 00:40:11 +0000 (UTC) (envelope-from dale.hagglund@gmail.com) Received: from hs-out-0708.google.com (hs-out-0708.google.com [64.233.178.248]) by mx1.freebsd.org (Postfix) with ESMTP id 2E5818FC1C for ; Sun, 5 Oct 2008 00:40:11 +0000 (UTC) (envelope-from dale.hagglund@gmail.com) Received: by hs-out-0708.google.com with SMTP id 54so741580hsz.11 for ; Sat, 04 Oct 2008 17:40:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:subject:date :message-id:user-agent:mime-version:content-type; bh=fOw6tdAj3O6qChiG0Q0a5vE3iBLunOa2hDC6jrmMyHg=; b=TL9RixuV61LfIgel52yKmJKLsIcuHnUjhvOzlQ6Oo8PiHTJvl8jw9DTYT9FZC7ORWG mjabZpvSwbO31ezmoq5Ifxj/uLbkD8HzRPoOOgGqano+1YyvmBZm9Ju1IfFV+P8Hkxrs htHQlfe3RxNU0JvQEd7fDwLCqPUyGvHAE5sKk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:message-id:user-agent:mime-version :content-type; b=S1yA5GmPh/AJ4WJus/ifA6dx5OOsk2qjBQB7cu3fBmURJZCxLhS+j3oN8S0BhGtPUT LpCNDdqeWMYHu8KHGG0JyeACYlCakn0jAEfk3cwQMwIKcgYUzhFmfu2aZevTTyoi4BLJ hy5ET0T8J7qELJVV/lxT/Ehb9P28zQRi2Msa4= Received: by 10.64.10.2 with SMTP id 2mr4565291qbj.80.1223165575396; Sat, 04 Oct 2008 17:12:55 -0700 (PDT) Received: from ponoka.ab.hsia.telus.net (d205-206-84-231.abhsia.telus.net [205.206.84.231]) by mx.google.com with ESMTPS id p31sm7674029qbp.18.2008.10.04.17.12.53 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 04 Oct 2008 17:12:54 -0700 (PDT) From: Dale Hagglund To: freebsd-questions@freebsd.org Date: Sat, 04 Oct 2008 18:12:44 -0600 Message-ID: <86r66v6gsj.fsf@ponoka.ab.hsia.telus.net> User-Agent: Gnus/5.110008 (No Gnus v0.8) Emacs/22.1 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: processes hanging in _umtx_op X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Oct 2008 00:40:11 -0000 While experimenting with gnuradio and latest packages for openoffice.org-3, I've run across a situation where a process hangs in the _umtx_op system call. The process can't be interrupted with SIGINT, but SIGQUIT kills it and generates a core dump. I can reproduce this reliably with $ python -c "import wx" I'm running 7.0-RELEASE-p2 with "uname -a" giving the following output, suitably wrapped. FreeBSD ponoka.ab.hsia.telus.net 7.0-RELEASE-p2 FreeBSD 7.0-RELEASE-p2 #0: Wed Jun 18 07:33:20 UTC 2008 root@i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386 I won't be at all surprised if this is some strange library compatibility problem I've introduced over time, but I'm at a loss as to how to track the problem further. I've attached the final few lines of the kdump output from the command above, and I can provide my current list of packages if necessary. Any advice or suggestions would be appreciated. Dale Hagglund ------------------------- start: kdump output ------------------------- 34453 python 1223164746.661828 CALL munmap(0x2aa00000,0xc1000) 34453 python 1223164746.661840 RET munmap 0 34453 python 1223164746.662541 CALL _umtx_op(0x283071e0,0x8,0x1,0x283071c0,0 ) 34453 python 1223164752.019372 RET _umtx_op -1 errno 4 Interrupted system c all 34453 python 1223164752.019433 PSIG SIGINT caught handler=0x80d8020 mask=0x0 code=0x0 34453 python 1223164752.019454 CALL getpid 34453 python 1223164752.019460 RET getpid 34453/0x8695 34453 python 1223164752.019471 CALL sigaction(SIGINT,0xbfbfaf3c,0xbfbfaf24) 34453 python 1223164752.019480 RET sigaction 0 34453 python 1223164752.019487 CALL sigreturn(0xbfbfafa0) 34453 python 1223164752.019497 RET sigreturn JUSTRETURN 34453 python 1223164752.019511 CALL _umtx_op(0x283071e0,0x8,0x1,0x283071c0,0 ) 34453 python 1223164752.856485 RET _umtx_op -1 errno 4 Interrupted system c all 34453 python 1223164752.856550 PSIG SIGINT caught handler=0x80d8020 mask=0x0 code=0x0 34453 python 1223164752.856571 CALL getpid 34453 python 1223164752.856577 RET getpid 34453/0x8695 34453 python 1223164752.856587 CALL sigaction(SIGINT,0xbfbfaf3c,0xbfbfaf24) 34453 python 1223164752.856597 RET sigaction 0 34453 python 1223164752.856604 CALL sigreturn(0xbfbfafa0) 34453 python 1223164752.856613 RET sigreturn JUSTRETURN 34453 python 1223164752.856628 CALL _umtx_op(0x283071e0,0x8,0x1,0x283071c0,0 ) 34453 python 1223164753.425922 RET _umtx_op -1 errno 4 Interrupted system c all 34453 python 1223164753.425984 PSIG SIGQUIT SIG_DFL 34453 python 1223164753.425997 NAMI "python.core" ------------------------- end: kdump output -------------------------