{"action":"created","issue":{"url":"https://api.github.com/repos/dotnet/roslyn/issues/2251","labels_url":"https://api.github.com/repos/dotnet/roslyn/issues/2251/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/roslyn/issues/2251/comments","events_url":"https://api.github.com/repos/dotnet/roslyn/issues/2251/events","html_url":"https://github.com/dotnet/roslyn/issues/2251","id":70812675,"number":2251,"title":"VS crash in NuGet.Packaging.dll","user":{"login":"tmat","id":41759,"avatar_url":"https://avatars.githubusercontent.com/u/41759?v=3","gravatar_id":"","url":"https://api.github.com/users/tmat","html_url":"https://github.com/tmat","followers_url":"https://api.github.com/users/tmat/followers","following_url":"https://api.github.com/users/tmat/following{/other_user}","gists_url":"https://api.github.com/users/tmat/gists{/gist_id}","starred_url":"https://api.github.com/users/tmat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tmat/subscriptions","organizations_url":"https://api.github.com/users/tmat/orgs","repos_url":"https://api.github.com/users/tmat/repos","events_url":"https://api.github.com/users/tmat/events{/privacy}","received_events_url":"https://api.github.com/users/tmat/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dotnet/roslyn/labels/Area-External","name":"Area-External","color":"5319e7"},{"url":"https://api.github.com/repos/dotnet/roslyn/labels/Area-Infrastructure","name":"Area-Infrastructure","color":"5319e7"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-24T22:43:02Z","updated_at":"2015-10-21T06:20:11Z","closed_at":"2015-10-21T06:20:11Z","body":"Repro:\r\nOpen Roslyn solution from %internal_share%\\public\\tomat\\Bugs\\2251\\Repro.zip\r\nBuild.\r\n\r\nCrash dump:\r\n%internal_share%\\public\\tomat\\Bugs\\2251\r\n\r\n(can't be open in VS debugger, only in Windbg)\r\n\r\n```\r\n  30   31 5be4 1b9f9c48   1029220 Preemptive  00000000:00000000 004fd1c0 0     MTA (Threadpool Worker) NuGet.Packaging.PackagesConfigReaderException 4b8dec78\r\n```\r\n\r\n```\r\n0:000> !pe 4b8deeec\r\nException object: 4b8deeec\r\nException type:   NuGet.Packaging.PackagesConfigReaderException\r\nMessage:          Invalid package version\r\nInnerException:   <none>\r\nStackTrace (generated):\r\n    SP       IP       Function\r\n    14ACDED4 48460CED NuGet_Packaging!NuGet.Packaging.PackagesConfigReader.GetPackages()+0x33d\r\n    14ACDF38 483AFECA NuGet_ProjectManagement!NuGet.ProjectManagement.PackagesConfigNuGetProject.GetInstalledPackagesList()+0x4a\r\n    14ACDF48 483AFE3D NuGet_ProjectManagement!NuGet.ProjectManagement.PackagesConfigNuGetProject.GetInstalledPackagesAsync(System.Threading.CancellationToken)+0xd\r\n    14ACDF58 483AFE1B NuGet_ProjectManagement!NuGet.ProjectManagement.MSBuildNuGetProject.GetInstalledPackagesAsync(System.Threading.CancellationToken)+0x13\r\n    14ACDF64 483A218A NuGet_PackageManagement!NuGet.PackageManagement.PackageRestoreManager+<GetPackageReferencesFromSolution>d__15.MoveNext()+0xd2\r\n    14ACE028 727D8619 mscorlib_ni!System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(System.Threading.Tasks.Task)+0x5d\r\n    14ACE038 727D85B7 mscorlib_ni!System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(System.Threading.Tasks.Task)+0x3b\r\n    14ACE044 483A1F14 NuGet_PackageManagement!NuGet.PackageManagement.PackageRestoreManager+<GetMissingPackagesInSolution>d__a.MoveNext()+0xa4\r\n    14ACE0FC 727D8619 mscorlib_ni!System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(System.Threading.Tasks.Task)+0x5d\r\n    14ACE10C 727D85B7 mscorlib_ni!System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(System.Threading.Tasks.Task)+0x3b\r\n    14ACE118 23AE68E2 NuGet_PackageManagement!NuGet.PackageManagement.PackageRestoreManager+<RaisePackagesMissingEventForSolution>d__6.MoveNext()+0xba\r\n    14ACE1CC 727D8619 mscorlib_ni!System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(System.Threading.Tasks.Task)+0x5d\r\n    14ACE1DC 727D85B7 mscorlib_ni!System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(System.Threading.Tasks.Task)+0x3b\r\n    14ACE1E8 23AE8077 NuGet_PackageManagement_VisualStudio!NuGet.PackageManagement.VisualStudio.VSPackageRestoreManager+<OnSolutionOpenedOrClosed>d__0.MoveNext()+0x9f\r\n    273AF028 73086E75 mscorlib_ni!System.Runtime.CompilerServices.AsyncMethodBuilderCore+<>c__DisplayClass2.<ThrowAsync>b__5(System.Object)+0x35\r\n    273AF030 7280398E mscorlib_ni!System.Threading.QueueUserWorkItemCallback.WaitCallback_Context(System.Object)+0x42\r\n    273AF038 727A7B87 mscorlib_ni!System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)+0xa7\r\n    273AF0A4 727A7AD6 mscorlib_ni!System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)+0x16\r\n    273AF0B8 72803B40 mscorlib_ni!System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()+0x60\r\n    273AF0CC 72803FFF mscorlib_ni!System.Threading.ThreadPoolWorkQueue.Dispatch()+0x12f\r\n    273AF11C 72803ECA mscorlib_ni!System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()+0xa\r\n```\r\n\r\n```\r\n0:000> ~30k\r\nChildEBP RetAddr  \r\n14acd484 75e1ed7a ntdll!NtWaitForMultipleObjects+0xc [d:\\th.obj.x86fre\\minkernel\\ntdll\\wow6432\\objfre\\i386\\usrstubs.asm @ 821]\r\n14acd618 75ea3058 KERNELBASE!WaitForMultipleObjectsEx+0x10a [d:\\th\\minkernel\\kernelbase\\synch.c @ 1555]\r\n14acd634 76edf2ff KERNELBASE!WaitForMultipleObjects+0x18 [d:\\th\\minkernel\\kernelbase\\synch.c @ 1403]\r\n14acda70 76edede4 kernel32!WerpReportFaultInternal+0x4ea [d:\\th\\windows\\feedback\\core\\faultrep\\lib\\faultrep.cpp @ 957]\r\n14acda80 76eded99 kernel32!WerpReportFault+0x3d [d:\\th\\windows\\feedback\\core\\faultrep\\lib\\faultrep.cpp @ 1216]\r\n14acda88 75ea9eeb kernel32!BasepReportFault+0x19 [d:\\th\\base\\win32\\client\\wer.c @ 45]\r\n14acdb1c 7716e13a KERNELBASE!UnhandledExceptionFilter+0x21b [d:\\th\\minkernel\\kernelbase\\xcpt.c @ 639]\r\n(Inline) -------- ntdll!RtlpThreadExceptionFilter+0x28 [d:\\th\\minkernel\\ntdll\\rtlstrt.c @ 801]\r\n14acdb24 7717d630 ntdll!__RtlUserThreadStart+0x69 [d:\\th\\minkernel\\ntdll\\rtlstrt.c @ 998]\r\n14acdb38 7717cf30 ntdll!_EH4_CallFilterFunc+0x12 [d:\\th\\minkernel\\crts\\crtw32\\misc\\i386\\exsup4.asm @ 432]\r\n14acdb64 77181380 ntdll!_except_handler4_common+0x80 [d:\\th\\minkernel\\crts\\crtw32\\misc\\i386\\chandler4.c @ 394]\r\n14acdb84 7718d902 ntdll!_except_handler4+0x20 [d:\\th\\minkernel\\crts\\crtw32\\misc\\i386\\chandler4gs.c @ 90]\r\n14acdba8 7718d8d4 ntdll!ExecuteHandler2+0x26 [d:\\th\\minkernel\\ntos\\rtl\\i386\\xcptmisc.asm @ 231]\r\n14acdc70 7717b3cf ntdll!ExecuteHandler+0x24 [d:\\th\\minkernel\\ntos\\rtl\\i386\\xcptmisc.asm @ 191]\r\n14acdc70 75e1fff8 ntdll!KiUserExceptionDispatcher+0xf [d:\\th\\minkernel\\ntos\\rtl\\i386\\userdisp.asm @ 597]\r\n14ace190 7399ff8f KERNELBASE!RaiseException+0x48 [d:\\th\\minkernel\\kernelbase\\xcpt.c @ 857]\r\n14ace22c 739a4d08 clr!RaiseTheExceptionInternalOnly+0x27c [f:\\dd\\ndp\\clr\\src\\vm\\excep.cpp @ 3113]\r\n14ace300 73086e75 clr!IL_Throw+0x141 [f:\\dd\\ndp\\clr\\src\\vm\\jithelpers.cpp @ 5047]\r\n14ace374 7280398e mscorlib_ni!System.Runtime.CompilerServices.AsyncMethodBuilderCore+<>c__DisplayClass2.<ThrowAsync>b__5(System.Object)+0x35 [f:\\dd\\ndp\\clr\\src\\BCL\\system\\runtime\\compilerservices\\AsyncMethodBuilder.cs @ 1034]\r\n14ace374 727a7b87 mscorlib_ni!System.Threading.QueueUserWorkItemCallback.WaitCallback_Context(System.Object)+0x42 [f:\\dd\\ndp\\clr\\src\\BCL\\system\\threading\\threadpool.cs @ 1274]\r\n14ace374 727a7ad6 mscorlib_ni!System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)+0xa7 [f:\\dd\\ndp\\clr\\src\\BCL\\system\\threading\\executioncontext.cs @ 954]\r\n14ace388 72803b40 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]\r\n14ace3a4 72803fff mscorlib_ni!System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()+0x60 [f:\\dd\\ndp\\clr\\src\\BCL\\system\\threading\\threadpool.cs @ 1252]\r\n14ace3f4 72803eca mscorlib_ni!System.Threading.ThreadPoolWorkQueue.Dispatch()+0x12f [f:\\dd\\ndp\\clr\\src\\BCL\\system\\threading\\threadpool.cs @ 820]\r\n14ace404 738512b6 mscorlib_ni!System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()+0xa [f:\\dd\\ndp\\clr\\src\\BCL\\system\\threading\\threadpool.cs @ 1161]\r\n14ace404 73875ceb clr!CallDescrWorkerInternal+0x34 [f:\\dd\\ndp\\clr\\src\\vm\\i386\\asmhelpers.asm @ 765]\r\n14ace458 73887032 clr!CallDescrWorkerWithHandler+0x6b [f:\\dd\\ndp\\clr\\src\\vm\\callhelpers.cpp @ 91]\r\n14ace4cc 73960928 clr!MethodDescCallSite::CallTargetWorker+0x158 [f:\\dd\\ndp\\clr\\src\\vm\\callhelpers.cpp @ 649]\r\n(Inline) -------- clr!MethodDescCallSite::Call_RetBool+0xb [f:\\dd\\ndp\\clr\\src\\vm\\callhelpers.h @ 423]\r\n14ace544 7388849f clr!QueueUserWorkItemManagedCallback+0x23 [f:\\dd\\ndp\\clr\\src\\vm\\comthreadpool.cpp @ 513]\r\n14ace564 73888509 clr!ManagedThreadBase_DispatchInner+0x67 [f:\\dd\\ndp\\clr\\src\\vm\\threads.cpp @ 18098]\r\n14ace608 738885d6 clr!ManagedThreadBase_DispatchMiddle+0x7e [f:\\dd\\ndp\\clr\\src\\vm\\threads.cpp @ 18148]\r\n14ace664 73888647 clr!ManagedThreadBase_DispatchOuter+0x5b [f:\\dd\\ndp\\clr\\src\\vm\\threads.cpp @ 18402]\r\n14ace688 739608bc clr!ManagedThreadBase_FullTransitionWithAD+0x2f [f:\\dd\\ndp\\clr\\src\\vm\\threads.cpp @ 18466]\r\n(Inline) -------- clr!ManagedThreadBase::ThreadPool+0x10 [f:\\dd\\ndp\\clr\\src\\vm\\threads.cpp @ 18507]\r\n14ace738 739623aa clr!ManagedPerAppDomainTPCount::DispatchWorkItem+0xc4 [f:\\dd\\ndp\\clr\\src\\vm\\threadpoolrequest.cpp @ 760]\r\n14ace74c 739624e9 clr!ThreadpoolMgr::ExecuteWorkRequest+0x42 [f:\\dd\\ndp\\clr\\src\\vm\\win32threadpool.cpp @ 1863]\r\n14ace7b4 73888408 clr!ThreadpoolMgr::WorkerThreadStart+0x398 [f:\\dd\\ndp\\clr\\src\\vm\\win32threadpool.cpp @ 2330]\r\n14acf7d8 76ed5624 clr!Thread::intermediateThreadProc+0x4d [f:\\dd\\ndp\\clr\\src\\vm\\threads.cpp @ 3481]\r\n14acf7ec 7716e100 kernel32!BaseThreadInitThunk+0x24 [d:\\th\\base\\win32\\client\\thread.c @ 64]\r\n14acf834 7716e0cb ntdll!__RtlUserThreadStart+0x2f [d:\\th\\minkernel\\ntdll\\rtlstrt.c @ 997]\r\n14acf844 00000000 ntdll!_RtlUserThreadStart+0x1b [d:\\th\\minkernel\\ntdll\\rtlstrt.c @ 914]\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/dotnet/roslyn/issues/comments/149793691","html_url":"https://github.com/dotnet/roslyn/issues/2251#issuecomment-149793691","issue_url":"https://api.github.com/repos/dotnet/roslyn/issues/2251","id":149793691,"user":{"login":"davkean","id":1103906,"avatar_url":"https://avatars.githubusercontent.com/u/1103906?v=3","gravatar_id":"","url":"https://api.github.com/users/davkean","html_url":"https://github.com/davkean","followers_url":"https://api.github.com/users/davkean/followers","following_url":"https://api.github.com/users/davkean/following{/other_user}","gists_url":"https://api.github.com/users/davkean/gists{/gist_id}","starred_url":"https://api.github.com/users/davkean/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davkean/subscriptions","organizations_url":"https://api.github.com/users/davkean/orgs","repos_url":"https://api.github.com/users/davkean/repos","events_url":"https://api.github.com/users/davkean/events{/privacy}","received_events_url":"https://api.github.com/users/davkean/received_events","type":"User","site_admin":false},"created_at":"2015-10-21T06:20:10Z","updated_at":"2015-10-21T06:20:10Z","body":"@tmat Please reopen on github.com/nuget/home/issues"}}