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/> References: <bug-192906-8@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D192906 --- 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=E2=80=99s important that traps be caught by dtra= ce if required. This is implemented via hook variables such as dtrace_trap_func a= nd dtrace_doubletrap_func. However, these can=E2=80=99t 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 =E2=80=93 dtrac= e knows about this name and avoids instrumenting it, thus the trap occurs and dtrac= e is invoked without an intervening probe. The same needs to be done for dtrace_dbltrap_func. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-192906-8-8XBIIEPYs3>