From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Paul Eggert Newsgroups: gmane.emacs.bugs Subject: bug#23726: emacs 25.0.94 crashes Date: Wed, 8 Jun 2016 10:32:06 -0700 Organization: UCLA Computer Science Department Message-ID: <489b54c6-1d39-4f47-9c35-36eea32c7b6c@cs.ucla.edu> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------6918FFD1B1FDA24365F7085C" X-Trace: ger.gmane.org 1465408084 25135 80.91.229.3 (8 Jun 2016 17:48:04 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 8 Jun 2016 17:48:04 +0000 (UTC) Cc: Florian Weimer , 23726@debbugs.gnu.org To: Jan =?UTF-8?Q?Syn=C3=A1=C4=8Dek?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jun 08 19:47:48 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1bAhLt-0000Q5-5Q for geb-bug-gnu-emacs@m.gmane.org; Wed, 08 Jun 2016 19:33:14 +0200 Original-Received: from localhost ([::1]:58655 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bAhLs-0006tH-64 for geb-bug-gnu-emacs@m.gmane.org; Wed, 08 Jun 2016 13:33:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54029) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bAhLm-0006sm-3N for bug-gnu-emacs@gnu.org; Wed, 08 Jun 2016 13:33:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bAhLi-0004UP-Cc for bug-gnu-emacs@gnu.org; Wed, 08 Jun 2016 13:33:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:48999) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bAhLi-0004UL-8j for bug-gnu-emacs@gnu.org; Wed, 08 Jun 2016 13:33:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bAhLi-00007g-4b for bug-gnu-emacs@gnu.org; Wed, 08 Jun 2016 13:33:02 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: Resent-From: Paul Eggert Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 08 Jun 2016 17:33:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23726 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 23726-submit@debbugs.gnu.org id=B23726.1465407137406 (code B ref 23726); Wed, 08 Jun 2016 17:33:02 +0000 Original-Received: (at 23726) by debbugs.gnu.org; 8 Jun 2016 17:32:17 +0000 Original-Received: from localhost ([127.0.0.1]:33103 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bAhKy-00006U-NS for submit@debbugs.gnu.org; Wed, 08 Jun 2016 13:32:16 -0400 Original-Received: from zimbra.cs.ucla.edu ([131.179.128.68]:41792) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bAhKx-00006I-EP for 23726@debbugs.gnu.org; Wed, 08 Jun 2016 13:32:16 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 7D0341614AD; Wed, 8 Jun 2016 10:32:09 -0700 (PDT) Original-Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id wkT_Ub_YU-Mr; Wed, 8 Jun 2016 10:32:07 -0700 (PDT) Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id E41231614AE; Wed, 8 Jun 2016 10:32:07 -0700 (PDT) X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu Original-Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 6gRa9PamEJ7F; Wed, 8 Jun 2016 10:32:07 -0700 (PDT) Original-Received: from penguin.cs.ucla.edu (Penguin.CS.UCLA.EDU [131.179.64.200]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id C5E811614AD; Wed, 8 Jun 2016 10:32:07 -0700 (PDT) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:119294 Archived-At: This is a multi-part message in MIME format. --------------6918FFD1B1FDA24365F7085C Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Has Rawhide incorporated some of Florian Weimer's malloc patches? If so, this is almost surely causing the problem. I will CC: Florian to give him a heads-up. See: https://sourceware.org/ml/libc-alpha/2016-06/msg00211.html https://sourceware.org/bugzilla/show_bug.cgi?id=19564 I am surprised that you can use valgrind. Valgrind does not work on Emacs in Fedora 23 because it mishandles the way Emacs dumps and restores. I can use Valgrind only on temacs, not on Emacs itself. The fact that you can use Valgrind on a dumped Emacs suggests that some of the malloc patches have been installed on Rawhide. For what it's worth, when I try to use valgrind on Fedora 23, I run into what appears to be a valgrind bug that prevents Emacs from working. I just now filed it here: https://bugzilla.redhat.com/show_bug.cgi?id=1344082 I ran valgrind as follows: valgrind --log-fd=3 --suppressions=valgrind.supp ./temacs 3>/tmp/vg.log with the attached valgrind.supp file, and Emacs (emacs-25 branch, built with 'configure --with-x=no') says "Failed select: Bad address" due to the valgrind bug. How do you use valgrind on Rawhide? --------------6918FFD1B1FDA24365F7085C Content-Type: text/plain; charset=UTF-8; name="valgrind.supp" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="valgrind.supp" IyB2YWxncmluZCBzdXBwcmVzc2lvbiBmaWxlCiMgVXNhZ2U6CiMgICAgdmFsZ3JpbmQgLS1z dXBwcmVzc2lvbnM9dmFsZ3JpbmQuc3VwcCAuL3RlbWFjcwoKIyBDb25zZXJ2YXRpdmUgZ2Fy YmFnZSBjb2xsZWN0aW9uIGluaGVyZW50bHkgbG9va3MgYXQgdW5pbml0aWFsaXplZCB2YWx1 ZXMsCiMgYW5kIEZnYXJiYWdlX2NvbGxlY3QgYW5kIGl0cyBjYWxsZWVzIGFsbCBkZXBlbmQg b24gdGhpcy4KIyBJdCdzIGhhcmQgdG8gc2VwYXJhdGUgb3V0IGV4YWN0bHkgd2hpY2ggY2Fs bGVlcyBuZWVkIHRvIGJlIGxpc3RlZCBoZXJlLAojIHNpbmNlIHRoZSBDIGNvbXBpbGVyIGNh biBpbmxpbmUgdGhlbS4gIEFsc28sIHZhbGdyaW5kIGRvZXNuJ3QgY2FyZQojIGFib3V0IHRo ZSB1c2Ugb2YgdW5pbml0aWFsaXplZCB2YXJpYWJsZXMgZGlyZWN0bHksIG9ubHkgd2hlbiB0 aGVpciB2YWx1ZXMKIyBhcmUgZXZlbnR1YWxseSB1c2VkLiAgU28ganVzdCBsaXN0IEZnYXJi YWdlX2NvbGxlY3QgYW5kIGl0cyBjYWxsZWVzLgp7CiAgIEZnYXJiYWdlX2NvbGxlY3QgQ29u ZCAtIGNvbnNlcnZhdGl2ZSBnYXJiYWdlIGNvbGxlY3Rpb24K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