[Mono-bugs] [Bug 75657][Maj] New - Assigned delegate gets replaced by a wierd delegate.

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Thu Jul 28 13:57:23 EDT 2005


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 roosmaa at gmail.com.

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

--- shadow/75657	2005-07-28 13:57:23.000000000 -0400
+++ shadow/75657.tmp.11619	2005-07-28 13:57:23.000000000 -0400
@@ -0,0 +1,47 @@
+Bug#: 75657
+Product: Mono: Runtime
+Version: unspecified
+OS: 
+OS Details: Ubuntu Hoary; Mono (--with-preview) from SVN HEAD; Gtk# 2.6
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Major
+Component: misc
+AssignedTo: mono-bugs at ximian.com                            
+ReportedBy: roosmaa at gmail.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Assigned delegate gets replaced by a wierd delegate.
+
+Description of Problem:
+When storing a delegate to a Dictionary<string, MyDelegate>, it gets
+replaced by some strange delegate (e.g: GLib.IdleHandler) after some
+actions. I have included a testcase, which should hopefully reporoduce it
+on other machines. (The testcase is stripped down as much as possible for
+the bug to show it self, any other bigger changes will hide it for some
+time again.)
+
+
+Steps to reproduce the problem:
+1. gmcs -out:DelegateProblem.exe
+-r:/usr/local/lib/mono/gac/gdk-sharp/2.6.0.0__35e10195dab3c99f/gdk-sharp.dll
+-r:/usr/local/lib/mono/gac/gtk-sharp/2.6.0.0__35e10195dab3c99f/gtk-sharp.dll
+DelegateProblem.cs
+2. mono DelegateProblem.exe
+
+Actual Results (The output of my testcase):
+Printing:
+test - GLib.IdleHandler, glib-sharp, Version=2.6.0.0, Culture=neutral,
+PublicKeyToken=35e10195dab3c99f
+
+Expected Results:
+Printing:
+test - MyDele, DelegateProblem, Version=0.0.0.0, Culture=neutral,
+PublicKeyToken=null
+
+How often does this happen? 
+Always in the application it surfaced. In testcase as long as it is left
+unmodified.


More information about the mono-bugs mailing list