GNU bug report logs - #56393
Actually fix the long lines display bug

Previous Next

Package: emacs;

Reported by: Gregory Heytings <gregory <at> heytings.org>

Date: Tue, 5 Jul 2022 08:50:02 UTC

Severity: normal

Done: Gregory Heytings <gregory <at> heytings.org>

Bug is archived. No further changes may be made.

Full log


Message #380 received at 56393 <at> debbugs.gnu.org (full text, mbox):

From: Gregory Heytings <gregory <at> heytings.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: larsi <at> gnus.org, 56393 <at> debbugs.gnu.org
Subject: Re: bug#56393: Actually fix the long lines display bug
Date: Mon, 18 Jul 2022 10:19:28 +0000
>> I can't reproduce either of these two bugs with a regular build, both 
>> of these recipes produce the expected result.  Are these segfaults due 
>> to --enable-checking?
>
> No, I don't think so.  --enable-checking produces SIGABRT, not SIGSEGV.
>

Yes, I know, but it's possible that some checking causes a segfault.

>
> The segfault happens because it->bidi_it.bytepos is 1, and FETCH_BYTE 
> cannot be called with a zero argument.  Here's a relevant portion of a 
> debugging session:
>

Thanks.  With that indication, and after adding assertions in the code, I 
could make Emacs abort when that problem occurred.  I pushed a fix a few 
minutes ago.

But I'm still unable to reproduce your second recipe.  I tried again and 
again, both with a regular and a checking-enable build, with and without 
the fix for the first recipe, and with various frame sizes... but without 
success.  If you can still reproduce it with the fix, could you perhaps 
send me a backtrace?




This bug report was last modified 3 years and 33 days ago.

Previous Next


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