[Mono-bugs] [Bug 78947][Maj] New - Exception in debugger when trying to run/attach/etc.

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Tue Jul 25 14:45:52 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 adam at ipcoast.com.

http://bugzilla.ximian.com/show_bug.cgi?id=78947

--- shadow/78947	2006-07-25 14:45:52.000000000 -0400
+++ shadow/78947.tmp.16438	2006-07-25 14:45:52.000000000 -0400
@@ -0,0 +1,96 @@
+Bug#: 78947
+Product: Mono: Debugger
+Version: 1.1
+OS: 
+OS Details: Linux 2.6.16.13-xen #2 SMP Wed Jul 12 02:39:57 PDT 2006 x86_64 Intel(R) Pentium(R) D CPU 3.00GHz GNU/Linux
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Major
+Component: backend
+AssignedTo: martin at ximian.com                            
+ReportedBy: adam at ipcoast.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Exception in debugger when trying to run/attach/etc.
+
+Description of Problem:
+The following exception/backtrace is thrown shortly after trying to 'run' a
+program from within mdb, or 'attach' to an existing process:
+EXCEPTION: System.NullReferenceException: Object reference not set to an
+instance of an object
+  at Mono.Debugger.Backends.SingleSteppingEngine.restore_stack
+(Mono.Debugger.Backends.StackData stack) [0x0001b] in
+/data/build/2006-07-24a/debugger/backends/SingleSteppingEngine.cs:1275
+  at (wrapper remoting-invoke-with-check)
+Mono.Debugger.Backends.SingleSteppingEngine:restore_stack
+(Mono.Debugger.Backends.SingleSteppingEngine/StackData)
+  at
+Mono.Debugger.Backends.SingleSteppingEngine+OperationCallback.RestoreStack
+(Mono.Debugger.Backends.SingleSteppingEngine sse) [0x0000c] in
+/data/build/2006-07-24a/debugger/backends/SingleSteppingEngine.cs:2783
+  at
+Mono.Debugger.Backends.SingleSteppingEngine+OperationCallback.DoProcessEvent
+(Mono.Debugger.Backends.SingleSteppingEngine sse,
+Mono.Debugger.Backends.Inferior inferior, Mono.Debugger.Backends.ChildEvent
+cevent, Mono.Debugger.TargetEventArgs args) [0x00097] in
+/data/build/2006-07-24a/debugger/backends/SingleSteppingEngine.cs:2723
+  at
+Mono.Debugger.Backends.SingleSteppingEngine+OperationCompileMethod.DoProcessEvent
+(Mono.Debugger.Backends.SingleSteppingEngine sse,
+Mono.Debugger.Backends.Inferior inferior, Mono.Debugger.Backends.ChildEvent
+cevent, Mono.Debugger.TargetEventArgs args) [0x0000b] in
+/data/build/2006-07-24a/debugger/backends/SingleSteppingEngine.cs:3221
+  at Mono.Debugger.Backends.SingleSteppingEngine+Operation.ProcessEvent
+(Mono.Debugger.Backends.SingleSteppingEngine sse,
+Mono.Debugger.Backends.Inferior inferior, Mono.Debugger.Backends.ChildEvent
+cevent, Mono.Debugger.TargetEventArgs args) [0x00076] in
+/data/build/2006-07-24a/debugger/backends/SingleSteppingEngine.cs:1900
+  at Mono.Debugger.Backends.SingleSteppingEngine+Operation.ProcessEvent
+(Mono.Debugger.Backends.SingleSteppingEngine sse,
+Mono.Debugger.Backends.Inferior inferior, Mono.Debugger.Backends.ChildEvent
+cevent, Mono.Debugger.TargetEventArgs args) [0x0000c] in
+/data/build/2006-07-24a/debugger/backends/SingleSteppingEngine.cs:1880
+  at Mono.Debugger.Backends.SingleSteppingEngine+Operation.ProcessEvent
+(Mono.Debugger.Backends.SingleSteppingEngine sse,
+Mono.Debugger.Backends.Inferior inferior, Mono.Debugger.Backends.ChildEvent
+cevent, Mono.Debugger.TargetEventArgs args, System.Boolean send_result)
+[0x00000] in
+/data/build/2006-07-24a/debugger/backends/SingleSteppingEngine.cs:1854
+  at Mono.Debugger.Backends.SingleSteppingEngine.ProcessChildEvent
+(Mono.Debugger.Backends.ChildEvent cevent, Mono.Debugger.TargetEventArgs
+result) [0x000d5] in
+/data/build/2006-07-24a/debugger/backends/SingleSteppingEngine.cs:406
+  at Mono.Debugger.Backends.SingleSteppingEngine.ProcessChildEvent
+(Mono.Debugger.Backends.ChildEvent cevent) [0x003f7] in
+/data/build/2006-07-24a/debugger/backends/SingleSteppingEngine.cs:356
+  at Mono.Debugger.Backends.SingleSteppingEngine.ProcessEvent (Int32
+status) [0x00175] in
+/data/build/2006-07-24a/debugger/backends/SingleSteppingEngine.cs:184
+  at (wrapper remoting-invoke-with-check)
+Mono.Debugger.Backends.SingleSteppingEngine:ProcessEvent (int)
+  at Mono.Debugger.Backends.ThreadManager.engine_thread_main () [0x000ce]
+in /data/build/2006-07-24a/debugger/backends/ThreadManager.cs:306
+
+
+Steps to reproduce the problem:
+1. Run: mdb somehelloworld.exe
+2. At prompt type 'run'
+
+Actual Results:
+The above exception is displayed and program hangs. You see no output from
+your program.
+
+Expected Results:
+somehelloworld.exe should run and display output.
+
+How often does this happen? 
+Always
+
+Additional Information:
+Running revision 62926 of mono svn, tried the 0.30 release of debugger
+along with revision 62716
+Also if I try running nunit-console on the Mono.Debugger.Test.dll the first
+test tries to run, throws the above exception and hangs.


More information about the mono-bugs mailing list