GNU bug report logs - #54810
27.2; emacs crashes randomly on Mac with Bug Sur 11.5.2

Previous Next

Package: emacs;

Reported by: Joe Halpern <halpern <at> cs.cornell.edu>

Date: Sat, 9 Apr 2022 02:25:02 UTC

Severity: normal

Tags: moreinfo

Found in version 27.2

Done: Lars Ingebrigtsen <larsi <at> gnus.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 54810 in the body.
You can then email your comments to 54810 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#54810; Package emacs. (Sat, 09 Apr 2022 02:25:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Joe Halpern <halpern <at> cs.cornell.edu>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sat, 09 Apr 2022 02:25:02 GMT) Full text and rfc822 format available.

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

From: Joe Halpern <halpern <at> cs.cornell.edu>
To: bug-gnu-emacs <at> gnu.org
Subject: 27.2; emacs crashes randomly on Mac with Bug Sur 11.5.2
Date: Fri, 8 Apr 2022 21:51:11 -0400

The bug seems completely random. I can't figure out what is causing
emacs to crash. Moreover, it happens relatively frequently (2-3
times/week, sometimes even more often -- I use emacs for hours/day).
One interesting observation: I was streaming music today, which stopped 
at the same time
that emacs crashed.  (No other app seems to have stopped riunning.)


I'm afraid not.

In GNU Emacs 27.2 (build 1, x86_64-apple-darwin20.4.0, NS appkit-2022.44 
Version 11.3.1 (Build 20E241))
of 2021-05-11 built on Joes-Mac-Air.local
Windowing system distributor 'Apple', version 10.3.2022
System Description: macOS 11.5.2

Recent messages:
For information about GNU Emacs and the GNU system, type <help> C-a.
Recover auto save file 
/Users/joehalpern/Documents/work/#optimalEBA.tex#? (y or n) y
Auto-saving...done

Configured features:
NOTIFY KQUEUE ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS NS MODULES
THREADS JSON PDUMPER GMP

Important settings:
value of $LANG: en_US.UTF-8
locale-coding-system: utf-8-unix

Major mode: LaTeX

Minor modes in effect:
shell-dirtrack-mode: t
tooltip-mode: t
global-eldoc-mode: t
electric-indent-mode: t
mouse-wheel-mode: t
tool-bar-mode: t
menu-bar-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
blink-cursor-mode: t
auto-composition-mode: t
auto-encryption-mode: t
auto-compression-mode: t
line-number-mode: t
auto-fill-function: do-auto-fill
transient-mark-mode: t

Load-path shadows:
None found.

Features:
(shadow sort mail-extr emacsbug message rmc puny dired dired-loaddefs
format-spec rfc822 mml easymenu mml-sec password-cache epa derived epg
epg-config gnus-util rmail rmail-loaddefs text-property-search time-date
subr-x seq byte-opt gv bytecomp byte-compile cconv mm-decode mm-bodies
mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader cl-loaddefs
cl-lib sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils
tex-mode compile shell pcomplete comint ansi-color ring latexenc
warnings tooltip eldoc electric uniquify ediff-hook vc-hooks
lisp-float-type mwheel term/ns-win ns-win ucs-normalize mule-util
term/common-win tool-bar dnd fontset image regexp-opt fringe
tabulated-list replace newcomment text-mode elisp-mode lisp-mode
prog-mode register page tab-bar menu-bar rfn-eshadow isearch timer
select scroll-bar mouse jit-lock font-lock syntax facemenu font-core
term/tty-colors frame minibuffer cl-generic cham georgian utf-8-lang
misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms
cp51932 hebrew greek romanian slovak czech european ethiopic indian
cyrillic chinese composite charscript charprop case-table epa-hook
jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice loaddefs
button faces cus-face macroexp files text-properties overlay sha1 md5
base64 format env code-pages mule custom widget hashtable-print-readable
backquote threads kqueue cocoa ns multi-tty make-network-process emacs)

