{"action":"created","issue":{"url":"https://api.github.com/repos/dotnet/roslyn/issues/27523","repository_url":"https://api.github.com/repos/dotnet/roslyn","labels_url":"https://api.github.com/repos/dotnet/roslyn/issues/27523/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/roslyn/issues/27523/comments","events_url":"https://api.github.com/repos/dotnet/roslyn/issues/27523/events","html_url":"https://github.com/dotnet/roslyn/issues/27523","id":329947327,"node_id":"MDU6SXNzdWUzMjk5NDczMjc=","number":27523,"title":"How do i debug Compiler Crashes? csc.exe exited with code -2146232797","user":{"login":"epoyraz","id":1207226,"node_id":"MDQ6VXNlcjEyMDcyMjY=","avatar_url":"https://avatars1.githubusercontent.com/u/1207226?v=4","gravatar_id":"","url":"https://api.github.com/users/epoyraz","html_url":"https://github.com/epoyraz","followers_url":"https://api.github.com/users/epoyraz/followers","following_url":"https://api.github.com/users/epoyraz/following{/other_user}","gists_url":"https://api.github.com/users/epoyraz/gists{/gist_id}","starred_url":"https://api.github.com/users/epoyraz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/epoyraz/subscriptions","organizations_url":"https://api.github.com/users/epoyraz/orgs","repos_url":"https://api.github.com/users/epoyraz/repos","events_url":"https://api.github.com/users/epoyraz/events{/privacy}","received_events_url":"https://api.github.com/users/epoyraz/received_events","type":"User","site_admin":false},"labels":[{"id":167974279,"node_id":"MDU6TGFiZWwxNjc5NzQyNzk=","url":"https://api.github.com/repos/dotnet/roslyn/labels/3%20-%20Working","name":"3 - Working","color":"CCCCCC","default":false},{"id":166673288,"node_id":"MDU6TGFiZWwxNjY2NzMyODg=","url":"https://api.github.com/repos/dotnet/roslyn/labels/Area-Compilers","name":"Area-Compilers","color":"5319e7","default":false},{"id":165001069,"node_id":"MDU6TGFiZWwxNjUwMDEwNjk=","url":"https://api.github.com/repos/dotnet/roslyn/labels/Bug","name":"Bug","color":"e52727","default":false}],"state":"open","locked":false,"assignee":{"login":"gafter","id":3804346,"node_id":"MDQ6VXNlcjM4MDQzNDY=","avatar_url":"https://avatars3.githubusercontent.com/u/3804346?v=4","gravatar_id":"","url":"https://api.github.com/users/gafter","html_url":"https://github.com/gafter","followers_url":"https://api.github.com/users/gafter/followers","following_url":"https://api.github.com/users/gafter/following{/other_user}","gists_url":"https://api.github.com/users/gafter/gists{/gist_id}","starred_url":"https://api.github.com/users/gafter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gafter/subscriptions","organizations_url":"https://api.github.com/users/gafter/orgs","repos_url":"https://api.github.com/users/gafter/repos","events_url":"https://api.github.com/users/gafter/events{/privacy}","received_events_url":"https://api.github.com/users/gafter/received_events","type":"User","site_admin":false},"assignees":[{"login":"gafter","id":3804346,"node_id":"MDQ6VXNlcjM4MDQzNDY=","avatar_url":"https://avatars3.githubusercontent.com/u/3804346?v=4","gravatar_id":"","url":"https://api.github.com/users/gafter","html_url":"https://github.com/gafter","followers_url":"https://api.github.com/users/gafter/followers","following_url":"https://api.github.com/users/gafter/following{/other_user}","gists_url":"https://api.github.com/users/gafter/gists{/gist_id}","starred_url":"https://api.github.com/users/gafter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gafter/subscriptions","organizations_url":"https://api.github.com/users/gafter/orgs","repos_url":"https://api.github.com/users/gafter/repos","events_url":"https://api.github.com/users/gafter/events{/privacy}","received_events_url":"https://api.github.com/users/gafter/received_events","type":"User","site_admin":false}],"milestone":null,"comments":2,"created_at":"2018-06-06T16:41:12Z","updated_at":"2018-06-09T15:18:30Z","closed_at":null,"author_association":"NONE","body":"Hi Guys,\r\n\r\ni have already spent 2 days figuring out how to report this bug.\r\nDuring compilation my compiler Crashes.\r\nI am using the VS 15.7.3\r\n\r\n![image](https://user-images.githubusercontent.com/1207226/41052183-6d17f81c-69b8-11e8-9737-49368abcbcc1.png)\r\n\r\nAnd when i compile my code. This happens:\r\n![image](https://user-images.githubusercontent.com/1207226/41052064-23dd2294-69b8-11e8-80dc-a271d9b4a3c6.png)\r\n2 seconds later another error pops up:\r\n![image](https://user-images.githubusercontent.com/1207226/41052126-41a9f8a6-69b8-11e8-8bca-e2f1552293c7.png)\r\n\r\nVisual Studio Output:\r\n  Microsoft.CSharp.Core.targets(52, 5): [MSB6006] \"csc.exe\" exited with code -2146232797.\r\n\r\nI created a dump and could extract some info:\r\n> OnFatalException():19, FailFast (Microsoft.CodeAnalysis)@Microsoft.CodeAnalysis.dll\r\n> ReportUnlessCanceled():58, FatalError (Microsoft.CodeAnalysis)@Microsoft.CodeAnalysis.dll\r\n> <CompileNamedTypeAsTask>b__0():206, <>c__DisplayClass21_0 (Microsoft.CodeAnalysis.CSharp)@Microsoft.CodeAnalysis.CSharp.dll\r\n> HadLambdaConversionError():475, OverloadResolutionResult`1 (Microsoft.CodeAnalysis.CSharp)@Microsoft.CodeAnalysis.CSharp.dll\r\n> ReportDiagnostics():127, OverloadResolutionResult`1 (Microsoft.CodeAnalysis.CSharp)@Microsoft.CodeAnalysis.CSharp.dll\r\n> ReportDelegateMethodGroupDiagnostics():123, Conversions (Microsoft.CodeAnalysis.CSharp)@Microsoft.CodeAnalysis.CSharp.dll\r\n> GenerateImplicitConversionError():16454, Binder (Microsoft.CodeAnalysis.CSharp)@Microsoft.CodeAnalysis.CSharp.dll\r\n> CreateReturnConversion():16871, Binder (Microsoft.CodeAnalysis.CSharp)@Microsoft.CodeAnalysis.CSharp.dll\r\n> CreateBlockFromExpression():17047, Binder (Microsoft.CodeAnalysis.CSharp)@Microsoft.CodeAnalysis.CSharp.dll\r\n> BindLambdaExpressionAsBlock():0, Binder (Microsoft.CodeAnalysis.CSharp)@Microsoft.CodeAnalysis.CSharp.dll\r\n> ReallyBind():0, UnboundLambdaState (Microsoft.CodeAnalysis.CSharp)@Microsoft.CodeAnalysis.CSharp.dll\r\n> Bind():0, UnboundLambdaState (Microsoft.CodeAnalysis.CSharp)@Microsoft.CodeAnalysis.CSharp.dll\r\n> IsAnonymousFunctionCompatibleWithDelegate():0, ConversionsBase (Microsoft.CodeAnalysis.CSharp)@Microsoft.CodeAnalysis.CSharp.dll\r\n> IsAnonymousFunctionCompatibleWithExpressionTree():0, ConversionsBase (Microsoft.CodeAnalysis.CSharp)@Microsoft.CodeAnalysis.CSharp.dll\r\n> HasAnonymousFunctionConversion():0, ConversionsBase (Microsoft.CodeAnalysis.CSharp)@Microsoft.CodeAnalysis.CSharp.dll\r\n> ClassifyImplicitBuiltInConversionFromExpression():0, ConversionsBase (Microsoft.CodeAnalysis.CSharp)@Microsoft.CodeAnalysis.CSharp.dll\r\n> ClassifyImplicitConversionFromExpression():0, ConversionsBase (Microsoft.CodeAnalysis.CSharp)@Microsoft.CodeAnalysis.CSharp.dll\r\n> IsApplicable():2494, OverloadResolution (Microsoft.CodeAnalysis.CSharp)@Microsoft.CodeAnalysis.CSharp.dll\r\n> IsApplicable():0, OverloadResolution (Microsoft.CodeAnalysis.CSharp)@Microsoft.CodeAnalysis.CSharp.dll\r\n> IsMemberApplicableInNormalForm():0, OverloadResolution (Microsoft.CodeAnalysis.CSharp)@Microsoft.CodeAnalysis.CSharp.dll\r\n> AddMemberToCandidateSet():0, OverloadResolution (Microsoft.CodeAnalysis.CSharp)@Microsoft.CodeAnalysis.CSharp.dll\r\n> PerformMemberOverloadResolution():0, OverloadResolution (Microsoft.CodeAnalysis.CSharp)@Microsoft.CodeAnalysis.CSharp.dll\r\n> ResolveDefaultMethodGroup():0, Binder (Microsoft.CodeAnalysis.CSharp)@Microsoft.CodeAnalysis.CSharp.dll\r\n> ResolveMethodGroupInternal():0, Binder (Microsoft.CodeAnalysis.CSharp)@Microsoft.CodeAnalysis.CSharp.dll\r\n> ResolveMethodGroup():0, Binder (Microsoft.CodeAnalysis.CSharp)@Microsoft.CodeAnalysis.CSharp.dll\r\n> BindMethodGroupInvocation():0, Binder (Microsoft.CodeAnalysis.CSharp)@Microsoft.CodeAnalysis.CSharp.dll\r\n> BindInvocationExpression():0, Binder (Microsoft.CodeAnalysis.CSharp)@Microsoft.CodeAnalysis.CSharp.dll\r\n> BindInvocationExpression():0, Binder (Microsoft.CodeAnalysis.CSharp)@Microsoft.CodeAnalysis.CSharp.dll\r\n> BindExpressionInternal():0, Binder (Microsoft.CodeAnalysis.CSharp)@Microsoft.CodeAnalysis.CSharp.dll\r\n> BindArgumentExpression():0, Binder (Microsoft.CodeAnalysis.CSharp)@Microsoft.CodeAnalysis.CSharp.dll\r\n> BindArgumentAndName():0, Binder (Microsoft.CodeAnalysis.CSharp)@Microsoft.CodeAnalysis.CSharp.dll\r\n> BindInvocationExpression():0, Binder (Microsoft.CodeAnalysis.CSharp)@Microsoft.CodeAnalysis.CSharp.dll\r\n> BindExpressionInternal():0, Binder (Microsoft.CodeAnalysis.CSharp)@Microsoft.CodeAnalysis.CSharp.dll\r\n> BindExpression():0, Binder (Microsoft.CodeAnalysis.CSharp)@Microsoft.CodeAnalysis.CSharp.dll\r\n> BindReturn():0, Binder (Microsoft.CodeAnalysis.CSharp)@Microsoft.CodeAnalysis.CSharp.dll\r\n> BindStatement():0, Binder (Microsoft.CodeAnalysis.CSharp)@Microsoft.CodeAnalysis.CSharp.dll\r\n> BindBlockParts():0, Binder (Microsoft.CodeAnalysis.CSharp)@Microsoft.CodeAnalysis.CSharp.dll\r\n> BindStatement():0, Binder (Microsoft.CodeAnalysis.CSharp)@Microsoft.CodeAnalysis.CSharp.dll\r\n> BindPossibleEmbeddedStatement():0, Binder (Microsoft.CodeAnalysis.CSharp)@Microsoft.CodeAnalysis.CSharp.dll\r\n> BindIfStatement():0, Binder (Microsoft.CodeAnalysis.CSharp)@Microsoft.CodeAnalysis.CSharp.dll\r\n> BindStatement():0, Binder (Microsoft.CodeAnalysis.CSharp)@Microsoft.CodeAnalysis.CSharp.dll\r\n> BindBlockParts():0, Binder (Microsoft.CodeAnalysis.CSharp)@Microsoft.CodeAnalysis.CSharp.dll\r\n> BindStatement():0, Binder (Microsoft.CodeAnalysis.CSharp)@Microsoft.CodeAnalysis.CSharp.dll\r\n> BindPossibleEmbeddedStatement():0, Binder (Microsoft.CodeAnalysis.CSharp)@Microsoft.CodeAnalysis.CSharp.dll\r\n> BindIfStatement():0, Binder (Microsoft.CodeAnalysis.CSharp)@Microsoft.CodeAnalysis.CSharp.dll\r\n> BindStatement():0, Binder (Microsoft.CodeAnalysis.CSharp)@Microsoft.CodeAnalysis.CSharp.dll\r\n> BindBlockParts():0, Binder (Microsoft.CodeAnalysis.CSharp)@Microsoft.CodeAnalysis.CSharp.dll\r\n> BindStatement():0, Binder (Microsoft.CodeAnalysis.CSharp)@Microsoft.CodeAnalysis.CSharp.dll\r\n> BindMethodBody():0, Binder (Microsoft.CodeAnalysis.CSharp)@Microsoft.CodeAnalysis.CSharp.dll\r\n> BindMethodBody():0, Binder (Microsoft.CodeAnalysis.CSharp)@Microsoft.CodeAnalysis.CSharp.dll\r\n> BindMethodBody():0, MethodCompiler (Microsoft.CodeAnalysis.CSharp)@Microsoft.CodeAnalysis.CSharp.dll\r\n> CompileMethod():0, MethodCompiler (Microsoft.CodeAnalysis.CSharp)@Microsoft.CodeAnalysis.CSharp.dll\r\n> CompileNamedType():0, MethodCompiler (Microsoft.CodeAnalysis.CSharp)@Microsoft.CodeAnalysis.CSharp.dll\r\n> <CompileNamedTypeAsTask>b__0():0, <>c__DisplayClass21_0 (Microsoft.CodeAnalysis.CSharp)@Microsoft.CodeAnalysis.CSharp.dll\r\n> <WithCurrentUICulture>b__0():0, <>c__DisplayClass5_0 (Roslyn.Utilities)@Microsoft.CodeAnalysis.dll\r\n> Execute():0, Task (System.Threading.Tasks)@mscorlib.dll\r\n> RunInternal():0, ExecutionContext (System.Threading)@mscorlib.dll\r\n> Run():278, ExecutionContext (System.Threading)@mscorlib.dll\r\n> ExecuteWithThreadLocal():0, Task (System.Threading.Tasks)@mscorlib.dll\r\n> ExecuteEntry():0, Task (System.Threading.Tasks)@mscorlib.dll\r\n> Dispatch():0, ThreadPoolWorkQueue (System.Threading)@mscorlib.dll\r\n> [Native to Managed Transition]():0,  ()@\r\n\r\nI would like to give more info, but it's really hard to get more insight.\r\nUnfortunately, i can't share my code. ( it's enterprise code and it's huge)¨\r\nI would like to report a proper minimal example. But i am unable to do so, because i don't know what exactly it causes.\r\n**Do you have any tipps, how i can debug this?**\r\n"},"comment":{"url":"https://api.github.com/repos/dotnet/roslyn/issues/comments/395977136","html_url":"https://github.com/dotnet/roslyn/issues/27523#issuecomment-395977136","issue_url":"https://api.github.com/repos/dotnet/roslyn/issues/27523","id":395977136,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NTk3NzEzNg==","user":{"login":"epoyraz","id":1207226,"node_id":"MDQ6VXNlcjEyMDcyMjY=","avatar_url":"https://avatars1.githubusercontent.com/u/1207226?v=4","gravatar_id":"","url":"https://api.github.com/users/epoyraz","html_url":"https://github.com/epoyraz","followers_url":"https://api.github.com/users/epoyraz/followers","following_url":"https://api.github.com/users/epoyraz/following{/other_user}","gists_url":"https://api.github.com/users/epoyraz/gists{/gist_id}","starred_url":"https://api.github.com/users/epoyraz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/epoyraz/subscriptions","organizations_url":"https://api.github.com/users/epoyraz/orgs","repos_url":"https://api.github.com/users/epoyraz/repos","events_url":"https://api.github.com/users/epoyraz/events{/privacy}","received_events_url":"https://api.github.com/users/epoyraz/received_events","type":"User","site_admin":false},"created_at":"2018-06-09T15:18:30Z","updated_at":"2018-06-09T15:18:30Z","author_association":"NONE","body":"@gafter \r\n`    <PackageReference Include=\"Microsoft.Net.Compilers\" Version=\"2.6.0-beta3\" />` it crashes\r\n`    <PackageReference Include=\"Microsoft.Net.Compilers\" Version=\"2.4.0\" />` it compiles just fine"}}
{"actor":{"display_login":"epoyraz"}}