Re: cvsup broken on amd64?

From: Gary Jennejohn <gljennjohn_at_googlemail.com>
Date: Sat, 10 Sep 2011 12:19:48 +0200
On Fri, 09 Sep 2011 13:47:37 +0200
Oliver Lehmann <lehmann_at_ans-netz.de> wrote:

> 
> Kostik Belousov <kostikbel_at_gmail.com> 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
Received on Sat Sep 10 2011 - 08:19:53 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:17 UTC