unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Pip Cet <pipcet@gmail.com>
Cc: emacs-diffs@gnu.org, emacs-devel@gnu.org
Subject: Re: emacs-27 41232e6: Avoid crashes due to bidi cache being reset during redisplay
Date: Sun, 31 May 2020 18:12:53 +0300	[thread overview]
Message-ID: <837dwskuiy.fsf@gnu.org> (raw)
In-Reply-To: <CAOqdjBe1wd1ozvsZALz8bemVHjxj=nWkxZViZ8Rm6JvjVXsfXw@mail.gmail.com> (message from Pip Cet on Sun, 31 May 2020 14:44:54 +0000)

> From: Pip Cet <pipcet@gmail.com>
> Date: Sun, 31 May 2020 14:44:54 +0000
> Cc: emacs-diffs@gnu.org
> 
> > +  void *itdata = bidi_shelve_cache ();
> 
> But what if we're out of memory? bidi_shelve_cache will call xmalloc...

xmalloc calls memory_full if that happens.



  reply	other threads:[~2020-05-31 15:12 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20200531142645.22884.78754@vcs0.savannah.gnu.org>
     [not found] ` <20200531142647.08FCA20A2B@vcs0.savannah.gnu.org>
2020-05-31 14:44   ` emacs-27 41232e6: Avoid crashes due to bidi cache being reset during redisplay Pip Cet
2020-05-31 15:12     ` Eli Zaretskii [this message]
2020-05-31 15:36       ` Pip Cet
2020-05-31 15:46         ` Eli Zaretskii
2020-05-31 16:07           ` Eli Zaretskii
2020-05-31 16:24           ` Pip Cet
2020-05-31 16:33             ` Eli Zaretskii

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=837dwskuiy.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=emacs-diffs@gnu.org \
    --cc=pipcet@gmail.com \
    /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).