Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VSMac hang while typing from hybrid suspend #11166

Closed
Therzok opened this issue Oct 15, 2018 · 3 comments
Closed

VSMac hang while typing from hybrid suspend #11166

Therzok opened this issue Oct 15, 2018 · 3 comments

Comments

@Therzok
Copy link
Contributor

Therzok commented Oct 15, 2018

Steps to Reproduce

  1. I don't have any good steps, usually happens on solution load, but this time it happened while typing.

Current Behavior

Hang

Expected Behavior

Typing doesn't hang

On which platforms did you notice this

[*] macOS
[ ] Linux
[ ] Windows

Version Used:

Mono JIT compiler version 5.18.0.125 (2018-08/8b099949ad1 Wed Oct 3 05:53:44 EDT 2018)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com

Stacktrace


STATE CUE CARD: (? means a positive number, usually 1 or 2, * means any number)
	0x0	- starting (GOOD, unless the thread is running managed code)
	0x1	- detached (GOOD, unless the thread is running managed code)
	0x2	- running (BAD, unless it's the gc thread)
	0x?03	- async suspended (GOOD)
	0x?04	- self suspended (GOOD)
	0x?05	- async suspend requested (BAD)
	0x6	- blocking (BAD, unless there's no suspend initiator)
	0x?07	- blocking async suspended (GOOD)
	0x?08	- blocking self suspended (GOOD)
	0x?09	- blocking suspend requested (BAD in coop; GOOD in hybrid)
--thread 0x7fd1ae012600 id 0x111bab5c0 [0x307] (GUI Thread) state 105  
--thread 0x7fd1ae804a00 id 0x700005153000 [0x2e03] (Finalizer) state 109  
--thread 0x7fd1af9f2200 id 0x700005356000 [0x3003] (Timer-Scheduler) state 108  
--thread 0x7fd1b440fe00 id 0x700005559000 [0x4c07] (tid_4c07) state 108  
--thread 0x7fd1b0803e00 id 0x70000575c000 [0x3403] (Thread Pool Worker) state 108  
--thread 0x7fd1aea18000 id 0x70000595f000 [0x4a03] (Thread Pool Worker) state 109  
--thread 0x7fd1ae245e00 id 0x700005b62000 [0x4903] (Thread Pool Worker) state 109  
--thread 0x7fd1b2003400 id 0x700005d65000 [0x4603] (Thread Pool Worker) state 109  
--thread 0x7fd1b0809000 id 0x700005f68000 [0x390b] (Thread Pool Worker) state 109  
--thread 0x7fd1ae273600 id 0x70000616b000 [0x4003] (Thread Pool Worker) state 109  
--thread 0x7fd1ae276a00 id 0x70000636e000 [0x3e03] (Thread Pool Worker) state 109  
--thread 0x7fd1b022d000 id 0x700006571000 [0xa603] (Thread Pool I/O Selector) state 6  
--thread 0x7fd1b2012200 id 0x700006774000 [0x5903] (Thread Pool Worker) state 109  
--thread 0x7fd1aec9e600 id 0x700006977000 [0x9d03] (Thread Pool Worker) state 109  
--thread 0x7fd1b1000000 id 0x700006d03000 [0x7603] (Thread Pool Worker) state 109  
--thread 0x7fd1b2038000 id 0x700006f06000 [0x8203] (Thread Pool Worker) state 109  
--thread 0x7fd1afd42e00 id 0x700007109000 [0x7f03] (tid_7f03) state 109  
--thread 0x7fd1afd49c00 id 0x70000730c000 [0xac03] (tid_ac03) state 109  
--thread 0x7fd1b2022800 id 0x70000750f000 [0x15103] (tid_15103) state 108  
--thread 0x7fd1afd7d000 id 0x700007712000 [0xaf03] (tid_af03) state 108  
--thread 0x7fd1aee09a00 id 0x700007915000 [0x14e03] (tid_14e03) state 109  
--thread 0x7fd1aede9000 id 0x700007b18000 [0xb603] (tid_b603) state 109  
--thread 0x7fd1afc83600 id 0x700007d1b000 [0x14803] (tid_14803) state 108  
--thread 0x7fd1b41bbe00 id 0x7000080a7000 [0xd603] (Memory monitor) state 109  
--thread 0x7fd1b4227400 id 0x7000082aa000 [0xd803] (tid_d803) state 108  
--thread 0x7fd1b4981a00 id 0x7000084ad000 [0xd707] (NuGet background dispatcher) state 109  
--thread 0x7fd1b4068a00 id 0x7000087b6000 [0x1f403] (tid_1f403) state 109  
--thread 0x7fd1b868ae00 id 0x700008a3c000 [0x1981b] (tid_1981b) state 109  
--thread 0x7fd1b113e600 id 0x700008ccb000 [0x2853b] (Thread Pool Worker) state 109  
--thread 0x7fd1bd058800 id 0x700008ece000 [0x1d337] (Thread Pool Worker) state 109  
--thread 0x7fd1b2094200 id 0x700009166000 [0x18713] (Thread Pool Worker) state 109  
--thread 0x7fd1b1037c00 id 0x700009369000 [0x1d903] (Thread Pool Worker) state 109  
--thread 0x7fd1b4499600 id 0x70000956c000 [0x1e707] (Thread Pool Worker) state 109  
--thread 0x7fd1afc98200 id 0x70000976f000 [0xdd07] (tid_dd07) state 109  
--thread 0x7fd1b4c36400 id 0x700009972000 [0xce07] (tid_ce07) state 109  
--thread 0x7fd1b1834600 id 0x700009b75000 [0x28013] (Thread Pool Worker) state 109  
--thread 0x7fd1b7863a00 id 0x700009d78000 [0x1420b] (tid_1420b) state 109  
--thread 0x7fd1b8091600 id 0x700009f7b000 [0x1ee07] (tid_1ee07) state 109  
--thread 0x7fd1b9071600 id 0x70000a17e000 [0x1d70f] (tid_1d70f) state 109  
--thread 0x7fd1b9073800 id 0x70000a381000 [0x18a03] (tid_18a03) state 109  
--thread 0x7fd1b247ce00 id 0x70000a584000 [0x2311f] (Thread Pool Worker) state 109  
--thread 0x7fd1b5fa6600 id 0x70000a787000 [0x1c303] (tid_1c303) state 109  
--thread 0x7fd1b96f6200 id 0x70000a98a000 [0x1ac03] (tid_1ac03) state 109  
--thread 0x7fd1b9682400 id 0x70000ab8d000 [0x1b103] (tid_1b103) state 109  
--thread 0x7fd1b93f5e00 id 0x70000ad90000 [0x1b603] (tid_1b603) state 109  
--thread 0x7fd1b9635000 id 0x70000af93000 [0x2a803] (tid_2a803) state 109  
--thread 0x7fd1ba04de00 id 0x70000b196000 [0x2a203] (tid_2a203) state 109  
--thread 0x7fd1ba960400 id 0x70000b399000 [0x20c03] (tid_20c03) state 109  
--thread 0x7fd1ba0dd400 id 0x70000b59c000 [0x21003] (tid_21003) state 109  
--thread 0x7fd1a0966800 id 0x70000b79f000 [0x35257] (tid_35257) state 109  
--thread 0x7fd1ba34de00 id 0x70000b9a2000 [0x28f0f] (Thread Pool Worker) state 109  
--thread 0x7fd1b1da3400 id 0x70000bba5000 [0x8a23] (Thread Pool Worker) state 109  
--thread 0x7fd1ba414c00 id 0x70000bda8000 [0xd513] (Thread Pool Worker) state 109  
--thread 0x7fd1ba43da00 id 0x70000bfab000 [0xd0b] (Thread Pool Worker) state 109  
--thread 0x7fd1b226ea00 id 0x70000c1ae000 [0x280f] (Thread Pool Worker) state 109  
--thread 0x7fd1b1ab4600 id 0x70000c3b1000 [0x19f07] (Thread Pool Worker) state 109  
--thread 0x7fd1b1207a00 id 0x70000c5b4000 [0x1c50f] (Thread Pool Worker) state 109  
--thread 0x7fd1b0b92a00 id 0x70000c7b7000 [0x27507] (Thread Pool Worker) state 109  
--thread 0x7fd1ba9e8e00 id 0x70000c9ba000 [0x23b03] (Thread Pool Worker) state 109  
--thread 0x7fd1b51f8000 id 0x70000cbbd000 [0x23707] (Thread Pool Worker) state 109  
--thread 0x7fd1b0ba8a00 id 0x70000cdc0000 [0x1ce0b] (Thread Pool Worker) state 2  GC INITIATOR
--thread 0x7fd1b14d1a00 id 0x70000cfc3000 [0x29127] (Thread Pool Worker) state 109  
--thread 0x7fd1b20c5c00 id 0x70000d1c6000 [0x28b17] (Thread Pool Worker) state 109  
--thread 0x7fd1b9065c00 id 0x70000d3c9000 [0x22213] (Thread Pool Worker) state 109  
--thread 0x7fd1b154ca00 id 0x70000d5cc000 [0x28617] (Thread Pool Worker) state 109  
--thread 0x7fd1b1da2c00 id 0x70000d7cf000 [0x27f07] (Thread Pool Worker) state 109  
--thread 0x7fd1b121ae00 id 0x70000d9d2000 [0x2820b] (Thread Pool Worker) state 109  
--thread 0x7fd1b1ac8e00 id 0x70000dbd5000 [0x1fc0f] (Thread Pool Worker) state 109  
--thread 0x7fd1b1e45600 id 0x70000ddd8000 [0x2890b] (Thread Pool Worker) state 109  
--thread 0x7fd1b1db5a00 id 0x70000dfdb000 [0x28a13] (Thread Pool Worker) state 109  
--thread 0x7fd1b258c000 id 0x70000e1de000 [0x1570f] (Thread Pool Worker) state 109  
--thread 0x7fd1b15fa800 id 0x70000e3e1000 [0x28e33] (Thread Pool Worker) state 109  
--thread 0x7fd1b25c4c00 id 0x70000e5e4000 [0x27607] (Thread Pool Worker) state 109  
--thread 0x7fd1b0d5b600 id 0x70000e7e7000 [0x23f03] (Thread Pool Worker) state 109  
--thread 0x7fd19f204200 id 0x70000e9ea000 [0x24203] (Thread Pool Worker) state 109  
--thread 0x7fd1b1eab000 id 0x70000ebed000 [0x24403] (Thread Pool Worker) state 109  
--thread 0x7fd1b278d800 id 0x70000edf0000 [0x27103] (Thread Pool Worker) state 109  
--thread 0x7fd1b82fa800 id 0x70000eff3000 [0x26e03] (tid_26e03) state 109  
--thread 0x7fd1b27f3200 id 0x70000f1f6000 [0x24b9f] (Thread Pool Worker) state 109  
--thread 0x7fd19fe6a600 id 0x70000f3f9000 [0x24f73] (Thread Pool Worker) state 109  
--thread 0x7fd1b1744600 id 0x70000f5fc000 [0x25003] (Thread Pool Worker) state 109  
--thread 0x7fd19eeadc00 id 0x70000f7ff000 [0x26703] (Thread Pool Worker) state 109  
--thread 0x7fd1b1fac200 id 0x70000fa02000 [0x26403] (Thread Pool Worker) state 109  
--thread 0x7fd19ed51800 id 0x70000fc05000 [0x25303] (Thread Pool Worker) state 109  
--thread 0x7fd1b1744e00 id 0x70000fe08000 [0x25403] (Thread Pool Worker) state 109  
--thread 0x7fd1b0fd0600 id 0x70001000b000 [0x25603] (Thread Pool Worker) state 109  
--thread 0x7fd1a2a89c00 id 0x70001020e000 [0x257d3] (Thread Pool Worker) state 104  
--thread 0x7fd1b8662400 id 0x700010411000 [0x354ef] (Thread Pool Worker) state 109  
--thread 0x7fd1a2049400 id 0x700010614000 [0x25d47] (Thread Pool Worker) state 109  
--thread 0x7fd1a391f200 id 0x700010817000 [0x2ae03] (Thread Pool Worker) state 109  
--thread 0x7fd1b14d8c00 id 0x700010a1a000 [0x2b003] (Thread Pool Worker) state 109  
--thread 0x7fd1b97c1a00 id 0x700010c1d000 [0x2b203] (Thread Pool Worker) state 109  
--thread 0x7fd1b1769a00 id 0x700010e20000 [0x2b403] (Thread Pool Worker) state 109  
--thread 0x7fd1b27bd400 id 0x700011023000 [0x34c03] (Thread Pool Worker) state 109  
--thread 0x7fd1b14e4800 id 0x700011226000 [0x2b603] (Thread Pool Worker) state 109  
--thread 0x7fd19f7ed200 id 0x700011429000 [0x34903] (Thread Pool Worker) state 109  
--thread 0x7fd19fea8600 id 0x70001162c000 [0x2b803] (Thread Pool Worker) state 109  
--thread 0x7fd1a0e1d200 id 0x70001182f000 [0x34503] (Thread Pool Worker) state 109  
--thread 0x7fd1b0e11c00 id 0x700011a32000 [0x2bb03] (Thread Pool Worker) state 109  
--thread 0x7fd19f742200 id 0x700011c35000 [0x2bd03] (Thread Pool Worker) state 109  
--thread 0x7fd19fccd600 id 0x700011e38000 [0x2bf03] (Thread Pool Worker) state 109  
--thread 0x7fd19f704800 id 0x70001203b000 [0x34003] (Thread Pool Worker) state 109  
--thread 0x7fd19f195a00 id 0x70001223e000 [0x33f03] (Thread Pool Worker) state 109  
--thread 0x7fd19eaa6600 id 0x700012441000 [0x33803] (tid_33803) state 109  
--thread 0x7fd1bbb4bc00 id 0x700012644000 [0x2d103] (tid_2d103) state 109  
--thread 0x7fd1aebae000 id 0x700012847000 [0x32b0f] (tid_32b0f) state 109  
--thread 0x7fd1b5130200 id 0x700012a4a000 [0x32503] (tid_32503) state 109  
WAITING for 2 threads, got 1 suspended
2018-10-15 14:23:09.270 VisualStudio[6026:236628] error: suspend_thread suspend took 5001 ms, which is more than the allowed 5000 ms
Stacktrace:

  at <unknown> <0xffffffff>
  at (wrapper managed-to-native) object.__icall_wrapper_mono_gc_alloc_vector (intptr,intptr,intptr) [0x00009] in <77964a01f9fb4f0791b1574e099e997d>:0
  at (wrapper alloc) object.AllocVector (intptr,intptr) [0x000bf] in <77964a01f9fb4f0791b1574e099e997d>:0
  at Mono.AppleTls.AppleTlsContext.NativeReadCallback (intptr,intptr&) [0x00026] in /Users/builder/jenkins/workspace/build-package-osx-mono/2018-08/external/bockbuild/builds/mono-x64/mcs/class/System/Mono.AppleTls/AppleTlsContext.cs:811
  at Mono.AppleTls.AppleTlsContext.NativeReadCallback (intptr,intptr,intptr&) [0x0003a] in /Users/builder/jenkins/workspace/build-package-osx-mono/2018-08/external/bockbuild/builds/mono-x64/mcs/class/System/Mono.AppleTls/AppleTlsContext.cs:776
  at (wrapper native-to-managed) Mono.AppleTls.AppleTlsContext.NativeReadCallback (intptr,intptr,intptr&) [0x0002d] in <c7c4087495e34fc2a4c29c486075732e>:0
  at <unknown> <0xffffffff>
  at (wrapper managed-to-native) Mono.AppleTls.AppleTlsContext.SSLRead (intptr,byte*,intptr,intptr&) [0x00016] in <c7c4087495e34fc2a4c29c486075732e>:0
  at Mono.AppleTls.AppleTlsContext.Read (byte[],int,int) [0x00029] in /Users/builder/jenkins/workspace/build-package-osx-mono/2018-08/external/bockbuild/builds/mono-x64/mcs/class/System/Mono.AppleTls/AppleTlsContext.cs:874
  at Mono.Net.Security.MobileAuthenticatedStream.ProcessRead (Mono.Net.Security.BufferOffsetSize) [0x00027] in /Users/builder/jenkins/workspace/build-package-osx-mono/2018-08/external/bockbuild/builds/mono-x64/mcs/class/System/Mono.Net.Security/MobileAuthenticatedStream.cs:841
  at (wrapper remoting-invoke-with-check) Mono.Net.Security.MobileAuthenticatedStream.ProcessRead (Mono.Net.Security.BufferOffsetSize) [0x00033] in <c7c4087495e34fc2a4c29c486075732e>:0
  at Mono.Net.Security.AsyncReadRequest.Run (Mono.Net.Security.AsyncOperationStatus) [0x00000] in /Users/builder/jenkins/workspace/build-package-osx-mono/2018-08/external/bockbuild/builds/mono-x64/mcs/class/System/Mono.Net.Security/AsyncProtocolRequest.cs:320
  at Mono.Net.Security.AsyncProtocolRequest/<ProcessOperation>d__24.MoveNext () [0x000ff] in /Users/builder/jenkins/workspace/build-package-osx-mono/2018-08/external/bockbuild/builds/mono-x64/mcs/class/System/Mono.Net.Security/AsyncProtocolRequest.cs:221
  at System.Runtime.CompilerServices.AsyncMethodBuilderCore/MoveNextRunner.InvokeMoveNext (object) [0x00000] in /Users/builder/jenkins/workspace/build-package-osx-mono/2018-08/external/bockbuild/builds/mono-x64/mcs/class/referencesource/mscorlib/system/runtime/compilerservices/AsyncMethodBuilder.cs:1094
  at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool) [0x00071] in /Users/builder/jenkins/workspace/build-package-osx-mono/2018-08/external/bockbuild/builds/mono-x64/mcs/class/referencesource/mscorlib/system/threading/executioncontext.cs:961
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool) [0x00000] in /Users/builder/jenkins/workspace/build-package-osx-mono/2018-08/external/bockbuild/builds/mono-x64/mcs/class/referencesource/mscorlib/system/threading/executioncontext.cs:908
  at System.Runtime.CompilerServices.AsyncMethodBuilderCore/MoveNextRunner.Run () [0x00024] in /Users/builder/jenkins/workspace/build-package-osx-mono/2018-08/external/bockbuild/builds/mono-x64/mcs/class/referencesource/mscorlib/system/runtime/compilerservices/AsyncMethodBuilder.cs:1075
  at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction (System.Action,bool,System.Threading.Tasks.Task&) [0x0001a] in /Users/builder/jenkins/workspace/build-package-osx-mono/2018-08/external/bockbuild/builds/mono-x64/external/corert/src/System.Private.CoreLib/src/System/Threading/Tasks/TaskContinuation.cs:680
  at System.Threading.Tasks.Task.FinishContinuations () [0x00052] in /Users/builder/jenkins/workspace/build-package-osx-mono/2018-08/external/bockbuild/builds/mono-x64/external/corert/src/System.Private.CoreLib/src/System/Threading/Tasks/Task.cs:3197
  at System.Threading.Tasks.Task.FinishStageThree () [0x0003c] in /Users/builder/jenkins/workspace/build-package-osx-mono/2018-08/external/bockbuild/builds/mono-x64/external/corert/src/System.Private.CoreLib/src/System/Threading/Tasks/Task.cs:2246
  at System.Threading.Tasks.Task`1<System.Nullable`1<int>>.TrySetResult (System.Nullable`1<int>) [0x0004f] in /Users/builder/jenkins/workspace/build-package-osx-mono/2018-08/external/bockbuild/builds/mono-x64/external/corert/src/System.Private.CoreLib/src/System/Threading/Tasks/Future.cs:432
  at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1<System.Nullable`1<int>>.SetResult (System.Nullable`1<int>) [0x0003d] in /Users/builder/jenkins/workspace/build-package-osx-mono/2018-08/external/bockbuild/builds/mono-x64/mcs/class/referencesource/mscorlib/system/runtime/compilerservices/AsyncMethodBuilder.cs:608
  at Mono.Net.Security.AsyncProtocolRequest/<InnerRead>d__25.MoveNext () [0x00169] in /Users/builder/jenkins/workspace/build-package-osx-mono/2018-08/external/bockbuild/builds/mono-x64/mcs/class/System/Mono.Net.Security/AsyncProtocolRequest.cs:261
  at System.Runtime.CompilerServices.AsyncMethodBuilderCore/MoveNextRunner.InvokeMoveNext (object) [0x00000] in /Users/builder/jenkins/workspace/build-package-osx-mono/2018-08/external/bockbuild/builds/mono-x64/mcs/class/referencesource/mscorlib/system/runtime/compilerservices/AsyncMethodBuilder.cs:1094
  at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool) [0x00071] in /Users/builder/jenkins/workspace/build-package-osx-mono/2018-08/external/bockbuild/builds/mono-x64/mcs/class/referencesource/mscorlib/system/threading/executioncontext.cs:961
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool) [0x00000] in /Users/builder/jenkins/workspace/build-package-osx-mono/2018-08/external/bockbuild/builds/mono-x64/mcs/class/referencesource/mscorlib/system/threading/executioncontext.cs:908
  at System.Runtime.CompilerServices.AsyncMethodBuilderCore/MoveNextRunner.Run () [0x00024] in /Users/builder/jenkins/workspace/build-package-osx-mono/2018-08/external/bockbuild/builds/mono-x64/mcs/class/referencesource/mscorlib/system/runtime/compilerservices/AsyncMethodBuilder.cs:1075
  at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction (System.Action,bool,System.Threading.Tasks.Task&) [0x0001a] in /Users/builder/jenkins/workspace/build-package-osx-mono/2018-08/external/bockbuild/builds/mono-x64/external/corert/src/System.Private.CoreLib/src/System/Threading/Tasks/TaskContinuation.cs:680
  at System.Threading.Tasks.Task.FinishContinuations () [0x00052] in /Users/builder/jenkins/workspace/build-package-osx-mono/2018-08/external/bockbuild/builds/mono-x64/external/corert/src/System.Private.CoreLib/src/System/Threading/Tasks/Task.cs:3197
  at System.Threading.Tasks.Task.FinishStageThree () [0x0003c] in /Users/builder/jenkins/workspace/build-package-osx-mono/2018-08/external/bockbuild/builds/mono-x64/external/corert/src/System.Private.CoreLib/src/System/Threading/Tasks/Task.cs:2246
  at System.Threading.Tasks.Task`1<int>.TrySetResult (int) [0x0004f] in /Users/builder/jenkins/workspace/build-package-osx-mono/2018-08/external/bockbuild/builds/mono-x64/external/corert/src/System.Private.CoreLib/src/System/Threading/Tasks/Future.cs:432
  at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1<int>.SetResult (int) [0x0003d] in /Users/builder/jenkins/workspace/build-package-osx-mono/2018-08/external/bockbuild/builds/mono-x64/mcs/class/referencesource/mscorlib/system/runtime/compilerservices/AsyncMethodBuilder.cs:608
  at Mono.Net.Security.MobileAuthenticatedStream/<InnerRead>d__85.MoveNext () [0x00181] in /Users/builder/jenkins/workspace/build-package-osx-mono/2018-08/external/bockbuild/builds/mono-x64/mcs/class/System/Mono.Net.Security/MobileAuthenticatedStream.cs:748
  at System.Runtime.CompilerServices.AsyncMethodBuilderCore/MoveNextRunner.InvokeMoveNext (object) [0x00000] in /Users/builder/jenkins/workspace/build-package-osx-mono/2018-08/external/bockbuild/builds/mono-x64/mcs/class/referencesource/mscorlib/system/runtime/compilerservices/AsyncMethodBuilder.cs:1094
  at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool) [0x00071] in /Users/builder/jenkins/workspace/build-package-osx-mono/2018-08/external/bockbuild/builds/mono-x64/mcs/class/referencesource/mscorlib/system/threading/executioncontext.cs:961
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool) [0x00000] in /Users/builder/jenkins/workspace/build-package-osx-mono/2018-08/external/bockbuild/builds/mono-x64/mcs/class/referencesource/mscorlib/system/threading/executioncontext.cs:908
  at System.Runtime.CompilerServices.AsyncMethodBuilderCore/MoveNextRunner.Run () [0x00024] in /Users/builder/jenkins/workspace/build-package-osx-mono/2018-08/external/bockbuild/builds/mono-x64/mcs/class/referencesource/mscorlib/system/runtime/compilerservices/AsyncMethodBuilder.cs:1075
  at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction (System.Action,bool,System.Threading.Tasks.Task&) [0x0001a] in /Users/builder/jenkins/workspace/build-package-osx-mono/2018-08/external/bockbuild/builds/mono-x64/external/corert/src/System.Private.CoreLib/src/System/Threading/Tasks/TaskContinuation.cs:680
  at System.Threading.Tasks.Task.FinishContinuations () [0x00052] in /Users/builder/jenkins/workspace/build-package-osx-mono/2018-08/external/bockbuild/builds/mono-x64/external/corert/src/System.Private.CoreLib/src/System/Threading/Tasks/Task.cs:3197
  at System.Threading.Tasks.Task.FinishStageThree () [0x0003c] in /Users/builder/jenkins/workspace/build-package-osx-mono/2018-08/external/bockbuild/builds/mono-x64/external/corert/src/System.Private.CoreLib/src/System/Threading/Tasks/Task.cs:2246
  at System.Threading.Tasks.Task`1<int>.TrySetResult (int) [0x0004f] in /Users/builder/jenkins/workspace/build-package-osx-mono/2018-08/external/bockbuild/builds/mono-x64/external/corert/src/System.Private.CoreLib/src/System/Threading/Tasks/Future.cs:432
  at System.Threading.Tasks.TaskFactory`1/FromAsyncTrimPromise`1<int, System.IO.Stream>.Complete (System.IO.Stream,System.Func`3<System.IO.Stream, System.IAsyncResult, int>,System.IAsyncResult,bool) [0x0000d] in /Users/builder/jenkins/workspace/build-package-osx-mono/2018-08/external/bockbuild/builds/mono-x64/external/corert/src/System.Private.CoreLib/src/System/Threading/Tasks/FutureFactory.cs:1295
  at System.Threading.Tasks.TaskFactory`1/FromAsyncTrimPromise`1<int, System.IO.Stream>.CompleteFromAsyncResult (System.IAsyncResult) [0x00069] in /Users/builder/jenkins/workspace/build-package-osx-mono/2018-08/external/bockbuild/builds/mono-x64/external/corert/src/System.Private.CoreLib/src/System/Threading/Tasks/FutureFactory.cs:1265
  at System.Net.Sockets.SocketAsyncResult/<>c.<Complete>b__27_0 (object) [0x00000] in /Users/builder/jenkins/workspace/build-package-osx-mono/2018-08/external/bockbuild/builds/mono-x64/mcs/class/System/System.Net.Sockets/SocketAsyncResult.cs:157
  at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem () [0x00015] in /Users/builder/jenkins/workspace/build-package-osx-mono/2018-08/external/bockbuild/builds/mono-x64/mcs/class/referencesource/mscorlib/system/threading/threadpool.cs:1281
  at System.Threading.ThreadPoolWorkQueue.Dispatch () [0x00074] in /Users/builder/jenkins/workspace/build-package-osx-mono/2018-08/external/bockbuild/builds/mono-x64/mcs/class/referencesource/mscorlib/system/threading/threadpool.cs:858
  at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback () [0x00000] in /Users/builder/jenkins/workspace/build-package-osx-mono/2018-08/external/bockbuild/builds/mono-x64/mcs/class/referencesource/mscorlib/system/threading/threadpool.cs:1213
  at (wrapper runtime-invoke) <Module>.runtime_invoke_bool (object,intptr,intptr,intptr) [0x0001f] in <77964a01f9fb4f0791b1574e099e997d>:0
