[luatex] Assertion from texlang.c with reproducible example

Scott Kostyshak skostysh at lyx.org
Sun Nov 1 18:18:53 CET 2020


On Fri, Oct 30, 2020 at 08:16:08PM +0100, luigi scarso wrote:
> On Fri, Oct 30, 2020 at 4:05 AM Scott Kostyshak <skostysh at lyx.org> wrote:
> 
> > 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
> >
> 
> yes, confirmed.

Thanks for confirming, Luigi.

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/20201101/3621fb52/attachment.sig>


More information about the luatex mailing list.