There are a couple of recent commits which cause problems for some thread-related things in mono/tests. At least they do on power. I did a refresh (fetch/rebase) from mono/master just before I tried things a few minutes ago so no later commits fixed the problems.

The commits causing grief appear to be these:

commit 7aae649458bceb4375b74f078c4f24ddd4a486f5
Merge: e6ad2dc e5e97ea
Author: Rodrigo Kumpera <kump...@gmail.com>
Date: Tue Oct 6 10:40:47 2015 -0400

Merge pull request #2060 from ludovic-henry/socket-rework-async

[socket] Complete refactor of Begin/End and Async

commit e6ad2dc73b415e091c80a9912c66e86af1e7a761
Merge: 0056f1f 388b958
Author: Rodrigo Kumpera <kump...@gmail.com>
Date: Tue Oct 6 10:19:19 2015 -0400

Merge pull request #2110 from ludovic-henry/threadpool-exit-worker

[threadpool-ms] Exit worker thread after 5 to 60 seconds


Things worked fine with the commit previous to the above two which is this one:

commit 11096e3733b808a8bbfce262c256ec89887cac89
Author: Ludovic Henry <ludo...@xamarin.com>
Date: Tue Sep 15 11:21:55 2015 +0100


One symptom is tests that hang.  threadpool.cs is one example of that.

The other symptom is this failure:

seurer@genoa:~/mono-git/mono-checkin/mono/tests$ make runtest-managed-serial
Testing bug-2907.exe... passed.
Testing array-init.exe... passed.
Testing arraylist.exe...
Unhandled Exception:
System.NullReferenceException: Object reference not set to an instance of an object at TestRunner+<Main>c__AnonStorey0.<>m__1 (System.Object sender, System.Diagnostics.DataReceivedEventArgs e) [0x00066] in /home/seurer/mono-git/mono-checkin/mono/tests/test-runner.cs:286 at System.Diagnostics.Process.OnOutputDataReceived (System.String str) [0x0000d] in /home/seurer/mono-git/mono-checkin/mcs/class/System/System.Diagnostics/Process.cs:1294 at (wrapper remoting-invoke-with-check) System.Diagnostics.Process:OnOutputDataReceived (string) at System.Diagnostics.Process+ProcessAsyncReader.AddInput () [0x00058] in /home/seurer/mono-git/mono-checkin/mcs/class/System/System.Diagnostics/Process.cs:1354 at System.Diagnostics.Process+ProcessAsyncReader.<BeginRead>m__0 (System.IOAsyncResult _) [0x00000] in /home/seurer/mono-git/mono-checkin/mcs/class/System/System.Diagnostics/Process.cs:1335 at System.IOSelectorJob.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem () [0x00000] in /home/seurer/mono-git/mono-checkin/mcs/class/System/System/IOSelector.cs:143 at System.Threading.ThreadPoolWorkQueue.Dispatch () [0x00096] in /home/seurer/mono-git/mono-checkin/external/referencesource/mscorlib/system/threading/threadpool.cs:859 at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback () [0x00000] in /home/seurer/mono-git/mono-checkin/external/referencesource/mscorlib/system/threading/threadpool.cs:1196

Unhandled Exception:
System.NullReferenceException: Object reference not set to an instance of an object at TestRunner+<Main>c__AnonStorey0.<>m__2 (System.Object sender, System.Diagnostics.DataReceivedEventArgs e) [0x00066] in /home/seurer/mono-git/mono-checkin/mono/tests/test-runner.cs:307 at System.Diagnostics.Process.OnErrorDataReceived (System.String str) [0x0000d] in /home/seurer/mono-git/mono-checkin/mcs/class/System/System.Diagnostics/Process.cs:1301 at (wrapper remoting-invoke-with-check) System.Diagnostics.Process:OnErrorDataReceived (string) at System.Diagnostics.Process+ProcessAsyncReader.AddInput () [0x00069] in /home/seurer/mono-git/mono-checkin/mcs/class/System/System.Diagnostics/Process.cs:1356 at System.Diagnostics.Process+ProcessAsyncReader.<BeginRead>m__0 (System.IOAsyncResult _) [0x00000] in /home/seurer/mono-git/mono-checkin/mcs/class/System/System.Diagnostics/Process.cs:1335 at System.IOSelectorJob.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem () [0x00000] in /home/seurer/mono-git/mono-checkin/mcs/class/System/System/IOSelector.cs:143 at System.Threading.ThreadPoolWorkQueue.Dispatch () [0x00096] in /home/seurer/mono-git/mono-checkin/external/referencesource/mscorlib/system/threading/threadpool.cs:859 at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback () [0x00000] in /home/seurer/mono-git/mono-checkin/external/referencesource/mscorlib/system/threading/threadpool.cs:1196
make: *** [runtest-managed-serial] Error 255

--

-Bill Seurer

_______________________________________________
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list

Reply via email to