Memory around native instruction pointer (0x7fff79227b86):
0x7fff79227b76  ff ff c3 90 90 90 b8 48 01 00 02 49 89 ca 0f 05  .......H...I....
0x7fff79227b86  73 08 48 89 c7 e9 d7 a2 ff ff c3 55 48 89 e5 41  s.H........UH..A
0x7fff79227b96  57 41 56 41 55 41 54 53 48 81 ec 88 00 00 00 49  WAVAUATSH......I
0x7fff79227ba6  89 f4 48 8d 05 b9 f9 f6 31 48 8b 00 48 8d 9d 60  ..H.....1H..H..`

Native stacktrace:

	0   libmonosgen-2.0.dylib               0x000000010f938fa2 mono_dump_native_crash_info + 898
	1   libmonosgen-2.0.dylib               0x000000010f8dd743 mono_handle_native_crash + 195
	2   libsystem_platform.dylib            0x00007fff792d2b3d _sigtramp + 29
	3   ???                                 0x0000000111b137c7 0x0 + 4591794119
	4   libsystem_c.dylib                   0x00007fff791911c9 abort + 127
	5   libxammac.dylib                     0x000000010fca81f0 _ZL12log_callbackPKcS0_S0_iPv + 64
	6   libmonosgen-2.0.dylib               0x000000010fb236cc monoeg_g_log + 204
	7   libmonosgen-2.0.dylib               0x000000010fb15ed9 mono_threads_wait_pending_operations + 1705
	8   libmonosgen-2.0.dylib               0x000000010fab92b3 sgen_client_stop_world + 563
	9   libmonosgen-2.0.dylib               0x000000010facc5f6 sgen_stop_world + 70
	10  libmonosgen-2.0.dylib               0x000000010fac937d sgen_perform_collection + 157
	11  libmonosgen-2.0.dylib               0x000000010fad22ad sgen_los_alloc_large_inner + 93
	12  libmonosgen-2.0.dylib               0x000000010fabea1f sgen_alloc_obj_nolock + 95
	13  libmonosgen-2.0.dylib               0x000000010fabb9b7 mono_gc_alloc_vector + 119
	14  ???                                 0x00000001134a5649 0x0 + 4618606153
	15  ???                                 0x000000011792b6e3 0x0 + 4690458339
	16  ???                                 0x0000000117928b9b 0x0 + 4690447259
	17  Security                            0x00007fff57acfc84 SSLRead + 363
	18  ???                                 0x0000000119af3dec 0x0 + 4725882348
	19  ???                                 0x0000000119af320a 0x0 + 4725879306
	20  ???                                 0x0000000119af30bb 0x0 + 4725878971
	21  ???                                 0x000000011790c222 0x0 + 4690330146
	22  ???                                 0x000000011758ff2b 0x0 + 4686675755
	23  ???                                 0x000000011790ba7e 0x0 + 4690328190
	24  ???                                 0x0000000117676ab3 0x0 + 4687620787
	25  ???                                 0x00000001176761c3 0x0 + 4687618499
	26  ???                                 0x000000011790c222 0x0 + 4690330146
	27  ???                                 0x000000011758ff2b 0x0 + 4686675755
	28  ???                                 0x000000011790ba7e 0x0 + 4690328190
	29  ???                                 0x0000000117676ab3 0x0 + 4687620787
	30  ???                                 0x00000001176761c3 0x0 + 4687618499
	31  ???                                 0x000000011790c222 0x0 + 4690330146
	32  ???                                 0x000000011758ff2b 0x0 + 4686675755
	33  ???                                 0x000000011790ba7e 0x0 + 4690328190
	34  ???                                 0x0000000117676ab3 0x0 + 4687620787
	35  ???                                 0x00000001176761c3 0x0 + 4687618499
	36  ???                                 0x0000000117936a53 0x0 + 4690504275
Entering thread summarizer from 70000cdc0000
@marek-safar
Copy link
Member

@lambdageek any estimate on this one?

@lambdageek
Copy link
Member

No estimate.

It's not particularly actionable: there's one thread that's in an unexpected state - the GUI thread.

The GUI thread suggests that this may be related to #11138 - xammac pulses a lock from an icall which leads to hangs in some circumstances. So it may be that this is the same issue.

If we get more reports about hangs while typing, there may be more to do here.

@marek-safar
Copy link
Member

Closing, please reopen if you can reproduce it with newer versions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants