[Opensim-users] Region can not start by Yengine error in dev version from yesterday

Chris mewtwo0641 at gmail.com
Thu Dec 13 17:32:35 UTC 2018


You're very welcome! If you would like to test on YEngine I would 
strongly recommend not doing that on your production server. If it 
happens to break your scripts you could have a hard time switching back 
over to XEngine as currently it seems to get really confused when you do 
that as explained in this mantis 
http://opensimulator.org/mantis/view.php?id=8407 . It would be better to 
test this on a database that you're not afraid to lose and start over 
from scratch on.

On 12/13/2018 8:24 AM, Luisillo Contepomi wrote:
> ooooh then if have "micro-threading, better performance,
> faster script compile times, and a stricter script syntax that's
> supposed to be closer along the lines of SL and need tests!... is my
> Christmas gift!
> I am installing Visual Studio 2017 and ill test all again.
> Thank you very much!
> El jue., 13 dic. 2018 a las 14:45, Chris (<mewtwo0641 at gmail.com>) escribió:
>> YEngine is a new script engine as an alternative to XEngine. It offers
>> benefits over XEngine such as micro-threading, better performance,
>> faster script compile times, and a stricter script syntax that's
>> supposed to be closer along the lines of SL; but right now as far as I
>> know it's generally not recommended to use YEngine on a daily basis
>> except for testing and bug reporting for it. It's not "secret" so much
>> as no one talks about it a whole lot (yet) due to the fact that it's
>> still in its experimental stage and it wouldn't be a good idea for
>> everyone to go switching over to it and possibly breaking their sims ;)
>>
>> As far as the crashing issue is concerned though; I am unsure why
>> YEngine would be involved in it if you haven't set up your OpenSim
>> install to use it. I have pulled the very latest master code today and
>> tried it with both XEngine and YEngine with no crashes. It's set up in a
>> standard grid mode configuration though (Not HG).
>>
>> On 12/13/2018 5:04 AM, Luisillo Contepomi wrote:
>>> Yengine is a secret. No information in wiki modules or other wiki section
>>> Only some mentions in dev meeting chat, but only personal opinions.
>>> No tech information at all.
>>> And in Mantis, some devs has solved problems with this secret YEngine.
>>> #8407,#8421,
>>>
>>> but....in OpenSimDefaults.ini you can read:
>>>       ;; Default script engine to use. Currently, we only have XEngine
>>>       DefaultScriptEngine = "XEngine"
>>>
>>> May be is a Christmas gift discovered before the date?
>>> --
>>> Luisillo
>>> El jue., 13 dic. 2018 a las 11:13, Luisillo Contepomi
>>> (<luisillocontepomi at gmail.com>) escribió:
>>>> The last day work without problems was the last 10 december
>>>> I test all days. Last 3 days versions crash.
>>>> El jue., 13 dic. 2018 a las 10:55, Luisillo Contepomi
>>>> (<luisillocontepomi at gmail.com>) escribió:
>>>>> Thank you for answer Chris.
>>>>> Yes I have Net Framework 4.7.03062 installed.
>>>>> Steps to reproduce it:
>>>>> donwload the dev versión of today with git bash command $ git fetch
>>>>> --force --all
>>>>> runprebuild.bat
>>>>> compile.bat
>>>>> configure for grid with MySQL in a clean database, where you have all
>>>>> privileges, using example files from:
>>>>>
>>>>> /bin/Robust.ini.example
>>>>> /bin/OpenSim.ini.example
>>>>> /config-include/GridCommon.ini.example
>>>>> /config-include/FlotsamCache.ini.example
>>>>>
>>>>> Now run Robust.exe and then Opensim:exe
>>>>> Opensim crash with the error reported.
>>>>>
>>>>> Best regards,
>>>>> Luisillo
>>>>> El jue., 13 dic. 2018 a las 5:35, Chris (<mewtwo0641 at gmail.com>) escribió:
>>>>>> Hello, I can't reproduce this on my setup using the latest master.
>>>>>>
>>>>>> "Compiled in Win7 Framework64\v4.0.30319" <-- Are you using .NET 4.0?
>>>>>> The requirements for this was changed some months ago to require .NET
>>>>>> 4.6 or higher on master. If you haven't upgraded to v4.6 I would try
>>>>>> that and then compile again and see if it works. If you're already on
>>>>>> .NET v4.6 it could be a case of an out of date file and I would try a
>>>>>> fresh clone from master and copy the settings you need from your old
>>>>>> setup and see if that works.
>>>>>>
>>>>>> Hope this helps! :)
>>>>>>
>>>>>> On 12/12/2018 7:56 AM, Luisillo Contepomi wrote:
>>>>>>> Testing Grid with a region.
>>>>>>> Robust.exe start without problems but region can not start.
>>>>>>> Compiled in Win7 Framework64\v4.0.30319
>>>>>>> No documentation about Yengine in opensimulator.org except a Chat log
>>>>>>> with opinions but no information at all. I stop testing dev versions
>>>>>>> waiting to new information
>>>>>>>
>>>>>>> Regards,
>>>>>>> Luisillo
>>>>>>>
>>>>>>> ---Error in console----
>>>>>>> 2018-12-12 14:46:55,351 INFO  [XEngine]: Script stop strategy is co-op
>>>>>>> 2018-12-12 14:46:55,403 FATAL Fatal error:
>>>>>>> System.Reflection.TargetInvocationException: Exception has been thrown
>>>>>>> by the target of an invocation. --->
>>>>>>> System.TypeInitializationException: The type initializer for
>>>>>>> 'OpenSim.Region.ScriptEngine.Yengine.Yengine' threw an exception. --->
>>>>>>> System.IO.FileLoadException: Could not load file or assembly 'log4net,
>>>>>>> Version=2.0.8.0, Culture=neutral, PublicKeyToken=null' or one of its
>>>>>>> dependencies. The located assembly's manifest definition does not
>>>>>>> match the assembly reference. (Exception from HRESULT: 0x80131040)
>>>>>>>       at OpenSim.Region.ScriptEngine.Yengine.Yengine..cctor()
>>>>>>>       --- End of inner exception stack trace ---
>>>>>>>       at OpenSim.Region.ScriptEngine.Yengine.Yengine..ctor()
>>>>>>>       --- End of inner exception stack trace ---
>>>>>>>       at System.RuntimeTypeHandle.CreateInstance(RuntimeType type,
>>>>>>> Boolean publicOnly, Boolean noCheck, Boolean& canBeCached,
>>>>>>> RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck)
>>>>>>>       at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly,
>>>>>>> Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
>>>>>>>       at System.Activator.CreateInstance(Type type, Boolean nonPublic)
>>>>>>>       at System.Activator.CreateInstance(Type type)
>>>>>>>       at OpenSim.ApplicationPlugins.RegionModulesController.RegionModulesControllerPlugin.AddRegionToModules(Scene
>>>>>>> scene) in x:\0.9.0.1dev\opensimdev\opensim\OpenSim\ApplicationPlugins\RegionModulesController\RegionModulesControllerPlugin.cs:line
>>>>>>> 395
>>>>>>>       at OpenSim.OpenSimBase.CreateRegion(RegionInfo regionInfo, Boolean
>>>>>>> portadd_flag, Boolean do_post_init, IScene& mscene) in
>>>>>>> x:\0.9.0.1dev\opensimdev\opensim\OpenSim\Region\Application\OpenSimBase.cs:line
>>>>>>> 430
>>>>>>>       at OpenSim.OpenSimBase.CreateRegion(RegionInfo regionInfo, Boolean
>>>>>>> portadd_flag, IScene& scene) in
>>>>>>> x:\0.9.0.1dev\opensimdev\opensim\OpenSim\Region\Application\OpenSimBase.cs:line
>>>>>>> 376
>>>>>>>       at OpenSim.ApplicationPlugins.LoadRegions.LoadRegionsPlugin.PostInitialise()
>>>>>>> in x:\0.9.0.1dev\opensimdev\opensim\OpenSim\ApplicationPlugins\LoadRegions\LoadRegionsPlugin.cs:line
>>>>>>> 130
>>>>>>>       at OpenSim.OpenSimBase.StartupSpecific() in
>>>>>>> x:\0.9.0.1dev\opensimdev\opensim\OpenSim\Region\Application\OpenSimBase.cs:line
>>>>>>> 285
>>>>>>>       at OpenSim.OpenSim.StartupSpecific() in
>>>>>>> x:\0.9.0.1dev\opensimdev\opensim\OpenSim\Region\Application\OpenSim.cs:line
>>>>>>> 211
>>>>>>>       at OpenSim.Framework.Servers.BaseOpenSimServer.Startup() in
>>>>>>> x:\0.9.0.1dev\opensimdev\opensim\OpenSim\Framework\Servers\BaseOpenSimServer.cs:line
>>>>>>> 170
>>>>>>> _______________________________________________
>>>>>>> Opensim-users mailing list
>>>>>>> Opensim-users at opensimulator.org
>>>>>>> http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-users
>>>>>> --
>>>>>> OpenSim: 10 Region Standalone on 0.8.1 Dev
>>>>>> Physics: Open Dynamics Engine
>>>>>> OS: Windows 7 (x64)
>>>>>> CPU: AMD FX 8320 8-Core 3.5 GHz
>>>>>> Memory: 16 GB DDR3
>>>>>> Database: MySQL 5.1.63 (x64)
>>>>>>
>>>>>> _______________________________________________
>>>>>> Opensim-users mailing list
>>>>>> Opensim-users at opensimulator.org
>>>>>> http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-users
>>> _______________________________________________
>>> Opensim-users mailing list
>>> Opensim-users at opensimulator.org
>>> http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-users
>>
>> --
>> OpenSim: 10 Region Standalone on 0.8.1 Dev
>> Physics: Open Dynamics Engine
>> OS: Windows 7 (x64)
>> CPU: AMD FX 8320 8-Core 3.5 GHz
>> Memory: 16 GB DDR3
>> Database: MySQL 5.1.63 (x64)
>>
>> _______________________________________________
>> Opensim-users mailing list
>> Opensim-users at opensimulator.org
>> http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-users
> _______________________________________________
> Opensim-users mailing list
> Opensim-users at opensimulator.org
> http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-users


-- 
OpenSim: Grid Mode on OpenSim 0.9.1.0 Snail Dev
Physics: ubODE
OS: Windows 7 (x64) on .NET 4.7.2
CPU: AMD FX 8320 8-Core 3.5 GHz
Memory: 16 GB DDR3
Database: MySQL 5.5.8



More information about the Opensim-users mailing list