GNU bug report logs -
#41520
28.0.50; Crash in character.h due to assertion error
Previous Next
Reported by: Stefan Kangas <stefan <at> marxist.se>
Date: Mon, 25 May 2020 07:06:01 UTC
Severity: normal
Found in version 28.0.50
Fixed in version 28.1
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
Message #44 received at 41520 <at> debbugs.gnu.org (full text, mbox):
> From: Lars Ingebrigtsen <larsi <at> gnus.org>
> Cc: Pip Cet <pipcet <at> gmail.com>, 41520 <at> debbugs.gnu.org, stefan <at> marxist.se
> Date: Sun, 27 Sep 2020 16:36:21 +0200
>
> > I'm okay with those additional changes, but let's install them on
> > master, as they are a cleanup, not a bug.
>
> Pip's patch from May no longer applies cleanly, so I've respun it for
> the trunk now.
>
> Does this still look OK?
Almost. I'd rather skip this part:
> @@ -882,8 +881,7 @@ back_comment (ptrdiff_t from, ptrdiff_t from_byte, ptrdiff_t stop,
> if (open_paren_in_column_0_is_defun_start
> && NILP (Vcomment_use_syntax_ppss)
> && (from == stop
> - || (temp_byte = dec_bytepos (from_byte),
> - FETCH_CHAR (temp_byte) == '\n')))
> + || (FETCH_BYTE (from_byte - 1) == '\n')))
It might be that I'm being paranoid here, but I don't like calling
FETCH_BYTE when we are potentially in the middle of a multibyte
sequence or near the gap.
The rest should be fine, thanks.
This bug report was last modified 4 years and 240 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.