[luatex] Assertion from texlang.c with reproducible example

Scott Kostyshak skostysh at lyx.org
Fri Oct 30 04:04:30 CET 2020


I receive an assertion when trying to compile the following example with lualatex:

----------------------------------
\documentclass{book}
\usepackage{fontspec}
\setmainfont[Ligatures=TeX]{FreeSerif}
\setsansfont[Ligatures=TeX]{FreeSans}
\setmonofont{FreeMono}
\usepackage{polyglossia}
\setdefaultlanguage{hebrew}
\setotherlanguage{english}
\begin{document}
ל- ו-\textquotedbl\textenglish[variant=american]{Page~1}“,
\end{document}
----------------------------------

The assertion is the following:

(/usr/local/texlive/2020/texmf-dist/tex/latex/base/ts1cmr.fd)lualatex: ../../../texk/web2c/luatexdir/lang/texlang.c:986: hnj_hyphenation: Assertion `(((varmem[(wordstart)].hh.u.B1) & (1 << 0)) && !((varmem[(wordstart)].hh.u.B1) & (1 << 1) ) && !((varmem[(wordstart)].hh.u.B1) & (1 << 2) ))' failed.

I also get the assertion if I try with lualatex-dev. I'm on an updated TeX Live 2020 on Ubuntu 20.10.

Can others reproduce?

Scott
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <https://tug.org/pipermail/luatex/attachments/20201029/cd25c5cb/attachment.sig>


More information about the luatex mailing list.