[Bug 257036] kgdb internal error

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 07 Jul 2021 05:54:22 UTC

            Bug ID: 257036
           Summary: kgdb internal error
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: dgilbert@eicat.ca

When debugging vmcore.3 of kernel (both found at
https://nextcloud.towernet.ca/s/FkZqQ5pY2cGHD9A )  I get the following:

[1:12:12]root@ump:/var/crash> kgdb /boot/kernel.old/kernel /var/crash/vmcore.3
GNU gdb (GDB) 10.2 [GDB v10.2 for FreeBSD]
Copyright (C) 2021 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "riscv64-portbld-freebsd14.0".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
Find the GDB manual and other documentation resources online at:

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /boot/kernel.old/kernel...
(No debugging symbols found in /boot/kernel.old/kernel)
/usr/ports/devel/gdb/work-py38/gdb-10.2/gdb/thread.c:1309: internal-error: void
switch_to_thread(thread_info *): Assertion `thr != NULL' failed.
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Quit this debugging session? (y or n)

the vmcore actually has a rather worrisome panic with nfs and nfs cache ... so
it would be good to solve this.

You are receiving this mail because:
You are the assignee for the bug.