From nobody@FreeBSD.org  Fri Apr 13 21:35:05 2012
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 33698106566C
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 13 Apr 2012 21:35:05 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id 1EE7D8FC0A
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 13 Apr 2012 21:35:05 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.4/8.14.4) with ESMTP id q3DLZ4fj077426
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 13 Apr 2012 21:35:04 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.4/8.14.4/Submit) id q3DLZ4Yw077425;
	Fri, 13 Apr 2012 21:35:04 GMT
	(envelope-from nobody)
Message-Id: <201204132135.q3DLZ4Yw077425@red.freebsd.org>
Date: Fri, 13 Apr 2012 21:35:04 GMT
From: Ryan Stone <rstone@FreeBSD.org>
To: freebsd-gnats-submit@FreeBSD.org
Subject: dtrace: kernel trap 12 with interrupts disabled (not a panic!?)
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         166923
>Category:       kern
>Synopsis:       [dtrace] kernel trap 12 with interrupts disabled (not a panic!?)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    markj
>State:          feedback
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Apr 13 21:40:06 UTC 2012
>Closed-Date:    
>Last-Modified:  Mon Apr 21 17:20:39 UTC 2014
>Originator:     Ryan Stone
>Release:        8-STABLE
>Organization:
>Environment:
>Description:
I activated the following probes in a proprietary userland application:

 dtrace -p 45412 -n 'pid$target:foo::entry { ustack();}'


The following got spammed to the console:

kernel trap 12 with interrupts disabled
kernel trap 12 with interrupts disabled
kernel trap 12 with interrupts disabled
kernel trap 12 with interrupts disabled
kernel trap 12 with interrupts disabled
kernel trap 12 with interrupts disabled
kernel trap 12 with interrupts disabled
kernel trap 12 with interrupts disabled
kernel trap 12 with interrupts disabled
kernel trap 12 with interrupts disabled
kernel trap 12 with interrupts disabled
kernel trap 12 with interrupts disabled

Incredibly, the kernel did not panic.  When I stopped dtrace the messages stopped and everything continued normally...

>How-To-Repeat:

>Fix:


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->gnn 
Responsible-Changed-By: rstone 
Responsible-Changed-When: Mon Apr 16 19:25:51 UTC 2012 
Responsible-Changed-Why:  
Over to gnn 

http://www.freebsd.org/cgi/query-pr.cgi?pr=166923 
State-Changed-From-To: open->feedback 
State-Changed-By: gnn 
State-Changed-When: Tue Jun 5 15:51:29 UTC 2012 
State-Changed-Why:  
I could not reproduce this on HEAD as of 5 June 2012 

http://www.freebsd.org/cgi/query-pr.cgi?pr=166923 
Responsible-Changed-From-To: gnn->markj 
Responsible-Changed-By: gnn 
Responsible-Changed-When: Mon Apr 21 17:20:31 UTC 2014 
Responsible-Changed-Why:  
Hand over to the person doing most of the DTrace work. 


http://www.freebsd.org/cgi/query-pr.cgi?pr=166923 
>Unformatted:
