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 18:46:43 +0100

 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 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 dates 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 .
 


Home | Main Index | Thread Index | Old Index