From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Paul Eggert Newsgroups: gmane.emacs.devel Subject: Re: latest-from-bzr segfaults easily Date: Wed, 25 May 2011 10:18:38 -0700 Organization: UCLA Computer Science Department Message-ID: <4DDD39EE.20509@cs.ucla.edu> References: <87mxibc8ip.fsf@rho.meyering.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1306343937 894 80.91.229.12 (25 May 2011 17:18:57 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 25 May 2011 17:18:57 +0000 (UTC) Cc: Emacs development discussions To: Jim Meyering Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed May 25 19:18:47 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 1QPHjJ-0001a4-0V for ged-emacs-devel@m.gmane.org; Wed, 25 May 2011 19:18:45 +0200 Original-Received: from localhost ([::1]:60483 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QPHjI-00020k-J4 for ged-emacs-devel@m.gmane.org; Wed, 25 May 2011 13:18:44 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:40690) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QPHjF-00020U-RS for emacs-devel@gnu.org; Wed, 25 May 2011 13:18:42 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QPHjE-0002ov-Tq for emacs-devel@gnu.org; Wed, 25 May 2011 13:18:41 -0400 Original-Received: from smtp.cs.ucla.edu ([131.179.128.62]:60090) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QPHjE-0002oI-OU for emacs-devel@gnu.org; Wed, 25 May 2011 13:18:40 -0400 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp.cs.ucla.edu (Postfix) with ESMTP id 4F30C39E80F7; Wed, 25 May 2011 10:18:39 -0700 (PDT) X-Virus-Scanned: amavisd-new at smtp.cs.ucla.edu Original-Received: from smtp.cs.ucla.edu ([127.0.0.1]) by localhost (smtp.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qRifH3L8P32W; Wed, 25 May 2011 10:18:38 -0700 (PDT) Original-Received: from [131.179.64.200] (Penguin.CS.UCLA.EDU [131.179.64.200]) by smtp.cs.ucla.edu (Postfix) with ESMTPSA id B5C9C39E80F2; Wed, 25 May 2011 10:18:38 -0700 (PDT) User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110428 Fedora/3.1.10-1.fc14 Thunderbird/3.1.10 In-Reply-To: <87mxibc8ip.fsf@rho.meyering.net> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 131.179.128.62 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:139703 Archived-At: 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? Maybe you should look into those headers.