Date: Mon, 17 Aug 2009 23:33:31 +0100 From: Bruce Cran <bruce@cran.org.uk> To: Bruce Cran <bruce@cran.org.uk> Cc: FreeBSD current <freebsd-current@freebsd.org>, Thomas Backman <serenity@exscape.org> Subject: Re: ps -axl during textdumps occasionally segfaults with a HUGE ps.core Message-ID: <20090817233331.2adbf2a8@tau.draftnet> In-Reply-To: <20090815142043.2b18dae0@tau.draftnet> References: <665DE2F7-0899-40B7-9129-2082F2188D3E@exscape.org> <94F61AF3-E0D2-4BCD-8C74-07C3C0752A47@exscape.org> <20090814093916.11c89255@gluon.draftnet> <9CBAB74F-45CD-4B20-835C-A77C9D01B5D1@exscape.org> <20090815142043.2b18dae0@tau.draftnet>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 15 Aug 2009 14:20:43 +0100 Bruce Cran <bruce@cran.org.uk> wrote: > I managed to get a full backtrace and can at least see what's causing > the crash: it seems it's stepping past the nlist array and calls > vsnprintf with a bad argument. kvm_nlist returns -1 to report that the > symbol table couldn't be read, but the code assumes it has returned a > positive number to indicate that there's an invalid entry, so it > starts searching for that entry where n_type is 0. I've submitted a bug report for this - it's http://www.freebsd.org/cgi/query-pr.cgi?pr=137890 -- Bruce Cran
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090817233331.2adbf2a8>