[Mono-list] Error with simple threading application on Win32 (threads.c: line 923 (ves_icall_System_Threading_Thread_Abort) should not be reached)

Lluis Sanchez lluis@ximian.com
Sun, 01 Feb 2004 23:52:14 +0100


Hi,

Thread.Abort(), which is called when stopping the TCP channel, is not
working on Windows. This is a known bug.

Lluis.

On dg, 2004-02-01 at 23:25, Louis R. Marascio wrote:
> Hello,
> 
> I'm investigating the fesability of porting our currently MS .NET 1.1 app to
> Mono. In writing a few tests I came across what appears to be a critical
> error. I have a simple application that registeres a TCP remoting channel
> and then creates a client of the server object.  It executes a method 100
> times and then exits.  Every time it exits I get this error:
> 
> **ERROR**: file threads.c: line 923
> (ves_icall_System_Threading_Thread_Abort): should not be reached aborting...
> 
> I've managed to create a very simple test case that reproduces this behavior
> consistently, every time I run it.  It is attached here as Class1.cs.
> 
> The problem occurs when using mono and mint.  The same application works
> without issue using Microsoft's runtime.
> 
> Any thoughts?
> 
> Thanks!
> 
> Louis
> 
> ---
> Louis R. Marascio
> Metreos Corporation
> o: +1 (512) 437 7903
> m: +1 (832) 768 4609
> e: marascio@metreos.com