all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Kangas <stefankangas@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 66098@debbugs.gnu.org, rpluim@gmail.com, acorallo@gnu.org
Subject: bug#66098: Crash in itree.c on macOS with incomplete backtrace
Date: Sun, 24 Sep 2023 14:01:44 -0700	[thread overview]
Message-ID: <CADwFkmmXJF2a=iHdejsP+Yw5YhMxdJ+9PJJJTmXkYNKxNc3=1w@mail.gmail.com> (raw)
In-Reply-To: <CADwFkmnQ+nrZOsQg7_zkyGuJbUhbV=B_zyKG9i2LKYofkhXXZg@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1564 bytes --]

Stefan Kangas <stefankangas@gmail.com> writes:

> I'm still trying various configurations to find out more, but it's slow
> going since I can't seem to find a way to reproduce it consistently.
> I'm now running this build:
>
> Configured using:
>  'configure 'CFLAGS=-O0 -g3 -fsanitize=address'
>  --with-native-compilation CPPFLAGS=-I/usr/local/opt/llvm/include
>  LDFLAGS=-L/usr/local/opt/llvm/lib'

I was now able to reproduce the crash again.  This time I was typing
C-M-x (`eval-defun') in an elisp-mode buffer when it crashed, for a form
which AFAICT basically sets some variables and nothing more.  Here is
the form, for the sake of completion:

    (use-package magit
      :bind (("C-c g" . magit-dispatch))
      :custom
      (magit-diff-refine-hunk 'all)
      (magit-repository-directories '(("~/wip/emacs/" . 0)))
      :config
      (with-eval-after-load 'magit-extras
        (setq magit-pop-revision-stack-format
              (pcase-let ((`(,pt ,_eob ,index-regexp)
                           (default-value 'magit-pop-revision-stack-format)))
                `(,pt "[%N: %h]: %ci\n  %s\n
https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=%H"
                      ,index-regexp)))))

Unfortunately, ASan didn't catch anything useful.  The terminal output
is only this:

    Fatal error 11: Segmentation fault
    Abort trap: 6

The Apple crash log looks rather similar to the old one, but the line
numbers for some of the calls are a bit different.  I've attached it
here just in case anyone else is able to glean something useful from it.

[-- Attachment #2: Type: text/plain, Size: 357 bytes --]


> Since I did not see this a few weeks ago, perhaps it's time to bite the
> bullet and bisect.

I'll start bisecting, but since the crash is so infrequent and
unpredictable, I'm not sure what criteria I should use for marking a
commit "good".  Use Emacs normally for 72 hours, and if it doesn't
crash, then it's probably okay?  That might take me a while.

[-- Attachment #3: crash.txt.gz --]
[-- Type: application/octet-stream, Size: 8852 bytes --]

  reply	other threads:[~2023-09-24 21:01 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-19  8:47 bug#66098: Crash in itree.c on macOS with incomplete backtrace Stefan Kangas
2023-09-19  9:23 ` Robert Pluim
2023-09-19 10:09   ` Robert Pluim
2023-09-20  8:08     ` Paul Eggert
2023-09-20  8:22       ` Robert Pluim
2023-09-22 10:58   ` Stefan Kangas
2023-09-22 12:07     ` Robert Pluim
2023-09-23 13:02       ` Stefan Kangas
2023-09-25  8:36         ` Robert Pluim
2023-09-19 11:24 ` Eli Zaretskii
2023-09-22 10:51   ` Stefan Kangas
2023-09-22 12:36     ` Eli Zaretskii
2023-09-22 12:46       ` Robert Pluim
2023-09-23 11:56         ` Stefan Kangas
2023-09-23 12:42           ` Eli Zaretskii
2023-09-24 10:55             ` Stefan Kangas
2023-09-24 12:10               ` Eli Zaretskii
2023-09-24 12:25                 ` Stefan Kangas
2023-09-24 21:01                   ` Stefan Kangas [this message]
2023-09-25  3:38                     ` Gerd Möllmann
2023-09-19 11:42 ` Gerd Möllmann
2023-09-19 12:21   ` Gerd Möllmann

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='CADwFkmmXJF2a=iHdejsP+Yw5YhMxdJ+9PJJJTmXkYNKxNc3=1w@mail.gmail.com' \
    --to=stefankangas@gmail.com \
    --cc=66098@debbugs.gnu.org \
    --cc=acorallo@gnu.org \
    --cc=eliz@gnu.org \
    --cc=rpluim@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.