Bugzilla – Bug 311724
When Calling thread.Start();thread.Abort();thread.Start(), mono segfaults
Last modified: 2007-09-15 21:24:46 UTC
---- Reported by kiwnix@yahoo.es 2002-11-19 22:58:45 MST ---- Description of Problem: When calling thread.Start();thread.Abort();thread.Start(); in mono, it segfaults after displaying the exception (if the exception is not handled) TestCase: using System; using System.Threading; public class Prueba { public class C2Test { public int cnt; public C2Test() { this.cnt = 0; } public void TestMethod() { while (true) { if (cnt < 1000) cnt++; else cnt = 0; } } } public static void Main() { bool errorThrown = false; C2Test test1 = new C2Test(); Thread TestThread = new Thread(new ThreadStart(test1.TestMethod)); TestThread.Start(); TestThread.Abort(); TestThread.Start(); } } ---- Additional Comments From dick@ximian.com 2002-11-20 05:29:03 MST ---- This looks like a duplicate *** This bug has been marked as a duplicate of https://bugzilla.novell.com/show_bug.cgi?id=MONO34323 *** Unknown bug field "cf_op_sys_details" encountered while moving bug <cf_op_sys_details>anon-cvs Wed Nov 20 04:53:39 CET 2002</cf_op_sys_details> This bug was marked DUPLICATE in the database it was moved from. Changing resolution to "MOVED"