GNU bug report logs -
#35711
emacs crashes on m68k after d2f1971dd5
Previous Next
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 35711 in the body.
You can then email your comments to 35711 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#35711
; Package
emacs
.
(Mon, 13 May 2019 12:32:01 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
John Paul Adrian Glaubitz <glaubitz <at> physik.fu-berlin.de>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Mon, 13 May 2019 12:32:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Hello!
The commit [1] "Port flexible array members to GCC + valgrind" (d2f1971dd5)
broke emacs on m68k. This is because the new code aligns blocks of 1-byte
strings to 16 bit on m68k which is the default alignment on m68k.
The crash on m68k looks like this [2]:
/bin/mkdir -p ../etc
/usr/bin/make -C ../lisp update-subdirs
make[4]: Entering directory '/<<BUILDDIR>>/emacs-26.1+1/debian/build-gtk/lisp'
make[4]: Leaving directory '/<<BUILDDIR>>/emacs-26.1+1/debian/build-gtk/lisp'
./temacs --batch --load loadup bootstrap
Loading loadup.el (source)...
Using load-path (/<<BUILDDIR>>/emacs-26.1+1/debian/build-src/lisp /<<BUILDDIR>>/emacs-26.1+1/debian/build-src/lisp/emacs-lisp /<<BUILDDIR>>/emacs-26.1+1/debian/build-src/lisp/progmodes /<<BUILDDIR>>/emacs-26.1+1/debian/build-src/lisp/language /<<BUILDDIR>>/emacs-26.1+1/debian/build-src/lisp/international /<<BUILDDIR>>/emacs-26.1+1/debian/build-src/lisp/textmodes /<<BUILDDIR>>/emacs-26.1+1/debian/build-src/lisp/vc)
Loading emacs-lisp/byte-run (source)...
Loading emacs-lisp/backquote (source)...
Loading subr (source)...
qemu: uncaught target signal 11 (Segmentation fault) - core dumped
make[3]: *** [Makefile:738: bootstrap-emacs] Segmentation fault
The attached patch by Michael Karcher fixes the problem.
Thanks,
Adrian
> [1] http://git.savannah.gnu.org/cgit/emacs.git/commit/?id=d2f1971dd570439da4198fa76603b53b072060f8
> [2] https://buildd.debian.org/status/fetch.php?pkg=emacs&arch=m68k&ver=1%3A26.1%2B1-3.2&stamp=1549253883&raw=0
--
.''`. John Paul Adrian Glaubitz
: :' : Debian Developer - glaubitz <at> debian.org
`. `' Freie Universitaet Berlin - glaubitz <at> physik.fu-berlin.de
`- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
[fix-m68k-crash.patch (text/x-patch, attachment)]
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#35711
; Package
emacs
.
(Mon, 13 May 2019 19:48:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 35711 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Thanks for the bug report. Please try the attached, more-general patch,
which I've installed on master. I suppose I should backport it to the
emacs-26 branch if it works for you.
[0001-Fix-broken-build-on-m68k.patch (text/x-patch, attachment)]
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#35711
; Package
emacs
.
(Tue, 14 May 2019 06:02:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 35711 <at> debbugs.gnu.org (full text, mbox):
Hi Paul!
On 5/13/19 9:47 PM, Paul Eggert wrote:
> Thanks for the bug report. Please try the attached, more-general patch,
> which I've installed on master. I suppose I should backport it to the
> emacs-26 branch if it works for you.
I just checked out emacs from git and started a test build on m68k. The
original crahs no longer shows, but I'm running into this problem now
which I don't know whether it's related:
Finding pointers to doc strings...
Finding pointers to doc strings...done
Dumping under the name bootstrap-emacs.pdmp
dumping fingerprint: 3cb05906acd421bf706fa119445377d793ee7ffbbde4c79b70ca65fdb4bb625e
dump relocation out of range
make[1]: *** [Makefile:808: bootstrap-emacs.pdmp] Error 255
make[1]: Leaving directory '/usr/src/emacs/src'
make: *** [Makefile:424: src] Error 2
Adrian
--
.''`. John Paul Adrian Glaubitz
: :' : Debian Developer - glaubitz <at> debian.org
`. `' Freie Universitaet Berlin - glaubitz <at> physik.fu-berlin.de
`- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#35711
; Package
emacs
.
(Tue, 14 May 2019 06:06:02 GMT)
Full text and
rfc822 format available.
Message #14 received at 35711 <at> debbugs.gnu.org (full text, mbox):
John Paul Adrian Glaubitz wrote:
> Dumping under the name bootstrap-emacs.pdmp
> dumping fingerprint: 3cb05906acd421bf706fa119445377d793ee7ffbbde4c79b70ca65fdb4bb625e
> dump relocation out of range
I'd wildly guess it's a different problem. Try configuring Emacs for debugging
(see etc/DEBUG) and then see if you can get a C backtrace just before it outputs
"dump relocation out of range".
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#35711
; Package
emacs
.
(Tue, 14 May 2019 09:11:02 GMT)
Full text and
rfc822 format available.
Message #17 received at 35711 <at> debbugs.gnu.org (full text, mbox):
Hi Paul!
On 5/14/19 8:04 AM, Paul Eggert wrote:
> John Paul Adrian Glaubitz wrote:
>> Dumping under the name bootstrap-emacs.pdmp
>> dumping fingerprint: 3cb05906acd421bf706fa119445377d793ee7ffbbde4c79b70ca65fdb4bb625e
>> dump relocation out of range
>
> I'd wildly guess it's a different problem. Try configuring Emacs for debugging
> (see etc/DEBUG) and then see if you can get a C backtrace just before it
> outputs "dump relocation out of range".
You seem to be correct. I just tried Michael's patch instead of yours and
emacs-git still crashes for me. On the other hand, backporting your current
patch to the 26 branch fixes the bug for me for emacs26.
Thus, could you backport your patch to the 26 branch?
Thanks,
Adrian
--
.''`. John Paul Adrian Glaubitz
: :' : Debian Developer - glaubitz <at> debian.org
`. `' Freie Universitaet Berlin - glaubitz <at> physik.fu-berlin.de
`- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
Reply sent
to
Paul Eggert <eggert <at> cs.ucla.edu>
:
You have taken responsibility.
(Tue, 14 May 2019 18:12:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
John Paul Adrian Glaubitz <glaubitz <at> physik.fu-berlin.de>
:
bug acknowledged by developer.
(Tue, 14 May 2019 18:12:02 GMT)
Full text and
rfc822 format available.
Message #22 received at 35711-done <at> debbugs.gnu.org (full text, mbox):
On 5/14/19 2:10 AM, John Paul Adrian Glaubitz wrote:
> backporting your current
> patch to the 26 branch fixes the bug for me for emacs26.
>
> Thus, could you backport your patch to the 26 branch?
Thanks for checking. I backported it and am closing the bug report.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Wed, 12 Jun 2019 11:24:05 GMT)
Full text and
rfc822 format available.
This bug report was last modified 4 years and 291 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.