Date: Mon, 21 Feb 2022 16:47:46 -0900 From: Rob Wing <rob.fx907@gmail.com> To: Hans Petter Selasky <hps@selasky.org> Cc: Michael Jung <mikej@paymentallianceintl.com>, freebsd-current <freebsd-current@freebsd.org> Subject: Re: New panic in main-n253273-a52d8d4a6c6: Message-ID: <CAF3%2Bn_e3emsHeRhcQdk4GPP3%2BaiZFhTgHR3L_Cc_THuU8q5gfA@mail.gmail.com> In-Reply-To: <719aa03f-6f34-fdf8-1258-c7e5fcf33043@selasky.org> References: <b7ca5b5e7a9a4df3951a2cb2f1d63552@MAIL-HUB.pai.local> <d04c0d93-8168-f53a-a5fd-865a1f6d2486@selasky.org> <6fcc161dd23b4f7ebe7cc789f11c017e@MAIL-HUB.pai.local> <dbd20a4d-b5a3-390e-a231-8ccca4f64c70@selasky.org> <924c13764ce342cf968ef9a93699be9a@MAIL-HUB.pai.local> <719aa03f-6f34-fdf8-1258-c7e5fcf33043@selasky.org>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --]
kinda thinking this might be related to commit f40dd6c8034b ("tty: switch
ttyhook_register to use fget_cap_locked")
fget_unlocked() must have grabbed an extra reference count on the file
pointer that fget_cap_locked() doesn't get
On Mon, Feb 21, 2022 at 4:35 PM Hans Petter Selasky <hps@selasky.org> wrote:
> On 2/22/22 00:42, Michael Jung wrote:
> > Hi:
> >
> > I was trying to remember what I did that was odd when this crash
> occurred then it
> > hit me. You can repeat this panic by doing:
> >
> > # watch -I -W pts/0
> >
> > Here is another panic that happened write after issuing "watch" for
> comparison.
> >
> > http://mail.mikej.com/core.txt.1
> >
> > http://mail.mikej.com/info.1
> >
> > http://mail.mikej.com/vmcore.1
> >
>
> I also need your kernel and debug kernel to fully debug this.
>
> 1) Do ssh to machine.
> 2) watch -i -W pts/0 (does not panic over here)
>
> Can you explain what step 1 is? An scp ?
>
> Refcount is -1.
> f_count = 0xffffffff
>
> f_data = 0xfffff800158b0400
>
> In your KGDB, can you enter:
>
> info 0xffffffff81b052d0
>
> Does the attached patch make any difference?
>
> --HPS
[-- Attachment #2 --]
<div dir="ltr"><div>kinda thinking this might be related to commit f40dd6c8034b ("tty: switch ttyhook_register to use fget_cap_locked")</div><div><br></div><div>fget_unlocked() must have grabbed an extra reference count on the file pointer that fget_cap_locked() doesn't get</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Feb 21, 2022 at 4:35 PM Hans Petter Selasky <<a href="mailto:hps@selasky.org">hps@selasky.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 2/22/22 00:42, Michael Jung wrote:<br>
> Hi:<br>
> <br>
> I was trying to remember what I did that was odd when this crash occurred then it<br>
> hit me. You can repeat this panic by doing:<br>
> <br>
> # watch -I -W pts/0<br>
> <br>
> Here is another panic that happened write after issuing "watch" for comparison.<br>
> <br>
> <a href="http://mail.mikej.com/core.txt.1" rel="noreferrer" target="_blank">http://mail.mikej.com/core.txt.1</a><br>
> <br>
> <a href="http://mail.mikej.com/info.1" rel="noreferrer" target="_blank">http://mail.mikej.com/info.1</a><br>
> <br>
> <a href="http://mail.mikej.com/vmcore.1" rel="noreferrer" target="_blank">http://mail.mikej.com/vmcore.1</a><br>
> <br>
<br>
I also need your kernel and debug kernel to fully debug this.<br>
<br>
1) Do ssh to machine.<br>
2) watch -i -W pts/0 (does not panic over here)<br>
<br>
Can you explain what step 1 is? An scp ?<br>
<br>
Refcount is -1.<br>
f_count = 0xffffffff<br>
<br>
f_data = 0xfffff800158b0400<br>
<br>
In your KGDB, can you enter:<br>
<br>
info 0xffffffff81b052d0<br>
<br>
Does the attached patch make any difference?<br>
<br>
--HPS</blockquote></div>
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAF3%2Bn_e3emsHeRhcQdk4GPP3%2BaiZFhTgHR3L_Cc_THuU8q5gfA>
