From owner-freebsd-bugs@FreeBSD.ORG Fri Aug 22 04:49:07 2014 Return-Path: Delivered-To: freebsd-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D596FF00 for ; Fri, 22 Aug 2014 04:49:07 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id BC1F53272 for ; Fri, 22 Aug 2014 04:49:07 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id s7M4n7sG001706 for ; Fri, 22 Aug 2014 04:49:07 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 192906] [dtrace] running dtest.pl causes VM to sporadically reboot Date: Fri, 22 Aug 2014 04:49:08 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: ngie@FreeBSD.org X-Bugzilla-Status: Needs Triage X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Aug 2014 04:49:07 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D192906 --- Comment #1 from Garrett Cooper --- 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.=