[Mono-bugs] [Bug 435497] New: Profiler does not run when an AppDomain is created

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Oct 15 00:21:07 EDT 2008


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


           Summary: Profiler does not run when an AppDomain is created
           Product: Mono: Runtime
           Version: SVN
          Platform: x86-64
        OS/Version: Ubuntu
            Status: NEW
          Severity: Major
          Priority: P5 - None
         Component: misc
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: kojoadams at hotmail.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


//Sample code

me at exodus$ cat k.cs 
using System;
using System.Reflection;

public class Runner
{
        public static int Main(string[] args)
        {
                var domain = AppDomain.CreateDomain ("Runner");
                return 1;
        }
}



//RESULTS
me at exodus$ gmcs -debug k.cs && mono --profile=logging:c --debug  k.exe 
k.cs(8,21): warning CS0168: The variable `domain' is declared but never used
Compilation succeeded - 1 warning(s)
mono: mini-amd64.c:211: amd64_patch: Assertion `0' failed.
Stacktrace:

  at (wrapper managed-to-native)
System.Runtime.Remoting.Proxies.RealProxy.InternalGetTransparentProxy (string)
<0x00063>
  at (wrapper managed-to-native)
System.Runtime.Remoting.Proxies.RealProxy.InternalGetTransparentProxy (string)
<0xffffffff>
  at System.Runtime.Remoting.Proxies.RealProxy.GetTransparentProxy () [0x0005c]
in
/home/adamsk/coding/mono/mcs/class/corlib/System.Runtime.Remoting.Proxies/RealProxy.cs:252
  at System.Runtime.Remoting.RemotingServices.GetOrCreateClientIdentity
(System.Runtime.Remoting.ObjRef,System.Type,object&) [0x000db] in
/home/adamsk/coding/mono/mcs/class/corlib/System.Runtime.Remoting/RemotingServices.cs:679
  at System.Runtime.Remoting.RemotingServices.GetRemoteObject
(System.Runtime.Remoting.ObjRef,System.Type) [0x00000] in
/home/adamsk/coding/mono/mcs/class/corlib/System.Runtime.Remoting/RemotingServices.cs:756
  at System.Runtime.Remoting.RemotingServices.GetProxyForRemoteObject
(System.Runtime.Remoting.ObjRef,System.Type) [0x0001e] in
/home/adamsk/coding/mono/mcs/class/corlib/System.Runtime.Remoting/RemotingServices.cs:750
  at System.Runtime.Remoting.RemotingServices.Unmarshal
(System.Runtime.Remoting.ObjRef,bool) [0x0008a] in
/home/adamsk/coding/mono/mcs/class/corlib/System.Runtime.Remoting/RemotingServices.cs:286
  at System.Runtime.Remoting.RemotingServices.Unmarshal
(System.Runtime.Remoting.ObjRef) [0x00000] in
/home/adamsk/coding/mono/mcs/class/corlib/System.Runtime.Remoting/RemotingServices.cs:260
  at System.Runtime.Remoting.RemotingServices.GetDomainProxy (System.AppDomain)
[0x0004c] in
/home/adamsk/coding/mono/mcs/class/corlib/System.Runtime.Remoting/RemotingServices.cs:861
  at System.AppDomain.CreateDomain
(string,System.Security.Policy.Evidence,System.AppDomainSetup) [0x000b3] in
/home/adamsk/coding/mono/mcs/class/corlib/System/AppDomain.cs:876
  at System.AppDomain.CreateDomain (string) [0x00000] in
/home/adamsk/coding/mono/mcs/class/corlib/System/AppDomain.cs:835
  at Runner.Main (string[]) [0x00000] in /home/adamsk/tmp/k.cs:8
  at (wrapper runtime-invoke) Runner.runtime_invoke_int_string[]
(object,intptr,intptr,intptr) <0xffffffff>


-- 
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