[Mono-dev] _wapi_thread_set_termination_details Error

Geoff Norton gnorton at novell.com
Sat May 10 22:12:24 EDT 2008


On Sat, 2008-05-10 at 21:59 -0400, Dominic Plouffe wrote:
> I'm doing a port of a server I wrote in c#, .Net 2.0 to Mono 1.9.1.
> The server makes heavy use of timers/threads which repeat a process
> every so often. After the server has been running for about 12 hours,
> I start getting these errors: _wapi_thread_set_termination_details
> caught by System.Exception.  The application crashes and ends once
> that happens.  I've never had any problems on Windows.
> I've been searching the web and found other people with similar
> errors.  What I'm looking for is an explanation of what the error is,
> and maybe some guidance from other people who've had similar
> problems...

What version of mono are you running?

Looking at our SVN version I assume you're hitting the g_warning which
would say something like:

_wapi_thread_set_termination_details: error looking up thread handle ...

but you don't include the exact error so its hard to say.  This is
something that shouldn't happen unless the runtime has become
inconsistent with its threading state.  Is your server open source?  can
you make a smaller testcase that exhibits the problem (even if it takes
12 hours to produce itself, it can give us a better idea of whats going
on).  If your server isn't open source, you can also provide the source
to just novell thru our bugzilla (http://bugzilla.novell.com/) by
clicking the private button while uploading.



More information about the Mono-devel-list mailing list