[Mono-list] Thread 802600 has exited with leftover thread-specific data after 4 destructor iterations exception

Robert Jordan robertj at gmx.net
Mon May 18 13:03:38 EDT 2009


Andrus Moor wrote:
> I'm compiling C# scripts dynamically in asmx web service using 
> http://www.csscript.net
> 
> Every second csscript Compile() method call causes exception
> 
> 0:0 Thread 802600 has exited with leftover thread-specific data after 4 
> destructor iterations

It's a FreeBSD error message which occurs when a thread was dying.
This makes me think that your stacktrace is not genuine:

> System.ApplicationException: 0:0 Thread 802600 has exited with leftover 
> thread-specific data after 4 destructor iterations
>   at csscript.CSExecutor.Compile (System.String scriptFileName) [0x00000]

... because "0:0 Thread 802600 has exited ..." is emitted by
the FreeBSD kernel to the console.

> How to fix this ?

Do you want an honest answer? Use a system supported by Novell ;)
I really admire your inclination to exotic systems.

But the solution is probably rather trivial: your script compiler
is not able to find csc/mcs/gmcs to compile its stuff.

> Assemblies are created in VWDExpress 2008 and are running under FreeBSD with 
> mod_mono  + mono 2.4
> How to enable line numbers in stack trace ?

Add  `MonoDebug true' to your mod_mono config.

Robert



More information about the Mono-list mailing list