From: "Gerd Möllmann" <gerd.moellmann@gmail.com>
To: Sam Steingold <sds@gnu.org>
Cc: 57751@debbugs.gnu.org
Subject: bug#57751: 29.0.50; crash in GC
Date: Thu, 15 Sep 2022 10:42:12 +0200 [thread overview]
Message-ID: <m2fsgtdo63.fsf@Mini.fritz.box> (raw)
In-Reply-To: <m2bkrhurym.fsf@Mini.fritz.box> ("Gerd Möllmann"'s message of "Thu, 15 Sep 2022 07:28:17 +0200")
Gerd Möllmann <gerd.moellmann@gmail.com> writes:
> I think I'll try next to reproduce this desktop loading/moving frame
> crash here. When I get something, I'll bisect, and then let's see
> further. I'll report back when I have something.
Just want to drop this here, because I'll probably only continue
tomorrow. And because I find this a little bit baffling.
Save the following 2 lines as crash.el, which are what I could reduce my
init file to:
(custom-set-variables
'(save-place-mode t))
Then start Emacs from the src directory like this:
lldb emacs
run -Q -l crash.el xdisp.c dispextern.h lisp.h nsterm.m xterm.c
When the Emacs GUI window appears, quickly grab its titlebar with the
mouse and drag it up. I usually need a few trials (< 10) to be
quick enough, or what the reason might be.
Result:
Process 94346 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x1705bfbb0)
frame #0: 0x0000000100145e18 emacs`process_mark_stack [inlined] symbol_marked_p(s=0x00000001705bfbb0) at alloc.c:4020:7 [opt]
4017 {
4018 return pdumper_object_p (s)
4019 ? pdumper_marked_p (s)
-> 4020 : s->u.s.gcmarkbit;
4021 }
4022
4023 static void
(lldb) bt
* thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x1705bfbb0)
* frame #0: 0x0000000100145e18 emacs`process_mark_stack [inlined] symbol_marked_p(s=0x00000001705bfbb0) at alloc.c:4020:7 [opt]
frame #1: 0x0000000100145e08 emacs`process_mark_stack(base_sp=<unavailable>) at alloc.c:6943:10 [opt]
frame #2: 0x0000000100145654 emacs`mark_object(obj=<unavailable>) at alloc.c:7035:3 [opt] [artificial]
frame #3: 0x00000001000f3f44 emacs`mark_kboards at keyboard.c:13266:4 [opt]
frame #4: 0x0000000100144cbc emacs`garbage_collect at alloc.c:6187:3 [opt]
That's the same crash as Sam reported.
Sam, are you also using save-place? Can you reproduce this recipe?
(In case it matters, my places file has 180 lines, and contains entries
for the files I'm loading.)
next prev parent reply other threads:[~2022-09-15 8:42 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-12 14:37 bug#57751: 29.0.50; crash in GC Sam Steingold
2022-09-13 5:20 ` Gerd Möllmann
2022-09-13 14:51 ` Sam Steingold
2022-09-14 5:46 ` Gerd Möllmann
2022-09-14 18:36 ` Sam Steingold
2022-09-15 5:28 ` Gerd Möllmann
2022-09-15 8:42 ` Gerd Möllmann [this message]
2022-09-15 8:48 ` Gerd Möllmann
2022-09-15 10:01 ` Gerd Möllmann
2022-09-15 12:10 ` Eli Zaretskii
2022-09-15 15:12 ` Gerd Möllmann
2022-09-15 16:48 ` Sam Steingold
2022-09-15 22:25 ` Gregory Heytings
2022-09-15 22:41 ` Sam Steingold
2022-09-15 22:42 ` Sam Steingold
2022-09-15 23:17 ` Gregory Heytings
2022-09-16 5:40 ` Gerd Möllmann
2022-09-19 16:26 ` Sam Steingold
2022-09-20 4:32 ` Gerd Möllmann
2022-09-15 9:23 ` Eli Zaretskii
2022-09-15 9:37 ` Gerd Möllmann
2022-09-15 16:45 ` Sam Steingold
2022-09-15 16:35 ` Sam Steingold
2022-09-14 11:30 ` Gerd Möllmann
2022-09-14 11:32 ` Gerd Möllmann
2022-09-14 18:20 ` Sam Steingold
2022-09-15 4:49 ` 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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m2fsgtdo63.fsf@Mini.fritz.box \
--to=gerd.moellmann@gmail.com \
--cc=57751@debbugs.gnu.org \
--cc=sds@gnu.org \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).