all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Jonathan Mitchell <mitchell.jkyle@gmail.com>
Cc: 56527@debbugs.gnu.org
Subject: bug#56527: 28.1; Crash on macOS with magit
Date: Thu, 14 Jul 2022 19:51:55 +0300	[thread overview]
Message-ID: <834jzjtz6c.fsf@gnu.org> (raw)
In-Reply-To: <CAAnK0TbQzH0zah72-N5MfeXh+DfazDEw7pEP3x22xrX3ED8GQw@mail.gmail.com> (message from Jonathan Mitchell on Thu, 14 Jul 2022 11:18:02 -0500)

> 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?





  reply	other threads:[~2022-07-14 16:51 UTC|newest]

Thread overview: 29+ 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 [this message]
2022-07-14 18:42                   ` Jonathan Mitchell
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
  -- strict thread matches above, loose matches on Subject: below --
2022-07-14  7:17 Gerd Möllmann
2022-07-14 15:26 ` Jonathan Mitchell

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=834jzjtz6c.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=56527@debbugs.gnu.org \
    --cc=mitchell.jkyle@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.