Subject: Re: bug#79131: 31.0.50; igc: nested signal, SIGSEGV

From: Pip Cet <[email-masked]>
Date: Thu, 31 Jul 2025 07:19:01 +0000

Óscar Fuentes via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <[email-masked]> writes:

> This is a build of merging master's 6982dc460aa with current feature/igc
> HEAD (382123e69e2). I had to resolve some conflicts, so there is a
> possibility of the crash being caused by my mistake.
>
> Backtrace from the coredump:

It does look like the interval tree was in an inconsistent state.

Please run

    p *current_buffer->text

in the coredump, then

    p $i = current_buffer->text->intervals

and then repeat

    p *$i
    p $i = $i->right

until $i is NULL.

Also, can you print igc__balance_intervals to verify it's false?

Thanks!

Pip