[Mono-bugs] [Bug 79811][Maj] New - Trying to build Beagle crashes with errors loading assemblies

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Thu Nov 2 15:42:54 EST 2006


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by joeshaw at novell.com.

http://bugzilla.ximian.com/show_bug.cgi?id=79811

--- shadow/79811	2006-11-02 15:42:54.000000000 -0500
+++ shadow/79811.tmp.18017	2006-11-02 15:42:54.000000000 -0500
@@ -0,0 +1,192 @@
+Bug#: 79811
+Product: Mono: Compilers
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Major
+Component: C#
+AssignedTo: rharinath at novell.com                            
+ReportedBy: joeshaw at novell.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Trying to build Beagle crashes with errors loading assemblies
+
+In trying to merge in changes from the trunk of Beagle into a branch, I
+started getting the following crash when trying to compile:
+
+The Util.dll file is referenced in the -r argument passed to gmcs.
+
+[joe at posthaste ~/cvs/beagle-merge/beagled]$ make
+/usr/bin/gmcs -debug -unsafe -nowarn:0108,0162,0164,0168,0219,0436,0618
+-out:EvolutionBackends.dll -target:library
+./EvolutionBackendsAssemblyInfo.cs
+./EvolutionDataServerQueryable/BookContainer.cs
+./EvolutionDataServerQueryable/CalContainer.cs
+./EvolutionDataServerQueryable/Container.cs
+./EvolutionDataServerQueryable/EvolutionDataServerQueryable.cs
+./EvolutionDataServerQueryable/SourcesHandler.cs
+./EvolutionMailDriver/EvolutionMailDriver.cs
+./EvolutionMailDriver/EvolutionMailIndexableGenerator.cs
+./EvolutionMailDriver/GConfThreadHelper.cs
+./EvolutionMailDriver/MailCrawler.cs -r:BeagleDaemonLib.dll
+-r:/usr/lib/pkgconfig/../../lib/mono/compat-1.0/ICSharpCode.SharpZipLib.dll
+-r:../Util/Util.dll -r:../BeagleClient/Beagle.dll -r:./BeagleDaemonLib.dll
+-r:Mono.Posix -r:/usr/lib/mono/evolution-sharp/evolution-sharp.dll
+-r:/usr/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/gconf-sharp.dll
+-r:/usr/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/gconf-sharp-peditors.dll
+-r:/usr/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/gnome-sharp.dll
+-r:/usr/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/pango-sharp.dll
+-r:/usr/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/atk-sharp.dll
+-r:/usr/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/gdk-sharp.dll
+-r:/usr/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/gtk-sharp.dll
+-r:/usr/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/art-sharp.dll
+-r:/usr/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/gnome-vfs-sharp.dll
+-r:/usr/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/glib-sharp.dll
+-r:/usr/lib/mono/gmime-sharp/gmime-sharp.dll
+
+** (/usr/lib/mono/2.0/gmcs.exe:23878): WARNING **: The following assembly
+referenced from /home/joe/cvs/beagle-merge/beagled/BeagleDaemonLib.dll
+could not be loaded:
+     Assembly:   Util    (assemblyref_index=3)
+     Version:    0.0.0.0
+     Public Key: (none)
+The assembly was not found in the Global Assembly Cache, a path listed in
+the MONO_PATH environment variable, or in the location of the executing
+assembly (/home/joe/cvs/beagle-merge/beagled).
+
+
+** (/usr/lib/mono/2.0/gmcs.exe:23878): WARNING **: Could not load file or
+assembly 'Util, Version=0.0.0.0, Culture=neutral' or one of its dependencies.
+
+** ERROR **: Can't find custom attr constructor image:
+/home/joe/cvs/beagle-merge/beagled/BeagleDaemonLib.dll mtoken: 0x06000c75
+aborting...
+
+=================================================================
+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.
+=================================================================
+
+Stacktrace:
+
+  at (wrapper managed-to-native) System.Reflection.Assembly.LoadFrom
+(string,bool) <0x00004>
+  at (wrapper managed-to-native) System.Reflection.Assembly.LoadFrom
+(string,bool) <0xffffffff>
+  at System.Reflection.Assembly.LoadFrom (string) <0x0000c>
+  at Mono.CSharp.Driver.LoadAssembly (string,string,bool) <0x00217>
+  at Mono.CSharp.Driver.LoadAssembly (string,bool) <0x00011>
+  at Mono.CSharp.Driver.LoadReferences () <0x0007d>
+  at Mono.CSharp.Driver.MainDriver (string[]) <0x0056b>
+  at Mono.CSharp.Driver.Main (string[]) <0x00055>
+  at (wrapper runtime-invoke) System.Object.runtime_invoke_int_string[]
+(object,intptr,intptr,intptr) <0xffffffff>
+
+Native stacktrace:
+
+        /usr/bin/mono [0x815abd6]
+        [0xffffe440]
+        /lib/libc.so.6(abort+0x103) [0xb7d70013]
+        /opt/gnome/lib/libglib-2.0.so.0(g_logv+0x46d) [0xb7ed11bd]
+        /opt/gnome/lib/libglib-2.0.so.0(g_log+0x35) [0xb7ed1205]
+        /usr/bin/mono(mono_custom_attrs_from_index+0x1b0) [0x80f3a00]
+        /usr/bin/mono(mono_custom_attrs_from_assembly+0x43) [0x80f3b53]
+        /usr/bin/mono [0x809a554]
+        /usr/bin/mono(mono_assembly_load_from_full+0x298) [0x809a8f8]
+        /usr/bin/mono(mono_assembly_open_full+0x12f) [0x809a35f]
+        /usr/bin/mono [0x80e24ed]
+        [0xb701b281]
+        [0xb701b23d]
+        [0xb7017db8]
+        [0xb7017b3a]
+        [0xb7017756]
+        [0xb716d64c]
+        [0xb716c066]
+        [0xb79ce074]
+        /usr/bin/mono [0x8144910]
+        /usr/bin/mono(mono_runtime_invoke+0x27) [0x80d8487]
+        /usr/bin/mono(mono_runtime_exec_main+0xa3) [0x80d9683]
+        /usr/bin/mono(mono_runtime_run_main+0x182) [0x80d9222]
+        /usr/bin/mono(strftime+0x1c4a) [0x8058452]
+        /usr/bin/mono(mono_main+0x857) [0x8058e47]
+        /usr/bin/mono(__fxstat64+0x133) [0x80577bb]
+        /lib/libc.so.6(__libc_start_main+0xdc) [0xb7d5b87c]
+        /usr/bin/mono(sinh+0x49) [0x8057711]
+
+Debug info from gdb:
+
+(no debugging symbols found)
+Using host libthread_db library "/lib/libthread_db.so.1".
+(no debugging symbols found)
+[Thread debugging using libthread_db enabled]
+[New Thread -1210820416 (LWP 23878)]
+[New Thread -1220060256 (LWP 23880)]
+[New Thread -1214383200 (LWP 23879)]
+0xb7dfd337 in ___newselect_nocancel () from /lib/libc.so.6
+  3 Thread -1214383200 (LWP 23879)  0xb7e975bc in __nanosleep_nocancel ()
+   from /lib/libpthread.so.0
+  2 Thread -1220060256 (LWP 23880)  0xb7e94521 in
+pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
+  1 Thread -1210820416 (LWP 23878)  0xb7dfd337 in ___newselect_nocancel ()
+   from /lib/libc.so.6
+
+Thread 3 (Thread -1214383200 (LWP 23879)):
+#0  0xb7e975bc in __nanosleep_nocancel () from /lib/libpthread.so.0
+#1  0x08103e20 in mono_pthread_key_for_tls ()
+#2  0xb7e9113b in start_thread (arg=0xb79dfba0) at pthread_create.c:274
+#3  0xb7e03ade in clone () from /lib/libc.so.6
+
+Thread 2 (Thread -1220060256 (LWP 23880)):
+#0  0xb7e94521 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
+#1  0x0810913f in mono_pthread_key_for_tls ()
+#2  0x081093db in mono_pthread_key_for_tls ()
+#3  0x0810926e in mono_pthread_key_for_tls ()
+#4  0x0810c89f in mono_pthread_key_for_tls ()
+#5  0x080d4e1d in mono_gchandle_free ()
+#6  0x08093322 in mono_signature_explicit_this ()
+#7  0x080fa5e7 in mono_environment_exitcode_set ()
+#8  0x08119fe5 in GC_end_blocking ()
+#9  0xb7e9113b in start_thread (arg=0xb7475ba0) at pthread_create.c:274
+#10 0xb7e03ade in clone () from /lib/libc.so.6
+
+Thread 1 (Thread -1210820416 (LWP 23878)):
+#0  0xb7dfd337 in ___newselect_nocancel () from /lib/libc.so.6
+#1  0xb7ef29a0 in g_spawn_sync (working_directory=0x0, argv=0x84c7550,
+    envp=0x0, flags=G_SPAWN_SEARCH_PATH, child_setup=0, user_data=0x0,
+    standard_output=0xbf976634, standard_error=0xbf976638,
+    exit_status=0xbf97663c, error=0x0) at gspawn.c:299
+#2  0xb7ef2d6c in g_spawn_command_line_sync (
+    command_line=0xbf976640 "gdb --ex 'attach 23878' --ex 'info threads'
+--ex 'thread apply all bt' --batch", standard_output=0xbf976634,
+    standard_error=0xbf976638, exit_status=0xbf97663c, error=0x0)
+    at gspawn.c:667
+#3  0x0815ac6f in mono_debugger_run_finally ()
+#4  <signal handler called>
+#5  0xb7d6e956 in *__GI_raise (sig=6)
+    at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
+#6  0xb7d70013 in *__GI_abort () at abort.c:88
+#7  0xb7ed11bd in g_logv (log_domain=<value optimized out>,
+    log_level=G_LOG_LEVEL_ERROR,
+    format=0x81d9520 "Can't find custom attr constructor image: %s mtoken:
+0x%08x", args1=0xbf977854 "\230W8\bu\f") at gmessages.c:497
+#8  0xb7ed1205 in g_log (log_domain=0x0, log_level=G_LOG_LEVEL_ERROR,
+    format=0x81d9520 "Can't find custom attr constructor image: %s mtoken:
+0x%08x") at gmessages.c:517
+#9  0x080f3a00 in mono_custom_attrs_from_index ()
+#10 0x080f3b53 in mono_custom_attrs_from_assembly ()
+#11 0x0809a554 in mono_assembly_open_full ()
+#12 0x0809a8f8 in mono_assembly_load_from_full ()
+#13 0x0809a35f in mono_assembly_open_full ()
+#14 0x080e24ed in mono_domain_set ()
+#15 0xb701b281 in ?? ()
+#16 0x000be980 in ?? ()
+#17 0x00000000 in ?? ()
+#0  0xb7dfd337 in ___newselect_nocancel () from /lib/libc.so.6
+
+make: *** [EvolutionBackends.dll] Aborted


More information about the mono-bugs mailing list