Summary: | app-editors/emacs-{18.59-r4,21.4-r15}: temacs segfaults in dump-emacs w/ kernel 2.6.25 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Ulrich Müller <ulm> |
Component: | Current packages | Assignee: | Emacs project <emacs> |
Status: | RESOLVED FIXED | ||
Severity: | major | ||
Priority: | High | ||
Version: | 2007.0 | ||
Hardware: | x86 | ||
OS: | Linux | ||
URL: | http://lkml.org/lkml/2007/10/23/435 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 221197 | ||
Bug Blocks: | 218127 | ||
Attachments: |
Stack trace
Kernel config emerge --info Patch for 21.4: 17_all_bss-heap-gap.patch Patch for 18.59: 05_all_bss-heap-gap.patch |
Description
Ulrich Müller
2008-05-10 23:00:31 UTC
Created attachment 152785 [details]
Stack trace
Created attachment 152787 [details]
Kernel config
Created attachment 152789 [details]
emerge --info
Created attachment 152791 [details, diff]
Patch for 21.4: 17_all_bss-heap-gap.patch
Patch for Emacs 21.4, backported from Emacs 22.
(A patch for Emacs 18.59 will follow later.)
Created attachment 152799 [details, diff]
Patch for 18.59: 05_all_bss-heap-gap.patch
The breakage is caused by the "randomize brk()" patch. See the LKML, <http://lkml.org/lkml/2007/10/23/435>: | This is known to break older versions of some emacs variants, whose | dumper code assumed that the last variable declared in the program is | equal to the start of the dynamically allocated memory region. The corresponding kernel parameter is accessible via /proc/sys/kernel/randomize_va_space, the breakage occurs if its value is 2. Fixed in emacs-18.59-r5 and emacs-21.4-r16. Leave this bug open until the fixed versions are marked stable (wrt tracker bug 218127). Stabilisation of emacs-21.4-r17 is handled in bug 221197. @x86: Please stabilise emacs-18.59-r5. Preferably it should be tested with kernel 2.6.25. x86 stable, closing |