From owner-freebsd-current@FreeBSD.ORG Sat Sep 10 10:19:53 2011 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 9A3A2106566B; Sat, 10 Sep 2011 10:19:53 +0000 (UTC) (envelope-from gljennjohn@googlemail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id B79A18FC16; Sat, 10 Sep 2011 10:19:52 +0000 (UTC) Received: by fxe4 with SMTP id 4so4344832fxe.13 for ; Sat, 10 Sep 2011 03:19:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=date:from:to:cc:subject:message-id:in-reply-to:references:reply-to :x-mailer:mime-version:content-type:content-transfer-encoding; bh=MQz/hMVF1hpF5EKgHRbjoc3KV0D5lyV9AFbX8BSLtSw=; b=ssOJ+36eQ1kRes+J45DO/wr02InnJ48wm9Y5wJ1Q3wbp+8Rp/8kmk9dHSCkeaYuvI6 FK9uSiF5ktTV9YCx/CCsozdwU7V0DJ4+zst6qSWrhTXY7KNgfGqY+/4DJBfiRVArPQrL AGk1YZrDooYLJffwbhIqV3YxDVqvZwohwaWes= Received: by 10.223.30.214 with SMTP id v22mr1292149fac.108.1315649991434; Sat, 10 Sep 2011 03:19:51 -0700 (PDT) Received: from ernst.jennejohn.org (p578E2925.dip.t-dialin.net [87.142.41.37]) by mx.google.com with ESMTPS id h22sm4248624fag.15.2011.09.10.03.19.49 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 10 Sep 2011 03:19:50 -0700 (PDT) Date: Sat, 10 Sep 2011 12:19:48 +0200 From: Gary Jennejohn To: Oliver Lehmann Message-ID: <20110910121948.6872e227@ernst.jennejohn.org> In-Reply-To: <20110909134737.Horde.JTghXaQd9PdOafzZBeiBX2U@avocado.salatschuessel.net> References: <20110909113046.Horde.MHKEMKQd9PdOadzGA0vRXXA@avocado.salatschuessel.net> <20110909095521.GX17489@deviant.kiev.zoral.com.ua> <20110909134737.Horde.JTghXaQd9PdOafzZBeiBX2U@avocado.salatschuessel.net> X-Mailer: Claws Mail 3.7.10 (GTK+ 2.18.7; amd64-portbld-freebsd9.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Kostik Belousov , Chris Rees , freebsd-current@freebsd.org, Mike Tancsa Subject: Re: cvsup broken on amd64? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: gljennjohn@googlemail.com List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Sep 2011 10:19:53 -0000 On Fri, 09 Sep 2011 13:47:37 +0200 Oliver Lehmann wrote: > > Kostik Belousov wrote: > > > For start, you should provide the information what exactly is the > > instruction that caused the fault. Show the disassembly from gdb > > for the function that caused the fault. > > Ok, I'm trying. I recompiled cvsup for purpose with -DSTATIC > > How do I continue from the gdb output below to help? > > nudel# gdb > 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". > (gdb) file ./client/FBSD_AMD64/cvsup > Reading symbols from ./client/FBSD_AMD64/cvsup...done. > (gdb) exec-file ./client/FBSD_AMD64/cvsup > (gdb) set args -g /usr/share/examples/cvsup/9-supfile > (gdb) run > Starting program: > /usr/obj/amd64/usr/ports/net/cvsup-without-gui/work/cvsup-snap-16.1h/client/FBSD_AMD64/cvsup -g > /usr/share/examples/cvsup/9-supfile > Connected to cvsup.de.FreeBSD.org > Updating collection src-all/cvs > Edit src/crypto/openssl/ssl/s3_lib.c > > Program received signal SIGSEGV, Segmentation fault. > 0x00000000004d24c6 in tzload () > [snip] Ah yes, I've seen this before. I don't know whether it's till the case, but my fix at the time (about 1 year ago) was to delete /usr/share/zoneinfo/UTC. I don't know whether that's even still installed. I know, it's just a work around and not a real fix. -- Gary Jennejohn