Memory information:
((conses 16 56943 7575)
(symbols 48 6852 1)
(strings 32 18781 1276)
(string-bytes 1 766499)

(vectors 16 11515)
(vector-slots 8 141083 8574)
(floats 8 27 318)
(intervals 56 529 0)
(buffers 1000 13))





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#54810; Package emacs. (Sat, 09 Apr 2022 06:14:01 GMT) Full text and rfc822 format available.

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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Joe Halpern <halpern <at> cs.cornell.edu>
Cc: 54810 <at> debbugs.gnu.org
Subject: Re: bug#54810: 27.2; emacs crashes randomly on Mac with Bug Sur 11.5.2
Date: Sat, 09 Apr 2022 09:13:35 +0300
> Date: Fri, 8 Apr 2022 21:51:11 -0400
> From: Joe Halpern <halpern <at> cs.cornell.edu>
> 
> 
> 
> The bug seems completely random. I can't figure out what is causing
> emacs to crash. Moreover, it happens relatively frequently (2-3
> times/week, sometimes even more often -- I use emacs for hours/day).
> One interesting observation: I was streaming music today, which stopped 
> at the same time
> that emacs crashed.  (No other app seems to have stopped riunning.)

Thank you for your report.

First, please try Emacs 28.1 if you can.  Emacs 27 is no longer being
developed.

And second, to be able to do something useful with this information,
we need a backtrace from the crash, preferably in GDB or some other
similar debugger.  The backtrace will show us where is the code which
crashes, and perhaps give us ideas why that happens and how to fix
that.  Without this information, we have no lead to investigate.




Added tag(s) moreinfo. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Sat, 09 Apr 2022 10:18:01 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#54810; Package emacs. (Sat, 09 Apr 2022 11:05:01 GMT) Full text and rfc822 format available.

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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Joe Halpern <halpern <at> cs.cornell.edu>
Cc: 54810 <at> debbugs.gnu.org
Subject: Re: bug#54810: 27.2; emacs crashes randomly on Mac with Bug Sur 11.5.2
Date: Sat, 09 Apr 2022 14:04:55 +0300
> Date: Sat, 9 Apr 2022 06:38:31 -0400
> Cc: 54810 <at> debbugs.gnu.org
> From: Joe Halpern <halpern <at> cs.cornell.edu>
> 
> Thanks for the fast response.  I've downloaded emacs 28.1, and am having 
> trouble installing it.  What I've done so far is move it to the 
> applications folder, but when I click on the emacs icon that I have on 
> my desktop, I get the message "This application will not run on your 
> computer".  When I click on emacs in finder (the new version, dated 
> 4/4/22), I get the same message.  But when I got to the terminals
> and type "emacs filename", it will open emacs for me.  So obviously 
> someething is working right.  I've tried looking things up on the web, 
> but the responses seem to presume more knowledge than I have. Would it 
> be possible to walk me through what to do?

Sorry, I don't use macOS, so I cannot help you here.  I hope someone
else will.

Thanks.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#54810; Package emacs. (Sat, 09 Apr 2022 15:02:02 GMT) Full text and rfc822 format available.

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

From: Joe Halpern <halpern <at> cs.cornell.edu>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 54810 <at> debbugs.gnu.org
Subject: Re: bug#54810: 27.2; emacs crashes randomly on Mac with Bug Sur 11.5.2
Date: Sat, 9 Apr 2022 06:38:31 -0400
Thanks for the fast response.  I've downloaded emacs 28.1, and am having 
trouble installing it.  What I've done so far is move it to the 
applications folder, but when I click on the emacs icon that I have on 
my desktop, I get the message "This application will not run on your 
computer".  When I click on emacs in finder (the new version, dated 
4/4/22), I get the same message.  But when I got to the terminals
and type "emacs filename", it will open emacs for me.  So obviously 
someething is working right.  I've tried looking things up on the web, 
but the responses seem to presume more knowledge than I have. Would it 
be possible to walk me through what to do?

