Subject: bug#41486: 26.3; Emacs crashes when loading small ConText file using Devanagari script

From: Eli Zaretskii <[email-masked]>
Date: Sat, 23 May 2020 18:56:59 +0300

> From: Saša Janiška <[email-masked]>
> Date: Sat, 23 May 2020 14:03:14 +0200
> 
> Loading of tiny ConTeXt file containing Sanskrit Devangari characters
> crashes Emacs and it's 100% reproducible here.
> 
> I'm inncluding t.tex file in the attachment.

Thanks.  I suspect the cause of this is the shaping library your build
is using.  Emacs 27 built with HarfBuzz doesn't crash while displaying
this file, and neither does Emacs 26 on MS-Windows that uses the
Uniscribe as its shaping engine.

Could you please try the latest pretest of Emacs 27 with HarfBuzz?
The pretest can be found on alpha.gnu.org, or you could checkout the
emacs-27 branch of the Emacs Git repository and build it.