all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Aaron Jensen <aaronjensen@gmail.com>
To: "Gerd Möllmann" <gerd.moellmann@gmail.com>
Cc: Eli Zaretskii <eliz@gnu.org>, Paul Eggert <eggert@cs.ucla.edu>,
	60220@debbugs.gnu.org
Subject: bug#60220: 29.0.60; macOS 13.1 crash shortly after starting Emacs
Date: Fri, 30 Dec 2022 10:50:42 -0500	[thread overview]
Message-ID: <CAHyO48yYm57sbba4z_pct7RdSWMX3zNDMUYJugyx-=FyeDFK=A@mail.gmail.com> (raw)
In-Reply-To: <601a3979-ea55-fbac-6762-497cbc61628a@gmail.com>

On Fri, Dec 30, 2022 at 10:27 AM Gerd Möllmann <gerd.moellmann@gmail.com> wrote:
>
> On 30.12.22 14:52, Aaron Jensen wrote:
> > On Fri, Dec 30, 2022 at 8:37 AM Aaron Jensen <aaronjensen@gmail.com> wrote:
> >>
> >> On Fri, Dec 30, 2022 at 3:42 AM Gerd Möllmann <gerd.moellmann@gmail.com> wrote:
> >>>
> >>> 13.1 on an M1.
> >>
> >> Ok, same. Did you allow everything to native compile before starting
> >> the restart loop?
> >
> > Also, please try to run it outside of LLDB and see if it crashes there.
>
> It seem to depend on "-g -O0" plus running in LLDB.
>
> With "-g -O0" and without LLDB, the first restart terminates with
>
> ~/tmp/ > HOME=. ~/emacs/master/src/emacs
> dyld[4467]: Assertion failed: (this->magic == kMagic), function
> contains, file Loader.cpp, line 144.

Yes, this is what I see. The Apple error reporter shows me the full
stack trace I've submitted. I'm glad I'm not the only one. For me, it
does not depend on "-g -O0", but that does appear to make it more
likely.


> With LLDB, it stops like this between restarts
>
> * thread #21, stop reason = exec
>      frame #0: 0x0000000100b50950 dyld`_dyld_start
>
> but happily chips on after each "continue" in LLDB.

I'm guessing the exec breakpoint is expected and not problematic.
Xcode doesn't do this, and I can make LLDB crash, it just takes a few
times for me.

> I don't see at the moment how to proceed with this.  Maybe it's worth
> trying to use a helper process for restarting Emacs, as you described
> elsewhere if I remember that right.

I don't think this is necessary since I've seen what appears to be the
same crash on a fresh start (without restarting).

I don't know how to proceed either. Without any additional evidence,
the only thing I can guess is that we are hitting the same thing that
Xojo is:

https://www.mbs-plugins.de/archive/2022-12-28/Avoiding_macOS_Ventura_crashes/monkeybreadsoftware_blog_xojo

Their current plan is to wait and see if Apple fixes it, but 13.2 beta
doesn't appear to have fixed it yet, so it may be a while. In the
interim, I'm just sending every crash report to Apple and starting
Emacs anew whenever it crashes (which thankfully under normal use
isn't all that often).

Aaron





  reply	other threads:[~2022-12-30 15:50 UTC|newest]

Thread overview: 63+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-20 15:11 bug#60220: 29.0.60; macOS 13.1 crash shortly after starting Emacs Aaron Jensen
2022-12-20 15:25 ` Aaron Jensen
2022-12-20 15:41   ` Eli Zaretskii
2022-12-20 15:59     ` Aaron Jensen
2022-12-20 17:23       ` Eli Zaretskii
2022-12-21  3:47         ` Aaron Jensen
2022-12-21 12:22           ` Eli Zaretskii
2022-12-21 13:29             ` Gerd Möllmann
2022-12-22  5:09               ` Aaron Jensen
2022-12-22  5:12                 ` Aaron Jensen
2022-12-22  5:36                   ` Gerd Möllmann
2022-12-22  8:18                     ` Eli Zaretskii
2022-12-23  2:05                       ` Paul Eggert
2022-12-23  2:22                         ` Aaron Jensen
2022-12-23  5:33                           ` Gerd Möllmann
2022-12-23  5:56                           ` Paul Eggert
2022-12-24  6:45                             ` Aaron Jensen
2022-12-24  6:57                               ` Eli Zaretskii
2022-12-24  7:03                                 ` Aaron Jensen
2022-12-24  8:25                                 ` Paul Eggert
2022-12-24 15:11                             ` Aaron Jensen
2022-12-25  5:30                               ` Gerd Möllmann
2022-12-25 19:30                                 ` Aaron Jensen
2022-12-25 19:59                                   ` Eli Zaretskii
2022-12-27 11:12                                     ` Aaron Jensen
2022-12-27 13:11                                       ` Eli Zaretskii
2022-12-29 22:47                                         ` Aaron Jensen
2022-12-29 23:46                                           ` Aaron Jensen
2022-12-29 23:49                                             ` Paul Eggert
2022-12-29 23:59                                               ` Aaron Jensen
2022-12-30  0:03                                                 ` Aaron Jensen
2022-12-30  1:16                                                   ` Paul Eggert
2022-12-30  1:20                                                     ` Aaron Jensen
2022-12-30  2:11                                                     ` Aaron Jensen
2022-12-30  3:54                                                       ` Aaron Jensen
2022-12-30  4:24                                                         ` Aaron Jensen
2022-12-30  4:25                                                           ` Aaron Jensen
2022-12-30  7:41                                                             ` Gerd Möllmann
2022-12-30  8:03                                                               ` Aaron Jensen
2022-12-30  8:42                                                                 ` Gerd Möllmann
2022-12-30 13:37                                                                   ` Aaron Jensen
2022-12-30 13:52                                                                     ` Aaron Jensen
2022-12-30 14:24                                                                       ` Aaron Jensen
2022-12-30 15:27                                                                       ` Gerd Möllmann
2022-12-30 15:50                                                                         ` Aaron Jensen [this message]
2022-12-30  8:37                                                     ` Eli Zaretskii
2022-12-30 13:36                                                       ` Aaron Jensen
2022-12-30 14:18                                                         ` Eli Zaretskii
2022-12-30 22:42                                                       ` Paul Eggert
2022-12-31  6:33                                                         ` Eli Zaretskii
2022-12-30  8:32                                                   ` Eli Zaretskii
2023-01-04 15:51                                                     ` Andrea Corallo
2023-01-04 16:58                                                       ` Eli Zaretskii
2023-01-10 15:28                                                         ` Andrea Corallo
2023-01-10 16:57                                                           ` Eli Zaretskii
2023-01-10 22:59                                                           ` Aaron Jensen
2023-01-12 11:01                                                             ` Andrea Corallo
2023-01-14 16:23                                                               ` Aaron Jensen
2022-12-30  0:08                                                 ` Paul Eggert
2022-12-30  8:29                                               ` Eli Zaretskii
2022-12-22  8:05                   ` Eli Zaretskii
2022-12-20 15:32 ` Eli Zaretskii
2022-12-20 15:36   ` Aaron Jensen

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAHyO48yYm57sbba4z_pct7RdSWMX3zNDMUYJugyx-=FyeDFK=A@mail.gmail.com' \
    --to=aaronjensen@gmail.com \
    --cc=60220@debbugs.gnu.org \
    --cc=eggert@cs.ucla.edu \
    --cc=eliz@gnu.org \
    --cc=gerd.moellmann@gmail.com \
    /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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.