From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jim Meyering Newsgroups: gmane.emacs.devel Subject: Re: latest-from-bzr segfaults easily Date: Fri, 27 May 2011 11:17:01 +0200 Message-ID: <87tycgzenm.fsf@rho.meyering.net> References: <87mxibc8ip.fsf@rho.meyering.net> <4DDD39EE.20509@cs.ucla.edu> <87sjs2aa6t.fsf@rho.meyering.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1306487831 12518 80.91.229.12 (27 May 2011 09:17:11 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 27 May 2011 09:17:11 +0000 (UTC) Cc: Emacs development discussions To: Paul Eggert Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri May 27 11:17:06 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QPtAI-0005xm-Kv for ged-emacs-devel@m.gmane.org; Fri, 27 May 2011 11:17:06 +0200 Original-Received: from localhost ([::1]:44758 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QPtAI-0001AD-7N for ged-emacs-devel@m.gmane.org; Fri, 27 May 2011 05:17:06 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:56332) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QPtAF-00019x-Kz for emacs-devel@gnu.org; Fri, 27 May 2011 05:17:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QPtAE-0003d9-Qm for emacs-devel@gnu.org; Fri, 27 May 2011 05:17:03 -0400 Original-Received: from mx.meyering.net ([82.230.74.64]:52270) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QPtAE-0003d3-KT for emacs-devel@gnu.org; Fri, 27 May 2011 05:17:02 -0400 Original-Received: by rho.meyering.net (Acme Bit-Twister, from userid 1000) id 14AD5600DF; Fri, 27 May 2011 11:17:02 +0200 (CEST) In-Reply-To: <87sjs2aa6t.fsf@rho.meyering.net> (Jim Meyering's message of "Wed, 25 May 2011 20:48:10 +0200") Original-Lines: 38 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 82.230.74.64 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:139756 Archived-At: Jim Meyering wrote: > Paul Eggert wrote: > >> On 05/25/11 04:41, Jim Meyering wrote: >>> The latest is not usable for me on Fedora 15, x86_64. >>> >>> How to reproduce using emacs built from the latest bzr >>> sources of about 5 hours ago: >>> >>> First, get a cloned copy of the dash sources: >>> (you can probably use C source file, but this is particularly reliable) >>> >>> git clone git://git.kernel.org/pub/scm/utils/dash/dash.git && cd dash >>> >>> Then, run this and type `C-s sh_': >>> >>> $ /p/p/emacs-2011-05-25.08h03/bin/emacs -q src/error.c >>> Fatal error (11)zsh: abort (core dumped) >> >> I can't reproduce the problem on Fedora 14, x86_64. >> I used bzr 104366 and the command: >> >> ~/src/gnu/emacs/trunkclone/src/emacs -q src/error.c >> >> It could be a Fedora 15 thing, or it could be something else >> different in our setups. >> >> I recall having a similer problem on Ubuntu 10.10 that I tracked >> down to a bug in the glibc string headers: they had marked memmove's >> parameters to be 'restrict', which is quite bogus, and caused >> GCC 4.6.0 to generate incorrect code. Are you using GCC 4.6.0? > > Yes, but the head from just a dozen hours earlier works fine. > I'll end up using bisection, if I find the time. Luckily(?) the problem disappeared when I rebuilt with the latest from some time yesterday.