The termination always occurs after it has started scanning my
working directory (which happens to be the Desktop for my
account, which again is an admin account).
Then I would suggest to test if it works if you change the working
directory to a folder with a simple name - the desktop can contain
problematic chars.
This suggestion definitely helped. Now, luaootfload-tool successfully
rebuilds the FNDB. So, definitely a step in the right direction. My MWE
(below) compiles, more or less. Turns out something is balking on
unicode-math. If I try to compile the MWE as is, I get the following error:
))(load luc:
$TEXMFCACHE/luatex-cache/generic/fonts/otf/xits-math.luc)(load luc:
$TEXMFCACHE/luatex-cache/generic/fonts/otf/xits-mathbold.luc)
! Undefined control sequence.
\um_set_mathcode:nnn #1#2#3^^@-\Umathcode
\int_eval:n {#1}=\mathchar@type
#2\c...
l.6 \setmathfont{XITS Math}
?
Basically, it chokes on unicode-math.
documentclass[11pt,letterpaper]{article}
\usepackage{fontspec}
\setmainfont{XITS}
\usepackage{unicode-math}
\setmathfont{XITS Math}
\begin{document}
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent in
tincidunt nulla. Donec quis laoreet est. Aenean vitae est felis, a
venenatis magna. Mauris semper bibendum vulputate. Etiam bibendum quam
ut erat rutrum consequat.
\begin{equation}
\frac{dN}{dt}=rN\left(1-\frac{N}{K}\right)
\end{equation}
\end{document}