Thanks,
Jope


On 4/9/22 2:13 AM, Eli Zaretskii wrote:
>> Date: Fri, 8 Apr 2022 21:51:11 -0400
>> From: Joe Halpern <halpern <at> cs.cornell.edu>
>>
>>
>>
>> The bug seems completely random. I can't figure out what is causing
>> emacs to crash. Moreover, it happens relatively frequently (2-3
>> times/week, sometimes even more often -- I use emacs for hours/day).
>> One interesting observation: I was streaming music today, which stopped
>> at the same time
>> that emacs crashed.  (No other app seems to have stopped riunning.)
> Thank you for your report.
>
> First, please try Emacs 28.1 if you can.  Emacs 27 is no longer being
> developed.
>
> And second, to be able to do something useful with this information,
> we need a backtrace from the crash, preferably in GDB or some other
> similar debugger.  The backtrace will show us where is the code which
> crashes, and perhaps give us ideas why that happens and how to fix
> that.  Without this information, we have no lead to investigate.





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#54810; Package emacs. (Sat, 09 Apr 2022 21:08:01 GMT) Full text and rfc822 format available.

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

From: Alan Third <alan <at> idiocy.org>
To: Joe Halpern <halpern <at> cs.cornell.edu>
Cc: 54810 <at> debbugs.gnu.org, Eli Zaretskii <eliz <at> gnu.org>
Subject: Re: bug#54810: 27.2; emacs crashes randomly on Mac with Bug Sur 11.5.2
Date: Sat, 9 Apr 2022 22:07:03 +0100
On Sat, Apr 09, 2022 at 06:38:31AM -0400, Joe Halpern wrote:
> Thanks for the fast response.  I've downloaded emacs 28.1, and am having
> trouble installing it.  What I've done so far is move it to the applications
> folder, but when I click on the emacs icon that I have on my desktop, I get
> the message "This application will not run on your computer".  When I click
> on emacs in finder (the new version, dated 4/4/22), I get the same message. 
> But when I got to the terminals
> and type "emacs filename", it will open emacs for me.  So obviously
> someething is working right.  I've tried looking things up on the web, but
> the responses seem to presume more knowledge than I have. Would it be
> possible to walk me through what to do?

Hi, where did you download it from?
-- 
Alan Third




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#54810; Package emacs. (Sat, 09 Apr 2022 21:49:02 GMT) Full text and rfc822 format available.

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

From: Joe Halpern <halpern <at> cs.cornell.edu>
To: Alan Third <alan <at> idiocy.org>, Eli Zaretskii <eliz <at> gnu.org>,
 54810 <at> debbugs.gnu.org
Subject: Re: bug#54810: 27.2; emacs crashes randomly on Mac with Bug Sur 11.5.2
Date: Sat, 9 Apr 2022 17:48:41 -0400
From https://emacsformacosx.com/. -- Joe


On 4/9/22 5:07 PM, Alan Third wrote:
> On Sat, Apr 09, 2022 at 06:38:31AM -0400, Joe Halpern wrote:
>> Thanks for the fast response.  I've downloaded emacs 28.1, and am having
>> trouble installing it.  What I've done so far is move it to the applications
>> folder, but when I click on the emacs icon that I have on my desktop, I get
>> the message "This application will not run on your computer".  When I click
>> on emacs in finder (the new version, dated 4/4/22), I get the same message.
>> But when I got to the terminals
>> and type "emacs filename", it will open emacs for me.  So obviously
>> someething is working right.  I've tried looking things up on the web, but
>> the responses seem to presume more knowledge than I have. Would it be
>> possible to walk me through what to do?
> Hi, where did you download it from?





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#54810; Package emacs. (Sun, 10 Apr 2022 17:49:01 GMT) Full text and rfc822 format available.

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

