GNU bug report logs - #25241
Emacs 25.1.90 pretest crash on macOS 10.10 Yosemite

Previous Next

Package: emacs;

Reported by: Alexis Layton <alexis.layton <at> post.harvard.edu>

Date: Wed, 21 Dec 2016 02:48:01 UTC

Severity: normal

Tags: moreinfo

Done: Alan Third <alan <at> idiocy.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 25241 in the body.
You can then email your comments to 25241 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#25241; Package emacs. (Wed, 21 Dec 2016 02:48:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Alexis Layton <alexis.layton <at> post.harvard.edu>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Wed, 21 Dec 2016 02:48:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Alexis Layton <alexis.layton <at> post.harvard.edu>
To: bug-gnu-emacs <at> gnu.org
Subject: Emacs 25.1.90 pretest crash on macOS 10.10 Yosemite
Date: Tue, 20 Dec 2016 21:45:47 -0500
I run the Mac OS (X) binary distributions built by David Caldwell at www.emacsformacosx.com, which claim to be pure GNU Emacs. The latest pretest 25.1.90 immediately crashes on OS X 10.10.5 Yosemite.

$ emacs -nw -q
Illegal instruction: 4

I can't really give much more information. 25.1 and all of its protests and release candidates ran fine, and the released version continues to do so.

Sent from my iPad



Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#25241; Package emacs. (Wed, 21 Dec 2016 03:35:02 GMT) Full text and rfc822 format available.

Message #8 received at 25241 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Alexis Layton <alexis.layton <at> post.harvard.edu>
Cc: 25241 <at> debbugs.gnu.org
Subject: Re: bug#25241: Emacs 25.1.90 pretest crash on macOS 10.10 Yosemite
Date: Wed, 21 Dec 2016 05:34:17 +0200
> From: Alexis Layton <alexis.layton <at> post.harvard.edu>
> Date: Tue, 20 Dec 2016 21:45:47 -0500
> 
> I run the Mac OS (X) binary distributions built by David Caldwell at www.emacsformacosx.com, which claim to be pure GNU Emacs. The latest pretest 25.1.90 immediately crashes on OS X 10.10.5 Yosemite.
> 
> $ emacs -nw -q
> Illegal instruction: 4
> 
> I can't really give much more information. 25.1 and all of its protests and release candidates ran fine, and the released version continues to do so.

It would help if you could run Emacs under a debugger and show
backtrace when it crashes.

Thanks.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#25241; Package emacs. (Wed, 21 Dec 2016 20:37:02 GMT) Full text and rfc822 format available.

Message #11 received at 25241 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Alexis Layton <layton.alexis <at> gmail.com>
Cc: alexis.layton <at> post.harvard.edu, 25241 <at> debbugs.gnu.org
Subject: Re: bug#25241: Emacs 25.1.90 pretest crash on macOS 10.10 Yosemite
Date: Wed, 21 Dec 2016 22:35:09 +0200
> From: Alexis Layton <layton.alexis <at> gmail.com>
> Date: Wed, 21 Dec 2016 15:27:30 -0500
> Cc: Alexis Layton <alexis.layton <at> post.harvard.edu>,
>  25241 <at> debbugs.gnu.org
> 
>  It would help if you could run Emacs under a debugger and show
>  backtrace when it crashes.
> 
>  Thanks.
> 
> Sadly this is not as informative as it looks:
> 
> $ lldb /Applications/Emacs.app/Contents/MacOS/Emacs-x86_64-10_9 
> (lldb) target create "/Applications/Emacs.app/Contents/MacOS/Emacs-x86_64-10_9"
> Current executable set to '/Applications/Emacs.app/Contents/MacOS/Emacs-x86_64-10_9' (x86_64).
> (lldb) r
> Process 23181 launched: '/Applications/Emacs.app/Contents/MacOS/Emacs-x86_64-10_9' (x86_64)
> Process 23181 stopped
> * thread #1: tid = 0x1550e6, 0x000000010084979d libnettle.6.dylib`nettle_sha256_init + 4, queue =
> 'com.apple.main-thread', stop reason = EXC_BAD_INSTRUCTION (code=EXC_I386_INVOP, subcode=0x0)
> frame #0: 0x000000010084979d libnettle.6.dylib`nettle_sha256_init + 4
> libnettle.6.dylib`nettle_sha256_init:
> -> 0x10084979d <+4>: vmovaps 0x130bb(%rip), %xmm0 ; nettle_sha256_init.H0 + 16
> 0x1008497a5 <+12>: vmovups %xmm0, 0x10(%rdi)
> 0x1008497aa <+17>: vmovaps 0x1309e(%rip), %xmm0 ; nettle_sha256_init.H0
> 0x1008497b2 <+25>: vmovups %xmm0, (%rdi)

This looks like the crash is inside libnettle, a shared library used
by GnuTLS.  Could it be that you have an incompatible binary of that
library?

In any case, the problem doesn't seem to be in Emacs.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#25241; Package emacs. (Wed, 21 Dec 2016 21:08:01 GMT) Full text and rfc822 format available.

Message #14 received at 25241 <at> debbugs.gnu.org (full text, mbox):

From: Alexis Layton <layton.alexis <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: Alexis Layton <alexis.layton <at> post.harvard.edu>, 25241 <at> debbugs.gnu.org
Subject: Re: bug#25241: Emacs 25.1.90 pretest crash on macOS 10.10 Yosemite
Date: Wed, 21 Dec 2016 15:27:30 -0500
[Message part 1 (text/plain, inline)]
> On 2016–12–20, at 22:34, Eli Zaretskii <eliz <at> gnu.org> wrote:
> 
>> From: Alexis Layton <alexis.layton <at> post.harvard.edu>
>> Date: Tue, 20 Dec 2016 21:45:47 -0500
>> 
>> I run the Mac OS (X) binary distributions built by David Caldwell at www.emacsformacosx.com, which claim to be pure GNU Emacs. The latest pretest 25.1.90 immediately crashes on OS X 10.10.5 Yosemite.
>> 
>> $ emacs -nw -q
>> Illegal instruction: 4
>> 
>> I can't really give much more information. 25.1 and all of its protests and release candidates ran fine, and the released version continues to do so.
> 
> It would help if you could run Emacs under a debugger and show
> backtrace when it crashes.
> 
> Thanks.

Sadly this is not as informative as it looks:

$ lldb /Applications/Emacs.app/Contents/MacOS/Emacs-x86_64-10_9 
(lldb) target create "/Applications/Emacs.app/Contents/MacOS/Emacs-x86_64-10_9"
Current executable set to '/Applications/Emacs.app/Contents/MacOS/Emacs-x86_64-10_9' (x86_64).
(lldb) r
Process 23181 launched: '/Applications/Emacs.app/Contents/MacOS/Emacs-x86_64-10_9' (x86_64)
Process 23181 stopped
* thread #1: tid = 0x1550e6, 0x000000010084979d libnettle.6.dylib`nettle_sha256_init + 4, queue = 'com.apple.main-thread', stop reason = EXC_BAD_INSTRUCTION (code=EXC_I386_INVOP, subcode=0x0)
    frame #0: 0x000000010084979d libnettle.6.dylib`nettle_sha256_init + 4
