Thursday, July 24, 2003

Thread.Abort Bug

Chihiro Kuraya has e-mailed me about the following critter:

I found .NET bug relating to threads.

This bug is detailed by someone in the following page. http://www.dotnet247.com/247reference/msgs/27/137192.aspx

Summary:

1. A short description of the bug:

Suspended thread cannot be Abort()'ed. If you call Abort(), ThreadStateException ocurrs, but the thread will not stop. Due to this problem, you cannot terminate application itself.

2. Steps to reproduce

See the above page.

3. What happens

Suspended thread never stops.

4. What should happen instead

Any thread must be stopped.

---

Chihiro Kuraya <kuraya at primal.co.jp>

I've added this bug as #19 in the .NET Bugs Registry.

   4:33 PM

Content of this site is © Dejan Jelovic. All rights reserved.