[Mono-list] Thread 802600 has exited with leftover thread-specific data after 4 destructor iterations exception
Andrus Moor
kobruleht2 at hot.ee
Tue May 19 08:22:48 EDT 2009
Robert,
> It seems to be an io-layer issue. Try to run this test a few
> times in a row to see if you can reproduce the error:
I added method to web service:
[WebMethod]
public void Test(ref UserCredentials header)
{
try
{
while (true)
{
Process.Start("/usr/local/bin/gmcs").WaitForExit();
Thread.Sleep(100);
}
}
catch (Exception ex)
{
header.ProcessWebServiceException(ex);
}
}
This method runs without exception always. I verifined that gmcs exists
in this location. So hopefully this code executes gmcs.
After few minutes error occurs in client but this is problably due to
exceeding service call time limit.
However this exception still occurs in Compile() method.
My planned ISP can install Linux+mod_mono in its Virtual Private Server
hosting package instead of FreeBSD+mod_mono.
Is it OK to let him select Linux which he wants or should I require some
specific one ?
> Do you have this in web.config (for the case the offending
> code is in some aspx/App_Code file)?
asmx web service file contains only line
<%@ WebService Language="C#" Debug="True" CodeBehind="MyApp.Service.dll"
Class="Myapp.Service.StockService" %>
> <system.web>
> <compilation debug="true">
> </compilation>
> </system.web>
Debug is turned on in web.config.
I have mostly MS VWD2008 autogenerated web.config file with system.web
section below.
Shoudl I add my assemblies to <assemblies> section in compilation tag ?
> Another reason for missing line numbers is a missing
> .mdb file for the offending assembly. If it was compiled with
> MS CSC it likely doesn't have one.
For mono .NET framework assemblies line numbers are shown in exceptions.
I'm developing using VWD2008 Express.
How to create .mdb files when developing with VWD2008 Express?
Andrus.
web.config system.web section (autogenerated):
<system.web>
<compilation debug="true">
<assemblies>
<add assembly="System.Core, Version=3.5.0.0, Culture=neutral,
PublicKeyToken=B77A5C561934E089"/>
<add assembly="System.Data.DataSetExtensions, Version=3.5.0.0,
Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
<add assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral,
PublicKeyToken=31BF3856AD364E35"/>
<add assembly="System.Xml.Linq, Version=3.5.0.0, Culture=neutral,
PublicKeyToken=B77A5C561934E089"/>
</assemblies>
</compilation>
<customErrors mode="Off" />
<pages>
<controls>
<add tagPrefix="asp" namespace="System.Web.UI"
assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral,
PublicKeyToken=31BF3856AD364E35"/>
<add tagPrefix="asp" namespace="System.Web.UI.WebControls"
assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral,
PublicKeyToken=31BF3856AD364E35"/>
</controls>
</pages>
<httpHandlers>
<remove verb="*" path="*.asmx"/>
<add verb="*" path="*.asmx" validate="false"
type="System.Web.Script.Services.ScriptHandlerFactory,
System.Web.Extensions, Version=3.5.0.0, Culture=neutral,
PublicKeyToken=31BF3856AD364E35"/>
<add verb="*" path="*_AppService.axd" validate="false"
type="System.Web.Script.Services.ScriptHandlerFactory,
System.Web.Extensions, Version=3.5.0.0, Culture=neutral,
PublicKeyToken=31BF3856AD364E35"/>
<add verb="GET,HEAD" path="ScriptResource.axd"
type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions,
Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"
validate="false"/>
</httpHandlers>
<httpModules>
<add name="ScriptModule" type="System.Web.Handlers.ScriptModule,
System.Web.Extensions, Version=3.5.0.0, Culture=neutral,
PublicKeyToken=31BF3856AD364E35"/>
</httpModules>
</system.web>
More information about the Mono-list
mailing list