Skip to content

Instantly share code, notes, and snippets.

@radical
Created September 27, 2018 22:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save radical/b2273f9a59c06501169fabf13f6c238a to your computer and use it in GitHub Desktop.
Save radical/b2273f9a59c06501169fabf13f6c238a to your computer and use it in GitHub Desktop.
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 0x7f9cc2010c00 id 0x70000e4c2000 [0x1003] (Finalizer) state 6
--thread 0x7f9cc4854800 id 0x70000e748000 [0x242f] (tid_242f) state 108
--thread 0x7f9cc38eca00 id 0x70000e9ce000 [0x2d03] (Thread Pool Worker) state 109
--thread 0x7f9cc3902200 id 0x70000ebd1000 [0x3003] (Thread Pool Worker) state 109
--thread 0x7f9cc2922a00 id 0x70000ec14000 [0x5103] (In-proc Node (Default)) state 109
--thread 0x7f9cc3949800 id 0x70000ee17000 [0x4f03] (Thread Pool Worker) state 109
--thread 0x7f9cc2927e00 id 0x70000f01a000 [0x4d03] (Thread Pool Worker) state 109
--thread 0x7f9cc291ca00 id 0x70000f21d000 [0x3403] (RequestBuilder thread) state 109
--thread 0x7f9cc204ec00 id 0x70000f420000 [0x3703] (Thread Pool Worker) state 109
--thread 0x7f9cc40c8200 id 0x70000f623000 [0x4903] (Thread Pool Worker) state 108
--thread 0x7f9cc5003a00 id 0x70000f826000 [0x3a03] (Thread Pool Worker) state 109
--thread 0x7f9cc2a7b400 id 0x70000fa29000 [0x4503] (Thread Pool Worker) state 109
--thread 0x7f9cc22fba00 id 0x70000fc2c000 [0x4303] (RequestBuilder thread) state 2 GC INITIATOR
--thread 0x7f9cc2af2400 id 0x70000fe2f000 [0x3d03] (Thread Pool Worker) state 109
--thread 0x7f9cc4822000 id 0x700010032000 [0x3f03] (Thread Pool Worker) state 109
--thread 0x7f9cc3970a00 id 0x700010235000 [0x5603] (RequestBuilder thread) state 109
--thread 0x7f9cc3d9bc00 id 0x700010438000 [0x1f07] (Thread Pool Worker) state 109
--thread 0x7f9cc3df0400 id 0x70001063b000 [0xa703] (Thread Pool Worker) state 109
--thread 0x7f9cc5837200 id 0x70001083e000 [0xa603] (Thread Pool Worker) state 109
--thread 0x7f9cc3ea3400 id 0x700010a41000 [0x5a07] (Thread Pool Worker) state 109
--thread 0x7f9cc4830000 id 0x700010c44000 [0xa207] (Thread Pool Worker) state 109
--thread 0x7f9cc2d51c00 id 0x700010e47000 [0x9e03] (RequestBuilder thread) state 109
--thread 0x7f9cc2028e00 id 0x70001104a000 [0x9c03] (Timer-Scheduler) state 109
--thread 0x7f9cc26ec400 id 0x70001124d000 [0x9903] (Thread Pool Worker) state 109
--thread 0x7f9cc2e48800 id 0x700011450000 [0x9703] (Thread Pool Worker) state 109
--thread 0x7f9cc703b400 id 0x700011653000 [0x9503] (Thread Pool Worker) state 109
--thread 0x7f9cc580bc00 id 0x700011856000 [0x9303] (Thread Pool Worker) state 109
--thread 0x7f9cc585a800 id 0x700011a59000 [0x9003] (Thread Pool Worker) state 109
--thread 0x7f9cc7087a00 id 0x700011c5c000 [0x8e03] (Thread Pool Worker) state 109
--thread 0x7f9cc585c200 id 0x700011e5f000 [0x8c03] (Thread Pool Worker) state 109
--thread 0x7f9cc5035800 id 0x700012062000 [0x6203] (Thread Pool Worker) state 109
--thread 0x7f9cc5037200 id 0x700012265000 [0x6503] (Thread Pool Worker) state 105
--thread 0x7f9cc585d000 id 0x700012468000 [0x6603] (Thread Pool Worker) state 109
--thread 0x7f9cc503c600 id 0x70001266b000 [0x6a03] (Thread Pool Worker) state 109
--thread 0x7f9cc4802000 id 0x7fffb7102380 [0x307] (tid_307) state 109
WAITING for 1 threads, got 0 suspended
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) [0x00000] in <f9d88e1ccf7e4244b40a6ea6167bfe95>:0
at (wrapper alloc) object.AllocVector (intptr,intptr) <0x001b2>
at System.Collections.Generic.Dictionary`2<TKey_REF, TValue_REF>.Initialize (int) [0x0000e] in <f9d88e1ccf7e4244b40a6ea6167bfe95>:0
at System.Collections.Generic.Dictionary`2<TKey_REF, TValue_REF>..ctor (int,System.Collections.Generic.IEqualityComparer`1<TKey_REF>) [0x00015] in <f9d88e1ccf7e4244b40a6ea6167bfe95>:0
at Microsoft.Build.Internal.CommunicationsUtilities.GetEnvironmentVariables () [0x0000a] in <e1090c3c5a3f4a968a18b0e34aad27f0>:0
at Microsoft.Build.BackEnd.RequestBuilder.SetEnvironmentVariableBlock (System.Collections.Generic.IDictionary`2<string, string>) [0x00000] in <e1090c3c5a3f4a968a18b0e34aad27f0>:0
at Microsoft.Build.BackEnd.RequestBuilder.RestoreOperatingEnvironment () [0x0005d] in <e1090c3c5a3f4a968a18b0e34aad27f0>:0
at Microsoft.Build.BackEnd.RequestBuilder/<StartNewBuildRequests>d__52.MoveNext () [0x00189] in <e1090c3c5a3f4a968a18b0e34aad27f0>:0
at System.Runtime.CompilerServices.AsyncMethodBuilderCore/MoveNextRunner.InvokeMoveNext (object) [0x00000] in <f9d88e1ccf7e4244b40a6ea6167bfe95>:0
at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool) [0x00071] in <f9d88e1ccf7e4244b40a6ea6167bfe95>:0
at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool) [0x00000] in <f9d88e1ccf7e4244b40a6ea6167bfe95>:0
at System.Runtime.CompilerServices.AsyncMethodBuilderCore/MoveNextRunner.Run () [0x00024] in <f9d88e1ccf7e4244b40a6ea6167bfe95>:0
at System.Threading.Tasks.TaskSchedulerAwaitTaskContinuation/<>c.<Run>b__2_0 (object) [0x00000] in <f9d88e1ccf7e4244b40a6ea6167bfe95>:0
at System.Threading.Tasks.Task.InnerInvoke () [0x00025] in <f9d88e1ccf7e4244b40a6ea6167bfe95>:0
at System.Threading.Tasks.Task.Execute () [0x00000] in <f9d88e1ccf7e4244b40a6ea6167bfe95>:0
at System.Threading.Tasks.Task.ExecutionContextCallback (object) [0x00000] in <f9d88e1ccf7e4244b40a6ea6167bfe95>:0
at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool) [0x00071] in <f9d88e1ccf7e4244b40a6ea6167bfe95>:0
at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool) [0x00000] in <f9d88e1ccf7e4244b40a6ea6167bfe95>:0
at System.Threading.Tasks.Task.ExecuteWithThreadLocal (System.Threading.Tasks.Task&) [0x00034] in <f9d88e1ccf7e4244b40a6ea6167bfe95>:0
at System.Threading.Tasks.Task.ExecuteEntry (bool) [0x0004a] in <f9d88e1ccf7e4244b40a6ea6167bfe95>:0
at System.Threading.Tasks.TaskScheduler.TryExecuteTask (System.Threading.Tasks.Task) [0x00014] in <f9d88e1ccf7e4244b40a6ea6167bfe95>:0
at Microsoft.Build.BackEnd.RequestBuilder/DedicatedThreadsTaskScheduler.<InjectThread>b__6_0 () [0x0001a] in <e1090c3c5a3f4a968a18b0e34aad27f0>:0
at System.Threading.ThreadHelper.ThreadStart_Context (object) [0x00014] in <f9d88e1ccf7e4244b40a6ea6167bfe95>:0
at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool) [0x00071] in <f9d88e1ccf7e4244b40a6ea6167bfe95>:0
at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool) [0x00000] in <f9d88e1ccf7e4244b40a6ea6167bfe95>:0
at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object) [0x0002b] in <f9d88e1ccf7e4244b40a6ea6167bfe95>:0
at System.Threading.ThreadHelper.ThreadStart () [0x00008] in <f9d88e1ccf7e4244b40a6ea6167bfe95>:0
at (wrapper runtime-invoke) object.runtime_invoke_void__this__ (object,intptr,intptr,intptr) [0x0001e] in <f9d88e1ccf7e4244b40a6ea6167bfe95>:0
Memory around native instruction pointer (0x7fff7e73eb66):
0x7fff7e73eb56 ff ff c3 90 90 90 b8 48 01 00 02 49 89 ca 0f 05 .......H...I....
0x7fff7e73eb66 73 08 48 89 c7 e9 79 6f ff ff c3 90 90 90 b8 4c s.H...yo.......L
0x7fff7e73eb76 01 00 02 49 89 ca 0f 05 73 08 48 89 c7 e9 61 6f ...I....s.H...ao
0x7fff7e73eb86 ff ff c3 90 90 90 b8 49 01 00 02 49 89 ca 0f 05 .......I...I....
Native stacktrace:
0 mono 0x000000010c1f85c2 mono_dump_native_crash_info + 898
1 mono 0x000000010c19c943 mono_handle_native_crash + 195
2 libsystem_platform.dylib 0x00007fff7e8fcf5a _sigtramp + 26
3 ??? 0x000070000fc2a528 0x0 + 123145566725416
4 libsystem_c.dylib 0x00007fff7e69a1ae abort + 127
5 mono 0x000000010c3c798f mono_log_write_logfile + 351
6 mono 0x000000010c3e2adc monoeg_g_log + 204
7 mono 0x000000010c3d5519 mono_threads_wait_pending_operations + 1705
8 mono 0x000000010c379033 sgen_client_stop_world + 563
9 mono 0x000000010c38c3e6 sgen_stop_world + 70
10 mono 0x000000010c38916d sgen_perform_collection + 157
11 mono 0x000000010c37eaab sgen_alloc_obj_nolock + 763
12 mono 0x000000010c37b7a7 mono_gc_alloc_vector + 119
13 ??? 0x000000010c62ef49 0x0 + 4502777673
14 mscorlib.dll.dylib 0x000000010e523de3 System_Collections_Generic_Dictionary_2_TKey_REF_TValue_REF_Initialize_int + 83
15 ??? 0x0000000112178d13 0x0 + 4598500627
16 mscorlib.dll.dylib 0x000000010e373401 System_Runtime_CompilerServices_AsyncMethodBuilderCore_MoveNextRunner_InvokeMoveNext_object + 177
17 mscorlib.dll.dylib 0x000000010e1d5643 System_Threading_ExecutionContext_Run_System_Threading_ExecutionContext_System_Threading_ContextCallback_object_bool + 67
18 mscorlib.dll.dylib 0x000000010e212b89 System_Threading_Tasks_TaskSchedulerAwaitTaskContinuation__c__Runb__2_0_object + 89
19 mscorlib.dll.dylib 0x000000010e208eac System_Threading_Tasks_Task_InnerInvoke + 156
20 mscorlib.dll.dylib 0x000000010e208dfc System_Threading_Tasks_Task_ExecutionContextCallback_object + 92
21 mscorlib.dll.dylib 0x000000010e1d5643 System_Threading_ExecutionContext_Run_System_Threading_ExecutionContext_System_Threading_ContextCallback_object_bool + 67
22 mscorlib.dll.dylib 0x000000010e208d39 System_Threading_Tasks_Task_ExecuteEntry_bool + 233
23 mscorlib.dll.dylib 0x000000010e1d7ecb System_Threading_ThreadHelper_ThreadStart_Context_object + 171
24 mscorlib.dll.dylib 0x000000010e1d5643 System_Threading_ExecutionContext_Run_System_Threading_ExecutionContext_System_Threading_ContextCallback_object_bool + 67
25 mono 0x000000010c0f5b5e mono_jit_runtime_invoke + 1614
26 mono 0x000000010c2f1fd4 do_runtime_invoke + 84
27 mono 0x000000010c2f3ffb mono_runtime_delegate_try_invoke + 203
28 mono 0x000000010c317d4e start_wrapper + 750
29 libsystem_pthread.dylib 0x00007fff7e906661 _pthread_body + 340
30 libsystem_pthread.dylib 0x00007fff7e90650d _pthread_body + 0
31 libsystem_pthread.dylib 0x00007fff7e905bf9 thread_start + 13
Entering thread summarizer from 70000fc2c000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment