* bug#58144: 29.0.50; [noverlay] Abort when committing in Magit
@ 2022-09-28 14:29 Gerd Möllmann
2022-09-28 14:43 ` Gerd Möllmann
0 siblings, 1 reply; 2+ messages in thread
From: Gerd Möllmann @ 2022-09-28 14:29 UTC (permalink / raw)
To: 58144
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
* bug#58144: 29.0.50; [noverlay] Abort when committing in Magit
2022-09-28 14:29 bug#58144: 29.0.50; [noverlay] Abort when committing in Magit Gerd Möllmann
@ 2022-09-28 14:43 ` Gerd Möllmann
0 siblings, 0 replies; 2+ messages in thread
From: Gerd Möllmann @ 2022-09-28 14:43 UTC (permalink / raw)
To: 58144
Gerd Möllmann <gerd.moellmann@gmail.com> writes:
> I'll fix that, and also put the location recording in, to make debugging
> such cases easier.
Fix on branch noverlay. The debugging support is a separate commit for
easier removal, if necessary.
Closing.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-09-28 14:43 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-28 14:29 bug#58144: 29.0.50; [noverlay] Abort when committing in Magit Gerd Möllmann
2022-09-28 14:43 ` Gerd Möllmann
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).