Trying again I got some more info:
MCS [net_1_1] System.dll ** ERROR:sgen-gc.c:3491:mono_gc_alloc_obj: assertion failed: (*p == NULL) Stacktrace: at (wrapper managed-to-native) object.__icall_wrapper_mono_array_new_specific (intptr,int) <0x0004b> at (wrapper managed-to-native) object.__icall_wrapper_mono_array_new_specific (intptr,int) <0xffffffff> at System.Activator.CreateInstance (System.Type,object[]) <0x0001a> at System.Security.Cryptography.CryptoConfig.CreateFromName (string,object[]) <0x000e7> at System.Security.Cryptography.CryptoConfig.CreateFromName (string) <0x0000e> at System.Security.Cryptography.HashAlgorithm.Create (string) <0x0000f> at Mono.Security.StrongName.get_PublicKeyToken () <0x00068> at System.Reflection.Emit.AssemblyBuilder..ctor (System.Reflection.AssemblyName,string,System.Reflection.Emit.AssemblyBuilderAccess,bool) <0x003b5> at System.AppDomain.DefineDynamicAssembly (System.Reflection.AssemblyName,System.Reflection.Emit.AssemblyBuilderAccess,string,System.Security.Policy.Evidence,System.Security.PermissionSet,System.Security.PermissionSet,System.Security.PermissionSet,bool) <0x0005c> at (wrapper remoting-invoke-with-check) System.AppDomain.DefineDynamicAssembly (System.Reflection.AssemblyName,System.Reflection.Emit.AssemblyBuilderAccess,string,System.Security.Policy.Evidence,System.Security.PermissionSet,System.Security.PermissionSet,System.Security.PermissionSet,bool) <0xffffffff> at System.AppDomain.DefineDynamicAssembly (System.Reflection.AssemblyName,System.Reflection.Emit.AssemblyBuilderAccess,string) <0x00053> at (wrapper remoting-invoke-with-check) System.AppDomain.DefineDynamicAssembly (System.Reflection.AssemblyName,System.Reflection.Emit.AssemblyBuilderAccess,string) <0xffffffff> at Mono.CSharp.CodeGen.Init (string,string,bool,Mono.CSharp.CompilerContext) <0x0021c> at Mono.CSharp.Driver.Compile () <0x00293> at Mono.CSharp.Driver.Main (string[]) <0x000bb> at (wrapper runtime-invoke) <Module>.runtime_invoke_int_object (object,intptr,intptr,intptr) <0xffffffff> Native stacktrace: /home/plastic/monosrc/mono/mono/mini/mono [0x485f16] /lib64/libpthread.so.0 [0x2b7b7e3c2a90] /lib64/libc.so.6(gsignal+0x35) [0x2b7b7e859645] /lib64/libc.so.6(abort+0x183) [0x2b7b7e85ac33] /usr/lib64/libglib-2.0.so.0(g_assertion_message+0x113) [0x2b7b7dd41203] /usr/lib64/libglib-2.0.so.0 [0x2b7b7dd416a2] /home/plastic/monosrc/mono/mono/mini/mono [0x5793f8] /home/plastic/monosrc/mono/mono/mini/mono(mono_array_new_specific+0x59) [0x520449] [0x4164e75b] Debug info from gdb: [Thread debugging using libthread_db enabled] [New Thread 0x2aaaab852950 (LWP 7297)] [New Thread 0x2aaaab401950 (LWP 7296)] 0x00002b7b7e3c187b in read () from /lib64/libpthread.so.0 3 Thread 0x2aaaab401950 (LWP 7296) 0x00002b7b7e3c21b1 in nanosleep () from /lib64/libpthread.so.0 2 Thread 0x2aaaab852950 (LWP 7297) 0x00002b7b7e3c0c71 in sem_wait () from /lib64/libpthread.so.0 * 1 Thread 0x2b7b7edb10f0 (LWP 7283) 0x00002b7b7e3c187b in read () from /lib64/libpthread.so.0 Thread 3 (Thread 0x2aaaab401950 (LWP 7296)): #0 0x00002b7b7e3c21b1 in nanosleep () from /lib64/libpthread.so.0 #1 0x000000000058ce22 in collection_thread (unused=<value optimized out>) at collection.c:34 #2 0x00002b7b7e3bb070 in start_thread () from /lib64/libpthread.so.0 #3 0x00002b7b7e8fa0ed in clone () from /lib64/libc.so.6 #4 0x0000000000000000 in ?? () Thread 2 (Thread 0x2aaaab852950 (LWP 7297)): #0 0x00002b7b7e3c0c71 in sem_wait () from /lib64/libpthread.so.0 #1 0x0000000000507a4b in finalizer_thread (unused=<value optimized out>) at gc.c:1014 #2 0x00000000004f6588 in start_wrapper (data=<value optimized out>) at threads.c:657 #3 0x000000000057ff2b in thread_start_routine (args=0x8d1088) at wthreads.c:286 #4 0x00000000005742a2 in gc_start_thread (arg=<value optimized out>) at sgen-gc.c:5186 #5 0x00002b7b7e3bb070 in start_thread () from /lib64/libpthread.so.0 #6 0x00002b7b7e8fa0ed in clone () from /lib64/libc.so.6 #7 0x0000000000000000 in ?? () Thread 1 (Thread 0x2b7b7edb10f0 (LWP 7283)): #0 0x00002b7b7e3c187b in read () from /lib64/libpthread.so.0 #1 0x0000000000486081 in mono_handle_native_sigsegv (signal=<value optimized out>, ctx=<value optimized out>) at mini-exceptions.c:1560 #2 <signal handler called> #3 0x00002b7b7e859645 in raise () from /lib64/libc.so.6 #4 0x00002b7b7e85ac33 in abort () from /lib64/libc.so.6 #5 0x00002b7b7dd41203 in g_assertion_message () from /usr/lib64/libglib-2.0.so.0 #6 0x00002b7b7dd416a2 in g_assertion_message_expr () from /usr/lib64/libglib-2.0.so.0 #7 0x00000000005793f8 in mono_gc_alloc_obj (vtable=0x2aaaac014ce8, size=32) at sgen-gc.c:3491 #8 0x0000000000520449 in mono_array_new_specific (vtable=0x2aaaac014ce8, n=0) at object.c:3782 #9 0x000000004164e75b in ?? () #10 0x00000000008b64b0 in ?? () #11 0x00002aaaac0ba8c0 in ?? () #12 0x0000000000000001 in ?? () #13 0x00000000000000a0 in ?? () #14 0x00002aaaab5870c0 in ?? () #15 0x00007fff2d1ea6b0 in ?? () #16 0x00007fff2d1ea5c0 in ?? () #17 0x00002aaaab5864a8 in ?? () #18 0x00002aaaabe5c5a0 in ?? () #19 0x00002aaaabe5b7a0 in ?? () #20 0x00002aaaab411cf8 in ?? () #21 0x00002aaaaae2d3db in System.Activator:CreateInstance (ty...@0x2aaaabe5b7a0, args=0x0) from /home/plastic/monosrc/mcs/class/lib/net_1_1/mscorlib.dll.so #22 0x00002aaaaaef5f98 in System.Security.Cryptography.CryptoConfig:CreateFromName (name=0x2aaaac014ce8, args=0x0) from /home/plastic/monosrc/mcs/class/lib/net_1_1/mscorlib.dll.so #23 0x00002aaaaaef5e9f in System.Security.Cryptography.CryptoConfig:CreateFromName (name=0x2aaaab411cf8) from /home/plastic/monosrc/mcs/class/lib/net_1_1/mscorlib.dll.so #24 0x00002aaaaaefa620 in System.Security.Cryptography.HashAlgorithm:Create (hashName=0x0) from /home/plastic/monosrc/mcs/class/lib/net_1_1/mscorlib.dll.so #25 0x0000000040370f89 in ?? () #26 0x00002aaaab5870c0 in ?? () #27 0x00002aaaab5864a8 in ?? () #28 0x0000000000000003 in ?? () #29 0x00002aaaab586f88 in ?? () #30 0x0000000000000000 in ?? () ================================================================= Got a SIGABRT while executing native code. This usually indicates a fatal error in the mono runtime or one of the native libraries used by your application. ================================================================= /bin/sh: line 1: 7283 Aborted MONO_PATH="./../../class/lib/net_1_1:$MONO_PATH" /home/plastic/monosrc/mono/runtime/mono-wrapper ./../../class/lib/net_1_1/mcs.exe /codepage:65001 -optimize -d:NET_1_1 -d:ONLY_1_1 -debug /noconfig -d:XML_DEP -r:System.Xml.dll -target:library -out:../../class/lib/net_1_1/tmp/System.dll @System.dll.sources make[8]: *** [../../class/lib/net_1_1/tmp/System.dll] Error 134 make[8]: Leaving directory `/home/plastic/monosrc/mcs/class/System' make[7]: *** [do-all] Error 2 make[7]: Leaving directory `/home/plastic/monosrc/mcs/class/System' make[6]: *** [all-recursive] Error 1 make[6]: Leaving directory `/home/plastic/monosrc/mcs/class' make[5]: *** [all-recursive] Error 1 make[5]: Leaving directory `/home/plastic/monosrc/mcs' make[4]: *** [profile-do--net_1_1--all] Error 2 make[4]: Leaving directory `/home/plastic/monosrc/mcs' make[3]: *** [profiles-do--all] Error 2 make[3]: Leaving directory `/home/plastic/monosrc/mcs' make[2]: *** [all-local] Error 2 make[2]: Leaving directory `/home/plastic/monosrc/mono/runtime' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/plastic/monosrc/mono' make: *** [all] Error 2 [email protected] wrote: > Hi, > > I've just downloaded the latest SVN. This is what I get when I try to build: > > MCS [net_1_1] Mono.CompilerServices.SymbolWriter.dll > Assembly > ../../class/lib/net_1_1/tmp/Mono.CompilerServices.SymbolWriter.dll signed. > Assembly ../../class/lib/net_1_1/Mono.CompilerServices.SymbolWriter.dll > is strongnamed. > make[8]: Leaving directory > `/home/plastic/monosrc/mcs/class/Mono.CompilerServices.SymbolWriter' > make[7]: Leaving directory > `/home/plastic/monosrc/mcs/class/Mono.CompilerServices.SymbolWriter' > make[7]: Entering directory `/home/plastic/monosrc/mcs/class/Mono.Posix' > Creating ../../build/deps/net_1_1_Mono.Posix.dll.makefrag ... > Creating ../../build/deps/Mono.Posix_test_net_1_1.dll.response ... > Creating ../../build/deps/Mono.Posix_test_net_1_1.dll.makefrag ... > make[7]: Leaving directory `/home/plastic/monosrc/mcs/class/Mono.Posix' > make[7]: Entering directory `/home/plastic/monosrc/mcs/class/Mono.Posix' > make all-local > make[8]: Entering directory `/home/plastic/monosrc/mcs/class/Mono.Posix' > MCS [net_1_1] Mono.Posix.dll > Stacktrace: > > /bin/sh: line 1: 29810 Segmentation fault > MONO_PATH="./../../class/lib/net_1_1:$MONO_PATH" > /home/plastic/monosrc/mono/runtime/mono-wrapper > ./../../class/lib/net_1_1/mcs.exe /codepage:65001 -optimize -d:NET_1_1 > -d:ONLY_1_1 -debug /noconfig /unsafe /r:mscorlib.dll /r:System.dll > /nowarn:0618,612 -target:library > -out:../../class/lib/net_1_1/Mono.Posix.dll @Mono.Posix.dll.sources > make[8]: *** [../../class/lib/net_1_1/Mono.Posix.dll] Error 139 > make[8]: Leaving directory `/home/plastic/monosrc/mcs/class/Mono.Posix' > make[7]: *** [do-all] Error 2 > make[7]: Leaving directory `/home/plastic/monosrc/mcs/class/Mono.Posix' > make[6]: *** [all-recursive] Error 1 > make[6]: Leaving directory `/home/plastic/monosrc/mcs/class' > make[5]: *** [all-recursive] Error 1 > make[5]: Leaving directory `/home/plastic/monosrc/mcs' > make[4]: *** [profile-do--net_1_1--all] Error 2 > make[4]: Leaving directory `/home/plastic/monosrc/mcs' > make[3]: *** [profiles-do--all] Error 2 > make[3]: Leaving directory `/home/plastic/monosrc/mcs' > make[2]: *** [all-local] Error 2 > make[2]: Leaving directory `/home/plastic/monosrc/mono/runtime' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/home/plastic/monosrc/mono' > make: *** [all] Error 2 > > > Miguel de Icaza wrote: >> Hello, >> >> >>> Is is possible to try the upcoming compacting GC? Is it in a status >>> close to be usable? >>> >> >> You can try it, but it is not finished. >> >> Compile Mono with: >> >> ./configure --with-gc=sgen >> >> Miguel >> >> >> _______________________________________________ Mono-devel-list mailing list [email protected] http://lists.ximian.com/mailman/listinfo/mono-devel-list
