From owner-freebsd-stable@FreeBSD.ORG Thu Nov 3 00:01:26 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8F9C7106564A for ; Thu, 3 Nov 2011 00:01:26 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from qmta07.emeryville.ca.mail.comcast.net (qmta07.emeryville.ca.mail.comcast.net [76.96.30.64]) by mx1.freebsd.org (Postfix) with ESMTP id 763298FC08 for ; Thu, 3 Nov 2011 00:01:26 +0000 (UTC) Received: from omta08.emeryville.ca.mail.comcast.net ([76.96.30.12]) by qmta07.emeryville.ca.mail.comcast.net with comcast id sPuj1h0010FhH24A7Q1JAx; Thu, 03 Nov 2011 00:01:18 +0000 Received: from koitsu.dyndns.org ([67.180.84.87]) by omta08.emeryville.ca.mail.comcast.net with comcast id sQ0o1h00l1t3BNj8UQ0o0R; Thu, 03 Nov 2011 00:00:49 +0000 Received: by icarus.home.lan (Postfix, from userid 1000) id C4ECC102C19; Wed, 2 Nov 2011 17:01:24 -0700 (PDT) Date: Wed, 2 Nov 2011 17:01:24 -0700 From: Jeremy Chadwick To: Frank Razenberg Message-ID: <20111103000124.GA67550@icarus.home.lan> References: <4EB1BCAD.7080206@zzattack.org> <20111102233807.GA67112@icarus.home.lan> <4EB1D6F9.3060008@zzattack.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4EB1D6F9.3060008@zzattack.org> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: smartmontools-support@lists.sourceforge.net, FreeBSD Stable Mailing List Subject: Re: smartctl / mpt on 9.0-RC1 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Nov 2011 00:01:26 -0000 On Thu, Nov 03, 2011 at 12:49:13AM +0100, Frank Razenberg wrote: > Thanks for your reply. It seems I'm missing a lot of debug symbols. > I will look into getting a more useful backtrace. > For what it's worth I added the gdb output below. > > -Frank > > # gdb /usr/local/sbin/smartctl ~/smartctl.core > GNU gdb 6.1.1 [FreeBSD] > Copyright 2004 Free Software Foundation, Inc. > GDB is free software, covered by the GNU General Public License, and > you are > welcome to change it and/or distribute copies of it under certain > conditions. > Type "show copying" to see the conditions. > There is absolutely no warranty for GDB. Type "show warranty" for > details. > This GDB was configured as "amd64-marcel-freebsd"...(no debugging > symbols found)... > Core was generated by `smartctl'. > Program terminated with signal 11, Segmentation fault. > Reading symbols from /lib/libcam.so.6...(no debugging symbols > found)...done. > Loaded symbols for /lib/libcam.so.6 > Reading symbols from /usr/lib/libusb.so.2...(no debugging symbols > found)...done. > Loaded symbols for /usr/lib/libusb.so.2 > Reading symbols from /usr/lib/libstdc++.so.6...(no debugging symbols > found)...done. > Loaded symbols for /usr/lib/libstdc++.so.6 > Reading symbols from /lib/libm.so.5...(no debugging symbols > found)...done. > Loaded symbols for /lib/libm.so.5 > Reading symbols from /lib/libgcc_s.so.1...(no debugging symbols > found)...done. > Loaded symbols for /lib/libgcc_s.so.1 > Reading symbols from /lib/libc.so.7...(no debugging symbols > found)...done. > Loaded symbols for /lib/libc.so.7 > Reading symbols from /lib/libsbuf.so.6...(no debugging symbols > found)...done. > Loaded symbols for /lib/libsbuf.so.6 > Reading symbols from /libexec/ld-elf.so.1...(no debugging symbols > found)...done. > Loaded symbols for /libexec/ld-elf.so.1 > #0 0x0000000000000000 in ?? () > (gdb) bt > #0 0x0000000000000000 in ?? () > #1 0x0000000000000000 in ?? () > #2 0x0000000000000000 in ?? () > #3 0x0000000000000000 in ?? () > #4 0x0000000000000000 in ?? () > #5 0x0000000000000000 in ?? () > #6 0x0000000000000000 in ?? () > #7 0x0000000000000000 in ?? () > #8 0x0000000000000000 in ?? () > #9 0x0000000000000000 in ?? () > #10 0x0000000000000000 in ?? () > #11 0x0000000000000000 in ?? () > #12 0x0000000000000000 in ?? () > #13 0x0000000000000000 in ?? () > #14 0x0000000000000000 in ?? () > #15 0x0000000000000000 in ?? () > #16 0x0000000000000000 in ?? () > #17 0x0000000000000000 in ?? () > #18 0x0000000000000000 in ?? () > #19 0x0000000000000000 in ?? () > #20 0x0000000000000000 in ?? () > #21 0x0000000000000000 in ?? () > #22 0x0000000000000000 in ?? () > #23 0x0000000000000000 in ?? () > #24 0x0000000000000000 in ?? () > #25 0x0000000000000000 in ?? () > #26 0x0000000000000000 in ?? () > #27 0xffffffff00000000 in ?? () > #28 0x0000000000000000 in ?? () > #29 0x0000000000000000 in ?? () > #30 0x0000000000000000 in ?? () > #31 0x0000000000000000 in ?? () > #32 0x0000000000000000 in ?? () > #33 0x0000000000000000 in ?? () > #34 0x0000000000000000 in ?? () > ---Type to continue, or q to quit--- Is there anything visible further down in the calling frame stack (e.g. past frame #34)? Was this built with clang or gcc? And I assume it was built from source rather than installed via pkg_add? -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, US | | Making life hard for others since 1977. PGP 4BD6C0CB |