From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dmitry Antipov Newsgroups: gmane.emacs.bugs Subject: bug#17598: Emacs pretest 24.3.91 - AIX - SIGSEV when customize Date: Fri, 30 May 2014 14:41:34 +0400 Message-ID: <5388605E.1080407@yandex.ru> References: <538386BB.8090501@cs.ucla.edu> <5384B167.8040704@cs.ucla.edu> <538594BD.7090108@yandex.ru> <5385B02C.4030208@yandex.ru> <5385F229.9020609@cs.ucla.edu> <8361kpj2iv.fsf@gnu.org> <53860FFC.6050306@cs.ucla.edu> <538622CF.2080300@cs.ucla.edu> <538840C9.7050202@cs.ucla.edu> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------040303070409090502060803" X-Trace: ger.gmane.org 1401446543 10731 80.91.229.3 (30 May 2014 10:42:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 30 May 2014 10:42:23 +0000 (UTC) Cc: 17598@debbugs.gnu.org, Paul Eggert To: Gilles PION Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri May 30 12:42:17 2014 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 1WqKGP-0008Rs-Dj for geb-bug-gnu-emacs@m.gmane.org; Fri, 30 May 2014 12:42:17 +0200 Original-Received: from localhost ([::1]:53061 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WqKGP-0007gF-2u for geb-bug-gnu-emacs@m.gmane.org; Fri, 30 May 2014 06:42:17 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39400) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WqKGG-0007f9-Ez for bug-gnu-emacs@gnu.org; Fri, 30 May 2014 06:42:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WqKGA-00057T-T8 for bug-gnu-emacs@gnu.org; Fri, 30 May 2014 06:42:08 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:38008) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WqKGA-00057N-Ma for bug-gnu-emacs@gnu.org; Fri, 30 May 2014 06:42:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WqKGA-0004Y9-61 for bug-gnu-emacs@gnu.org; Fri, 30 May 2014 06:42:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Antipov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 30 May 2014 10:42:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 17598 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 17598-submit@debbugs.gnu.org id=B17598.140144651017435 (code B ref 17598); Fri, 30 May 2014 10:42:02 +0000 Original-Received: (at 17598) by debbugs.gnu.org; 30 May 2014 10:41:50 +0000 Original-Received: from localhost ([127.0.0.1]:36885 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WqKFx-0004X6-5U for submit@debbugs.gnu.org; Fri, 30 May 2014 06:41:49 -0400 Original-Received: from forward1l.mail.yandex.net ([84.201.143.144]:60723) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WqKFq-0004Wd-A5 for 17598@debbugs.gnu.org; Fri, 30 May 2014 06:41:46 -0400 Original-Received: from smtp16.mail.yandex.net (smtp16.mail.yandex.net [95.108.252.16]) by forward1l.mail.yandex.net (Yandex) with ESMTP id C47CB1521315; Fri, 30 May 2014 14:41:35 +0400 (MSK) Original-Received: from smtp16.mail.yandex.net (localhost [127.0.0.1]) by smtp16.mail.yandex.net (Yandex) with ESMTP id 4F0AA6A0839; Fri, 30 May 2014 14:41:35 +0400 (MSK) Original-Received: from unknown (unknown [37.139.80.10]) by smtp16.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id rD3QBUoCOb-fYnGKBoc; Fri, 30 May 2014 14:41:34 +0400 (using TLSv1 with cipher AES128-SHA (128/128 bits)) (Client certificate not present) X-Yandex-Uniq: 041f22ef-4e21-4ca8-acc8-eecfb75ec8e6 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1401446494; bh=/UReHyjhF63WeNyE1rfBYXjgFhjYMzq4CaDn5UBEhPk=; h=Message-ID:Date:From:User-Agent:MIME-Version:To:CC:Subject: References:In-Reply-To:Content-Type; b=qPj9N1nAJm8D05A9p4YsF8gy/yfrnJAV61FD7EGvmusQSI4poB7NlMSsWxeuvQog2 vY5YUphyMBk4Dkco3ZuQc7qNPExIBCLe+jX1YigUquHT8mtBmPARoQaqKdcIbyCTjj nVKlT7G+JF5UBYc5Mr3JbgToG7ICBGQjOJfqk5MU= Authentication-Results: smtp16.mail.yandex.net; dkim=pass header.i=@yandex.ru User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:89747 Archived-At: This is a multi-part message in MIME format. --------------040303070409090502060803 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Can you try the development trunk as well? Since I guess you have no bzr, there is a link to recently enough tarball: http://37.139.80.10/tmp/trunk-r117204.tgz. First, try to compile as usual, i.e. CFLAGS='-O0 -g3' ./configure --enable-checking If that fails, try to use system malloc by applying an attached patch. This requires you to regenerate build files with 'sh autogen.sh', which means that you will need recently enough autoconf, automake and m4: http://www.oss4aix.org/download/RPMS/autoconf/autoconf-2.69-1.aix5.1.ppc.rpm http://www.oss4aix.org/download/RPMS/automake/automake-1.14.1-1.aix5.1.ppc.rpm http://www.oss4aix.org/download/RPMS/m4/m4-1.4.17-1.aix5.1.ppc.rpm (after installing, make sure /usr/bin/m4 is symlinked to /opt/freeware/bin/m4). With system malloc, dumped executable will not work. But temacs should, and you should be able to try it with MALLOCTYPE and MALLOCDEBUG. Dmitry --------------040303070409090502060803 Content-Type: text/x-patch; name="aix_system_malloc.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="aix_system_malloc.patch" === modified file 'configure.ac' --- configure.ac 2014-05-29 23:13:32 +0000 +++ configure.ac 2014-05-30 10:28:04 +0000 @@ -1975,6 +1975,8 @@ case "$opsys" in ## darwin ld insists on the use of malloc routines in the System framework. darwin|mingw32|sol2-10) system_malloc=yes ;; + ## experimental + aix4-2) system_malloc=yes ;; esac GMALLOC_OBJ= === modified file 'src/lisp.h' --- src/lisp.h 2014-05-30 07:40:29 +0000 +++ src/lisp.h 2014-05-30 10:28:04 +0000 @@ -72,7 +72,7 @@ 2. We know malloc returns a multiple of 8. */ #if (defined alignas \ && (defined GNU_MALLOC || defined DOUG_LEA_MALLOC || defined __GLIBC__ \ - || defined DARWIN_OS || defined __sun || defined __MINGW32__)) + || defined DARWIN_OS || defined __sun || defined _AIX || defined __MINGW32__)) # define NONPOINTER_BITS 0 #else # define NONPOINTER_BITS GCTYPEBITS --------------040303070409090502060803--