[Mono-bugs] [Bug 575598] Softdebugging this program crashes the mono runtime

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sun Jan 31 07:43:36 EST 2010


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

http://bugzilla.novell.com/show_bug.cgi?id=575598#c1


Lucas Meijer <lucas.meijer at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |lucas.meijer at gmail.com

--- Comment #1 from Lucas Meijer <lucas.meijer at gmail.com> 2010-01-31 12:43:35 UTC ---
Additional info:
- The program runs fine without softdebugging
- Below is a smaller program exhibiting the same crash.

using System;
using System.Reflection;

namespace SeperateAppDomainTest
{
    class Program
    {
        static void Main(string[] args)
        {
            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);
        }
    }

    public class ProxyClass : MarshalByRefObject {
    }
}

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


More information about the mono-bugs mailing list