From owner-freebsd-current@FreeBSD.ORG Fri Aug 14 08:59:08 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DF277106568B for ; Fri, 14 Aug 2009 08:59:08 +0000 (UTC) (envelope-from bruce@cran.org.uk) Received: from muon.cran.org.uk (muon.cran.org.uk [66.246.138.153]) by mx1.freebsd.org (Postfix) with ESMTP id 9F14D8FC4B for ; Fri, 14 Aug 2009 08:59:08 +0000 (UTC) Received: from gluon.draftnet (87-194-158-129.bethere.co.uk [87.194.158.129]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by muon.cran.org.uk (Postfix) with ESMTPSA id B05CA8463; Fri, 14 Aug 2009 08:39:30 +0000 (UTC) Date: Fri, 14 Aug 2009 09:39:16 +0100 From: Bruce Cran To: Thomas Backman Message-ID: <20090814093916.11c89255@gluon.draftnet> In-Reply-To: <94F61AF3-E0D2-4BCD-8C74-07C3C0752A47@exscape.org> References: <665DE2F7-0899-40B7-9129-2082F2188D3E@exscape.org> <94F61AF3-E0D2-4BCD-8C74-07C3C0752A47@exscape.org> X-Mailer: Claws Mail 3.7.2 (GTK+ 2.16.4; i386-portbld-freebsd7.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: FreeBSD current Subject: Re: ps -axl during textdumps occasionally segfaults with a HUGE ps.core X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Aug 2009 08:59:08 -0000 On Thu, 30 Jul 2009 09:00:50 +0200 Thomas Backman wrote: > On Jul 29, 2009, at 22:19, Thomas Backman wrote: > > > All the info I happen to have: > > > > (from core.txt.X) > > "ps -axl > > > > Segmentation fault (core dumped)" > > > > The last core I got (/ps.core) was 1076211712 bytes (1026 MiB). > > > > Anyone else with this problem? > > Unfortunately, I deleted the most recent core and so can't gdb it, > > at least not right now. I did try it on the first one, but got a > > very broken backtrace. > > > > Regards, > > Thomas > More detail: > > Core was generated by `ps'. > Program terminated with signal 11, Segmentation fault. > Reading symbols from /lib/libm.so.5...(no debugging symbols > found)...done. > Loaded symbols for /lib/libm.so.5 > Reading symbols from /lib/libkvm.so.5...(no debugging symbols > found)...done. > Loaded symbols for /lib/libkvm.so.5 > Reading symbols from /lib/libc.so.7...(no debugging symbols > found)...done. > Loaded symbols for /lib/libc.so.7 > Reading symbols from /libexec/ld-elf.so.1...(no debugging symbols > found)...done. > Loaded symbols for /libexec/ld-elf.so.1 > #0 0x00000008009603a6 in bcopy () from /lib/libc.so.7 > (gdb) bt > #0 0x00000008009603a6 in bcopy () from /lib/libc.so.7 > #1 0x0000000800770141 in _kvm_freeprocs () from /lib/libkvm.so.5 > #2 0x0000000800770870 in kvm_getprocs () from /lib/libkvm.so.5 > #3 0x0000000000405322 in uname () > #4 0x0000000000401f0e in ?? () > #5 0x0000000800539000 in ?? () > #6 0x0000000000000000 in ?? () > #7 0x0000000000000006 in ?? () > #8 0x00007fffffffef40 in ?? () > #9 0x00007fffffffef43 in ?? () > #10 0x00007fffffffef46 in ?? () > #11 0x00007fffffffef5b in ?? () > #12 0x00007fffffffef5e in ?? () > #13 0x00007fffffffef72 in ?? () > #14 0x0000000000000000 in ?? () > ... > #586 0x0000000000000000 in ?? () > #587 0x0073702f6e69622f in ?? () > #588 0x247c8d48002454ff in ?? () > #589 0x01a1c0c748006a10 in ?? () > #590 0x66fdebf4050f0000 in ?? () > #591 0x9066669066669066 in ?? () > #592 0x00007fffffffeda0 in ?? () > #593 0x0000000000000006 in ?? () > #594 0x00007fffffffedd8 in ?? () > #595 0x0000000000000004 in ?? () > Cannot access memory at address 0x800000000000 > (gdb) > > Not exactly a lot of useful info. Still, anyone else noticed this? > Oh, and this core was *exactly* as big as the previous one > (1076211712 bytes)... > I'm seeing 'ps -axl' segfault too - it seems operating on core files is broken, because unsurprisingly I can get it to segfault just by running 'ps -axl -M /var/crash/vmcore.2'. During boot I only get a partial core file (350MB) because it fills my root partition, but the full core is 1GB. -- Bruce Cran