[Mono-list] mscoree.dll crash

fozzie david_aiken at yahoo.com
Tue Apr 28 20:00:37 EDT 2009


The problem occurs when a separate DLL is pulled into the central executable
via LoadLibrary(). On shutdown of the executable the DLL is freed via
FreeLibrary() and this results in unload of mono.dll, which changes the
mscoree.dll address space.

The debug work directory should be set to $(OutDir) or mscorlib.dll will not
be found. There is a breakpoint immediately after mono_jit_init_version() to
allow examination of the address of CorExitProcess. 

The lib and etc directories from the Mono 2.4 install should be copied below
bin\mono\. 

The following are copied from the install directories to the bin\debug
directory. They aren't big so i kept them in the zip:
libglib-2.0-0.dll
libgmodule-2.0-0.dll
libgthread-2.0-0.dll

I tried uploading the file in both Chrome and IE 8, but it doesn't seem to
work so i've stuck it at
http://rapidshare.com/files/226924363/mscoree_crash.zip.html. Hopefully it
helps to track this down.
-- 
View this message in context: http://www.nabble.com/mscoree.dll-crash-tp23271960p23288309.html
Sent from the Mono - General mailing list archive at Nabble.com.



More information about the Mono-list mailing list