x64 gives Privileged instructionbut x86 givesFirst-chance exception: std.file.FileException "C:\": The filename, directory name, or volume label syntax is incorrect. at std\file.d(4573)which is much more informative... seems like a bug to me.
More context needed. What code does produce this behavior.