kern/137890: [libkvm] ps segfaults with -ax when inspecting
core files
gavin at FreeBSD.org
gavin at FreeBSD.org
Tue Aug 18 13:30:33 UTC 2009
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
More information about the freebsd-bugs
mailing list