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

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Thu Nov 2 17:29:51 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.20227	2006-11-02 17:29:51.000000000 -0500
@@ -1,14 +1,14 @@
 Bug#: 79811
 Product: Mono: Compilers
 Version: unspecified
-OS: 
+OS: unknown
 OS Details: 
 Status: NEW   
 Resolution: 
-Severity: 
+Severity: Unknown
 Priority: Major
 Component: C#
 AssignedTo: rharinath at novell.com                            
 ReportedBy: joeshaw at novell.com               
 QAContact: mono-bugs at ximian.com
 TargetMilestone: ---
@@ -187,6 +187,58 @@
 #15 0xb701b281 in ?? ()
 #16 0x000be980 in ?? ()
 #17 0x00000000 in ?? ()
 #0  0xb7dfd337 in ___newselect_nocancel () from /lib/libc.so.6
 
 make: *** [EvolutionBackends.dll] Aborted
+
+------- Additional Comments From joeshaw at novell.com  2006-11-02 17:29 -------
+This seems to be related to some assembly-scope attributes I have.
+
+In BeagleDaemonLib.dll, I have the following:
+
+[assembly: IQueryableTypes (
+	typeof (Beagle.Daemon.KMailQueryable.KMailQueryable),
+	typeof (Beagle.Daemon.FileSystemQueryable.FileSystemQueryable),
+	typeof (Beagle.Daemon.GaimLogQueryable.GaimLogQueryable),
+	typeof (Beagle.Daemon.IndexingServiceQueryable.IndexingServiceQueryable),
+	typeof (Beagle.Daemon.TomboyQueryable.TomboyQueryable),
+	typeof (Beagle.Daemon.LabyrinthQueryable.LabyrinthQueryable),
+	typeof (Beagle.Daemon.BlamQueryable.BlamQueryable),
+	typeof (Beagle.Daemon.LifereaQueryable.LifereaQueryable),
+	typeof (Beagle.Daemon.AkregatorQueryable.AkregatorQueryable),
+	typeof (Beagle.Daemon.KonqQueryable.KonqQueryable),
+	typeof (Beagle.Daemon.KBookmarkQueryable.KonqBookmarkQueryable),
+	typeof (Beagle.Daemon.KNotesQueryable.KNotesQueryable),
+	typeof (Beagle.Daemon.KabcQueryable.KabcQueryable),
+	typeof (Beagle.Daemon.KopeteQueryable.KopeteQueryable),
+	typeof (Beagle.Daemon.StaticQueryable)
+)]
+
+(as well as some others.)
+
+IQueryableTypes is defined in BeagleDaemonLib.dll as:
+
+        [AttributeUsage (AttributeTargets.Assembly)]
+        public class IQueryableTypesAttribute : TypeCacheAttribute {
+                public IQueryableTypesAttribute (params Type[]
+queryable_types) : base (queryable_types) { }
+        }
+
+TypeCacheAttribute is defined in Util.dll as:
+
+        public abstract class TypeCacheAttribute : Attribute {
+                private Type[] types;
+
+                public TypeCacheAttribute (params Type[] types)
+                {
+                        this.types = types;
+                }
+
+                public ICollection Types {
+                        get { return this.types; }
+                }
+        }
+
+If I comment out all of the the [assembly: bleh] lines in my app, it
+compiles fine.  If I leave any one of them in, it crashes.  This works
+fine with mcs, but not gmcs.


More information about the mono-bugs mailing list