Today, I started the MikTeX update program because I needed a newer version of some library. It first wanted to update the base installation and at some point it complained that it couldn't replace some library/DLL, which obviously happened because I still had an instance of pdflatex running somewhere. (Unfortunately, I forgot which library it was...) The only option I had at that point was to cancel the update.
I now have the problem that latexmk doesn't work anymore. I can still use TeXworks and so on, but whenever I use
latexmk -pvc -pdf, I get
Can't spawn "pdflatex -recorder "test.tex"": No error at ... ... pdflatex: Command for 'pdflatex' gave return code 65280
If I try to call
pdflatex -recorder manually, I get a segmentation fault.
So, I completely removed MikTeX and reinstalled it using the current installer from the MikTeX web site. Still the same problem...
Then I completely removed MiKTeX again and in a desperate effort installed the 32-bit version of MiKTeX (instead of the 64-bit version I had used before). Still the same problem...
Any idea what to do or at least how to debug the problem? I can still use MiKTeX, but I've come to rely on latexmk and right now, with a pending deadline, this is pretty much the worst that could happen... :(
Below is a screen shot which shows how a Windows error box pops up. It also shows (in the console window) the last part of running
pdflatex without the
-recorder option, which worked fine.