NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: kern/56355: dtrace triggers double-fault in supervisor mode
The following reply was made to PR kern/56355; it has been noted by GNATS.
From: bch <brad.harder%gmail.com@localhost>
To: gnats-bugs%netbsd.org@localhost, "riastradh%netbsd.org@localhost" <riastradh%netbsd.org@localhost>
Cc:
Subject: Re: kern/56355: dtrace triggers double-fault in supervisor mode
Date: Tue, 10 Aug 2021 11:49:28 -0700
--000000000000c8c97c05c938f60c
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
On Tue, Aug 10, 2021 at 00:25 <gnats-admin%netbsd.org@localhost> wrote:
> Thank you very much for your problem report.
> It has the internal identification `kern/56355'.
> The individual assigned to look at your
> report is: kern-bug-people.
>
> >Category: kern
> >Responsible: kern-bug-people
> >Synopsis: dtrace triggers double-fault in supervisor mode
> >Arrival-Date: Tue Aug 10 07:25:00 +0000 2021
>
~50000 probes, and I found one that simply shouldn=E2=80=99t be there. Prop=
osed
patch after discussion w @riastradh:
--- a/external/cddl/osnet/dev/fbt/fbt.c Thu Aug 05 09:46:09 2021 -0700
+++ b/external/cddl/osnet/dev/fbt/fbt.c Tue Aug 10 11:39:10 2021 -0700
@@ -178,6 +178,7 @@
strncmp(name, "lockdebug_", 10) =3D=3D 0 ||
strncmp(name, "kauth_", 5) =3D=3D 0 ||
strncmp(name, "ktext_write", 11) =3D=3D 0 ||
+ strncmp(name, "trap", 4) =3D=3D 0 ||
strncmp(name, "fbt_", 4) =3D=3D 0) {
return (1);
}
>
--000000000000c8c97c05c938f60c
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
<div><br></div><div><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=
=3D"gmail_attr">On Tue, Aug 10, 2021 at 00:25 <<a href=3D"mailto:gnats-a=
dmin%netbsd.org@localhost">gnats-admin%netbsd.org@localhost</a>> wrote:<br></div><blockquote=
class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc soli=
d;padding-left:1ex">Thank you very much for your problem report.<br>
It has the internal identification `kern/56355'.<br>
The individual assigned to look at your<br>
report is: kern-bug-people. <br>
<br>
>Category:=C2=A0 =C2=A0 =C2=A0 =C2=A0kern<br>
>Responsible:=C2=A0 =C2=A0 kern-bug-people<br>
>Synopsis:=C2=A0 =C2=A0 =C2=A0 =C2=A0dtrace triggers double-fault in sup=
ervisor mode<br>
>Arrival-Date:=C2=A0 =C2=A0Tue Aug 10 07:25:00 +0000 2021<br>
</blockquote><div dir=3D"auto"><br></div><div dir=3D"auto">~50000 probes, a=
nd I found one that simply shouldn=E2=80=99t be there. Proposed patch after=
discussion w @riastradh:</div><div dir=3D"auto"><br></div><div dir=3D"auto=
"><div dir=3D"auto">--- a/external/cddl/osnet/dev/fbt/fbt.c Thu Aug 05 09:4=
6:09 2021 -0700</div><div dir=3D"auto">+++ b/external/cddl/osnet/dev/fbt/fb=
t.c Tue Aug 10 11:39:10 2021 -0700</div><div dir=3D"auto">@@ -178,6 +178,7 =
@@</div><div dir=3D"auto">=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 strncmp=
(name, "lockdebug_", 10) =3D=3D 0 ||</div><div dir=3D"auto">=C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 strncmp(name, "kauth_", 5)=
=3D=3D 0 ||</div><div dir=3D"auto">=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 strncmp(name, "ktext_write", 11) =3D=3D 0 ||</div><div dir=3D=
"auto">+ =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 strncmp(name, "trap",=
4) =3D=3D 0 ||</div><div dir=3D"auto">=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 strncmp(name, "fbt_", 4) =3D=3D 0) {</div><div dir=3D"auto=
">=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 return (1);</div>=
<div dir=3D"auto">=C2=A0 =C2=A0 =C2=A0 =C2=A0 }</div><div dir=3D"auto"><br>=
</div></div><div dir=3D"auto"><br></div><div dir=3D"auto"><br></div><div di=
r=3D"auto"><br></div><div dir=3D"auto"><br></div><blockquote class=3D"gmail=
_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:=
1ex"><br>
</blockquote></div></div>
--000000000000c8c97c05c938f60c--
Home |
Main Index |
Thread Index |
Old Index