[Mono-dev] C# code works with "mono", not with mono embedding
Jean Carrive
jcarrive at ina.fr
Thu Mar 9 08:07:00 EST 2006
Hello,
I have some C# code doing various things (dotnet remoting, in particular).
This code works fine if it is in a ".exe" file and if it is called with the
"mono" command. On the other hand, it does'nt work if it is in a ".dll" file
and if it is called from a "C" program with "Mono Embedding" facilities. I
wonder if this could be due to a dotnet version problem (1.0 and 2.0).
See below for the error messages.
Could anyone help ??
Thanks !!
Jean Carrive
########################################################################
** (process:13101): WARNING **: The class
System.Collections.Generic.Dictionary`2 could not be loaded, used in
mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
=================================================================
Got a SIGSEGV while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
=================================================================
Stacktrace:
in Feria2.Analysis.LinuxComm.ContentProxy:InitContent (string) <0xffffffff>
in Feria2.Analysis.LinuxComm.ContentProxy:InitContent (string) <0x49>
in Feria2.Analysis.LinuxComm.Comm:TestHello () <0x62>
in (wrapper runtime-invoke) System.Object:runtime_invoke_void
(object,intptr,intptr,intptr) <0xffe66165>
Native stacktrace:
/opt/mono-1.1.13.4/lib/libmono.so.0(mono_handle_native_sigsegv+0xdd)
[0x1838bd]
/opt/mono-1.1.13.4/lib/libmono.so.0 [0x164841]
[0x932440]
/opt/mono-1.1.13.4/lib/libmono.so.0 [0x2169e0]
/opt/mono-1.1.13.4/lib/libmono.so.0 [0x216dfb]
/opt/mono-1.1.13.4/lib/libmono.so.0(mono_metadata_parse_type_full+0x116)
[0x215e26]
/opt/mono-1.1.13.4/lib/libmono.so.0 [0x22550b]
/opt/mono-1.1.13.4/lib/libmono.so.0(mono_class_init+0x795)
[0x2290d5]
/opt/mono-1.1.13.4/lib/libmono.so.0(mono_field_from_token+0xc4)
[0x220714]
/opt/mono-1.1.13.4/lib/libmono.so.0 [0x1561de]
/opt/mono-1.1.13.4/lib/libmono.so.0(mini_method_compile+0x173)
[0x1631a3]
/opt/mono-1.1.13.4/lib/libmono.so.0 [0x16403e]
/opt/mono-1.1.13.4/lib/libmono.so.0 [0x16436e]
/opt/mono-1.1.13.4/lib/libmono.so.0 [0x1643a9]
/opt/mono-1.1.13.4/lib/libmono.so.0(mono_compile_method+0x4d)
[0x1c2f2d]
/opt/mono-1.1.13.4/lib/libmono.so.0(mono_magic_trampoline+0x25)
[0x195635]
[0x2ed032]
[0x2fe693]
[0x2fe571]
/opt/mono-1.1.13.4/lib/libmono.so.0 [0x1646ae]
/opt/mono-1.1.13.4/lib/libmono.so.0(mono_runtime_invoke+0x35)
[0x1c49b5]
./testcontentaccess [0x8048f40]
./testcontentaccess [0x8049100]
/lib/libc.so.6(__libc_start_main+0xc6) [0xa61de6]
./testcontentaccess [0x8048999]
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Jean Carrive (jcarrive at ina.fr).vcf
Type: text/x-vcard
Size: 385 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20060309/eb4d65fe/attachment.vcf
More information about the Mono-devel-list
mailing list