{"action":"opened","issue":{"url":"https://api.github.com/repos/aspnet/AspNetCoreModule/issues/25","repository_url":"https://api.github.com/repos/aspnet/AspNetCoreModule","labels_url":"https://api.github.com/repos/aspnet/AspNetCoreModule/issues/25/labels{/name}","comments_url":"https://api.github.com/repos/aspnet/AspNetCoreModule/issues/25/comments","events_url":"https://api.github.com/repos/aspnet/AspNetCoreModule/issues/25/events","html_url":"https://github.com/aspnet/AspNetCoreModule/issues/25","id":185750020,"number":25,"title":"w3wp.exe crashes when AppPool is stopped","user":{"login":"Tratcher","id":1821173,"avatar_url":"https://avatars.githubusercontent.com/u/1821173?v=3","gravatar_id":"","url":"https://api.github.com/users/Tratcher","html_url":"https://github.com/Tratcher","followers_url":"https://api.github.com/users/Tratcher/followers","following_url":"https://api.github.com/users/Tratcher/following{/other_user}","gists_url":"https://api.github.com/users/Tratcher/gists{/gist_id}","starred_url":"https://api.github.com/users/Tratcher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tratcher/subscriptions","organizations_url":"https://api.github.com/users/Tratcher/orgs","repos_url":"https://api.github.com/users/Tratcher/repos","events_url":"https://api.github.com/users/Tratcher/events{/privacy}","received_events_url":"https://api.github.com/users/Tratcher/received_events","type":"User","site_admin":false},"labels":[{"id":470207246,"url":"https://api.github.com/repos/aspnet/AspNetCoreModule/labels/0%20-%20Backlog","name":"0 - Backlog","color":"ededed","default":false},{"id":470207247,"url":"https://api.github.com/repos/aspnet/AspNetCoreModule/labels/AspNetCoreModule","name":"AspNetCoreModule","color":"ededed","default":false}],"state":"open","locked":false,"assignee":{"login":"pan-wang","id":18172635,"avatar_url":"https://avatars.githubusercontent.com/u/18172635?v=3","gravatar_id":"","url":"https://api.github.com/users/pan-wang","html_url":"https://github.com/pan-wang","followers_url":"https://api.github.com/users/pan-wang/followers","following_url":"https://api.github.com/users/pan-wang/following{/other_user}","gists_url":"https://api.github.com/users/pan-wang/gists{/gist_id}","starred_url":"https://api.github.com/users/pan-wang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pan-wang/subscriptions","organizations_url":"https://api.github.com/users/pan-wang/orgs","repos_url":"https://api.github.com/users/pan-wang/repos","events_url":"https://api.github.com/users/pan-wang/events{/privacy}","received_events_url":"https://api.github.com/users/pan-wang/received_events","type":"User","site_admin":false},"assignees":[{"login":"pan-wang","id":18172635,"avatar_url":"https://avatars.githubusercontent.com/u/18172635?v=3","gravatar_id":"","url":"https://api.github.com/users/pan-wang","html_url":"https://github.com/pan-wang","followers_url":"https://api.github.com/users/pan-wang/followers","following_url":"https://api.github.com/users/pan-wang/following{/other_user}","gists_url":"https://api.github.com/users/pan-wang/gists{/gist_id}","starred_url":"https://api.github.com/users/pan-wang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pan-wang/subscriptions","organizations_url":"https://api.github.com/users/pan-wang/orgs","repos_url":"https://api.github.com/users/pan-wang/repos","events_url":"https://api.github.com/users/pan-wang/events{/privacy}","received_events_url":"https://api.github.com/users/pan-wang/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2016-10-27T18:48:35Z","updated_at":"2016-10-27T18:48:35Z","closed_at":null,"body":"_From @ivanmartinvalle on November 13, 2015 16:9_\n\nOS: Windows 7\r\nIIS: 7.5.7600.16385\r\nVisual Studio 2015\r\nProject: default Web API template (using beta8 dependencies)\r\nRuntime: dnx-clr-win-x64.1.0.0-beta8\r\n\r\nWe are able to start and run an ASP.NET application within an IIS site just fine. However, if we manually stop the corresponding AppPool via the IIS Manager UI, w3wp crashes with the following message:\r\n```\r\nAn unhandled win32 exception occured in w3wp.exe [8672].\r\n```\r\n\r\nWhen attaching to the process to debug, we get the following message at the bottom of the stacktrace.\r\n```\r\n'w3wp.exe' (Win32): Loaded 'C:\\Windows\\System32\\apphelp.dll'. Symbols loaded.\r\nThe thread 0x6f54 has exited with code 0 (0x0).\r\nUnhandled exception at 0x000000007717298A (ntdll.dll) in w3wp.exe: 0xC000070A: Status 0x (parameters: 0xFFFFFFFFC0000008, 0x00000000000002F8, 0x00000000003E59F0, 0x000000000038A280, 0x000007FEF4CF88F4).\r\n\r\nException thrown at 0x000007FEF4CF88F4 in w3wp.exe: 0xC0000005: Access violation executing location 0x000007FEF4CF88F4.\r\n\r\nUnhandled exception at 0x000007FEF4CF88F4 in w3wp.exe: 0xC0000005: Access violation executing location 0x000007FEF4CF88F4.\r\n\r\nThe program '[4540] w3wp.exe' has exited with code 0 (0x0).\r\n```\r\n\r\nWhen looking at EventViewer > Windows Logs > Application, we see the following Error\r\n```\r\nFaulting application name: w3wp.exe, version: 7.5.7601.17514, time stamp: 0x4ce7afa2\r\nFaulting module name: ntdll.dll, version: 6.1.7601.18933, time stamp: 0x55a6a196\r\nException code: 0xc000070a\r\nFault offset: 0x000000000006298a\r\nFaulting process id: 0x63bc\r\nFaulting application start time: 0x01d11e28daa50db8\r\nFaulting application path: c:\\windows\\system32\\inetsrv\\w3wp.exe\r\nFaulting module path: C:\\windows\\SYSTEM32\\ntdll.dll\r\nReport Id: 5f0cc230-8a1c-11e5-9b7f-b8ca3abebe9a\r\n```\r\n\r\nGranted, we DO receive the same Information message in Event Viewer as reported in #32 (happens every time the AppPool is started). However, we indeed have HttpPlatformHandler 1.2 installed, since the issue seems to suggest that might be an issue.\r\n\r\nWhy is this a problem for us? After building our solution, we publish to the artifacts directory. When that happens, this same error happens (I'm guessing the publishing scripts have to stop the AppPool, which makes sense). This crashing does not happen when deploying to the our non ASP.NET 5 sites (understandably, since deploying to IIS with this new stuff is a bit different).\r\n\r\nThings we have tried that did not help\r\n - Using coreclr instead of clr\r\n - Set \"Enabled 32-Bit Applications\" to True\r\n - Diagnosing the issue via Process Monitor. We did see \"BUFFER OVERFLOW\" in {PublishOutput}\\approot\\runtimes\\dnx-clr-win-x64.1.0.0-beta8\\bin\\dnx.exe, but the internet seemed to suggest that \"BUFFER OVERFLOW\" isn't necessarily bad.\r\n\r\nAny insight as to what could be causing this issue would be great! We've been stuck on this for about 2 whole days now, and no one on the team has figured it out yet. We would love for it to be something we are going wrong, so we can fix it right away!\n\n_Copied from original issue: aspnet/IISIntegration#35_"}}
{"actor":{"display_login":"Tratcher"}}