libnettle.6.dylib`nettle_sha256_init:
->  0x10084979d <+4>:  vmovaps 0x130bb(%rip), %xmm0      ; nettle_sha256_init.H0 + 16
    0x1008497a5 <+12>: vmovups %xmm0, 0x10(%rdi)
    0x1008497aa <+17>: vmovaps 0x1309e(%rip), %xmm0      ; nettle_sha256_init.H0
    0x1008497b2 <+25>: vmovups %xmm0, (%rdi)

[Message part 2 (text/html, inline)]

Reply sent to Alan Third <alan <at> idiocy.org>:
You have taken responsibility. (Wed, 08 Mar 2017 13:44:02 GMT) Full text and rfc822 format available.

Notification sent to Alexis Layton <alexis.layton <at> post.harvard.edu>:
bug acknowledged by developer. (Wed, 08 Mar 2017 13:44:02 GMT) Full text and rfc822 format available.

Message #19 received at 25241-done <at> debbugs.gnu.org (full text, mbox):

From: Alan Third <alan <at> idiocy.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: alexis.layton <at> post.harvard.edu, 25241-done <at> debbugs.gnu.org,
 Alexis Layton <layton.alexis <at> gmail.com>
Subject: Re: bug#25241: Emacs 25.1.90 pretest crash on macOS 10.10 Yosemite
Date: Wed, 08 Mar 2017 13:42:45 +0000
Eli Zaretskii <eliz <at> gnu.org> writes:

>> From: Alexis Layton <layton.alexis <at> gmail.com>
>> Date: Wed, 21 Dec 2016 15:27:30 -0500
>> Cc: Alexis Layton <alexis.layton <at> post.harvard.edu>,
>>  25241 <at> debbugs.gnu.org
>> 
>>  It would help if you could run Emacs under a debugger and show
>>  backtrace when it crashes.
>> 
>>  Thanks.
>> 
>> Sadly this is not as informative as it looks:
>> 
>> $ lldb /Applications/Emacs.app/Contents/MacOS/Emacs-x86_64-10_9 
>> (lldb) target create "/Applications/Emacs.app/Contents/MacOS/Emacs-x86_64-10_9"
>> Current executable set to '/Applications/Emacs.app/Contents/MacOS/Emacs-x86_64-10_9' (x86_64).
>> (lldb) r
>> Process 23181 launched: '/Applications/Emacs.app/Contents/MacOS/Emacs-x86_64-10_9' (x86_64)
>> Process 23181 stopped
>> * thread #1: tid = 0x1550e6, 0x000000010084979d libnettle.6.dylib`nettle_sha256_init + 4, queue =
>> 'com.apple.main-thread', stop reason = EXC_BAD_INSTRUCTION (code=EXC_I386_INVOP, subcode=0x0)
>> frame #0: 0x000000010084979d libnettle.6.dylib`nettle_sha256_init + 4
>> libnettle.6.dylib`nettle_sha256_init:
>> -> 0x10084979d <+4>: vmovaps 0x130bb(%rip), %xmm0 ; nettle_sha256_init.H0 + 16
>> 0x1008497a5 <+12>: vmovups %xmm0, 0x10(%rdi)
>> 0x1008497aa <+17>: vmovaps 0x1309e(%rip), %xmm0 ; nettle_sha256_init.H0
>> 0x1008497b2 <+25>: vmovups %xmm0, (%rdi)
>
> This looks like the crash is inside libnettle, a shared library used
> by GnuTLS.  Could it be that you have an incompatible binary of that
> library?
>
> In any case, the problem doesn't seem to be in Emacs.

It's been over ten weeks with no response, so I'm going to close this
bug. If you need further help you can still reply to this, or it might
be worth checking with the Emacs for OS X people to see if there are any
pre-requisites.
-- 
Alan Third




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 06 Apr 2017 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 8 years and 78 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.