MantisBT - opensim
View Issue Details
0008081opensim[REGION] OpenSim Corepublic2016-12-05 01:042016-12-05 01:24
aiaustin 
aiaustin 
highmajoralways
closedno change required 
PCWindows10
master (dev code) 
master (dev code)master (dev code) 
opensim-0.9.1-929-g181b1ad.zip
Grid (Multiple Regions per Sim)
BulletSim
.NET / Windows64
None
N/A
0008081: [XEngine] DoOnRezScriptQueue Could not load file or assembly
08:58:34 - [XEngine]: Failure in DoOnRezScriptQueue() for item 1416cae8-4f6e-490a-8347-4b5cb75b54a5 in Openvue. Continuing. Exception System.IO.FileLoadException: Could not load file or assembly 'file:///D:\VW\Openvue-ScriptEngines\bd09a791-eba5-11dc-95ff-0800200c9a66\CommonCompiler_compiled_b381ffbc-5462-430c-bdd4-b988c9b0c575.dll' [^] or one of its dependencies. The process cannot access the file because it is being used by another process. (Exception from HRESULT: 0x80070020)
File name: 'file:///D:\VW\Openvue-ScriptEngines\bd09a791-eba5-11dc-95ff-0800200c9a66\CommonCompiler_compiled_b381ffbc-5462-430c-bdd4-b988c9b0c575.dll' [^]
   at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
   at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
   at System.Activator.CreateInstance(String assemblyString, String typeName, Boolean ignoreCase, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, Evidence securityInfo, StackCrawlMark& stackMark)
   at System.Activator.CreateInstance(String assemblyName, String typeName, Boolean ignoreCase, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
   at System.AppDomain.CreateInstance(String assemblyName, String typeName, Boolean ignoreCase, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
   at System.AppDomain.CreateInstanceAndUnwrap(String assemblyName, String typeName, Boolean ignoreCase, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
   at OpenSim.Region.ScriptEngine.XEngine.XEngine.DoOnRezScript(Object[] parms) in d:\Temp\opensim-0.9.0-929-g181b1ad\OpenSim\Region\ScriptEngine\XEngine\XEngine.cs:line 1367
   at OpenSim.Region.ScriptEngine.XEngine.XEngine.DoOnRezScriptQueue(Object dummy) in d:\Temp\opensim-0.9.0-929-g181b1ad\OpenSim\Region\ScriptEngine\XEngine\XEngine.cs:line 1062

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
Tried with an empty ScriptEngines folder too, and get the same error.
No tags attached.
Issue History
2016-12-05 01:04aiaustinNew Issue
2016-12-05 01:23aiaustinAssigned To => aiaustin
2016-12-05 01:23aiaustinStatusnew => assigned
2016-12-05 01:24aiaustinNote Added: 0031396
2016-12-05 01:24aiaustinStatusassigned => closed
2016-12-05 01:24aiaustinResolutionopen => no change required
2016-12-05 01:24aiaustinFixed in Version => master (dev code)

Notes
(0031396)
aiaustin   
2016-12-05 01:24   
AppDomainLoading = false (the default) in the OpenSim.ini)

I tried one run with DeleteScriptsOnStartup = true and then restsarting with this set back to false.

That seems to have cleared the issue. So lets put this down to an untidy stop earlier.