ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Heisenbug in current?
@ 2022-11-23 22:01 Thomas A. Schmitz via ntg-context
  2022-11-23 22:25 ` Hans Hagen via ntg-context
  0 siblings, 1 reply; 3+ messages in thread
From: Thomas A. Schmitz via ntg-context @ 2022-11-23 22:01 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Thomas A. Schmitz

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.

All best

Thomas
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : https://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Heisenbug in current?
  2022-11-23 22:01 Heisenbug in current? Thomas A. Schmitz via ntg-context
@ 2022-11-23 22:25 ` Hans Hagen via ntg-context
  2022-11-23 22:40   ` Thomas A. Schmitz via ntg-context
  0 siblings, 1 reply; 3+ messages in thread
From: Hans Hagen via ntg-context @ 2022-11-23 22:25 UTC (permalink / raw)
  To: Thomas A. Schmitz via ntg-context; +Cc: Hans Hagen

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
-----------------------------------------------------------------

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : https://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Heisenbug in current?
  2022-11-23 22:25 ` Hans Hagen via ntg-context
@ 2022-11-23 22:40   ` Thomas A. Schmitz via ntg-context
  0 siblings, 0 replies; 3+ messages in thread
From: Thomas A. Schmitz via ntg-context @ 2022-11-23 22:40 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Thomas A. Schmitz

On 11/23/22 23:25, Hans Hagen via ntg-context wrote:
> 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

Yup, that seems to help! Thank you for the quick fix - I could swear it 
would pop up randomly, and sometimes not at all. As for the global 
definition - that will have to wait till tomorrow. I just had to take a 
painkiller because my back hurts and start feeling very tired... Thanks, 
as always!

Good night everybody

Thomas
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : https://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-11-23 22:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-23 22:01 Heisenbug in current? Thomas A. Schmitz via ntg-context
2022-11-23 22:25 ` Hans Hagen via ntg-context
2022-11-23 22:40   ` Thomas A. Schmitz via ntg-context

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 NNTP newsgroup(s).