Skip site navigation (1)Skip section navigation (2)
Date:      Fri,  7 Feb 2003 22:39:28 -0800 (PST)
From:      Arun Sharma <adsharma@sharma-home.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        smp@FreeBSD.org
Subject:   kern/48081: Enabling mutex profiling panics the kernel
Message-ID:  <20030208063928.9D5F13B@astra.mirabella.net>

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

>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




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