unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Stefan Monnier <monnier@IRO.UMontreal.CA>
Cc: 33345@debbugs.gnu.org
Subject: bug#33345: 27.0.50; Abort in bidi_cache_iterator_state
Date: Sun, 11 Nov 2018 18:03:13 +0200	[thread overview]
Message-ID: <83in13a9fi.fsf@gnu.org> (raw)
In-Reply-To: <jwvva53lkqk.fsf@iro.umontreal.ca> (message from Stefan Monnier on Sun, 11 Nov 2018 10:03:31 -0500)

> From: Stefan Monnier <monnier@IRO.UMontreal.CA>
> Date: Sun, 11 Nov 2018 10:03:31 -0500
> 
> I can *currently* reproduce it at will:
> 
>     start `emacs -f gnus`, then enter my IMAP password, then press RET
>     on the first group (INBOX) and *boom*.
> 
> As the backtrace indicates, the crash happens not while running the Gnus
> code that enters the group, displaying the summary of all messages, but
> in the immediately subsequent redisplay.
> 
> If I enter another group, the problem doesn't occur, so I guess it has
> to do with the current content of the summary buffer in my INBOX
> (i.e. probably due to some unusual email message's title).
> 
> The crash happens because of:
> 
>       /* We should never cache on backward scans.  */
>       if (bidi_it->scan_dir == -1)
>         emacs_abort ();
> 
> The content of bidi_it is below, in case it helps,

Thanks, but IME it is nigh impossible to debug these problems without
having the text that causes them.  That's because the real problem is
usually much earlier than where the abort happens, and because bidi
display code is stateful, with some of the state in the cache.

Since this seems to be caused by displaying the group summary, please
try to save the summary to a file and post it.  (To prevent the abort,
turn off bidi-display-reordering before entering the group.)  After
saving the summary to a file, please try visiting the file in
"emacs -Q", which hopefully will reproduce the abort.  If all that
works as I hope, try reducing the file to the minimum that still
reproduces the problem, before posting it.  And pleas post as
compressed archive, to prevent everyone else's Emacs from crashing.





  reply	other threads:[~2018-11-11 16:03 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-11-11 15:03 bug#33345: 27.0.50; Abort in bidi_cache_iterator_state Stefan Monnier
2018-11-11 16:03 ` Eli Zaretskii [this message]
2018-11-12 13:43   ` Stefan Monnier
2018-11-12 16:08     ` Eli Zaretskii
2018-11-12 17:50       ` Eli Zaretskii
2018-11-13 18:05         ` Eli Zaretskii
2018-11-13 18:28           ` Stefan Monnier
2020-11-25  9:53             ` Stefan Kangas
2020-11-25 14:26               ` Stefan Monnier

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=83in13a9fi.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=33345@debbugs.gnu.org \
    --cc=monnier@IRO.UMontreal.CA \
    /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).