Re: kgdb assert while loading a kernel core

From: Cy Schubert <Cy.Schubert_at_cschubert.com>
Date: Mon, 29 Jul 2019 12:48:50 -0700
In message <e07d7daaa7d2442b87f794b8629bc578_at_KULX13MDC127.APAC.DELL.COM>
, Weike
.Chen_at_Dell.com writes:
>  Hi all,
>
>  I try to do some debugging for the FreeBSD kernel crash.
>  My system is FreeBSD 12. And I have a kernel core file, and while I load it 
> by kgdb. It reports the following error:
>
>  Inferior.c: 287: internal-error: struct inferior *find_inferior_pid(int): As
> sertion 'pid != 0' failed.
>
>  And I also try the gdb in ports/devel, and got the same error.
>
>  Any workaround for the error?

Which kgdb are you using? The /usr/libexec one or the port?


-- 
Cheers,
Cy Schubert <Cy.Schubert_at_cschubert.com>
FreeBSD UNIX:  <cy_at_FreeBSD.org>   Web:  http://www.FreeBSD.org

	The need of the many outweighs the greed of the few.
Received on Mon Jul 29 2019 - 17:49:22 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:21 UTC