{"action":"created","issue":{"url":"https://api.github.com/repos/dotnet/corefx/issues/4076","labels_url":"https://api.github.com/repos/dotnet/corefx/issues/4076/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/corefx/issues/4076/comments","events_url":"https://api.github.com/repos/dotnet/corefx/issues/4076/events","html_url":"https://github.com/dotnet/corefx/issues/4076","id":112841580,"number":4076,"title":"[RC1 blocker] Access violation while running System.Collections.Tests in CI on Linux","user":{"login":"stephentoub","id":2642209,"avatar_url":"https://avatars.githubusercontent.com/u/2642209?v=3","gravatar_id":"","url":"https://api.github.com/users/stephentoub","html_url":"https://github.com/stephentoub","followers_url":"https://api.github.com/users/stephentoub/followers","following_url":"https://api.github.com/users/stephentoub/following{/other_user}","gists_url":"https://api.github.com/users/stephentoub/gists{/gist_id}","starred_url":"https://api.github.com/users/stephentoub/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stephentoub/subscriptions","organizations_url":"https://api.github.com/users/stephentoub/orgs","repos_url":"https://api.github.com/users/stephentoub/repos","events_url":"https://api.github.com/users/stephentoub/events{/privacy}","received_events_url":"https://api.github.com/users/stephentoub/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dotnet/corefx/labels/bug","name":"bug","color":"207de5"},{"url":"https://api.github.com/repos/dotnet/corefx/labels/System.Collections","name":"System.Collections","color":"d4c5f9"}],"state":"closed","locked":false,"assignee":{"login":"ellismg","id":9602953,"avatar_url":"https://avatars.githubusercontent.com/u/9602953?v=3","gravatar_id":"","url":"https://api.github.com/users/ellismg","html_url":"https://github.com/ellismg","followers_url":"https://api.github.com/users/ellismg/followers","following_url":"https://api.github.com/users/ellismg/following{/other_user}","gists_url":"https://api.github.com/users/ellismg/gists{/gist_id}","starred_url":"https://api.github.com/users/ellismg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ellismg/subscriptions","organizations_url":"https://api.github.com/users/ellismg/orgs","repos_url":"https://api.github.com/users/ellismg/repos","events_url":"https://api.github.com/users/ellismg/events{/privacy}","received_events_url":"https://api.github.com/users/ellismg/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/dotnet/corefx/milestones/3","html_url":"https://github.com/dotnet/corefx/milestones/1.0.0-rc1","labels_url":"https://api.github.com/repos/dotnet/corefx/milestones/3/labels","id":1248712,"number":3,"title":"1.0.0-rc1","description":"Nov 2015 (https://github.com/aspnet/Home/wiki/Roadmap)\r\n","creator":{"login":"joshfree","id":1302850,"avatar_url":"https://avatars.githubusercontent.com/u/1302850?v=3","gravatar_id":"","url":"https://api.github.com/users/joshfree","html_url":"https://github.com/joshfree","followers_url":"https://api.github.com/users/joshfree/followers","following_url":"https://api.github.com/users/joshfree/following{/other_user}","gists_url":"https://api.github.com/users/joshfree/gists{/gist_id}","starred_url":"https://api.github.com/users/joshfree/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joshfree/subscriptions","organizations_url":"https://api.github.com/users/joshfree/orgs","repos_url":"https://api.github.com/users/joshfree/repos","events_url":"https://api.github.com/users/joshfree/events{/privacy}","received_events_url":"https://api.github.com/users/joshfree/received_events","type":"User","site_admin":false},"open_issues":6,"closed_issues":163,"state":"open","created_at":"2015-08-10T18:00:33Z","updated_at":"2015-10-30T00:21:00Z","due_on":"2015-11-18T08:00:00Z","closed_at":null},"comments":2,"created_at":"2015-10-22T16:30:53Z","updated_at":"2015-10-30T00:21:00Z","closed_at":"2015-10-30T00:21:00Z","body":"http://dotnet-ci.cloudapp.net/job/dotnet_corefx_linux_debug_tst_prtest/3747/consoleFull\r\n```\r\n08:32:50 Unhandled Exception: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.\r\n08:32:50    at System.Collections.Generic.HashSet`1.System.Collections.Generic.IEnumerable<T>.GetEnumerator()\r\n08:32:50    at Xunit.Assert.Contains[T](T expected, IEnumerable`1 collection, IEqualityComparer`1 comparer)\r\n08:32:50    at Tests.HashSet_HashSetTestSupport.HashSetTestSupport`1.<>c__DisplayClass2.<VerifyHashSet>b__1(T item)\r\n08:32:50    at Xunit.Assert.All[T](IEnumerable`1 collection, Action`1 action)\r\n08:32:50    at Tests.HashSet_HashSetTestSupport.HashSetTestSupport`1.VerifyHashSet(HashSet`1 set, ICollection`1 contents, IEqualityComparer`1 comparerToUse)\r\n08:32:50    at Tests.HashSet_TrimExcessTests.TrimExcess_Test6()\r\n08:32:50    at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)\r\n08:32:50    at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)\r\n08:32:50    at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)\r\n08:32:50    at Xunit.Sdk.TestInvoker`1.CallTestMethod(Object testClassInstance)\r\n08:32:50    at Xunit.Sdk.TestInvoker`1.<>c__DisplayClass46_1.<<InvokeTestMethodAsync>b__1>d.MoveNext()\r\n08:32:50    at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start[TStateMachine](TStateMachine& stateMachine)\r\n08:32:50    at Xunit.Sdk.TestInvoker`1.<>c__DisplayClass46_1.<InvokeTestMethodAsync>b__1()\r\n08:32:50    at Xunit.Sdk.ExecutionTimer.<AggregateAsync>d__4.MoveNext()\r\n08:32:50    at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start[TStateMachine](TStateMachine& stateMachine)\r\n08:32:50    at Xunit.Sdk.ExecutionTimer.AggregateAsync(Func`1 asyncAction)\r\n08:32:50    at Xunit.Sdk.ExceptionAggregator.<RunAsync>d__9.MoveNext()\r\n08:32:50    at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start[TStateMachine](TStateMachine& stateMachine)\r\n08:32:50    at Xunit.Sdk.ExceptionAggregator.RunAsync(Func`1 code)\r\n08:32:50    at Xunit.Sdk.TestInvoker`1.<InvokeTestMethodAsync>d__46.MoveNext()\r\n08:32:50    at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.Start[TStateMachine](TStateMachine& stateMachine)\r\n08:32:50    at Xunit.Sdk.TestInvoker`1.InvokeTestMethodAsync(Object testClassInstance)\r\n08:32:50    at Xunit.Sdk.TestInvoker`1.<<RunAsync>b__45_0>d.MoveNext()\r\n08:32:50    at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.Start[TStateMachine](TStateMachine& stateMachine)\r\n08:32:50    at Xunit.Sdk.TestInvoker`1.<RunAsync>b__45_0()\r\n08:32:50    at Xunit.Sdk.ExceptionAggregator.<RunAsync>d__10`1.MoveNext()\r\n08:32:50    at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.Start[TStateMachine](TStateMachine& stateMachine)\r\n08:32:50    at Xunit.Sdk.ExceptionAggregator.RunAsync[T](Func`1 code)\r\n08:32:50    at Xunit.Sdk.XunitTestRunner.<InvokeTestAsync>d__4.MoveNext()\r\n08:32:50    at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.Start[TStateMachine](TStateMachine& stateMachine)\r\n08:32:50    at Xunit.Sdk.XunitTestRunner.InvokeTestAsync(ExceptionAggregator aggregator)\r\n08:32:50    at Xunit.Sdk.ExceptionAggregator.<RunAsync>d__10`1.MoveNext()\r\n08:32:50    at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.Start[TStateMachine](TStateMachine& stateMachine)\r\n08:32:50    at Xunit.Sdk.ExceptionAggregator.RunAsync[T](Func`1 code)\r\n08:32:50    at Xunit.Sdk.TestRunner`1.<RunAsync>d__43.MoveNext()\r\n08:32:50    at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.Start[TStateMachine](TStateMachine& stateMachine)\r\n08:32:50    at Xunit.Sdk.TestRunner`1.RunAsync()\r\n08:32:50    at Xunit.Sdk.TestCaseRunner`1.<RunAsync>d__19.MoveNext()\r\n08:32:50    at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.Start[TStateMachine](TStateMachine& stateMachine)\r\n08:32:50    at Xunit.Sdk.TestCaseRunner`1.RunAsync()\r\n08:32:50    at Xunit.Sdk.TestMethodRunner`1.<RunTestCasesAsync>d__32.MoveNext()\r\n08:32:50    at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.Start[TStateMachine](TStateMachine& stateMachine)\r\n08:32:50    at Xunit.Sdk.TestMethodRunner`1.RunTestCasesAsync()\r\n08:32:50    at Xunit.Sdk.TestMethodRunner`1.<RunAsync>d__31.MoveNext()\r\n08:32:50    at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.Start[TStateMachine](TStateMachine& stateMachine)\r\n08:32:50    at Xunit.Sdk.TestMethodRunner`1.RunAsync()\r\n08:32:50    at Xunit.Sdk.TestClassRunner`1.<RunTestMethodsAsync>d__38.MoveNext()\r\n08:32:50    at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.Start[TStateMachine](TStateMachine& stateMachine)\r\n08:32:50    at Xunit.Sdk.TestClassRunner`1.RunTestMethodsAsync()\r\n08:32:50    at Xunit.Sdk.TestClassRunner`1.<RunAsync>d__37.MoveNext()\r\n08:32:50    at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.Start[TStateMachine](TStateMachine& stateMachine)\r\n08:32:50    at Xunit.Sdk.TestClassRunner`1.RunAsync()\r\n08:32:50    at Xunit.Sdk.TestCollectionRunner`1.<RunTestClassesAsync>d__28.MoveNext()\r\n08:32:50    at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.Start[TStateMachine](TStateMachine& stateMachine)\r\n08:32:50    at Xunit.Sdk.TestCollectionRunner`1.RunTestClassesAsync()\r\n08:32:50    at Xunit.Sdk.TestCollectionRunner`1.<RunAsync>d__27.MoveNext()\r\n08:32:50    at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.Start[TStateMachine](TStateMachine& stateMachine)\r\n08:32:50    at Xunit.Sdk.TestCollectionRunner`1.RunAsync()\r\n08:32:50    at System.Threading.Tasks.Task`1.InnerInvoke()\r\n08:32:50    at System.Threading.Tasks.Task.Execute()\r\n08:32:50    at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)\r\n08:32:50    --- End of inner exception stack trace ---\r\n08:32:50    at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)\r\n08:32:50    at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)\r\n08:32:50    at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)\r\n08:32:50    at Xunit.Sdk.TestInvoker`1.CallTestMethod(Object testClassInstance)\r\n08:32:50    at Xunit.Sdk.TestInvoker`1.<>c__DisplayClass46_1.<<InvokeTestMethodAsync>b__1>d.MoveNext()\r\n08:32:50    at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start[TStateMachine](TStateMachine& stateMachine)\r\n08:32:50    at Xunit.Sdk.TestInvoker`1.<>c__DisplayClass46_1.<InvokeTestMethodAsync>b__1()\r\n08:32:50    at Xunit.Sdk.ExecutionTimer.<AggregateAsync>d__4.MoveNext()\r\n08:32:50    at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start[TStateMachine](TStateMachine& stateMachine)\r\n08:32:50    at Xunit.Sdk.ExecutionTimer.AggregateAsync(Func`1 asyncAction)\r\n08:32:50    at Xunit.Sdk.ExceptionAggregator.<RunAsync>d__9.MoveNext()\r\n08:32:50    at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start[TStateMachine](TStateMachine& stateMachine)\r\n08:32:50    at Xunit.Sdk.ExceptionAggregator.RunAsync(Func`1 code)\r\n08:32:50    at Xunit.Sdk.TestInvoker`1.<InvokeTestMethodAsync>d__46.MoveNext()\r\n08:32:50    at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.Start[TStateMachine](TStateMachine& stateMachine)\r\n08:32:50    at Xunit.Sdk.TestInvoker`1.InvokeTestMethodAsync(Object testClassInstance)\r\n08:32:50    at Xunit.Sdk.TestInvoker`1.<<RunAsync>b__45_0>d.MoveNext()\r\n08:32:50    at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.Start[TStateMachine](TStateMachine& stateMachine)\r\n08:32:50    at Xunit.Sdk.TestInvoker`1.<RunAsync>b__45_0()\r\n08:32:50    at Xunit.Sdk.ExceptionAggregator.<RunAsync>d__10`1.MoveNext()\r\n08:32:50    at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.Start[TStateMachine](TStateMachine& stateMachine)\r\n08:32:50    at Xunit.Sdk.ExceptionAggregator.RunAsync[T](Func`1 code)\r\n08:32:50    at Xunit.Sdk.XunitTestRunner.<InvokeTestAsync>d__4.MoveNext()\r\n08:32:50    at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.Start[TStateMachine](TStateMachine& stateMachine)\r\n08:32:50    at Xunit.Sdk.XunitTestRunner.InvokeTestAsync(ExceptionAggregator aggregator)\r\n08:32:50    at Xunit.Sdk.ExceptionAggregator.<RunAsync>d__10`1.MoveNext()\r\n08:32:50    at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.Start[TStateMachine](TStateMachine& stateMachine)\r\n08:32:50    at Xunit.Sdk.ExceptionAggregator.RunAsync[T](Func`1 code)\r\n08:32:50    at Xunit.Sdk.TestRunner`1.<RunAsync>d__43.MoveNext()\r\n08:32:50    at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.Start[TStateMachine](TStateMachine& stateMachine)\r\n08:32:50    at Xunit.Sdk.TestRunner`1.RunAsync()\r\n08:32:50    at Xunit.Sdk.TestCaseRunner`1.<RunAsync>d__19.MoveNext()\r\n08:32:50    at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.Start[TStateMachine](TStateMachine& stateMachine)\r\n08:32:50    at Xunit.Sdk.TestCaseRunner`1.RunAsync()\r\n08:32:50    at Xunit.Sdk.TestMethodRunner`1.<RunTestCasesAsync>d__32.MoveNext()\r\n08:32:50    at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.Start[TStateMachine](TStateMachine& stateMachine)\r\n08:32:50    at Xunit.Sdk.TestMethodRunner`1.RunTestCasesAsync()\r\n08:32:50    at Xunit.Sdk.TestMethodRunner`1.<RunAsync>d__31.MoveNext()\r\n08:32:50    at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.Start[TStateMachine](TStateMachine& stateMachine)\r\n08:32:50    at Xunit.Sdk.TestMethodRunner`1.RunAsync()\r\n08:32:50    at Xunit.Sdk.TestClassRunner`1.<RunTestMethodsAsync>d__38.MoveNext()\r\n08:32:50    at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.Start[TStateMachine](TStateMachine& stateMachine)\r\n08:32:50    at Xunit.Sdk.TestClassRunner`1.RunTestMethodsAsync()\r\n08:32:50    at Xunit.Sdk.TestClassRunner`1.<RunAsync>d__37.MoveNext()\r\n08:32:50    at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.Start[TStateMachine](TStateMachine& stateMachine)\r\n08:32:50    at Xunit.Sdk.TestClassRunner`1.RunAsync()\r\n08:32:50    at Xunit.Sdk.TestCollectionRunner`1.<RunTestClassesAsync>d__28.MoveNext()\r\n08:32:50    at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.Start[TStateMachine](TStateMachine& stateMachine)\r\n08:32:50    at Xunit.Sdk.TestCollectionRunner`1.RunTestClassesAsync()\r\n08:32:50    at Xunit.Sdk.TestCollectionRunner`1.<RunAsync>d__27.MoveNext()\r\n08:32:50    at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.Start[TStateMachine](TStateMachine& stateMachine)\r\n08:32:50    at Xunit.Sdk.TestCollectionRunner`1.RunAsync()\r\n08:32:50    at System.Threading.Tasks.Task`1.InnerInvoke()\r\n08:32:50    at System.Threading.Tasks.Task.Execute()\r\n08:32:50    at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)\r\n08:32:50    at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot)\r\n08:32:50    at System.Threading.Tasks.Task.ExecuteEntry(Boolean bPreventDoubleExecution)\r\n08:32:50    at Xunit.Sdk.MaxConcurrencySyncContext.RunOnSyncContext(SendOrPostCallback callback, Object state)\r\n08:32:50    at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)\r\n08:32:50    at Xunit.Sdk.MaxConcurrencySyncContext.WorkerThreadProc()\r\n08:32:50    at Xunit.Sdk.XunitWorkerThread.<>c.<QueueUserWorkItem>b__5_0(Object _)\r\n08:32:50    at System.Threading.Tasks.Task.Execute()\r\n08:32:50    at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)\r\n08:32:50    at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot)\r\n08:32:50    at System.Threading.Tasks.Task.ExecuteEntry(Boolean bPreventDoubleExecution)\r\n08:32:50    at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)\r\n08:32:50 ./run-test.sh: line 130: 32445 Aborted                 (core dumped) ./corerun xunit.console.netcore.exe $testDllName -xml testResults.xml -notrait category=failing -notrait category=OuterLoop -notrait category=$xunitOSCategory\r\n08:32:50 One or more tests failed while running tests from 'System.Collections.Tests'.  Exit code 134.\r\n```"},"comment":{"url":"https://api.github.com/repos/dotnet/corefx/issues/comments/152363442","html_url":"https://github.com/dotnet/corefx/issues/4076#issuecomment-152363442","issue_url":"https://api.github.com/repos/dotnet/corefx/issues/4076","id":152363442,"user":{"login":"ellismg","id":9602953,"avatar_url":"https://avatars.githubusercontent.com/u/9602953?v=3","gravatar_id":"","url":"https://api.github.com/users/ellismg","html_url":"https://github.com/ellismg","followers_url":"https://api.github.com/users/ellismg/followers","following_url":"https://api.github.com/users/ellismg/following{/other_user}","gists_url":"https://api.github.com/users/ellismg/gists{/gist_id}","starred_url":"https://api.github.com/users/ellismg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ellismg/subscriptions","organizations_url":"https://api.github.com/users/ellismg/orgs","repos_url":"https://api.github.com/users/ellismg/repos","events_url":"https://api.github.com/users/ellismg/events{/privacy}","received_events_url":"https://api.github.com/users/ellismg/received_events","type":"User","site_admin":false},"created_at":"2015-10-30T00:21:00Z","updated_at":"2015-10-30T00:21:00Z","body":"I've been unable to reproduce this locally and I don't think we've seen it in CI recently.  I'm wondering if it was addressed by one of the recent runtime or JIT fixes.  Closing for now."}}