From owner-freebsd-current@FreeBSD.ORG Tue Dec 15 17:19:04 2009 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 E5120106566C for ; Tue, 15 Dec 2009 17:19:04 +0000 (UTC) (envelope-from pb@fasterix.frmug.org) Received: from fasterix.frmug.org (unknown [IPv6:2a01:e35:8b50:2c40::2]) by mx1.freebsd.org (Postfix) with ESMTP id 5CDB58FC18 for ; Tue, 15 Dec 2009 17:19:04 +0000 (UTC) Received: from fasterix.frmug.org (localhost [127.0.0.1]) by fasterix.frmug.org (8.14.3/8.14.3) with ESMTP id nBFHJ2oJ014637 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 15 Dec 2009 18:19:02 +0100 (CET) (envelope-from pb@fasterix.frmug.org) Received: (from pb@localhost) by fasterix.frmug.org (8.14.3/8.14.3/Submit) id nBFHJ2Xc014636; Tue, 15 Dec 2009 18:19:02 +0100 (CET) (envelope-from pb) Date: Tue, 15 Dec 2009 18:19:02 +0100 From: Pierre Beyssac To: Gary Jennejohn Message-ID: <20091215171902.GA13936@fasterix.frmug.org> References: <20091211232356.309C21CC09@ptavv.es.net> <864ontolud.fsf@ds4.des.no> <4B262BF9.1010500@stillbilde.net> <86ljh5n1wk.fsf@ds4.des.no> <86d42hmu1o.fsf@ds4.des.no> <20091215080637.GA8100@rink.nu> <20091215140234.GA94567@fasterix.frmug.org> <20091215174905.467da401@ernst.jennejohn.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20091215174905.467da401@ernst.jennejohn.org> User-Agent: Mutt/1.4.2.3i X-message-flag: Warning! Use of Microsoft Outlook is dangerous and makes your system susceptible to worms and viruses Cc: freebsd-current@freebsd.org Subject: Re: "illegal hardware instruction (core dumped)" cvsup/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: Tue, 15 Dec 2009 17:19:05 -0000 On Tue, Dec 15, 2009 at 05:49:05PM +0100, Gary Jennejohn wrote: > > Recompiling cvsup + ezm3 didn't fix the problem; neither did trying > > a libc from October. > I reported this everal weeks ago but there was never a satisfactory > resolution to the problem. > > One poster (scf@) reported that using a 32-bit binary solves the problem. Yes, I did that too, a 32bit cvsup binary I copied from another -current machine works. > In my experience running cvsup against a remote server (to keep a local > CVS tree up to date) works just fine. > Are you also running cvsupd and attaching to it? No. I don't have a local server, cvsup is running against a remote server. More info: When running from gdb, the error shows up as SIGSEGV on a callq to an invalid address. Could this be a dynamic link error? Here's a disassembly of the code; actually it seems to be somewhere inside lib/libc/stdtime/localtime:timesub() (called by gmtime_r). Program received signal SIGSEGV, Segmentation fault. 0x00000008009ffe2b in gmtime_r () from /lib/libc.so.7 0x00000008009ffe0b : mov 1364798(%rip),%r14 # 0x800b4d150 <__thr_jtable+90512> 0x00000008009ffe12 : mov %edx,%r13d 0x00000008009ffe15 : mov (%r14),%rax 0x00000008009ffe18 : mov %rax,0xee68(%rsp) 0x00000008009ffe20 : xor %eax,%eax 0x00000008009ffe22 : test %rdi,%rdi 0x00000008009ffe25 : je 0x8009fff80 0x00000008009ffe2b : callq 0x80095b4cc 0x00000008009ffe30 : test %eax,%eax 0x00000008009ffe32 : jne 0x8009fff52 (gdb) print signgam $1 = 0 > Otherwise I suggest using csup, which does not exhibit any bugs. True, I just did that following a private suggestion and it works just fine :-) -- Pierre Beyssac pb@fasterix.frmug.org