http://bugzilla.novell.com/show_bug.cgi?id=575598
http://bugzilla.novell.com/show_bug.cgi?id=575598#c0 Summary: Softdebugging this program crashes the mono runtime Classification: Mono Product: Mono: Runtime Version: 2.6.x Platform: x86 OS/Version: Windows 7 Status: NEW Severity: Normal Priority: P5 - None Component: debug AssignedTo: [email protected] ReportedBy: [email protected] QAContact: [email protected] Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/532.0 (KHTML, like Gecko) Chrome/3.0.195.38 Safari/532.0 On win32 & stock 2.6.1 install, trying to softdebug the following program crashes the mono runtime: using System; using System.Reflection; namespace SeperateAppDomainTest { class Program { static void Main(string[] args) { LoadAssembly(); } public static void LoadAssembly() { Console.WriteLine("Mark1"); string pathToDll = Assembly.GetExecutingAssembly().CodeBase; AppDomainSetup domainSetup = new AppDomainSetup { PrivateBinPath = pathToDll }; var newDomain = AppDomain.CreateDomain("FooBar", null, domainSetup); ProxyClass c = (ProxyClass)(newDomain.CreateInstanceFromAndUnwrap(pathToDll, typeof(ProxyClass).FullName)); AppDomain.Unload(newDomain); Console.WriteLine("Mark2"); newDomain = AppDomain.CreateDomain("FooBar", null, domainSetup); c = (ProxyClass)(newDomain.CreateInstanceFromAndUnwrap(pathToDll, typeof(ProxyClass).FullName)); AppDomain.Unload(newDomain); Console.WriteLine("Mark3"); } } public class ProxyClass : MarshalByRefObject { public ProxyClass() { Console.WriteLine("Heya!"); } } } Reproducible: Always Steps to Reproduce: try to debug Actual Results: crash Expected Results: no crash -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
