[Mono-dev] Mono Embedded 2.10.8 64bit Windows Release build problem

lap Lap.Tang at inovageo.com
Thu Oct 11 08:57:33 UTC 2012


I have build the Mono embedded run time from source code under Windows 64bit
using Visual Studio 2010 to allow my 64bit C++ program to call C# dll. It
works well under debug build, but it fails in release mode when calling
mono_jit_init() with an access violation. Does anyone have have experience
with this problem?



	mono_wrapper_test.exe!monoeg_g_free(void * ptr)  Line 37	C
 	mono_wrapper_test.exe!monoeg_g_strfreev(char * * str_array)  Line 61	C
 	mono_wrapper_test.exe!mono_assembly_name_parse_full(const char * name,
_MonoAssemblyName * aname, int save_public_key, int * is_version_defined,
int * is_token_defined)  Line 1991	C
 	mono_wrapper_test.exe!mono_assembly_name_parse(const char * name,
_MonoAssemblyName * aname)  Line 2012	C
 	mono_wrapper_test.exe!mono_assembly_name_new(const char * name)  Line 2027
+ 0xf bytes	C
 	mono_wrapper_test.exe!mono_assembly_load_corlib(const MonoRuntimeInfo *
runtime, MonoImageOpenStatus * status)  Line 2669 + 0xc bytes	C
 	mono_wrapper_test.exe!mono_init_internal(const char * filename, const char
* exe_filename, const char * runtime_version)  Line 1356 + 0x11 bytes	C
 	mono_wrapper_test.exe!mono_init_from_assembly(const char * domain_name,
const char * filename)  Line 1689	C
 	mono_wrapper_test.exe!mini_init(const char * filename, const char *
runtime_version)  Line 6348 + 0x15 bytes	C
 	mono_wrapper_test.exe!mono_jit_init(const char * file)  Line 2026	C
 	mono_wrapper_test.exe!main(int argc, char * * argv)  Line 35	C++
 	mono_wrapper_test.exe!__tmainCRTStartup()  Line 555 + 0x19 bytes	C




--
View this message in context: http://mono.1490590.n4.nabble.com/Mono-Embedded-2-10-8-64bit-Windows-Release-build-problem-tp4656933.html
Sent from the Mono - Dev mailing list archive at Nabble.com.


More information about the Mono-devel-list mailing list