Skip to content
This repository has been archived by the owner on Jun 21, 2023. It is now read-only.

Github/Akavache is causing Visual Studio to hang #1542

Closed
jcansdale opened this issue Mar 19, 2018 · 1 comment
Closed

Github/Akavache is causing Visual Studio to hang #1542

jcansdale opened this issue Mar 19, 2018 · 1 comment

Comments

@jcansdale
Copy link
Collaborator

  • GitHub Extension for Visual Studio version: 2.2.0.10, 2.3.3.38, and 2.3.6.391
  • Visual Studio version: 2017?

From Stephanie Su @ MS:

We’re getting some high hitting bugs where the Github extension is causing Visual Studio to hang—the culprit being Akavache.Sqlite3.dll.

Here’s the call stack that we have:

50  Id: 5214.4c98 Suspend: 1 Teb: 0130a000 Unfrozen
# ChildEBP RetAddr 
00 2c86e7ec 73e612a3 ntdll!NtWaitForMultipleObjects+0xc [minkernel\ntdll\wow6432\objfre\i386\usrstubs.asm @ 825]
01 2c86e980 7331b3be KERNELBASE!WaitForMultipleObjectsEx+0x103 [minkernel\kernelbase\synch.c @ 1551]
02 2c86e9d0 7331b0fe clr!WaitForMultipleObjectsEx_SO_TOLERANT+0x3c [f:\dd\ndp\clr\src\vm\threads.cpp @ 4292]
03 (Inline) -------- clr!Thread::DoAppropriateAptStateWait+0x35 [f:\dd\ndp\clr\src\vm\threads.cpp @ 4326]
04 2c86ea5c 7331b1ef clr!Thread::DoAppropriateWaitWorker+0x237 [f:\dd\ndp\clr\src\vm\threads.cpp @ 4466]
05 2c86eac8 7331b364 clr!Thread::DoAppropriateWait+0x64 [f:\dd\ndp\clr\src\vm\threads.cpp @ 4133]
06 2c86eb14 7321e7b2 clr!CLREventBase::WaitEx+0x128 [f:\dd\ndp\clr\src\vm\synch.cpp @ 753]
07 2c86eb2c 73350e30 clr!CLREventBase::Wait+0x1a [f:\dd\ndp\clr\src\vm\synch.cpp @ 674]
08 (Inline) -------- clr!Thread::Wait+0x17 [f:\dd\ndp\clr\src\vm\threads.cpp @ 4951]
09 2c86eb40 73350f6a clr!Thread::Block+0x25 [f:\dd\ndp\clr\src\vm\threads.cpp @ 4908]
0a 2c86ebf0 7335104a clr!SyncBlock::Wait+0x189 [f:\dd\ndp\clr\src\vm\syncblk.cpp @ 3564]
0b (Inline) -------- clr!ObjHeader::Wait+0x24 [f:\dd\ndp\clr\src\vm\syncblk.cpp @ 2743]
0c (Inline) -------- clr!Object::Wait+0x24 [f:\dd\ndp\clr\src\vm\object.h @ 541]
0d 2c86ec94 6facc243 clr!ObjectNative::WaitTimeout+0xcb [f:\dd\ndp\clr\src\classlibnative\bcltype\objectnative.cpp @ 315]
0e 2c86eca4 6fb5c9f4 mscorlib_ni!System.Threading.Monitor.Wait(System.Object, Int32, Boolean)+0x17 [f:\dd\ndp\clr\src\BCL\system\threadingmonitor.cs @ 203]
0f 2c86ecfc 6fadcb26 mscorlib_ni!System.Threading.Monitor.Wait(System.Object, Int32)+0xc [f:\dd\ndp\clr\src\BCL\system\threading\monitor.cs  213]
10 2c86ecfc 2c61a1e4 mscorlib_ni!System.Threading.ManualResetEventSlim.Wait(Int32, System.Threading.CancellationToken)+0x26a [f:\dd\ndp\clr\src\BCL\system\threading\ManualResetEventSlim.cs @ 521]
11 2c86ed28 2c619d2e 0x2c61a1e4
12 2c86edac 2c618f7b Akavache_Sqlite3!Unknown+0x196
13 2c86ee00 2c618dd8 0x2c618f7b
14 2c86ee44 6fad7448 Akavache_Sqlite3!Unknown+0x40
15 2c86ee50 6fad6ff0 mscorlib_ni!System.Threading.Tasks.Task.InnerInvoke()+0x28 [f:\dd\ndp\clr\src\BCL\system\threading\Tasks\Task.cs @ 2884]
16 2c86ee74 6fad741a mscorlib_ni!System.Threading.Tasks.Task.Execute()+0x30 [f:\dd\ndp\clr\src\BCL\system\threading\Tasks\Task.cs @ 2498]
17 2c86eedc 6fb4bda5 mscorlib_ni!System.Threading.Tasks.Task.ExecutionContextCallback(System.Object)+0x1a [f:\dd\ndp\clr\src\BCL\system\threading\Tasks\Task.cs @ 2861]
18 2c86eedc 6fb4bcb6 mscorlib_ni!System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)+0xe5 [f:\dd\ndp\clr\src\BCL\system\threading\executioncontext.cs @ 954]
19 2c86eef0 6fad7298 mscorlib_ni!System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)+0x16 [f:\dd\ndp\clr\src\BCL\system\threading\executioncontext.cs @ 902]
1a 2c86ef5c 6fad716d mscorlib_ni!System.Threading.Tasks.Task.ExecuteWithThreadLocal(System.Threading.Tasks.Task ByRef)+0xd8 [f:\dd\ndp\clr\src\BCL\system\threading\Tasks\Task.cs @ 2827]
1b 2c86ef6c 6fae675c mscorlib_ni!System.Threading.Tasks.Task.ExecuteEntry(Boolean)+0x7d [f:\dd\ndp\clr\src\BCL\system\threading\Tasks\Task.cs @ 2767]
1c 2c86ef7c 6facc1ff mscorlib_ni!System.Threading.Tasks.ThreadPoolTaskScheduler.LongRunningThreadWork(System.Object)+0x1c [f:\dd\ndp\clr\src\BCL\system\threading\Tasks\ThreadPoolTaskScheduler.cs @ 49]
1d 2c86ef7c 6fb4bda5 mscorlib_ni!System.Threading.ThreadHelper.ThreadStart_Context(System.Object)+0x73 [f:\dd\ndp\clr\src\BCL\system\threading\thread.cs @ 74]
1e 2c86efe0 6fb4bcb6 mscorlib_ni!System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)+0xe5 [f:\dd\ndp\clr\src\BCL\system\threading\executioncontext.cs @ 954]
1f 2c86eff4 6fb4bc71 mscorlib_ni!System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)+0x16 [f:\dd\ndp\clr\src\BCL\system\threading\executioncontext.cs @ 902]
20 2c86f010 6fae484e mscorlib_ni!System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)+0x41 [f:\dd\ndp\clr\src\BCL\system\threading\executioncontext.cs @ 891]
21 2c86f028 7320eb16 mscorlib_ni!System.Threading.ThreadHelper.ThreadStart(System.Object)+0x4e [f:\dd\ndp\clr\src\BCL\system\threading\thread.cs @ 93]
22 2c86f034 73216e64 clr!CallDescrWorkerInternal+0x34 [f:\dd\ndp\clr\src\vm\i386\asmhelpers.asm @ 763]
23 2c86f088 732182f4 clr!CallDescrWorkerWithHandler+0x6b [f:\dd\ndp\clr\src\vm\callhelpers.cpp @ 91]
24 2c86f0f8 733490fd clr!MethodDescCallSite::CallTargetWorker+0x16a [f:\dd\ndp\clr\src\vm\callhelpers.cpp @ 655]
25 (Inline) -------- clr!MethodDescCallSite::Call+0xe [f:\dd\ndp\clr\src\vm\callhelpers.h @ 423]
26 2c86f26c 732cd03a clr!ThreadNative::KickOffThread_Worker+0x173 [f:\dd\ndp\clr\src\vm\comsynchronizable.cpp @ 301]
27 2c86f284 732cd0a4 clr!ManagedThreadBase_DispatchInner+0x71 [f:\dd\ndp\clr\src\vm\threads.cpp @ 10273]
28 2c86f328 732cd171 clr!ManagedThreadBase_DispatchMiddle+0x7e [f:\dd\ndp\clr\src\vm\threads.cpp @ 10323]
29 2c86f384 732cd1df clr!ManagedThreadBase_DispatchOuter+0x5b [f:\dd\ndp\clr\src\vm\threads.cpp @ 10577]
2a 2c86f3a8 73348fb2 clr!ManagedThreadBase_FullTransitionWithAD+0x2f [f:\dd\ndp\clr\src\vm\threads.cpp @ 10641]
2b (Inline) -------- clr!ManagedThreadBase::KickOff+0x15 [f:\dd\ndp\clr\src\vm\threads.cpp @ 10675]
2c 2c86f424 7322edf1 clr!ThreadNative::KickOffThread+0x256 [f:\dd\ndp\clr\src\vm\comsynchronizable.cpp @ 421]
2d 2c86ff40 743d8654 clr!Thread::intermediateThreadProc+0x55 [f:\dd\ndp\clr\src\vm\threads.cpp @ 2872]
2e 2c86ff54 77274a77 kernel32!BaseThreadInitThunk+0x24 [base\win32\client\thread.c @ 64]
2f 2c86ff9c 77274a47 ntdll!__RtlUserThreadStart+0x2f [minkernel\ntdll\rtlstrt.c @ 997]
30 2c86ffac 00000000 ntdll!_RtlUserThreadStart+0x1b [minkernel\ntdll\rtlstrt.c @ 914]
@grokys
Copy link
Contributor

grokys commented Aug 7, 2018

This should have been fixed by #1664.

@grokys grokys closed this as completed Aug 7, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants