Skip to content
This repository has been archived by the owner on Sep 27, 2019. It is now read-only.

fatal crash when trying to compile a lualatex document after updating luaotfload to the latest version via TeXLive manager #116

Closed
micoloretan opened this issue Jul 30, 2013 · 4 comments

Comments

@micoloretan
Copy link

After updating the luaotfload package via tlmgr earlier today (to package no. 31286), various tex files of mine that require LuaLaTeX don't compile properly anymore. Here's an excerpt from one of the log files:

(/usr/local/texlive/2013/texmf-dist/tex/luatex/luaotfload/luaotfload.lua)
Lua module: luaotfload 2013/07/23 2.3002 OpenType layout system.
luaotfload: push namespace for font loader
(/usr/local/texlive/2013/texmf-dist/tex/luatex/luaotfload/luaotfload-merged.lua)
(using write cache: /Users/mico/Library/texlive/2013/texmf-var/luatex-cache/gene
ric)(using read cache: /usr/local/texlive/2013/texmf-var/luatex-cache/generic /U
sers/mico/Library/texlive/2013/texmf-var/luatex-cache/generic)
luatexbase-attr: luatexbase.attributes["luaotfload@kernpair"] = 1
luatexbase-attr: luatexbase.attributes["luaotfload@ligacomp"] = 2
luatexbase-attr: luatexbase.attributes["luaotfload@markbase"] = 3
luatexbase-attr: luatexbase.attributes["luaotfload@markmark"] = 4
luatexbase-attr: luatexbase.attributes["luaotfload@markdone"] = 5
luatexbase-attr: luatexbase.attributes["luaotfload@cursbase"] = 6
luatexbase-attr: luatexbase.attributes["luaotfload@curscurs"] = 7
luatexbase-attr: luatexbase.attributes["luaotfload@cursdone"] = 8
luatexbase-attr: luatexbase.attributes["luaotfload@state"] = 9
luaotfload: "I am using the merged version of 'luaotfload.lua' here.
luaotfload: If you run into problems or experience unexpected
luaotfload: behaviour, and if you have ConTeXt installed you can try
luaotfload: to delete the file 'luaotfload-merged.lua' as I might
luaotfload: then use the possibly updated libraries. The merged
luaotfload: version is not supported as it is a frozen instance.
luaotfload: Problems can be reported to the ConTeXt mailing list."
luaotfload: pop namespace from font loader -- non-destructive
luaotfload: fontloader loaded in 0.206 seconds
luatexbase-mcb: inserting 'luaotfload.node_processor'
at position 1 in 'pre_linebreak_filter'
luatexbase-mcb: inserting 'luaotfload.node_processor'
at position 1 in 'hpack_filter'
luatexbase-mcb: inserting 'luaotfload.find_vf_file'
at position 1 in 'find_vf_file'
(/usr/local/texlive/2013/texmf-dist/tex/luatex/luaotfload/luaotfload-override.lu
a)
(/usr/local/texlive/2013/texmf-dist/tex/luatex/luaotfload/luaotfload-loaders.lua
)
(/usr/local/texlive/2013/texmf-dist/tex/luatex/luaotfload/luaotfload-database.lu
a)
luaotfload | db : root cache directory is /Users/mico/Library/texlive/2013/texmf
-var/luatex-cache/generic/names/
(/usr/local/texlive/2013/texmf-dist/tex/luatex/luaotfload/luaotfload-colors.lua)
luatexbase-mcb: creating 'luaotfload.resolve_font' type 4
luatexbase-mcb: creating 'luaotfload.patch_font' type 4
luatexbase-mcb: resetting callback 'define_font'
luatexbase-mcb: inserting 'luaotfload.define_font'
at position 1 in 'define_font'
(/usr/local/texlive/2013/texmf-dist/tex/luatex/luaotfload/luaotfload-features.lu
a)
(/usr/local/texlive/2013/texmf-dist/tex/luatex/luaotfload/luaotfload-extralibs.l
ua)
(/usr/local/texlive/2013/texmf-dist/tex/luatex/luaotfload/luaotfload-typo-krn.lu
a)
luatexbase-attr: luatexbase.attributes["luaotfload@kern"] = 12
luatexbase-attr: luatexbase.attributes["luaotfload@fontkern"] = 13
(/usr/local/texlive/2013/texmf-dist/tex/luatex/luaotfload/luaotfload-letterspace
.lua)
(./luaotfload-auxiliary.lua)
luatexbase-mcb: inserting 'luaotfload.fontdata_fallbacks'
at position 1 in 'luaotfload.patch_font'
luatexbase-mcb: inserting 'luaotfload.aux.set_sscale_dimens'
at position 2 in 'luaotfload.patch_font'
luatexbase-mcb: inserting 'luaotfload.aux.patch_cambria_domh'
at position 3 in 'luaotfload.patch_font'
luatexbase-mcb: inserting 'luaotfload.aux.set_capheight'
at position 4 in 'luaotfload.patch_font'
! LuaTeX error ...ive/2013/texmf-dist/tex/luatex/luaotfload/luaotfload.lua:406:
attempt to call field 'start_rewrite_fontname' (a nil value)
stack traceback:
...ive/2013/texmf-dist/tex/luatex/luaotfload/luaotfload.lua:406: in main chunk
[C]: in function 'require'
...xlive/2013/texmf-dist/tex/luatex/luatexbase/modutils.lua:57: in function 're
quire_module'
[string "\directlua "]:1: in main chunk.
\lltxb@requirelua ...xluaescapestring {#2}" \fi )}

l.41 \fi

When I run tlmgr to restore the previous version (no. 31169) of the luaotfload package, none of the above shows up.

@micoloretan
Copy link
Author

Oops, I forgot to mention that I run MacTeX2013 under MacOSX 10.7.5.

@phi-gamma
Copy link
Member

From the log it appears to load the file luaotfload-auxiliary.lua from the current directory, which is where the error occurs. Can you check if that is indeed the updated version?

Btw. to check Luaotfload for consistency try the following:

luaotfload-tool --diagnose=files,permissions

@micoloretan
Copy link
Author

Many thanks for your quick reply. Your suggestion of where to start was excellent: After deleting the file "luaotfload-auxiliary.lua" from the current directory, the error goes away! The file is now (i.e., since deleting the local copy) loaded from the following directory: /usr/local/texlive/2013/texmf-dist/tex/luatex/luaotfload.

I can't tell for sure why I had a local copy of this file in my working directory. Its file date was mid-May, which makes me guess that it was created some time in May during an earlier round of issues with luaotfload. :-)

By the way, here's the output of running "luaotfload-tool --diagnose=files,permissions":

luaotfload | diagnose : ================ verify files =================
luaotfload | diagnose : Luaotfload revision 2331b68.
luaotfload | diagnose : Committed by Philipp Gesang phg42.2a@gmail.com.
luaotfload | diagnose : Timestamp 2013-07-24 00:19:09 +0200.
luaotfload | diagnose : Testing 25 files for integrity.
luaotfload | diagnose : File: /usr/local/texlive/2013/texmf-dist/scripts/luaotfload/mkstatus.
luaotfload | diagnose : Ok, mkstatus passed.
luaotfload | diagnose : File: /usr/local/texlive/2013/texmf-dist/scripts/luaotfload/mkglyphlist.
luaotfload | diagnose : Ok, mkglyphlist passed.
luaotfload | diagnose : File: /usr/local/texlive/2013/texmf-dist/scripts/luaotfload/mkcharacters.
luaotfload | diagnose : Ok, mkcharacters passed.
luaotfload | diagnose : File: /usr/local/texlive/2013/texmf-dist/tex/luatex/luaotfload/luaotfload-typo-krn.lua.
luaotfload | diagnose : Ok, luaotfload-typo-krn.lua passed.
luaotfload | diagnose : File: /usr/local/texlive/2013/texmf-dist/scripts/luaotfload/luaotfload-tool.lua.
luaotfload | diagnose : Ok, luaotfload-tool.lua passed.
luaotfload | diagnose : File: /usr/local/texlive/2013/texmf-dist/tex/luatex/luaotfload/luaotfload-override.lua.
luaotfload | diagnose : Ok, luaotfload-override.lua passed.
luaotfload | diagnose : File: /usr/local/texlive/2013/texmf-dist/tex/luatex/luaotfload/luaotfload-merged.lua.
luaotfload | diagnose : Ok, luaotfload-merged.lua passed.
luaotfload | diagnose : File: /usr/local/texlive/2013/texmf-dist/tex/luatex/luaotfload/luaotfload.lua.
luaotfload | diagnose : Ok, luaotfload.lua passed.
luaotfload | diagnose : File: /usr/local/texlive/2013/texmf-dist/tex/luatex/luaotfload/luaotfload-loaders.lua.
luaotfload | diagnose : Ok, luaotfload-loaders.lua passed.
luaotfload | diagnose : File: /usr/local/texlive/2013/texmf-dist/tex/luatex/luaotfload/luaotfload-letterspace.lua.
luaotfload | diagnose : Ok, luaotfload-letterspace.lua passed.
luaotfload | diagnose : File: /usr/local/texlive/2013/texmf-dist/tex/luatex/luaotfload/luaotfload-glyphlist.lua.
luaotfload | diagnose : Ok, luaotfload-glyphlist.lua passed.
luaotfload | diagnose : File: /usr/local/texlive/2013/texmf-dist/tex/luatex/luaotfload/luaotfload-fonts-tfm.lua.
luaotfload | diagnose : Ok, luaotfload-fonts-tfm.lua passed.
luaotfload | diagnose : File: /usr/local/texlive/2013/texmf-dist/tex/luatex/luaotfload/luaotfload-fonts-lua.lua.
luaotfload | diagnose : Ok, luaotfload-fonts-lua.lua passed.
luaotfload | diagnose : File: /usr/local/texlive/2013/texmf-dist/tex/luatex/luaotfload/luaotfload-fonts-ext.lua.
luaotfload | diagnose : Ok, luaotfload-fonts-ext.lua passed.
luaotfload | diagnose : File: /usr/local/texlive/2013/texmf-dist/tex/luatex/luaotfload/luaotfload-fonts-enc.lua.
luaotfload | diagnose : Ok, luaotfload-fonts-enc.lua passed.
luaotfload | diagnose : File: /usr/local/texlive/2013/texmf-dist/tex/luatex/luaotfload/luaotfload-fonts-def.lua.
luaotfload | diagnose : Ok, luaotfload-fonts-def.lua passed.
luaotfload | diagnose : File: /usr/local/texlive/2013/texmf-dist/tex/luatex/luaotfload/luaotfload-fonts-cbk.lua.
luaotfload | diagnose : Ok, luaotfload-fonts-cbk.lua passed.
luaotfload | diagnose : File: /usr/local/texlive/2013/texmf-dist/tex/luatex/luaotfload/luaotfload-features.lua.
luaotfload | diagnose : Ok, luaotfload-features.lua passed.
luaotfload | diagnose : File: /usr/local/texlive/2013/texmf-dist/tex/luatex/luaotfload/luaotfload-extralibs.lua.
luaotfload | diagnose : Ok, luaotfload-extralibs.lua passed.
luaotfload | diagnose : File: /usr/local/texlive/2013/texmf-dist/tex/luatex/luaotfload/luaotfload-database.lua.
luaotfload | diagnose : Ok, luaotfload-database.lua passed.
luaotfload | diagnose : File: /usr/local/texlive/2013/texmf-dist/tex/luatex/luaotfload/luaotfload-colors.lua.
luaotfload | diagnose : Ok, luaotfload-colors.lua passed.
luaotfload | diagnose : File: /usr/local/texlive/2013/texmf-dist/tex/luatex/luaotfload/luaotfload-characters.lua.
luaotfload | diagnose : Ok, luaotfload-characters.lua passed.
luaotfload | diagnose : File: /usr/local/texlive/2013/texmf-dist/tex/luatex/luaotfload/luaotfload-basics-nod.lua.
luaotfload | diagnose : Ok, luaotfload-basics-nod.lua passed.
luaotfload | diagnose : File: /usr/local/texlive/2013/texmf-dist/tex/luatex/luaotfload/luaotfload-basics-gen.lua.
luaotfload | diagnose : Ok, luaotfload-basics-gen.lua passed.
luaotfload | diagnose : File: /usr/local/texlive/2013/texmf-dist/tex/luatex/luaotfload/luaotfload-auxiliary.lua.
luaotfload | diagnose : Ok, luaotfload-auxiliary.lua passed.
luaotfload | diagnose : =============== file permissions ==============
luaotfload | diagnose : Checking permissions of /Users/mico/Library/texlive/2013/texmf-var/luatex-cache/generic.
luaotfload | diagnose : Owner: 501, group 501, permissions rwxrwxr-x.
luaotfload | diagnose : Readable: ok.
luaotfload | diagnose : Writable: ok.
luaotfload | diagnose : Checking permissions of /Users/mico/Library/texlive/2013/texmf-var/luatex-cache/generic/names/.
luaotfload | diagnose : Owner: 501, group 501, permissions rwxrwxr-x.
luaotfload | diagnose : Readable: ok.
luaotfload | diagnose : Writable: ok.
luaotfload | diagnose : Checking permissions of /Users/mico/Library/texlive/2013/texmf-var/luatex-cache/generic/names/luaotfload-names.lua.
luaotfload | diagnose : Owner: 501, group 501, permissions rw-rw-rw-.
luaotfload | diagnose : Readable: ok.
luaotfload | diagnose : Writable: ok.
luaotfload | diagnose : Checking permissions of /Users/mico/Library/texlive/2013/texmf-var/luatex-cache/generic/names/luaotfload-names.luc.
luaotfload | diagnose : Owner: 501, group 501, permissions rw-rw-rw-.
luaotfload | diagnose : Readable: ok.
luaotfload | diagnose : Writable: ok.
luaotfload | diagnose : Checking permissions of /Users/mico/Library/texlive/2013/texmf-var/luatex-cache/generic/names/luaotfload-lookup-cache.lua.
luaotfload | diagnose : Owner: 501, group 501, permissions rw-rw-rw-.
luaotfload | diagnose : Readable: ok.
luaotfload | diagnose : Writable: ok.
luaotfload | diagnose : Checking permissions of /Users/mico/Library/texlive/2013/texmf-var/luatex-cache/generic/names/luaotfload-lookup-cache.luc.
luaotfload | diagnose : Owner: 501, group 501, permissions rw-rw-rw-.
luaotfload | diagnose : Readable: ok.
luaotfload | diagnose : Writable: ok.
luaotfload | diagnose : Everything appears to be in order, you may sleep well.

A very nice closing message, by the way!!

I'd say you can close this bug report as having been resolved.

Best,

Mico

On Jul 31, 2013, at 4:32 AM, Philipp Gesang wrote:

From the log it appears to load the file luaotfload-auxiliary.lua from the current directory, which is where the error occurs. Can you check if that is indeed the updated version?

Btw. to check Luaotfload for consistency try the following:

luaotfload-tool --diagnose=files,permissions


Reply to this email directly or view it on GitHub.

@phi-gamma
Copy link
Member

Its file date was mid-May,

Ugh, that was definitely out of date. Glad worked out for you! Closing.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants