Subject: bug#47244: 28.0.50; SIGSEGV in long-runnning Emacs

From: Michael Welsh Duggan <[email-masked]>
Date: Tue, 23 Mar 2021 11:08:36 -0400

Eli Zaretskii <[email-masked]> writes:

>> From: Michael Welsh Duggan <[email-masked]>
>> Cc: "[email-masked]" <[email-masked]>,
>>         "[email-masked]"
>>  <[email-masked]>,
>>         "[email-masked]" <[email-masked]>
>> Date: Tue, 23 Mar 2021 10:18:25 -0400
>> 
>> >   break buffer.c:1840 if redisplaying_p != 0 && b->window_count > 0
>> 
>> This triggered today.
>> 
>> #0  0x00005555555e1b6d in redisplay_internal ()
>>     at ../../master/src/xdisp.c:15789
>
> I don't understand: the breakpoint was supposed to be on line 1840 in
> buffer.c, so why does frame #0 show line 15789 in xdisp.c?  What am I
> missing here?  Is this the right backtrace?

My mistake.  It was a segfault.  The breakpoint did not trigger.  Here's
the breakpoint in question:

5       breakpoint     keep y   0x0000555555713580 in Fkill_buffer 
                                                   at ../../master/src/buffer.c:1840 inf 1, 2
        stop only if redisplaying_p != 0 && b->window_count > 0

-- 
Michael Welsh Duggan
([email-masked])