http://bugzilla.novell.com/show_bug.cgi?id=507003

User [email protected] added comment
http://bugzilla.novell.com/show_bug.cgi?id=507003#c3





--- Comment #3 from enrico sabbadin <[email protected]>  2009-05-27 
04:19:24 MDT ---
Now I understand: 
I found the origin of the problem: my implementation of the
AssemblyResolveEvent could not resolve a type .. 
In MS WIN : i got a stackoverflow (which makes sense somehow) .. 

in mono implementation of doassemblyresolve there is a logic that tries to
avoid this loop .. however there is a mistake 

you write 
ht [name] = name;

and in other part of the method 
Assembly ass = (Assembly) ht [name];

so when ht [name] does not return null .. you bomb 

FIX: 
REPLACE 
Assembly ass = (Assembly) ht [name];
-------------
WITH 
string ass = ht [name] as string;

in the doassemblyresolve event


best regards

-- 
Configure bugmail: http://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.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to