From owner-freebsd-bugs@FreeBSD.ORG Tue Jul 13 14:50:21 2004 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6273916A4CE for ; Tue, 13 Jul 2004 14:50:21 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3BDC643D5A for ; Tue, 13 Jul 2004 14:50:21 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.11/8.12.11) with ESMTP id i6DEoLLB099919 for ; Tue, 13 Jul 2004 14:50:21 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i6DEoLZb099918; Tue, 13 Jul 2004 14:50:21 GMT (envelope-from gnats) Resent-Date: Tue, 13 Jul 2004 14:50:21 GMT Resent-Message-Id: <200407131450.i6DEoLZb099918@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Emil Mikulic Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 038A416A4CE for ; Tue, 13 Jul 2004 14:44:49 +0000 (GMT) Received: from dmr.ath.cx (ppp150-162.lns2.mel2.internode.on.net [150.101.150.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id F18F543D41 for ; Tue, 13 Jul 2004 14:44:46 +0000 (GMT) (envelope-from g3c7a531@dmr.ath.cx) Received: from dmr.ath.cx (localhost [127.0.0.1]) by dmr.ath.cx (8.12.11/8.12.11) with ESMTP id i6DEiAaT000671 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES256-SHA bits=256 verify=NO) for ; Wed, 14 Jul 2004 00:44:10 +1000 (EST) Received: (from emikulic@localhost) by dmr.ath.cx (8.12.11/8.12.11/Submit) id i6DEi42E026542 for FreeBSD-gnats-submit@freebsd.org; Wed, 14 Jul 2004 00:44:04 +1000 (EST) Message-Id: <20040713144404.GA24997@dmr.ath.cx> Date: Wed, 14 Jul 2004 00:44:04 +1000 From: Emil Mikulic To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 X-Mailman-Approved-At: Tue, 13 Jul 2004 22:06:39 +0000 Subject: kern/68992: valgrind stuck in umtx state before exit X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Jul 2004 14:50:21 -0000 >Number: 68992 >Category: kern >Synopsis: valgrind stuck in umtx state before exit >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Jul 13 14:50:20 GMT 2004 >Closed-Date: >Last-Modified: >Originator: >Release: FreeBSD 5.2-CURRENT i386 >Organization: >Environment: System: FreeBSD beastie.home 5.2-CURRENT FreeBSD 5.2-CURRENT #2: Tue Jul 13 23:10:20 EST 2004 root@beastie.home:/usr/obj/usr/src/sys/PANTSU i386 >Description: I'm inclined to think this is a bug in the kernel rather than valgrind because this wasn't happening with a kernel from a few weeks ago. I'm running a 5-CURRENT world and kernel as of 13 July 2004 at 12:40 UTC. valgrind hangs before exit, after printing leak information. top says it's stuck in the umtx state: PID USERNAME PRI NICE SIZE RES STATE TIME WCPU CPU COMMAND 516 emikulic 95 0 335M 7176K umtx 0:00 0.00% 0.00% valgrind DDB's ps says: pid proc uarea uid ppid pgrp flag stat wmesg wchan cmd 516 c18928ac d83f0000 1000 458 516 0004002 [SLPQ umtx 0xc17fa000][SLP] valgrind I can't kill it with SIGTERM, SIGINT, or SIGQUIT, and I can't suspend it. It dies on SIGKILL though. I get the same behaviour with both valgrind-327 and valgrind-snapshot-337. >How-To-Repeat: valgrind --tool=memcheck ls >Fix: >Release-Note: >Audit-Trail: >Unformatted: