From: Jonathan Mitchell <mitchell.jkyle@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 56527@debbugs.gnu.org
Subject: bug#56527: 28.1; Crash on macOS with magit
Date: Thu, 14 Jul 2022 13:42:35 -0500 [thread overview]
Message-ID: <CAAnK0TYpi70qZ7abZ3t+KR+VKM4ifUKCmcPSbjW8=xGihZXkZA@mail.gmail.com> (raw)
In-Reply-To: <834jzjtz6c.fsf@gnu.org>
[-- Attachment #1: Type: text/plain, Size: 1344 bytes --]
I guess it could be an Apple quality problem :-). Unless I'm reading LLDB
incorrectly, it says m->charpos = 0 for that frame.
On Thu, Jul 14, 2022 at 11:52 AM Eli Zaretskii <eliz@gnu.org> wrote:
> > From: Jonathan Mitchell <mitchell.jkyle@gmail.com>
> > Date: Thu, 14 Jul 2022 11:18:02 -0500
> > Cc: 56527@debbugs.gnu.org
> >
> > I think this should be the "m" variable in the assert:
> >
> > (lldb) frame select 9
> >
> > frame #9: 0x000000010020bab4 emacs`adjust_markers_for_insert(from=1,
> > from_byte=1, to=15403, to_byte=15413, before_markers=false) at
> insdel.c:294:
> > 7
> > 291 adjust_suspend_auto_hscroll (from, to);
> > 292 for (m = BUF_MARKERS (current_buffer); m; m = m->next)
> > 293 {
> > -> 294 eassert (m->bytepos >= m->charpos
> > 295 && m->bytepos - m->charpos <= Z_BYTE - Z);
> > 296
> > 297 if (m->bytepos == from_byte)
> > (lldb) p *(struct Lisp_Marker *) m
> > (struct Lisp_Marker) $1158 = {
> > header = (size = 4611686018477740032)
> > buffer = 0x00000001026b2718
> > need_adjustment = false
> > insertion_type = true
> > next = 0x00000001026f5f70
> > charpos = 0
> > bytepos = 11043
> > }
>
> ??? charpos = 0? How can that happen? charpos can never be zero, it
> starts at 1.
>
> Are you sure your machine doesn't have problems with its memory chips?
>
[-- Attachment #2: Type: text/html, Size: 2030 bytes --]
next prev parent reply other threads:[~2022-07-14 18:42 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-07-12 23:27 bug#56527: 28.1; Crash on macOS with magit Jonathan Mitchell
2022-07-13 11:24 ` Eli Zaretskii
2022-07-13 22:16 ` Jonathan Mitchell
2022-07-14 5:20 ` Eli Zaretskii
2022-07-14 6:11 ` Jonathan Mitchell
2022-07-14 7:11 ` Eli Zaretskii
2022-07-14 15:21 ` Jonathan Mitchell
2022-07-14 16:12 ` Eli Zaretskii
2022-07-14 16:18 ` Jonathan Mitchell
2022-07-14 16:51 ` Eli Zaretskii
2022-07-14 18:42 ` Jonathan Mitchell [this message]
2022-07-14 19:09 ` Eli Zaretskii
2022-07-16 8:13 ` Gerd Möllmann
2022-07-16 8:30 ` Eli Zaretskii
2022-07-17 15:41 ` Jonathan Mitchell
2022-07-17 16:03 ` Eli Zaretskii
2022-07-17 17:19 ` Jonathan Mitchell
2022-07-17 17:41 ` Eli Zaretskii
2022-07-17 17:36 ` Gerd Möllmann
2022-07-17 18:20 ` Eli Zaretskii
2022-07-17 20:25 ` Alan Third
2022-07-18 12:34 ` Eli Zaretskii
2022-07-19 10:44 ` Lars Ingebrigtsen
2022-07-19 13:05 ` Eli Zaretskii
2022-07-19 19:12 ` Jonathan Mitchell
2022-07-19 19:14 ` Eli Zaretskii
2022-08-19 12:08 ` 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='CAAnK0TYpi70qZ7abZ3t+KR+VKM4ifUKCmcPSbjW8=xGihZXkZA@mail.gmail.com' \
--to=mitchell.jkyle@gmail.com \
--cc=56527@debbugs.gnu.org \
--cc=eliz@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).