unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Amin Bandali <bandali@gnu.org>
Cc: eric@ericabrahamsen.net, 44506@debbugs.gnu.org
Subject: bug#44506: 28.0.50; Segfault on opening a particular message in Gnus in terminal/tty
Date: Sat, 14 Nov 2020 14:14:11 +0200	[thread overview]
Message-ID: <835z68w2y4.fsf@gnu.org> (raw)
In-Reply-To: <874kltn88f.fsf@gnu.org> (message from Amin Bandali on Fri, 13 Nov 2020 00:20:16 -0500)

> From: Amin Bandali <bandali@gnu.org>
> Cc: Eric Abrahamsen <eric@ericabrahamsen.net>,  44506@debbugs.gnu.org
> Date: Fri, 13 Nov 2020 00:20:16 -0500
> 
> >> With "emacs -Q" there are no records to search or display, so I assumed
> >> it must be the header-access functions causing the problem. But I wrote
> >> a function that does most of what EBDB does, without actually using
> >> EBDB, and it caused no segfault, so I don't know what's going on there,
> >> sorry.
> >
> > Thank you for your efforts.
> 
> I, too, would like to say thank you, both to Eli and Eric, for your
> efforts and looking into this.  I just sent information to Eli off-list
> for accessing a test account I set up on a server of mine for debugging
> this issue.

FTR, it is very easy to reproduce the problem, no need for Gnus or
EBDB.  Here's the recipe:

  emacs -Q -nw
  C-x 3
  C-x b foo

Now type some R2L character.  For example, turn on the Arabic input
method and press 'a'.  You will see that the character does not appear
on display.  Basically, on a TTY frame, the first character of a R2L
line in a window that is not the rightmost one is not shown: it is
overwritten by the vertical-border character '|' we display between
the two adjacent windows.  This doesn't crash as long as the
overwritten glyph is of a character, but in the case in point that
glyph came from a composition, and then all hell breaks loose...

This is a regression introduced in Emacs 27.1, by the code that
supports display-fill-column-indicator-mode.  I have now fixed it on
the emacs-27 branch.

Many thanks to Amin for giving me access to a system where this could
be easily reproduced.





  reply	other threads:[~2020-11-14 12:14 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-07 18:39 bug#44506: 28.0.50; Segfault on opening a particular message in Gnus in terminal/tty Amin Bandali
2020-11-07 18:58 ` Eli Zaretskii
2020-11-07 20:03   ` Amin Bandali
2020-11-07 20:29     ` Eli Zaretskii
2020-11-08  4:03       ` Eric Abrahamsen
2020-11-08 14:56         ` Eli Zaretskii
2020-11-08 18:27           ` Amin Bandali
2020-11-08 18:54             ` Eli Zaretskii
2020-11-08 19:20               ` Eli Zaretskii
2020-11-08 20:39                 ` Amin Bandali
2020-11-09  3:31                   ` Eli Zaretskii
2020-11-09  4:43                     ` Amin Bandali
2020-11-09  7:04                       ` Eli Zaretskii
2020-11-09 15:57                         ` Eli Zaretskii
2020-11-10  5:42                           ` Amin Bandali
2020-11-10  5:48                           ` Eric Abrahamsen
2020-11-10 15:31                             ` Eli Zaretskii
2020-11-13  5:20                               ` Amin Bandali
2020-11-14 12:14                                 ` Eli Zaretskii [this message]
2020-11-14 17:19                                   ` Amin Bandali
2022-04-22 13:38                                   ` Lars Ingebrigtsen
2020-11-08  4:05       ` Eric Abrahamsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=835z68w2y4.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=44506@debbugs.gnu.org \
    --cc=bandali@gnu.org \
    --cc=eric@ericabrahamsen.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).