Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0008388opensim[REGION] OpenSim Corepublic2018-10-06 07:062018-10-20 12:06
Reporteraiaustin 
Assigned To 
PrioritynormalSeverityminorReproducibilitysometimes
StatusnewResolutionopen 
PlatformPCOSWindowsOS Version10
Product Versionmaster (dev code) 
Target Versionmaster (dev code)Fixed in Version 
Summary0008388: Assembly binding logging is turned OFF
DescriptionI am gradually going through OpenSim logs since we moved to .net4 and the post 0.9.0.1 release. I am using the latest dev master (463) (opensim-0.9.0.1-463-g1bcdcc2.zip) as at 2018-010-03.

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].

I have been seeing this warning since updating to .net4 based dev master. It does not seem to be causing harm, but thought I would log this here in case some adjustment to the OpenSim release setup is required. If its just that I have some registry set up in a non-standard way if someone can let me know I will try to fix that, but I don't think I made any change to Windows 10 standard defaults in this area as far as I know, so others may see the same issue.

D:\VW\AiLand-Addon-ScriptEngines\ where the report comes from is the directory of my saved script state.

regedit on Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Fusion shows only a "(Default)" key.
Additional Information2018-10-04 10:13:31,243 ERROR [XEngine]: Failure in DoOnRezScriptQueue() for item 8fa25ec0-64a9-4607-860a-4966f6d5ac1b in Space City. Continuing. Exception
System.IO.FileLoadException: Could not load file or assembly 'CommonCompiler_compiled_045e6dab-1c05-4960-9e0a-052772408a3c' 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: 'CommonCompiler_compiled_045e6dab-1c05-4960-9e0a-052772408a3c' ---> System.IO.FileLoadException: Could not load file or assembly 'file:///D:\VW\AiLand-Addon-ScriptEngines\8d78c4ed-c99f-4894-81e1-8ab412619427\CommonCompiler_compiled_045e6dab-1c05-4960-9e0a-052772408a3c.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\AiLand-Addon-ScriptEngines\8d78c4ed-c99f-4894-81e1-8ab412619427\CommonCompiler_compiled_045e6dab-1c05-4960-9e0a-052772408a3c.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.Reflection.RuntimeAssembly.InternalLoadFrom(String assemblyFile, Evidence securityEvidence, Byte[] hashValue, AssemblyHashAlgorithm hashAlgorithm, Boolean forIntrospection, Boolean suppressSecurityChecks, StackCrawlMark& stackMark)
   at System.Reflection.Assembly.LoadFrom(String assemblyFile)
   at OpenSim.Region.ScriptEngine.XEngine.XEngine.OnAssemblyResolve(Object sender, ResolveEventArgs args) in d:\Temp\opensim-0.9.0.1-463-g1bcdcc2\OpenSim\Region\ScriptEngine\XEngine\XEngine.cs:line 1893
   at System.AppDomain.OnAssemblyResolveEvent(RuntimeAssembly assembly, String assemblyFullName)

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].

   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.1-463-g1bcdcc2\OpenSim\Region\ScriptEngine\XEngine\XEngine.cs:line 1385
   at OpenSim.Region.ScriptEngine.XEngine.XEngine.DoOnRezScriptQueue(Object dummy) in d:\Temp\opensim-0.9.0.1-463-g1bcdcc2\OpenSim\Region\ScriptEngine\XEngine\XEngine.cs:line 1072
TagsNo tags attached.
Git Revision or version number
Run Mode Grid (Multiple Regions per Sim)
Physics EngineBulletSim
Environment.NET / Windows64
Mono VersionNone
ViewerN/a
Attached Files

- Relationships

-  Notes
(0033203)
UbitUmarov (administrator)
2018-10-20 12:06

that sounds like windows left a file locked on a crash
try delete that file
btw after 0.9.0.1 we moved from .net4 to .net4.6

- Issue History
Date Modified Username Field Change
2018-10-06 07:06 aiaustin New Issue
2018-10-20 12:06 UbitUmarov Note Added: 0033203


Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker