NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: kern/58898: Crash when testing camera in chromium
The following reply was made to PR kern/58898; it has been noted by GNATS.
From: Robert Bagdan <kikadf.01%gmail.com@localhost>
To: Taylor R Campbell <riastradh%netbsd.org@localhost>
Cc: gnats-bugs%netbsd.org@localhost, netbsd-bugs%netbsd.org@localhost
Subject: Re: kern/58898: Crash when testing camera in chromium
Date: Thu, 12 Dec 2024 19:43:46 +0100
--000000000000d7fa08062917180f
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
On Thu, Dec 12, 2024 at 5:01=E2=80=AFPM Taylor R Campbell <riastradh@netbsd=
.org>
wrote:
>
> Can you please share the output of dmesg and the following gdb
> commands on the crash dump?
>
> (gdb) disas *(videoclose+0xbb)
> (gdb) print *(struct video_softc *)video_cd.cd_devs[0]->dv_private
>
> Can you share the disassembly of videoclose in your netbsd.4 kernel
> with `objdump -dr netbsd.4' (and selecting the relevant part)?
>
> Can you share what changes you have in your tree? And can you make
> sure you have a clean build? It looks like there might be mismatches
> between your netbsd.gdb, your netbsd.4.core, and the source code,
> which risks send everyone on wild goose chases if not resolved.
(I resend my last message because it was unreadable, sorry)
I don't have changes in NetBSD tree, I=E2=80=99m on the 10.0 branch, upgrad=
ed
with sysupgrade auto. Here is my /etc/release relevant part:
Build information:
Build date Fri Dec 6 20:38:43 UTC 2024
Built by builder%localhost.NetBSD.org@localhost
Build ID 202412081740Z
Because of the gdb output, I=E2=80=99m just clone the NetBSD src from githu=
b,
this is the git log output:
commit 313a9eb5b1b8b899e5611e78063c2949affc811d (HEAD -> netbsd-10,
origin/netbsd-10)
Author: snj <snj%NetBSD.org@localhost>
Date: Fri Dec 6 20:38:43 2024 +0000
tickets 1024-1026
=E2=80=A6
Some date and sizes:
/var/crash $ ls -l netbsd.4*
-rw------- 1 root wheel 2428478 Dec 9 13:02 netbsd.4
-rw------- 1 root wheel 583708184 Dec 9 13:02 netbsd.4.core
ls -l /netbsd
-rw-r--r-- 1 root wheel 29528376 Dec 9 12:48 /netbsd
I share =E2=80=98dmesg -M netbsd.4.core -N netbsd.4 > dmesg.txt=E2=80=99
in https://pastebin.com/raw/jWLjzQbw . This is all that I got.
I run =E2=80=98gdb /netbsd --eval-command=3D"target kvm netbsd.4.core"=E2=
=80=99,
then your suggested gdb commands,
I share the output in https://pastebin.com/raw/wQL0uN0z .
The =E2=80=98objdump -dr netbsd.4=E2=80=99 all output:
netbsd.4: file format elf64-x86-64
>From =E2=80=98objdump -dr /netbsd=E2=80=99 I share the videoclose part
in https://pastebin.com/raw/aXzSvGC1 .
--000000000000d7fa08062917180f
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
<div dir=3D"ltr"><br><br>On Thu, Dec 12, 2024 at 5:01=E2=80=AFPM Taylor R C=
ampbell <<a href=3D"mailto:riastradh%netbsd.org@localhost">riastradh%netbsd.org@localhost</a=
>> wrote:<br>><br>> Can you please share the output of dmesg and t=
he following gdb<br>> commands on the crash dump?<br>><br>> (gdb) =
disas *(videoclose+0xbb)<br>> (gdb) print *(struct video_softc *)video_c=
d.cd_devs[0]->dv_private<br>><br>> Can you share the disassembly o=
f videoclose in your netbsd.4 kernel<br>> with `objdump -dr netbsd.4'=
; (and selecting the relevant part)?<br>><br>> Can you share what cha=
nges you have in your tree?=C2=A0 And can you make<br>> sure you have a =
clean build?=C2=A0 It looks like there might be mismatches<br>> between =
your netbsd.gdb, your netbsd.4.core, and the source code,<br>> which ris=
ks send everyone on wild goose chases if not resolved.<br><br>(I resend my =
last message because it was unreadable, sorry)<br><br>I don't have chan=
ges in NetBSD tree, I=E2=80=99m on the 10.0 branch, upgraded=C2=A0<div>with=
sysupgrade auto. Here is my /etc/release relevant part:<br>Build informati=
on:<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Build date =C2=A0 Fri Dec =C2=A06 =
20:38:43 UTC 2024<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Built by =C2=
=A0 <a href=3D"mailto:builder%localhost.NetBSD.org@localhost">builder@localhost.NetBS=
D.org</a><br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Build ID =C2=A0 20241=
2081740Z<br><br>Because of the gdb output, I=E2=80=99m just clone the NetBS=
D src from github,</div><div>this is the git log output:<br>commit 313a9eb5=
b1b8b899e5611e78063c2949affc811d (HEAD -> netbsd-10, origin/netbsd-10)<b=
r>Author: snj <snj%NetBSD.org@localhost><br>Date: =C2=A0 Fri Dec 6 20:38:43 202=
4 +0000<br><br>=C2=A0 =C2=A0tickets 1024-1026<br>=E2=80=A6<br><br>Some date=
and sizes:<br>/var/crash $ ls -l netbsd.4* =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 <br>-rw------- =C2=A01 root =C2=A0wheel =C2=A0 =C2=
=A02428478 Dec =C2=A09 13:02 netbsd.4<br>-rw------- =C2=A01 root =C2=A0whee=
l =C2=A0583708184 Dec =C2=A09 13:02 netbsd.4.core<br>ls -l /netbsd<br>-rw-r=
--r-- =C2=A01 root =C2=A0wheel =C2=A029528376 Dec =C2=A09 12:48 /netbsd<br>=
<br>I share =E2=80=98dmesg -M netbsd.4.core -N netbsd.4 > dmesg.txt=E2=
=80=99=C2=A0</div><div>in <a href=3D"https://pastebin.com/raw/jWLjzQbw">htt=
ps://pastebin.com/raw/jWLjzQbw</a> . This is all that I got.<br><br>I run =
=E2=80=98gdb /netbsd --eval-command=3D"target kvm netbsd.4.core"=
=E2=80=99,</div><div>then your suggested gdb commands,</div><div>=C2=A0I sh=
are the output in <a href=3D"https://pastebin.com/raw/wQL0uN0z">https://pas=
tebin.com/raw/wQL0uN0z</a> .<br><br>The =E2=80=98objdump -dr netbsd.4=E2=80=
=99 all output:<br>netbsd.4: =C2=A0 =C2=A0 file format elf64-x86-64<br><br>=
>From =E2=80=98objdump -dr /netbsd=E2=80=99 I share the videoclose part</div=
><div> in <a href=3D"https://pastebin.com/raw/aXzSvGC1">https://pastebin.co=
m/raw/aXzSvGC1</a> .<br><br><br></div></div>
--000000000000d7fa08062917180f--
Home |
Main Index |
Thread Index |
Old Index