From: Sven Joachim <svenjoac@gmx.de>
To: esf@cfmu.eurocontrol.int
Cc: 443@emacsbugs.donarmstrong.com
Subject: bug#443: [Fwd: emacs installation - segmentation fault during unexec]
Date: Thu, 26 Jun 2008 18:55:56 +0200 [thread overview]
Message-ID: <87od5om8yr.fsf@gmx.de> (raw)
In-Reply-To: <mailman.13858.1214467645.18990.bug-gnu-emacs@gnu.org> (esf@cfmu.eurocontrol.int's message of "Thu, 26 Jun 2008 09:59:35 +0200")
On 2008-06-26 09:59 +0200, esf@cfmu.eurocontrol.int wrote:
> Anyway, I tried again with emacs-22.2 and the same problem occurs with
> approximatively the same backtrace, i.e:
>
> #0 0x0026a17c in memcpy () from /lib/tls/libc.so.6
> #1 0x0817d5a6 in unexec (new_name=0x857d414
> "/tmp/esf_emacs-22.2/generated/work/emacs-22.2/src/emacs",
> old_name=0x857d450
> "/tmp/esf_emacs-22.2/generated/work/emacs-22.2/src/temacs",
> data_start=137491440, bss_start=0, entry_address=0)
> at unexelf.c:951
Which is your kernel version and what is the value of
/proc/sys/kernel/randomize_va_space?
> Also note that the problem seems to appear randomly so you might have
> to run the installation several times if you need to reproduce the
> problem.
Yes, this is random by nature. Linux 2.6.25 added a feature called
"brk() randomization" that is enabled if
/proc/sys/kernel/randomize_va_space has the value 2, which is the
default unless you built your kernel with CONFIG_COMPAT_BRK=y.
Setting that value to 1, the default from 2.6.12(?) to 2.6.24, should
make the crashes disappear. Note that a value of 2 is generally
recommended for security reasons.
See also the section "Dumping" in etc/PROBLEMS for related problems.
Sven
next prev parent reply other threads:[~2008-06-26 16:55 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <874p33rm3w.fsf@cyd.mit.edu>
2008-06-18 14:24 ` bug#443: [Fwd: emacs installation - segmentation fault during unexec] esf
2008-06-18 15:15 ` Stefan Monnier
2008-06-18 20:44 ` Nick Roberts
2008-06-19 18:14 ` Richard M Stallman
2008-06-26 7:59 ` esf
[not found] ` <mailman.13858.1214467645.18990.bug-gnu-emacs@gnu.org>
2008-06-26 16:55 ` Sven Joachim [this message]
2008-10-23 22:25 ` bug#443: marked as done ([Fwd: emacs installation - segmentation fault during unexec]) Emacs bug Tracking System
2008-09-06 3:39 ` bug#900: temacs segmentation fault in unexec under Linux 2.6.26 Ulrich Mueller
[not found] ` <handler.900.B.122067237912078.ack@emacsbugs.donarmstrong.com>
2008-09-09 15:02 ` Ulrich Mueller
2008-10-23 22:25 ` bug#900: marked as done (temacs segmentation fault in unexec under Linux 2.6.26) Emacs bug Tracking System
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87od5om8yr.fsf@gmx.de \
--to=svenjoac@gmx.de \
--cc=443@emacsbugs.donarmstrong.com \
--cc=esf@cfmu.eurocontrol.int \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).