From owner-freebsd-ports@FreeBSD.ORG Sat Jul 12 19:09:18 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 93F8D106566C for ; Sat, 12 Jul 2008 19:09:18 +0000 (UTC) (envelope-from bsd-unix@embarqmail.com) Received: from mailrelay.embarq.synacor.com (mailrelay.embarq.synacor.com [208.47.184.3]) by mx1.freebsd.org (Postfix) with ESMTP id 3D7AE8FC14 for ; Sat, 12 Jul 2008 19:09:18 +0000 (UTC) (envelope-from bsd-unix@embarqmail.com) DKIM-Signature: v=1; a=rsa-sha1; d=embarqmail.com; s=s012408; c=relaxed/simple; q=dns/txt; i=@embarqmail.com; t=1215889756; h=From:Subject:Date:To:Mime-Version:Content-Type; bh=VC3//RdhTDvgpZeK5KwM0SHwAZg=; b=iqi9Sx9DU6GTNlqD2505WbOds61Y1WUi/P7jO9XQ6IN5NA+LOEXSN8M4b87Qb4uT mH7v5T0WUErW9USUl7uQm2c9/BtZgkvRau7wjpJRnYTpiYaSHPyh79uVBHjItX2j; X_CMAE_Category: 0,0 Undefined,Undefined X-CNFS-Analysis: v=1.0 c=1 a=tmU2tAm5f58A:10 a=hzy2n1nhtIMA:10 a=kMPJttiiAAAA:8 a=kW_ePpQmkiZavR0nItkA:9 a=IE7mepm1HnzKaiJCVooA:7 a=RNoAgx9GSfXHCjkwC4jMZpiNK1kA:4 a=MSl-tDqOz04A:10 a=cvn8laQl214A:10 a=SV7veod9ZcQA:10 a=LY0hPdMaydYA:10 X-CM-Score: 0 X-Scanned-by: Cloudmark Authority Engine Authentication-Results: smtp07.embarq.synacor.com smtp.user=rpratt1950@embarqmail.com; auth=pass (LOGIN) Received: from [74.4.72.185] ([74.4.72.185:59465] helo=kt.weeeble.com) by mailrelay.embarq.synacor.com (envelope-from ) (ecelerity 2.2.1.28 r(22594)) with ESMTPA id 79/EC-10935-C5109784; Sat, 12 Jul 2008 15:09:16 -0400 Date: Sat, 12 Jul 2008 15:09:14 -0400 From: Randy Pratt To: "Garrett Cooper" Message-Id: <20080712150914.99751dab.bsd-unix@embarqmail.com> In-Reply-To: <7d6fde3d0807121023kd9d6464u3dfec95908b6c3d7@mail.gmail.com> References: <20080712100025.209db9d8.bsd-unix@embarqmail.com> <20080712142636.GA21097@eos.sc1.parodius.com> <20080712104740.e975109e.bsd-unix@embarqmail.com> <7d6fde3d0807121023kd9d6464u3dfec95908b6c3d7@mail.gmail.com> X-Mailer: Sylpheed 2.5.0 (GTK+ 2.12.11; i386-portbld-freebsd6.3) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Jeremy Chadwick , freebsd-ports@freebsd.org Subject: Re: Core dump using csup to update ports tree X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Jul 2008 19:09:18 -0000 On Sat, 12 Jul 2008 10:23:07 -0700 "Garrett Cooper" wrote: > On Sat, Jul 12, 2008 at 7:47 AM, Randy Pratt wrote: > > On Sat, 12 Jul 2008 07:26:36 -0700 > > Jeremy Chadwick wrote: > > > >> On Sat, Jul 12, 2008 at 10:00:25AM -0400, Randy Pratt wrote: > >> > Later, I retried cvsup5.us.freebsd.org and was not able to duplicate > >> > the core dump. I do have the core dump if its of any use: > >> > > >> > http://myfreebsd.homeunix.net/csup.core > >> > >> Can you provide a backtrace with this core? > >> > >> $ gdb /usr/bin/csup csup.core > >> ... > >> (gdb) bt full > > > > # gdb /usr/bin/csup csup.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 "i386-marcel-freebsd"...(no > > debugging symbols found)... Core was generated by `csup'. > > Program terminated with signal 11, Segmentation fault. > > Reading symbols from /lib/libcrypto.so.4...(no debugging symbols > > found)...done. Loaded symbols for /lib/libcrypto.so.4 > > Reading symbols from /lib/libz.so.3...(no debugging symbols > > found)...done. Loaded symbols for /lib/libz.so.3 > > Reading symbols from /lib/libpthread.so.2...(no debugging symbols > > found)...done. Loaded symbols for /lib/libpthread.so.2 > > Reading symbols from /lib/libc.so.6...(no debugging symbols > > found)...done. Loaded symbols for /lib/libc.so.6 > > Reading symbols from /libexec/ld-elf.so.1...(no debugging symbols > > found)...done. Loaded symbols for /libexec/ld-elf.so.1 > > #0 0x281b3677 in pthread_testcancel () from /lib/libpthread.so.2 > > [New Thread 0x8066600 (LWP 100197)] > > [New Thread 0x8066000 (runnable)] > > [New LWP 100198] > > (gdb) bt full > > #0 0x281b3677 in pthread_testcancel () from /lib/libpthread.so.2 > > No symbol table info available. > > #1 0x281abaaa in pthread_mutexattr_init () from /lib/libpthread.so.2 > > No symbol table info available. > > #2 0x2808d450 in ?? () > > No symbol table info available. > > (gdb) q > > # > > > > Thanks for the interest and response, > > > > Best regards, > > > > Randy > > Randy, > Did you build csup yourself or did it come prepackaged with the > base system? If the former, please recompiling csup with CFLAGS=-g (as > well as your current CFLAGS) and then repost your results. > Also, please provide your CFLAGS (and any other compile flag > variables) as a sidenote. Its the csup built with the base system. The only thing of consequence in /etc/make.conf is: CFLAGS= -O -pipe NO_PROFILE=true # Avoid compiling profiled libraries I can see where the additional debugging symbols might be useful *if* it happens again. I can't reproduce it on demand. How would I rebuild the base csup to use the -g or would it be better to switch to the ports csup version and do it there? Thanks, Randy --