Date: Tue, 30 Jul 2019 09:53:31 +0000 From: <Weike.Chen@Dell.com> To: <Cy.Schubert@cschubert.com> Cc: <freebsd-current@freebsd.org> Subject: RE: kgdb assert while loading a kernel core Message-ID: <d4cc88517ff8429a986a5534093977f9@KULX13MDC127.APAC.DELL.COM> In-Reply-To: <201907291948.x6TJmoGi053840@slippy.cwsent.com> References: <e07d7daaa7d2442b87f794b8629bc578@KULX13MDC127.APAC.DELL.COM> <201907291948.x6TJmoGi053840@slippy.cwsent.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> -----Original Message----- > From: Cy Schubert <Cy.Schubert@cschubert.com> > Sent: Tuesday, July 30, 2019 3:49 AM > To: Chen, Alvin W <Weike_Chen@Dell.com> > Cc: freebsd-current@freebsd.org > Subject: Re: kgdb assert while loading a kernel core >=20 >=20 > [EXTERNAL EMAIL] >=20 > In message > <e07d7daaa7d2442b87f794b8629bc578@KULX13MDC127.APAC.DELL.COM> > , Weike > .Chen@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 !=3D 0' failed. > > > > And I also try the gdb in ports/devel, and got the same error. > > > > Any workaround for the error? >=20 > Which kgdb are you using? The /usr/libexec one or the port? >=20 I use the kgdb in port, and I also try the kgdb in /usr/libexec, but it rep= orts error "Cannot access memory at address 0x0" while loading my core file= . >=20 > -- > Cheers, > Cy Schubert <Cy.Schubert@cschubert.com> > FreeBSD UNIX: <cy@FreeBSD.org> Web: http://www.FreeBSD.org >=20 > The need of the many outweighs the greed of the few. >=20
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?d4cc88517ff8429a986a5534093977f9>