From owner-freebsd-current@FreeBSD.ORG Fri Sep 9 16:21:00 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 F11D91065670 for ; Fri, 9 Sep 2011 16:20:59 +0000 (UTC) (envelope-from lehmann@ans-netz.de) Received: from avocado.salatschuessel.net (avocado.salatschuessel.net [78.111.72.186]) by mx1.freebsd.org (Postfix) with SMTP id 685258FC18 for ; Fri, 9 Sep 2011 16:20:59 +0000 (UTC) Received: (qmail 17014 invoked by uid 80); 9 Sep 2011 16:20:58 -0000 Received: from dsdf-4db5c6ba.pool.mediaWays.net (dsdf-4db5c6ba.pool.mediaWays.net [77.181.198.186]) by avocado.salatschuessel.net (Horde Framework) with HTTP; Fri, 09 Sep 2011 18:20:57 +0200 Date: Fri, 09 Sep 2011 18:20:57 +0200 Message-ID: <20110909182057.Horde.QfGtR6Qd9PdOajzp5H8kF3A@avocado.salatschuessel.net> From: Oliver Lehmann To: Kostik Belousov References: <20110909113046.Horde.MHKEMKQd9PdOadzGA0vRXXA@avocado.salatschuessel.net> <20110909095521.GX17489@deviant.kiev.zoral.com.ua> <20110909134737.Horde.JTghXaQd9PdOafzZBeiBX2U@avocado.salatschuessel.net> <20110909123007.GZ17489@deviant.kiev.zoral.com.ua> <20110909161942.Horde.fmddS6Qd9PdOaiB_P8oBX2c@avocado.salatschuessel.net> <20110909142757.GB17489@deviant.kiev.zoral.com.ua> <20110909163454.Horde.qr2VFKQd9PdOaiQOi-MhX2U@avocado.salatschuessel.net> <20110909145512.GC17489@deviant.kiev.zoral.com.ua> <20110909150002.GD17489@deviant.kiev.zoral.com.ua> In-Reply-To: <20110909150002.GD17489@deviant.kiev.zoral.com.ua> User-Agent: Internet Messaging Program (IMP) H4 (5.0.9) Content-Type: text/plain; charset=ISO-8859-1; format=flowed; DelSp=Yes MIME-Version: 1.0 Content-Disposition: inline Cc: 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 List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Sep 2011 16:21:00 -0000 Kostik Belousov wrote: > On Fri, Sep 09, 2011 at 05:55:13PM +0300, Kostik Belousov wrote: >> Ok, please do the following: >> run cvsup under the gdb. When SIGSEGV is raised, from the gdb prompt, do: >> 1. info registers $rsp >> 2. info program >> This should print you the pid of the process, then do >> 3. shell procstat -v (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 () (gdb) info registers $rsp rsp 0x916c98 0x916c98 (gdb) info program Using the running image of child process 14704. Program stopped at 0x4d24c6. It stopped with signal SIGSEGV, Segmentation fault. (gdb) nudel# procstat -v 14704 PID START END PRT RES PRES REF SHD FL TP PATH 14704 0x400000 0x53f000 r-x 219 0 1 0 C- vn /usr/obj/amd64/usr/ports/net/cvsup-without-gui/work/cvsup-snap-16.1h/client/FBSD_AMD64/cvsup 14704 0x73f000 0x7bf000 rw- 128 0 1 0 C- vn /usr/obj/amd64/usr/ports/net/cvsup-without-gui/work/cvsup-snap-16.1h/client/FBSD_AMD64/cvsup 14704 0x7bf000 0x844000 rw- 119 0 15 0 -- df 14704 0x844000 0x845000 r-- 1 0 15 0 -- df 14704 0x845000 0x867000 rw- 34 0 15 0 -- df 14704 0x867000 0x868000 r-- 1 0 15 0 -- df 14704 0x868000 0x88a000 rw- 34 0 15 0 -- df 14704 0x88a000 0x88b000 r-- 1 0 15 0 -- df 14704 0x88b000 0x8ad000 rw- 34 0 15 0 -- df 14704 0x8ad000 0x8ae000 r-- 1 0 15 0 -- df 14704 0x8ae000 0x8d0000 rw- 34 0 15 0 -- df 14704 0x8d0000 0x8d1000 r-- 1 0 15 0 -- df 14704 0x8d1000 0x8f3000 rw- 34 0 15 0 -- df 14704 0x8f3000 0x8f4000 r-- 1 0 15 0 -- df 14704 0x8f4000 0x916000 rw- 34 0 15 0 -- df 14704 0x916000 0x917000 r-- 1 0 15 0 -- df 14704 0x917000 0xa87000 rw- 344 0 15 0 -- df 14704 0x800740000 0x800743000 rw- 2 0 1 0 -- df 14704 0x800743000 0x800751000 r-- 12 0 1 0 -- vn /mnt/files/FreeBSD/9.0/src/crypto/openssl/ssl/s3_lib.c 14704 0x7ffffffbf000 0x7ffffffdf000 rwx 1 0 1 0 -- df 14704 0x7ffffffdf000 0x7ffffffff000 rwx 11 0 1 0 -- df 14704 0x7ffffffff000 0x800000000000 r-x 1 0 47 0 CN ph nudel# > Also, you might try to test my guesswork, by adding the following > patch to lang/ezm3 and rebuilding it, then rebuilding cvsup port: [made a file below ezm3/files, cleaned the workdir, reinstalled it cleaned cvsup, rebuilt it] no change so far (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 () (gdb)