GNU bug report logs - #79131
31.0.50; igc: nested signal, SIGSEGV

Previous Next

Package: emacs;

Reported by: Óscar Fuentes <oscarfv <at> eclipso.eu>

Date: Wed, 30 Jul 2025 20:20:02 UTC

Severity: normal

Found in version 31.0.50

Full log


View this message in rfc822 format

From: Óscar Fuentes <oscarfv <at> eclipso.eu>
To: Pip Cet <pipcet <at> protonmail.com>
Cc: gerd.moellmann <at> gmail.com, Eli Zaretskii <eliz <at> gnu.org>, 79131 <at> debbugs.gnu.org, Yuan Fu <casouri <at> gmail.com>
Subject: bug#79131: 31.0.50; igc: nested signal, SIGSEGV
Date: Sun, 03 Aug 2025 16:46:47 +0200
Pip Cet <pipcet <at> protonmail.com> writes:

> So can you try
>
>     p current_buffer->pt

(gdb) fr 13
#13 0x000055e77414774b in Fadd_text_properties (start=0x1f06a, end=0x1f07a, properties=<optimized out>, 
    object=0x0) at ../../emacs/src/textprop.c:1308
1308      return add_text_properties_1 (start, end, properties, object,
(gdb) p current_buffer->pt
$1 = 5961

>     p *XSTRING(current_buffer->name_)

(gdb) p *XSTRING(current_buffer->name_)
No symbol "XSTRING" in current context.


>     p current_buffer->beg + 1153

(gdb) p current_buffer->beg + 1153
There is no member named beg.
(gdb) p current_buffer->text->beg + 1153
$3 = (unsigned char *) 0x55e77e158401 <first lines of buffer>

>     p current_buffer->beg + 1153 + 31770 - 64

(gdb) p current_buffer->text->beg + 1153 + 31770 - 64
$4 = (unsigned char *) 0x55e77e15ffdb <last lines of buffer>

Actually:

(gdb) p current_buffer->text->beg + 1153 + 31770
$6 = (unsigned char *) 0x55e77e16001b

shows the last 22 characters of the buffer without garbage at the end.
It doesn't look like a buffer overrun.

Probably you are right and this is not a MPS-related crash.






This bug report was last modified 9 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.