[NTG-context] Heisenbug in current?

Hans Hagen j.hagen at xs4all.nl
Wed Nov 23 23:25:00 CET 2022


On 11/23/2022 11:01 PM, Thomas A. Schmitz via ntg-context wrote:
> Hi all,
> 
> I'm very hesitant to report this because I can't reproduce it 
> consistently: some of my files don't compile with bizarre font errors, 
> sometimes. At first I thought it may be a hardware problem on my laptop, 
> but I've seen more or less the same error on 3 different computers now, 
> intermittently. The offending call is always similar:
> 
> fonts           > otf loading > loading 
> '/mnt/shared/lmtx/tex/texmf/fonts/data/public/dejavu/DejaVuSansMono.ttf', hash 'dejavusansmono'
> otf reader      > fatal error in file 
> '/mnt/shared/lmtx/tex/texmf/fonts/data/public/dejavu/DejaVuSansMono.ttf': ...e0dde776fb1556f32e/formats/luametatex/font-otr-macro.lua:1040: attempt to call a nil value (field 'to16dot16')
> 
> It concerns several fonts, both my own and (as here) from the 
> installation, and the first error is always this "field 'to16dot16.'" 
> Has anybody else seen this? Do the developers have any idea what this 
> could be? Has there been a change in the code concerning this field?
> 
> Sorry for being so vague, but I'm pulling my hair  because this error 
> crops up totally at random, AFAICS.
probably not that random ... can you put this on top of font-otr.lua

local number = number

and see if that helps .. if so you can then spend the rest of the 
evening figuring out where 'number' gets defined global

Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------



More information about the ntg-context mailing list