[Mono-bugs] [Bug 79717][Nor] New - System.Diagnostics.StackTrace doesn't work properly inside of AsyncCallback routines

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Sat Oct 21 21:51:11 EDT 2006

Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by cmorgan at alum.wpi.edu.


--- shadow/79717	2006-10-21 21:51:11.000000000 -0400
+++ shadow/79717.tmp.15431	2006-10-21 21:51:11.000000000 -0400
@@ -0,0 +1,59 @@
+Bug#: 79717
+Product: Mono: Runtime
+Version: 1.1
+OS Details: Debian unstable on amd64 with mono/mcs svn from 20061021
+Status: NEW   
+Priority: Normal
+Component: debug
+AssignedTo: martin at ximian.com                            
+ReportedBy: cmorgan at alum.wpi.edu               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+Summary: System.Diagnostics.StackTrace doesn't work properly inside of AsyncCallback routines
+Using mono/mcs svn head.
+Description of Problem:
+Using System.Diagnostics.StackTrace doesn't work properly when inside of an
+AsyncCallback routine on Mono but does under .net 2.0 on windows.
+Steps to reproduce the problem:
+1. Compile the attached test program.
+2. Run it under mono and windows and see that the results differ.
+Actual Results (results from mono/mcs svn from 20061021):
+Hello World!
+ResolveCallback() complete
+Expected Results (results from .net 2.0 on windows):
+Hello World!
+method: Void ResolveCallback(System.IAsyncResult)
+method: Void Complete(IntPtr)
+method: Void CompleteCallback(System.Object)
+method: Void Run(System.Threading.ExecutionContext,
+back, System.Object)
+method: Void Complete(IntPtr)
+method: Void ProtectedInvokeCallback(System.Object, IntPtr)
+method: Void ResolveCallback(System.Object)
+method: Void PerformWaitCallback(System.Object)
+ResolveCallback() complete
+How often does this happen? 
+Every time.
+Additional Information:
+Simple test program attached.

More information about the mono-bugs mailing list