From: "Gerd Möllmann" <gerd.moellmann@gmail.com>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: 58226@debbugs.gnu.org, Stefan Kangas <stefankangas@gmail.com>
Subject: bug#58226: 29.0.50; multisession-tests.el fails to finish on macOS (10.13.6)
Date: Wed, 05 Oct 2022 06:49:48 +0200 [thread overview]
Message-ID: <m2pmf63mdv.fsf@Mini.fritz.box> (raw)
In-Reply-To: <87lepv5rn7.fsf@gnus.org> (Lars Ingebrigtsen's message of "Tue, 04 Oct 2022 21:13:16 +0200")
Lars Ingebrigtsen <larsi@gnus.org> writes:
> Stefan Kangas <stefankangas@gmail.com> writes:
>
>> If I try to get the ELisp backtrace from ert with "b", Emacs crashes
>> with the below rather unhelpful backtrace. Any ideas for how to debug
>> further from here are welcome.
>>
>> Thread 2 received signal SIGABRT, Aborted.
>> 0x00007fff6d8a3b66 in ?? () from /usr/lib/system/libsystem_kernel.dylib
>> (gdb) bt
>> #0 0x00007fff6d8a3b66 in ?? () from /usr/lib/system/libsystem_kernel.dylib
>> #1 0x00007fff6da6e080 in pthread_kill () from
>> /usr/lib/system/libsystem_pthread.dylib
>> #2 0x00007fff6d7ff24d in __abort () from /usr/lib/system/libsystem_c.dylib
>> #3 0x0032000000000015 in ?? ()
>> #4 0x0000000000000000 in ?? ()
>
> I'm almost completely blank on running the debugger on Macos, but Gerd
> is an expert here
That's how quickly you get a bad reputation :-).
> -- Gerd, any advice?
It's to a degree similar to GDB. I'm using the cheat sheet from
https://lldb.llvm.org/use/map.html if in doubt. That's how experts do.
cd src
lldb --local-lldbinit emacs
You should see "Emacs support has been loaded". If not, you can load it
later with
command script import ../etc/emacs_lldb.py
To start Emacs
run <args...>
where <args...> are command-line options for Emacs. When back in lldb
because of the signal, use bt, up, down, and p as you would in GDB.
With emacs_lldb.py loaded, you can also use xbacktrace and xdebug_print.
next prev parent reply other threads:[~2022-10-05 4:49 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-01 14:25 bug#58226: 29.0.50; multisession-tests.el fails to finish on macOS (10.13.6) Stefan Kangas
2022-10-04 11:27 ` Lars Ingebrigtsen
2022-10-04 11:28 ` Lars Ingebrigtsen
2022-10-04 17:15 ` Stefan Kangas
2022-10-04 19:13 ` Lars Ingebrigtsen
2022-10-05 4:49 ` Gerd Möllmann [this message]
2022-10-05 6:17 ` Eli Zaretskii
2022-10-05 7:00 ` Gerd Möllmann
2022-11-07 10:23 ` Stefan Kangas
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=m2pmf63mdv.fsf@Mini.fritz.box \
--to=gerd.moellmann@gmail.com \
--cc=58226@debbugs.gnu.org \
--cc=larsi@gnus.org \
--cc=stefankangas@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.