[Mono-bugs] [Bug 528830] appdomain-unload.exe unit test fails

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri Nov 6 11:26:24 EST 2009


http://bugzilla.novell.com/show_bug.cgi?id=528830

User romain at blogreen.org added comment
http://bugzilla.novell.com/show_bug.cgi?id=528830#c17





--- Comment #17 from Romain Tartière <romain at blogreen.org>  2009-11-06 09:26:23 MST ---
I have attached to this bug a simple program (based on the appdomain-unload
regression test) that triggers the hang from time to time.  Since it seems to
be a thread synchronisation issue, I defined DEBUG in io-layer/wthreads.c and
saved the output of the process for a successfull run and when the process
hangs.

The FAILURE output has been cut: the very same message is repeated dozens times
per second.

The difference I see is that between AppDomain.CreateDomain and
AppDomain.Unload in test_0_invoke_after_unload, the following happens in
SUCCESS and not in FAILURE:

-----8<-------------------
** Message: OpenThread: looking up thread 34401717824
** Message: _wapi_thread_handle_from_id: Returning 0x2c09 for self thread
34401717824 from TLS
** Message: OpenThread: returning thread handle 0x2c09
** Message: OpenThread: looking up thread 34401717824
** Message: _wapi_thread_handle_from_id: Returning 0x2c09 for self thread
34401717824 from TLS
** Message: OpenThread: returning thread handle 0x2c09
-----8<-------------------

However, it does not help me much since I don't have a clear idea of what's
supposed to happen :-)  

Any advice, sugestion, comment ?

Thanks!

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list