Closed jeremyZX closed 6 years ago
Hello, Jeremy!
What version of Internet Explorer is installed on the server?
IE 10, which (I believe) is the latest available for Windows Server 2012 Standard
Hello, Jeremy!
We've been able to work around this issue both by uninstalling the patch (kb4093123), ...
If problem was solved by uninstalling the patch, then most likely this error is in the jscript9.dll
assembly. Such error can not be fixed in .NET wrapper (MSIE JavaScript Engine for .NET). Unfortunately, Microsoft has recently made similar errors: “Control stack size for ChakraCore engine” and “Process is terminating due to StackOverflowException”.
At the moment, JavaScriptEngineSwitcher.ChakraCore is more preferable for use on the server, than the JavaScriptEngineSwitcher.Msie. The main advantage of the JavaScriptEngineSwitcher.Msie is ability to debug scripts by using Visual Studio.
Starting with the April 2018 security rollup patch, there is a hard crash of the IIS worker process when using JavascriptEngineSwitcher.Msie and BundleTransformer.Less. This crash is observed on Windows Server 2012 Standard. It is unknown at the moment whether the crash occurs on later versions of Windows Server.
It's unknown whether this issue originates in JavascriptEngineSwitcher.Msie (unlikely), or in MsieJavascriptEngine (more likely). It's also unknown whether this issue is .less specific, or if it may be observed with other file types as well. I'm adding it here because a simple repro case does not require a direct dependency to MsieJavascriptEngine.
We've been able to work around this issue both by uninstalling the patch (kb4093123), as well as switching from MSIE to another engine (e.g. ChakraCore.)
A simple repro project is attached.
BundleTransformerMsieTest-src.zip
Requests to any .less file via the LessAssetHandler cause the IIS worker process to crash with the following events written to the Windows Event log: