From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Trent W. Buck" Newsgroups: gmane.emacs.bugs Subject: bug#13964: 24.3; randomize_va_space is back Date: Fri, 15 Mar 2013 21:07:39 +1100 Message-ID: <877gl9t1vb.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1363342138 7179 80.91.229.3 (15 Mar 2013 10:08:58 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 15 Mar 2013 10:08:58 +0000 (UTC) To: 13964@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Mar 15 11:09:22 2013 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 1UGRZh-0005qG-7e for geb-bug-gnu-emacs@m.gmane.org; Fri, 15 Mar 2013 11:09:21 +0100 Original-Received: from localhost ([::1]:50747 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UGRZK-0005fY-4T for geb-bug-gnu-emacs@m.gmane.org; Fri, 15 Mar 2013 06:08:58 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:50248) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UGRZD-0005ea-D5 for bug-gnu-emacs@gnu.org; Fri, 15 Mar 2013 06:08:55 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UGRZ8-0004uh-ED for bug-gnu-emacs@gnu.org; Fri, 15 Mar 2013 06:08:51 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:51385) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UGRZ8-0004ub-6R for bug-gnu-emacs@gnu.org; Fri, 15 Mar 2013 06:08:46 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1UGRaL-0007dT-TN for bug-gnu-emacs@gnu.org; Fri, 15 Mar 2013 06:10:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: "Trent W. Buck" Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 15 Mar 2013 10:10:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 13964 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.136334217729315 (code B ref -1); Fri, 15 Mar 2013 10:10:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 15 Mar 2013 10:09:37 +0000 Original-Received: from localhost ([127.0.0.1]:55494 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UGRZw-0007cl-Tb for submit@debbugs.gnu.org; Fri, 15 Mar 2013 06:09:37 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:38791) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UGRZt-0007cX-L0 for submit@debbugs.gnu.org; Fri, 15 Mar 2013 06:09:35 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UGRYQ-0004qJ-9k for submit@debbugs.gnu.org; Fri, 15 Mar 2013 06:08:12 -0400 Original-Received: from lists.gnu.org ([208.118.235.17]:59957) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UGRYQ-0004qF-62 for submit@debbugs.gnu.org; Fri, 15 Mar 2013 06:08:02 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:50130) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UGRYM-0005Tf-N2 for bug-gnu-emacs@gnu.org; Fri, 15 Mar 2013 06:08:02 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UGRYE-0004o8-Ok for bug-gnu-emacs@gnu.org; Fri, 15 Mar 2013 06:07:58 -0400 Original-Received: from mail-pb0-f47.google.com ([209.85.160.47]:34484) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UGRYE-0004nM-IC for bug-gnu-emacs@gnu.org; Fri, 15 Mar 2013 06:07:50 -0400 Original-Received: by mail-pb0-f47.google.com with SMTP id rp2so3611589pbb.20 for ; Fri, 15 Mar 2013 03:07:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:date:from:to:subject:message-id:mime-version :content-type:content-disposition:user-agent; bh=cgTCkCiVvR3UNEBjjyquePL9FBBANSFCzBKpkLoYAw8=; b=X8e5dWEfCQM2W9py/34u0ZH5ycp3Yal6M4gZ/pEwxMhV7/6hL8B6VYKnJii7wqcgjj RVB0i1tivkw95d0bYPR/OmdilYBcqKD6a73MOTXfCd7Yrp8vBv4XJV6bdJpmfEcKKdGs SVrgF1hK9f1qupUibXJETPmnBKAT1oIqFqXgbpQMrjA+G1gH/6IlGrNqOqaFgoXwMBgH nCDiUxuqqFC8Y7/aBhtx5LBTAe7QQhWfEhhKNwswP3HTA8/xCsAjH8RljWaYtQHTKYxZ gXZB2WEcRY+vFpUKdINK5jpYJ+uCAm1Q450lh7TKYhBHIiVOBTZ94bPdzEEXIUCbVHJ9 BMGA== X-Received: by 10.68.7.163 with SMTP id k3mr14500427pba.141.1363342069071; Fri, 15 Mar 2013 03:07:49 -0700 (PDT) Original-Received: from elba ([203.7.155.68]) by mx.google.com with ESMTPS id gf6sm8012306pbc.24.2013.03.15.03.07.45 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Fri, 15 Mar 2013 03:07:48 -0700 (PDT) Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.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:72525 Archived-At: I ran into this problem: http://article.gmane.org/gmane.emacs.devel/35276 This fixed it (it was set to 2): # echo 0 > /proc/sys/kernel/randomize_va_space I didn't try setarch -R because I couldn't guess what my arch was to tell setarch (I tried everything I could think of from "armv7l" to "ventana"). I'm too lazy to read the whole 2005 thread. Since etc/PROBLEMS doesn't mention this issue, only the exec-shield one, I guess this problem was supposed to be fixed at the time -- so why did I see it today? In GNU Emacs 24.3.1 (armv7l-unknown-linux-gnueabi) of 2013-03-15 on elba System Description: Ubuntu 11.10 Configured using: `configure '--without-x' '--without-sound' '--without-all' '--with-x-toolkit=no' '--with-xpm=no' '--with-gif=no' '--with-jpeg=no' '--with-tiff=no' '--with-png=no' '--with-dbus=no' '--with-gsettings=no' '--with-gnutls=no' '--prefix=/home/twb/opt/emacs-24.3'' Important settings: value of $LC_COLLATE: C value of $LANG: en_AU.utf8 locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Fundamental Minor modes in effect: ido-everywhere: t savehist-mode: t icomplete-mode: t show-paren-mode: t delete-selection-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t Recent input: Recent messages: ("emacs" "-f" "report-emacs-bug") Loading term/xterm...done For information about GNU Emacs and the GNU system, type C-h C-a. Load-path shadows: None found. Features: (shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 mml easymenu mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail regexp-opt rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils advice help-fns cl-lib advice-preload jka-compr edmacro kmacro ido savehist icomplete time-date paren delsel saveplace ediff-hook vc-hooks lisp-float-type tabulated-list newcomment lisp-mode register page menu-bar rfn-eshadow timer jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process multi-tty emacs) >From IRC debugging: twb> I'm trying to build emacs from source; there's a point where temacs twb> deliberately dumps core to make the real "emacs". twb> twb> I get "Warning: Your system has a gap between BSS and the heap twb> (15825968 bytes). This usually means that exec-shield or something twb> similar is in effect. The dump may fail because of this. See the twb> section about exec-shield in etc/PROBLEMS for more information." twb> twb> System is an arm Ubuntu 11.10 (tegra2), non-standard kernel and twb> nonstandard(?) gcc (Ubuntu/Linaro 4.6.1-9ubuntu3), apparmor is not twb> installed. twb> twb> etc/PROBLEMS says to check /proc/sys/kernel/exec-shield -- I have no twb> such file. twb> twb> What should I check next?