Bugzilla – Bug 318600
Assigned delegate gets replaced by a wierd delegate.
Last modified: 2007-09-15 21:24:46 UTC
---- Reported by roosmaa@gmail.com 2005-07-28 13:57:22 MST ---- 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. ---- Additional Comments From roosmaa@gmail.com 2005-07-28 13:58:36 MST ---- Created an attachment Testcase for https://bugzilla.novell.com/show_bug.cgi?id=MONO75657 ---- Additional Comments From vargaz@gmail.com 2005-07-28 18:46:54 MST ---- Could you try running your program with GC_DONT_GC=1 env var setting ? ---- Additional Comments From roosmaa@gmail.com 2005-07-28 18:53:04 MST ---- With GC_DONT_GC it works fine. ---- Additional Comments From vargaz@gmail.com 2005-07-29 07:54:40 MST ---- *** This bug has been marked as a duplicate of https://bugzilla.novell.com/show_bug.cgi?id=MONO75479 *** Imported an attachment (id=168279) Unknown bug field "cf_op_sys_details" encountered while moving bug <cf_op_sys_details>Ubuntu Hoary; Mono (--with-preview) from SVN HEAD; Gtk# 2.6</cf_op_sys_details> Unknown operating system unknown. Setting to default OS "Other". This bug was marked DUPLICATE in the database it was moved from. Changing resolution to "MOVED"