[Mono-list] Failed to create shadow copy (CopyFile) exception

Gonzalo Paniagua Javier gonzalo.mono at gmail.com
Thu Oct 16 11:09:20 EDT 2008


[...]
> That is, once app.exe starts, he looks inside Common directory to load
> assemblies matching the pattern NAME\NAME.dll
> 
> Tracking the problem down to mono/metadata/appdomain.c file, it seems
> the function that is failing is get_shadow_assembly_location.
> 
> This is because the following call:
> 
> 	dyn_base = mono_string_to_utf8 (domain->setup->dynamic_base);
> 
> ..which returns NULL because domain->setup->dynamic_base is also NULL.
> This causes the following g_build_filename to also return NULL, making
> the caller to fail on CopyFile function (because he tries to copy our
> assembly to a NULL location).

Looks like a bug. Can you enter it in bugzilla.novell.com?

Thanks.

-Gonzalo





More information about the Mono-list mailing list