[Mono-bugs] [Bug 661356] DllImport errors preceding DllNotFoundException printing "(null)" instead of actual loader error

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Dec 23 20:50:18 EST 2010


https://bugzilla.novell.com/show_bug.cgi?id=661356

https://bugzilla.novell.com/show_bug.cgi?id=661356#c1


--- Comment #1 from Jeremiah Boyle <jeremiah.boyle at gmail.com> 2010-12-24 01:50:18 UTC ---
the problem is in cached_module_load(). the following patch seems to fix:

--- loader.c    2010-12-23 17:48:20.000000000 -0800
+++ loader.c-fixed    2010-12-23 17:49:06.000000000 -0800
@@ -1232,7 +1232,7 @@
         mono_loader_unlock ();
         return res;
     }
-    res = mono_dl_open (name, flags, NULL);
+    res = mono_dl_open (name, flags, err);
     if (res)
         g_hash_table_insert (global_module_map, g_strdup (name), res);
     mono_loader_unlock ();

-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list