{"action":"created","issue":{"url":"https://api.github.com/repos/pkulchenko/ZeroBraneStudio/issues/442","labels_url":"https://api.github.com/repos/pkulchenko/ZeroBraneStudio/issues/442/labels{/name}","comments_url":"https://api.github.com/repos/pkulchenko/ZeroBraneStudio/issues/442/comments","events_url":"https://api.github.com/repos/pkulchenko/ZeroBraneStudio/issues/442/events","html_url":"https://github.com/pkulchenko/ZeroBraneStudio/issues/442","id":69768911,"number":442,"title":"Crash on Windows","user":{"login":"madmaxoft","id":4388386,"avatar_url":"https://avatars.githubusercontent.com/u/4388386?v=3","gravatar_id":"","url":"https://api.github.com/users/madmaxoft","html_url":"https://github.com/madmaxoft","followers_url":"https://api.github.com/users/madmaxoft/followers","following_url":"https://api.github.com/users/madmaxoft/following{/other_user}","gists_url":"https://api.github.com/users/madmaxoft/gists{/gist_id}","starred_url":"https://api.github.com/users/madmaxoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/madmaxoft/subscriptions","organizations_url":"https://api.github.com/users/madmaxoft/orgs","repos_url":"https://api.github.com/users/madmaxoft/repos","events_url":"https://api.github.com/users/madmaxoft/events{/privacy}","received_events_url":"https://api.github.com/users/madmaxoft/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/pkulchenko/ZeroBraneStudio/labels/Bug","name":"Bug","color":"e10c02"}],"state":"open","locked":false,"assignee":{"login":"pkulchenko","id":77071,"avatar_url":"https://avatars.githubusercontent.com/u/77071?v=3","gravatar_id":"","url":"https://api.github.com/users/pkulchenko","html_url":"https://github.com/pkulchenko","followers_url":"https://api.github.com/users/pkulchenko/followers","following_url":"https://api.github.com/users/pkulchenko/following{/other_user}","gists_url":"https://api.github.com/users/pkulchenko/gists{/gist_id}","starred_url":"https://api.github.com/users/pkulchenko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pkulchenko/subscriptions","organizations_url":"https://api.github.com/users/pkulchenko/orgs","repos_url":"https://api.github.com/users/pkulchenko/repos","events_url":"https://api.github.com/users/pkulchenko/events{/privacy}","received_events_url":"https://api.github.com/users/pkulchenko/received_events","type":"User","site_admin":false},"milestone":null,"comments":8,"created_at":"2015-04-21T07:35:09Z","updated_at":"2015-04-22T23:01:31Z","closed_at":null,"body":"I have noticed that ZBS crashes inexplicably every now and then. I caught one such crash in a debugger, there's not much in the stacktrace because I don't have debug wx DLLs, but perhaps even this way it can provide some information:\r\n```\r\n>\t1e02234c()\r\n \t[Frames below may be incorrect and/or missing]\t\r\n \twx.dll!02226d6b()\r\n \tuser32.dll!_NtUserCallHwndLock@8()\r\n \tuser32.dll!_UpdateWindow@4()\r\n \tcomctl32.dll!_ToolbarWndProc@16()\r\n \twx.dll!0217efd8()\r\n \tcomctl32.dll!_StatusWndProc@16()\r\n \t000306da()\r\n \tlua51.dll!66d867bb()\r\n \twx.dll!0217eff6()\r\n \twx.dll!021816fe()\r\n \tuser32.dll!_InternalCallWinProc@20()\r\n \tuser32.dll!_UserCallWinProcCheckWow@32()\r\n \tuser32.dll!_SendMessageWorker@24()\r\n \tuser32.dll!_SendMessageW@16()\r\n \tcomctl32.dll!_CCSendNotify@12()\r\n \tcomctl32.dll!_TV_DeleteItemRecurse@12()\r\n \tcomctl32.dll!_TV_DeleteItem@12()\r\n \tcomctl32.dll!_TV_WndProc@16()\r\n \tuser32.dll!_InternalCallWinProc@20()\r\n \tuser32.dll!_UserCallWinProcCheckWow@32()\r\n \tuser32.dll!_CallWindowProcAorW@24()\r\n \tuser32.dll!_CallWindowProcW@20()\r\n \twx.dll!02183f92()\r\n \twx.dll!0217eff6()\r\n \twx.dll!022284a3()\r\n \tuser32.dll!_NtUserCallOneParam@8()\r\n \twx.dll!0217eff6()\r\n \twx.dll!0217eff6()\r\n \twx.dll!022284a3()\r\n \twx.dll!0239ce4c()\r\n \twx.dll!02182f57()\r\n \twx.dll!021871b0()\r\n \twx.dll!021816fe()\r\n \tuser32.dll!_InternalCallWinProc@20()\r\n \tuser32.dll!_UserCallWinProcCheckWow@32()\r\n \tuser32.dll!_SendMessageWorker@24()\r\n \tuser32.dll!_SendMessageW@16()\r\n \twx.dll!022250b4()\r\n \twx.dll!02222f69()\r\n \twx.dll!01fba709()\r\n \tlua51.dll!66d828e2()\r\n \twx.dll!0205b09b()\r\n \twx.dll!02297e3a()\r\n \twx.dll!02299839()\r\n \twx.dll!02299aa3()\r\n \twx.dll!021748e8()\r\n \twx.dll!022999d5()\r\n \twx.dll!022ee7bc()\r\n \twx.dll!022ee104()\r\n \tuser32.dll!_InternalCallWinProc@20()\r\n \tuser32.dll!_UserCallWinProcCheckWow@32()\r\n \tuser32.dll!_DispatchMessageWorker@8()\r\n \tuser32.dll!_DispatchMessageW@4()\r\n \tuser32.dll!_IsDialogMessageW@8()\r\n \twx.dll!022615b3()\r\n \twx.dll!02261435()\r\n \twx.dll!022613f8()\r\n \twx.dll!0229851b()\r\n \twx.dll!01fb1357()\r\n \tlua51.dll!66d828e2()\r\n \tntdll.dll!_ZwQueryInformationProcess@20()\r\n \tntdll.dll!_RtlEncodePointer@4()\r\n \tmsvcrt.dll!__encode_pointer()\r\n```\r\nThe stacktrace mentions the tree view update functions, I suspect it could be the constant updating of the Outline tree; if you tell me how to disable it temporarily I'd like to try that out.\r\n\r\nZBS version is commit c92f2dc4777aa70d2cd2b5408e7d826c8043b6b3, the OS is Windows 7 64-bit."},"comment":{"url":"https://api.github.com/repos/pkulchenko/ZeroBraneStudio/issues/comments/95360844","html_url":"https://github.com/pkulchenko/ZeroBraneStudio/issues/442#issuecomment-95360844","issue_url":"https://api.github.com/repos/pkulchenko/ZeroBraneStudio/issues/442","id":95360844,"user":{"login":"madmaxoft","id":4388386,"avatar_url":"https://avatars.githubusercontent.com/u/4388386?v=3","gravatar_id":"","url":"https://api.github.com/users/madmaxoft","html_url":"https://github.com/madmaxoft","followers_url":"https://api.github.com/users/madmaxoft/followers","following_url":"https://api.github.com/users/madmaxoft/following{/other_user}","gists_url":"https://api.github.com/users/madmaxoft/gists{/gist_id}","starred_url":"https://api.github.com/users/madmaxoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/madmaxoft/subscriptions","organizations_url":"https://api.github.com/users/madmaxoft/orgs","repos_url":"https://api.github.com/users/madmaxoft/repos","events_url":"https://api.github.com/users/madmaxoft/events{/privacy}","received_events_url":"https://api.github.com/users/madmaxoft/received_events","type":"User","site_admin":false},"created_at":"2015-04-22T23:01:31Z","updated_at":"2015-04-22T23:01:31Z","body":"As for 3, removing `showonefile` doesn't have an effect, I remember seeing the crashes even before I discovered that option (although that was with a bit older sources, too; sorry, I don't remember many details)\r\n\r\nI tried adding the `SetEvtHandlerEnabled` calls, I'll report if I see a crash again. It may take a few days, though, it was a random occurrence, after all."}}