Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Aug 2014 04:49:08 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 192906] [dtrace] running dtest.pl causes VM to sporadically reboot
Message-ID:  <bug-192906-8-8XBIIEPYs3@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-192906-8@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192906

--- Comment #1 from Garrett Cooper <ngie@FreeBSD.org> ---
Note from Anton Rang @ isilon (Isilon had fixed a similar/potentially same
issue
in 7.x):

From: Rang, Anton
Sent: Thursday, August 21, 2014 11:12 PM
To: 'Cooper, Garrett'
Subject: dtrace bug

When dtrace is running, it’s important that traps be caught by dtrace if
required. This is implemented via hook variables such as dtrace_trap_func and
dtrace_doubletrap_func. However, these can’t be checked from normal C
functions, since dtrace may add a probe at the start of the function, which
causes a trap before the check, which causes an infinite loop.

For dtrace_trap_func, a special trap_check function is used – dtrace knows
about this name and avoids instrumenting it, thus the trap occurs and dtrace is
invoked without an intervening probe.

The same needs to be done for dtrace_dbltrap_func.

-- 
You are receiving this mail because:
You are the assignee for the bug.

home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-192906-8-8XBIIEPYs3>