[Moonlight-list] Moonlight 2 In Second Life
Rolf Bjarne Kvinge
rolflists at ya.com
Wed Mar 3 17:11:18 EST 2010
Hi,
>
> Lucas,
>
> Thanks for your reply. I think we are already doing everything you
> describe in your mail correctly, including calling
> mono_security_set_core_clr_platform_callback and writing a callback to
> identify platform assemblies.
>
> Sebastien and Lucas,
>
> We are running into some problems still, and it looks possible that we
> have hit a bug in the mono runtime libraries.
>
> When the Second Life simulator creates a new scripted object, it uses
> some managed helper code in a class called DomainCreator which we have
> discussed with the mono developer community before, but I attach below
> for reference. This code is failing, throwing an exception with a
> backtrace I attach. This code works correctly with the CoreCLR enabled.
>
> Can you see any explanation why we are seeing this exception? Is it
> possible we are triggering a bug in runtime code which should work
> correctly in this scenario?
Here is the code in GetFullPath:
#if !NET_2_1
if (SecurityManager.SecurityEnabled) {
new FileIOPermission
(FileIOPermissionAccess.PathDiscovery, fullpath).Demand ();
}
#endif
which means that you're building the class libs without NET_2_1 defined.
> We are also interested to know whether it is now possible to create a
> Domain from unmanaged code now. If we can stop using the call to
> managed code to create domains, that would help us get past this
> hurdle.
I can't see how creating appdomains from unmanaged code would be a problem,
that's what moonlight is doing.
Rolf
>
> Al
>
> No virus found in this incoming message.
> Checked by AVG - www.avg.com
> Version: 9.0.733 / Virus Database: 271.1.1/2717 - Release Date:
> 03/02/10 20:34:00
More information about the Moonlight-list
mailing list