[Mono-dev] new test framework works on dotnet

Andrew Skiba andrews at mainsoft.com
Sun May 21 12:23:37 EDT 2006


Hello,

I succeeded to reproduce the hang on linux, this is kill -QUIT result
during hang

Full thread dump:

"" tid=0x0xb7db66c0 this=0x0x21e40:
in (wrapper managed-to-native)
System.Threading.WaitHandle:WaitOne_internal (intptr,int,bool) <0x4>
in (wrapper managed-to-native)
System.Threading.WaitHandle:WaitOne_internal (intptr,int,bool)
<0xffffffe5>
in System.Threading.WaitHandle:WaitOne () (at
/home/andrews/monobuild/mcs/class/corlib/System.Threading/WaitHandle.cs:
178)
in
System.Web.HttpApplication:System.Web.IHttpAsyncHandler.EndProcessReques
t (System.IAsyncResult) (at
/home/andrews/monobuild/mcs/class/System.Web/System.Web/HttpApplication.
cs:1116)
in System.Web.HttpRuntime:RealProcessRequest (object) (at
/home/andrews/monobuild/mcs/class/System.Web/System.Web/HttpRuntime.cs:2
66)
in System.Web.HttpRuntime:ProcessRequest (System.Web.HttpWorkerRequest)
(at
/home/andrews/monobuild/mcs/class/System.Web/System.Web/HttpRuntime.cs:2
92)
in NunitWeb.MyHost:DoRun (string,System.Delegate,object) (at
/home/andrews/monobuild/mcs/class/System.Web/Test/mainsoft/NunitWeb/Nuni
tWeb/MyHost.cs:41)
in (wrapper remoting-invoke-with-check) NunitWeb.MyHost:DoRun
(string,System.Delegate,object) <0xffffe98c>
in (wrapper xdomain-dispatch) NunitWeb.MyHost:DoRun
(object,byte[]&,byte[]&,string) <0x1ed6c>
in (wrapper xdomain-invoke) NunitWeb.MyHost:DoRun
(string,System.Delegate,object) <0xb63f22ec>
in (wrapper managed-to-native)
System.Reflection.MonoMethod:InternalInvoke (object,object[])
<0xb6dd3004>
in (wrapper xdomain-dispatch) NUnit.Core.RemoteTestRunner:Run
(object,byte[]&,byte[]&) <0xb6730f34>
in (wrapper xdomain-invoke) NUnit.Core.RemoteTestRunner:Run
(NUnit.Core.EventListener) <0x4>
in (wrapper xdomain-invoke) NUnit.Core.RemoteTestRunner:Run
(NUnit.Core.EventListener) <0x919b>
in NUnit.Util.TestDomain:Run (NUnit.Core.EventListener) <0x83>
in NUnit.Console.ConsoleUi:Execute (NUnit.Util.ConsoleOptions) <0x3d4>
in NUnit.Console.ConsoleUi:Main (string[]) <0x127>
in (wrapper runtime-invoke) System.Object:runtime_invoke_int_string[]
(object,intptr,intptr,intptr) <0x50b6a957>

"" tid=0x0xb63babb0 this=0x0x4e2240:
in (wrapper managed-to-native)
System.Threading.WaitHandle:WaitOne_internal (intptr,int,bool) <0x4>
in (wrapper managed-to-native)
System.Threading.WaitHandle:WaitOne_internal (intptr,int,bool)
<0xffdcd8bc>
in System.Threading.WaitHandle:WaitOne (int,bool) (at
/home/andrews/monobuild/mcs/class/corlib/System.Threading/WaitHandle.cs:
186)
in Runner:Start () (at
/home/andrews/monobuild/mcs/class/corlib/System.Threading/Timer.cs:142)
in (wrapper delegate-invoke) System.MulticastDelegate:invoke_void ()
<0x3fc48>
in (wrapper runtime-invoke) System.Object:runtime_invoke_void
(object,intptr,intptr,intptr) <0x51d1f757>

"" tid=0x0xb619abb0 this=0x0x4e2180:
in (wrapper managed-to-native) System.Threading.Thread:Sleep_internal
(int) <0x4>
in (wrapper managed-to-native) System.Threading.Thread:Sleep_internal
(int) <0xffffffae>
in System.Threading.Thread:Sleep (int) (at
/home/andrews/monobuild/mcs/class/corlib/System.Threading/Thread.cs:279)
in System.IO.FAMWatcher:Monitor () (at
/home/andrews/monobuild/mcs/class/System/System.IO/FAMWatcher.cs:250)
in (wrapper delegate-invoke) System.MulticastDelegate:invoke_void ()
<0x3fc48>
in (wrapper runtime-invoke) System.Object:runtime_invoke_void
(object,intptr,intptr,intptr) <0x51d1f757>

> 
> Hello Miguel,
>  
> Thank you for your response. I forgot to mention that I used 
> cygwin to run mono, if that matters. When I sent QUIT to the 
> Mono process, it terminated, with message about core dump, 
> but core dump was not created. I did not manage to try it on 
> Linux today, I'll try to do that on Sunday.
>  
> Also I was not clear enough about the Sleep work around. With 
> sleep, there is no hang problem, when I said that 'some tests 
> still fail', I meant that they did not pass some assert. So 
> right now hang problem does not block my work.
>  
> Andrew.
> 
> ________________________________
> 
> From: Miguel de Icaza [mailto:miguel at ximian.com]
> Sent: Wed 5/17/2006 4:14 PM
> To: Andrew Skiba
> Cc: mono-devel-list at lists.ximian.com
> Subject: Re: [Mono-dev] new test framework works on dotnet
> 
> 
> 
> Hello,
> 
> > Some tests pass on Mono, but some of them need more effort. 
> Sometimes 
> > mono vm stucks, I worked around that by adding Sleep at the 
> beginning 
> > of each test. Some tests still fail.
> 
> Mhm, very strange.
> 
> Could you send a QUIT signal to the Mono process when it 
> hangs?  This will help pinpoint.
> 
> > I added a custom target run-nunitweb-ondotnet and 
> run-nunitweb-onmono 
> > to the makefile to run only the tests which use the new framework.
> >
> > So I'm looking for the help to make them all pass on mono, 
> so we can 
> > run them as a part of a build.
> >
> > Andrew.
> > _______________________________________________
> > Mono-devel-list mailing list
> > Mono-devel-list at lists.ximian.com
> > http://lists.ximian.com/mailman/listinfo/mono-devel-list
> --
> Miguel de Icaza <miguel at ximian.com>
> 
> 
> 



More information about the Mono-devel-list mailing list