> -----Original Message----- > From: Cy Schubert <cy.schub...@cschubert.com> > Sent: Tuesday, July 30, 2019 3:49 AM > To: Chen, Alvin W <weike_c...@dell.com> > Cc: freebsd-current@freebsd.org > Subject: Re: kgdb assert while loading a kernel core > > > [EXTERNAL EMAIL] > > In message > <e07d7daaa7d2442b87f794b8629bc...@kulx13mdc127.apac.dell.com> > , Weike > .c...@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? > I use the kgdb in port, and I also try the kgdb in /usr/libexec, but it reports error "Cannot access memory at address 0x0" while loading my core file.
> > -- > Cheers, > Cy Schubert <cy.schub...@cschubert.com> > FreeBSD UNIX: <c...@freebsd.org> Web: http://www.FreeBSD.org > > The need of the many outweighs the greed of the few. > _______________________________________________ freebsd-current@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"