[Mono-bugs] [Bug 52040][Nor] New - System.Threading.Thread Fails
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Thu, 11 Dec 2003 06:46:21 -0500 (EST)
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 piyush.garyali@honeywell.com.
http://bugzilla.ximian.com/show_bug.cgi?id=52040
--- shadow/52040 2003-12-11 06:46:21.000000000 -0500
+++ shadow/52040.tmp.14558 2003-12-11 06:46:21.000000000 -0500
@@ -0,0 +1,72 @@
+Bug#: 52040
+Product: Mono/Runtime
+Version: unspecified
+OS: other
+OS Details: PowerPC
+Status: NEW
+Resolution:
+Severity:
+Priority: Normal
+Component: misc
+AssignedTo: lupus@ximian.com
+ReportedBy: piyush.garyali@honeywell.com
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Summary: System.Threading.Thread Fails
+
+Please fill in this template when reporting a bug, unless you know what
+you are doing.
+Description of Problem:
+
+System.Threading.Thread Fails when creating the new thread while running
+the code below:
+
+
+Steps to reproduce the problem:
+1. Run the program
+
+using System;
+using System.Threading;
+
+namespace Foo
+{
+ class Class1
+ {
+ static void Main()
+ {
+ ThreadStart ts = new ThreadStart(methodOne);
+ System.Threading.Thread d = new System.Threading.Thread(ts);
+ d.Start();
+ }
+
+ public static void methodOne()
+ {
+ Console.WriteLine("in methodOne");
+ }
+ }
+}
+
+Actual Results:
+** (Threading.exe: 26): WARNING **: : CreateThread error 0x0
+!!Crashes!!
+
+Expected Results:
+should print "in methodOne"
+
+How often does this happen?
+Everytime
+
+Additional Information:
+Call stack obtained:
+??
+??
+??
+mono_jit_runtime_invoke
+mono_runtime_invoke
+mono_runtime_exec_main()
+mono_runtime_run_main()
+mono_jit_exec()
+main_thread_handler()
+
+------------------->8----------------------