Date: Tue, 18 Aug 2009 13:30:33 GMT From: gavin@FreeBSD.org To: bruce@cran.org.uk, gavin@FreeBSD.org, freebsd-bugs@FreeBSD.org, gavin@FreeBSD.org Subject: Re: kern/137890: [libkvm] ps segfaults with -ax when inspecting core files Message-ID: <200908181330.n7IDUX5j056344@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
Synopsis: [libkvm] ps segfaults with -ax when inspecting core files State-Changed-From-To: open->feedback State-Changed-By: gavin State-Changed-When: Tue Aug 18 13:14:10 UTC 2009 State-Changed-Why: Can you try http://people.freebsd.org/~gavin/PRs/137890.diff ? The failing part is attempting to check that all symbols were found. Looking at the kvm_nproc manpage, the list returned by kvm_nlist is supposed to be terminated by "p->n_name == NULL", however this wasn't being checked. We were therefore wandering off the end of the list. Responsible-Changed-From-To: freebsd-bugs->gavin Responsible-Changed-By: gavin Responsible-Changed-When: Tue Aug 18 13:14:10 UTC 2009 Responsible-Changed-Why: Track http://www.freebsd.org/cgi/query-pr.cgi?pr=137890
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200908181330.n7IDUX5j056344>