From: Eli Zaretskii <eliz@gnu.org>
To: Devon Sean McCullough <Emacs-Hacker2020@jovi.net>
Cc: 50319@debbugs.gnu.org
Subject: bug#50319: 27.2; crash
Date: Wed, 01 Sep 2021 17:04:25 +0300 [thread overview]
Message-ID: <837dg0qtna.fsf@gnu.org> (raw)
In-Reply-To: <c64199af-e722-9048-b057-2305288fa326@jovi.net> (message from Devon Sean McCullough on Wed, 1 Sep 2021 09:30:57 -0400)
> From: Devon Sean McCullough <Emacs-Hacker2020@jovi.net>
> Date: Wed, 1 Sep 2021 09:30:57 -0400
>
> Launch Emacs, attach a debugger, use it routinely for many weeks,
> switching between various apps, until it dereferences a bad pointer
> upon switching from some other app:
>
> (lldb) process attach --pid 24105
> ⋮
> Executable module set to "/Applications/Emacs.app/Contents/MacOS/Emacs-x86_64-10_14".
> Architecture set to: x86_64h-apple-macosx-.
> ⋮
> (lldb) Process 24105 stopped
> * thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x172505fec)
> frame #0: 0x000000010cdcb104 Emacs-x86_64-10_14`redisplay_window + 4244
> Emacs-x86_64-10_14`redisplay_window:
> -> 0x10cdcb104 <+4244>: movq -0x14(%rbx), %rcx
> 0x10cdcb108 <+4248>: addq $-0x100, %rbx
> 0x10cdcb10f <+4255>: testl $0x100000, %ecx ; imm = 0x100000
> 0x10cdcb115 <+4261>: je 0x10cdcb0a0 ; <+4144>
> Target 0: (Emacs-x86_64-10_14) stopped.
> (lldb) bt all
> * thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x172505fec)
> * frame #0: 0x000000010cdcb104 Emacs-x86_64-10_14`redisplay_window + 4244
Can you show where is this place in xdisp.c? I'm afraid I cannot
figure that out from the disassembly alone.
Also, what did you do when it segfaulted? just clicked on an Emacs
frame with a mouse? The backtrace doesn't look like a frame redraw,
it looks like a routine redisplay when Emacs becomes idle.
Thanks.
next prev parent reply other threads:[~2021-09-01 14:04 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-09-01 13:30 bug#50319: 27.2; crash Devon Sean McCullough
2021-09-01 14:04 ` Eli Zaretskii [this message]
2021-10-03 9:40 ` Lars Ingebrigtsen
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=837dg0qtna.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=50319@debbugs.gnu.org \
--cc=Emacs-Hacker2020@jovi.net \
/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).