From owner-freebsd-bugs Fri Feb 7 22:40:11 2003 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 B426137B401 for ; Fri, 7 Feb 2003 22:40:09 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 132CE43FDF for ; Fri, 7 Feb 2003 22:40:07 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id h186e6NS094684 for ; Fri, 7 Feb 2003 22:40:06 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id h186e6ij094683; Fri, 7 Feb 2003 22:40:06 -0800 (PST) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 53E4E37B40E; Fri, 7 Feb 2003 22:39:37 -0800 (PST) Received: from eagle.sharma-home.net (cpe-66-1-147-119.ca.sprintbbd.net [66.1.147.119]) by mx1.FreeBSD.org (Postfix) with ESMTP id 77E2143F75; Fri, 7 Feb 2003 22:39:36 -0800 (PST) (envelope-from adsharma@sharma-home.net) Received: from astra.mirabella.net (astra.mirabella.net [192.168.1.3]) by eagle.sharma-home.net (Postfix) with ESMTP id 9C509800E; Fri, 7 Feb 2003 22:44:23 -0800 (PST) Received: by astra.mirabella.net (Postfix, from userid 1001) id 9D5F13B; Fri, 7 Feb 2003 22:39:28 -0800 (PST) Message-Id: <20030208063928.9D5F13B@astra.mirabella.net> Date: Fri, 7 Feb 2003 22:39:28 -0800 (PST) From: Arun Sharma Reply-To: Arun Sharma To: FreeBSD-gnats-submit@FreeBSD.org Cc: smp@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: kern/48081: Enabling mutex profiling panics the kernel Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 48081 >Category: kern >Synopsis: Enabling mutex profiling panics the kernel >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Feb 07 22:40:06 PST 2003 >Closed-Date: >Last-Modified: >Originator: Arun Sharma >Release: FreeBSD 5.0-CURRENT i386 >Organization: >Environment: System: FreeBSD astra.mirabella.net 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Sat Jan 25 18:25:49 PST 2003 root@astra.mirabella.net:/usr/src/sys/i386/compile/astra i386 >Description: Enabling mutex profiling panics the kernel. >How-To-Repeat: # sysctl debug.mutex.profiling.enable=1 # sysctl debug.mutex >Fix: The problem is caused by holding the mprof_mtx and calling printf, which results in a blockable malloc(). >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message