{"action":"created","issue":{"url":"https://api.github.com/repos/electron/electron/issues/13418","repository_url":"https://api.github.com/repos/electron/electron","labels_url":"https://api.github.com/repos/electron/electron/issues/13418/labels{/name}","comments_url":"https://api.github.com/repos/electron/electron/issues/13418/comments","events_url":"https://api.github.com/repos/electron/electron/issues/13418/events","html_url":"https://github.com/electron/electron/issues/13418","id":335473819,"node_id":"MDU6SXNzdWUzMzU0NzM4MTk=","number":13418,"title":"Possible race condition in window closing on windows causing crash","user":{"login":"MarshallOfSound","id":6634592,"node_id":"MDQ6VXNlcjY2MzQ1OTI=","avatar_url":"https://avatars3.githubusercontent.com/u/6634592?v=4","gravatar_id":"","url":"https://api.github.com/users/MarshallOfSound","html_url":"https://github.com/MarshallOfSound","followers_url":"https://api.github.com/users/MarshallOfSound/followers","following_url":"https://api.github.com/users/MarshallOfSound/following{/other_user}","gists_url":"https://api.github.com/users/MarshallOfSound/gists{/gist_id}","starred_url":"https://api.github.com/users/MarshallOfSound/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MarshallOfSound/subscriptions","organizations_url":"https://api.github.com/users/MarshallOfSound/orgs","repos_url":"https://api.github.com/users/MarshallOfSound/repos","events_url":"https://api.github.com/users/MarshallOfSound/events{/privacy}","received_events_url":"https://api.github.com/users/MarshallOfSound/received_events","type":"User","site_admin":false},"labels":[{"id":839475038,"node_id":"MDU6TGFiZWw4Mzk0NzUwMzg=","url":"https://api.github.com/repos/electron/electron/labels/2-0-x","name":"2-0-x","color":"8d9ee8","default":false},{"id":520323169,"node_id":"MDU6TGFiZWw1MjAzMjMxNjk=","url":"https://api.github.com/repos/electron/electron/labels/bug%20:beetle:","name":"bug :beetle:","color":"fbca04","default":false},{"id":97403549,"node_id":"MDU6TGFiZWw5NzQwMzU0OQ==","url":"https://api.github.com/repos/electron/electron/labels/platform/windows","name":"platform/windows","color":"c7def8","default":false}],"state":"open","locked":false,"assignee":{"login":"cruzerld","id":1189044,"node_id":"MDQ6VXNlcjExODkwNDQ=","avatar_url":"https://avatars0.githubusercontent.com/u/1189044?v=4","gravatar_id":"","url":"https://api.github.com/users/cruzerld","html_url":"https://github.com/cruzerld","followers_url":"https://api.github.com/users/cruzerld/followers","following_url":"https://api.github.com/users/cruzerld/following{/other_user}","gists_url":"https://api.github.com/users/cruzerld/gists{/gist_id}","starred_url":"https://api.github.com/users/cruzerld/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cruzerld/subscriptions","organizations_url":"https://api.github.com/users/cruzerld/orgs","repos_url":"https://api.github.com/users/cruzerld/repos","events_url":"https://api.github.com/users/cruzerld/events{/privacy}","received_events_url":"https://api.github.com/users/cruzerld/received_events","type":"User","site_admin":false},"assignees":[{"login":"cruzerld","id":1189044,"node_id":"MDQ6VXNlcjExODkwNDQ=","avatar_url":"https://avatars0.githubusercontent.com/u/1189044?v=4","gravatar_id":"","url":"https://api.github.com/users/cruzerld","html_url":"https://github.com/cruzerld","followers_url":"https://api.github.com/users/cruzerld/followers","following_url":"https://api.github.com/users/cruzerld/following{/other_user}","gists_url":"https://api.github.com/users/cruzerld/gists{/gist_id}","starred_url":"https://api.github.com/users/cruzerld/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cruzerld/subscriptions","organizations_url":"https://api.github.com/users/cruzerld/orgs","repos_url":"https://api.github.com/users/cruzerld/repos","events_url":"https://api.github.com/users/cruzerld/events{/privacy}","received_events_url":"https://api.github.com/users/cruzerld/received_events","type":"User","site_admin":false},{"login":"MarshallOfSound","id":6634592,"node_id":"MDQ6VXNlcjY2MzQ1OTI=","avatar_url":"https://avatars3.githubusercontent.com/u/6634592?v=4","gravatar_id":"","url":"https://api.github.com/users/MarshallOfSound","html_url":"https://github.com/MarshallOfSound","followers_url":"https://api.github.com/users/MarshallOfSound/followers","following_url":"https://api.github.com/users/MarshallOfSound/following{/other_user}","gists_url":"https://api.github.com/users/MarshallOfSound/gists{/gist_id}","starred_url":"https://api.github.com/users/MarshallOfSound/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MarshallOfSound/subscriptions","organizations_url":"https://api.github.com/users/MarshallOfSound/orgs","repos_url":"https://api.github.com/users/MarshallOfSound/repos","events_url":"https://api.github.com/users/MarshallOfSound/events{/privacy}","received_events_url":"https://api.github.com/users/MarshallOfSound/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2018-06-25T16:10:50Z","updated_at":"2018-10-29T15:17:54Z","closed_at":null,"author_association":"MEMBER","body":"* Electron Version: 2.0.2\r\n* Operating System (Platform and Version): Windows\r\n* Last known working Electron version: 1.8.6\r\n\r\n**Expected Behavior**\r\nShould not crash\r\n\r\n**Actual behavior**\r\nClosing windows in a certain way causes a native crash\r\n\r\n**To Reproduce**\r\nSteps coming when I figure it out 👍 \r\n\r\n<details>\r\n\r\n```\r\n\r\nOS Version: Windows 6.1.7601 (Service Pack 1)\r\nReport Version: 104\r\n\r\nCrashed Thread: 8648\r\n\r\nApplication Specific Information:\r\nAssertion Error: Unknown assertion type 0x00000000\r\n\r\nThread 8648 Crashed:\r\n0   Stride.exe                      0x13fea9134         aura::Window::GetRootWindow() (d:\\build\\src\\ui\\aura\\window.cc:196)\r\n1   node.dll                        0x7fee3271a08       <unknown>\r\n2   Stride.exe                      0x13fea903d         aura::Window::GetHost() (d:\\build\\src\\ui\\aura\\window.cc:200)\r\n3   Stride.exe                      0x13fbdf955         atom::NativeWindowViews::GetAcceleratedWidget() (c:\\projects\\electron\\atom\\browser\\native_window_views.cc:1016)\r\n4   Stride.exe                      0x13fbdfdd7         atom::NativeWindowViews::IsClosable() (c:\\projects\\electron\\atom\\browser\\native_window_views.cc:682)\r\n5   Stride.exe                      0x13fa30b99         mate::internal::FromV8Impl(v8::Isolate *,v8::Local<v8::Value>) (c:\\projects\\electron\\vendor\\native_mate\\native_mate\\wrappable.cc:73)\r\n6   Stride.exe                      0x13fade87a         mate::internal::GetNextArgument<atom::api::Window *>(mate::Arguments *,int,bool,atom::api::Window * *) (c:\\projects\\electron\\vendor\\native_mate\\native_mate\\function_template.h:94)\r\n7   Stride.exe                      0x13fbdf532         atom::NativeWindowViews::Close() (c:\\projects\\electron\\atom\\browser\\native_window_views.cc:340)\r\n8   Stride.exe                      0x13fb105fa         mate::internal::ArgumentHolder<0,atom::api::Window *>::ArgumentHolder<0,atom::api::Window *>(mate::Arguments *,int) (c:\\projects\\electron\\vendor\\native_mate\\native_mate\\function_template.h:160)\r\n9   Stride.exe                      0x13fb1a2ad         mate::internal::Invoker<mate::internal::IndicesHolder<0>,atom::api::Window *>::DispatchToCallback(base::Callback<void ,1,1>) (c:\\projects\\electron\\vendor\\native_mate\\native_mate\\function_template.h:202)\r\n10  node.dll                        0x7fee268ce3a       v8::External::Value() (d:\\build\\src\\v8\\src\\api.cc:6606)\r\n11  node.dll                        0x7fee2af7319       v8::internal::LoadIC::Load(v8::internal::Handle<v8::internal::Object>,v8::internal::Handle<v8::internal::Name>) (d:\\build\\src\\v8\\src\\ic\\ic.cc:685)\r\n12  Stride.exe                      0x13fb1870e         mate::internal::Dispatcher<void >::DispatchToCallback(v8::FunctionCallbackInfo<v8::Value> const &) (c:\\projects\\electron\\vendor\\native_mate\\native_mate\\function_template.h:236)\r\n13  node.dll                        0x7fee2a575b0       v8::internal::FunctionCallbackArguments::Call(void (*)(v8::FunctionCallbackInfo<v8::Value> const &)) (d:\\build\\src\\v8\\src\\api-arguments.cc:25)\r\n14  Stride.exe                      0x13fb18688         <unknown>\r\n15  node.dll                        0x7fee2a32fa2       v8::internal::`anonymous namespace'::HandleApiCallHelper<0> (d:\\build\\src\\v8\\src\\builtins\\builtins-api.cc:111)\r\n16  node.dll                        0x7fee331cd40       <unknown>\r\n17  node.dll                        0x7fee2a33391       v8::internal::Builtin_Impl_HandleApiCall (d:\\build\\src\\v8\\src\\builtins\\builtins-api.cc:140)\r\n18  node.dll                        0x7fee2a331db       v8::internal::Builtin_HandleApiCall(int,v8::internal::Object * *,v8::internal::Isolate *) (d:\\build\\src\\v8\\src\\builtins\\builtins-api.cc:128)\r\n19  node.dll                        0x7fee2a331a0       <unknown>\r\n20  node.dll                        0x7fee2af9880       v8::internal::Runtime_LoadGlobalIC_Slow(int,v8::internal::Object * *,v8::internal::Isolate *) (d:\\build\\src\\v8\\src\\ic\\ic.cc:2599)\r\n```\r\n</details>"},"comment":{"url":"https://api.github.com/repos/electron/electron/issues/comments/433950619","html_url":"https://github.com/electron/electron/issues/13418#issuecomment-433950619","issue_url":"https://api.github.com/repos/electron/electron/issues/13418","id":433950619,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMzk1MDYxOQ==","user":{"login":"jameskoch","id":168110,"node_id":"MDQ6VXNlcjE2ODExMA==","avatar_url":"https://avatars3.githubusercontent.com/u/168110?v=4","gravatar_id":"","url":"https://api.github.com/users/jameskoch","html_url":"https://github.com/jameskoch","followers_url":"https://api.github.com/users/jameskoch/followers","following_url":"https://api.github.com/users/jameskoch/following{/other_user}","gists_url":"https://api.github.com/users/jameskoch/gists{/gist_id}","starred_url":"https://api.github.com/users/jameskoch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jameskoch/subscriptions","organizations_url":"https://api.github.com/users/jameskoch/orgs","repos_url":"https://api.github.com/users/jameskoch/repos","events_url":"https://api.github.com/users/jameskoch/events{/privacy}","received_events_url":"https://api.github.com/users/jameskoch/received_events","type":"User","site_admin":false},"created_at":"2018-10-29T15:17:54Z","updated_at":"2018-10-29T15:17:54Z","author_association":"NONE","body":"Repro available in #15457. I can only get it to occur when running as a non-admin user."}}
{"actor":{"display_login":"jameskoch"}}