From: Alan Third <alan <at> idiocy.org>
To: Joe Halpern <halpern <at> cs.cornell.edu>
Cc: 54810 <at> debbugs.gnu.org, Eli Zaretskii <eliz <at> gnu.org>
Subject: Re: bug#54810: 27.2; emacs crashes randomly on Mac with Bug Sur 11.5.2
Date: Sun, 10 Apr 2022 18:48:07 +0100
On Sat, Apr 09, 2022 at 05:48:41PM -0400, Joe Halpern wrote:
> From https://emacsformacosx.com/. -- Joe

It might be worth trying Jim's builds from
https://github.com/jimeh/emacs-builds, as I understand it they're
signed and so on, which might avoid some problems with running it.
-- 
Alan Third




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#54810; Package emacs. (Sun, 10 Apr 2022 21:09:02 GMT) Full text and rfc822 format available.

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

From: Joe Halpern <halpern <at> cs.cornell.edu>
To: Alan Third <alan <at> idiocy.org>, Eli Zaretskii <eliz <at> gnu.org>,
 54810 <at> debbugs.gnu.org
Subject: Re: bug#54810: 27.2; emacs crashes randomly on Mac with Bug Sur 11.5.2
Date: Sun, 10 Apr 2022 17:08:23 -0400
With a bit of effort, that seems to have worked. Thanks! -- Joe


On 4/10/22 1:48 PM, Alan Third wrote:
> On Sat, Apr 09, 2022 at 05:48:41PM -0400, Joe Halpern wrote:
>>  From https://emacsformacosx.com/. -- Joe
> It might be worth trying Jim's builds from
> https://github.com/jimeh/emacs-builds, as I understand it they're
> signed and so on, which might avoid some problems with running it.





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#54810; Package emacs. (Mon, 11 Apr 2022 03:24:01 GMT) Full text and rfc822 format available.

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

From: Richard Stallman <rms <at> gnu.org>
To: Alan Third <alan <at> idiocy.org>
Cc: 54810 <at> debbugs.gnu.org, alan <at> idiocy.org, eliz <at> gnu.org,
 halpern <at> cs.cornell.edu
Subject: Re: bug#54810: 27.2; emacs crashes randomly on Mac with Bug Sur 11.5.2
Date: Sun, 10 Apr 2022 23:23:32 -0400
[[[ To any NSA and FBI agents reading my email: please consider    ]]]
[[[ whether defending the US Constitution against all enemies,     ]]]
[[[ foreign or domestic, requires you to follow Snowden's example. ]]]

  > It might be worth trying Jim's builds from
  > https://github.com/jimeh/emacs-builds, as I understand it they're
  > signed and so on, which might avoid some problems with running it.

Would some Mac expert please explain to me (off the list) what's
going on here?

-- 
Dr Richard Stallman (https://stallman.org)
Chief GNUisance of the GNU Project (https://gnu.org)
Founder, Free Software Foundation (https://fsf.org)
Internet Hall-of-Famer (https://internethalloffame.org)






Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#54810; Package emacs. (Tue, 03 May 2022 11:14:01 GMT) Full text and rfc822 format available.

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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Joe Halpern <halpern <at> cs.cornell.edu>
Cc: 54810 <at> debbugs.gnu.org, Alan Third <alan <at> idiocy.org>,
 Eli Zaretskii <eliz <at> gnu.org>
Subject: Re: bug#54810: 27.2; emacs crashes randomly on Mac with Bug Sur 11.5.2
Date: Tue, 03 May 2022 13:13:31 +0200
Joe Halpern <halpern <at> cs.cornell.edu> writes:

> With a bit of effort, that seems to have worked. Thanks! -- Joe

If I'm reading this bug report correctly, there's nothing further to do
here, and I'm therefore closing it.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




bug closed, send any further explanations to 54810 <at> debbugs.gnu.org and Joe Halpern <halpern <at> cs.cornell.edu> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Tue, 03 May 2022 11:14:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 31 May 2022 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 1 year and 302 days ago.

Previous Next


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