From: "Gerd Möllmann" <gerd.moellmann@gmail.com>
To: 58144@debbugs.gnu.org
Subject: bug#58144: 29.0.50; [noverlay] Abort when committing in Magit
Date: Wed, 28 Sep 2022 16:29:39 +0200 [thread overview]
Message-ID: <m2o7uz608c.fsf@Mini.fritz.box> (raw)
An attempt to commit changes in Magit led to an abort in
interval_tree_iter_start
frame #9: 0x00000001002e2900 emacs`interval_tree_iter_start(tree=0x0000600003034870, begin=5464, end=2730898, order=ITREE_ASCENDING, file="buffer.c", line=2937) at itree.c:441:5
438 const char* file, int line)
439 {
440 if (tree->iter_running)
-> 441 emacs_abort ();
442 interval_generator_reset (tree->iter, begin, end, order);
443 tree->iter_running = 1;
444 tree->file = file;
Because this wasn't debuggable, I've changed the code to record where an
iteration starts, which is, in this case,
static bool
strings_with_newlines (ptrdiff_t startpos, ptrdiff_t endpos, struct window *w)
{
struct interval_node *node;
/* Process overlays before the overlay center. */
buffer_overlay_iter_start (current_buffer,
startpos, endpos, ITREE_DESCENDING);
I'll fix that, and also put the location recording in, to make debugging
such cases easier.
next reply other threads:[~2022-09-28 14:29 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-28 14:29 Gerd Möllmann [this message]
2022-09-28 14:43 ` bug#58144: 29.0.50; [noverlay] Abort when committing in Magit 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=m2o7uz608c.fsf@Mini.fritz.box \
--to=gerd.moellmann@gmail.com \
--cc=58144@debbugs.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).