-
Notifications
You must be signed in to change notification settings - Fork 9.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
App crashes on opening external file/cmd-clicking on it #8846
Comments
Thanks @dacarver and sorry that’s happening for you! Would you mind sharing a log file from a day it’s occurring frequently? You can find them in “Help -> Show logs in Finder/Explorer” from the menu. Also, would you mind sharing your OS version? Thanks! Edit: apologies, you already shared your OS version - my mistake! Logs might still be helpful though if you don’t mind. |
@billygriffin Here is the log file from today when it happened a few times. Names and URLs have been replaced with https://www.dropbox.com/s/hiz5yp1qkzn6dlq/2019-12-30.desktop.production.log?dl=0 |
I do not see anything in the logs. Just to confirm, Desktop crashed and not Visual Studio Code? When Desktop crashes, it should show a window informing the user of the crash as implemented in #8405 Any chance you saw this? Regardless, i will try to reproduce soon. |
Correct, it's definitely Github Desktop that is crashing. The only dialog box that comes up is the system one, to send the crash report to Apple. I'll see if I can get any information from that dialog and provide it (think it gives a stack trace and some other information). |
Here is the contents of the crash log that came up when this happened again. I went to "Open with default program" on a .swift file, which caused this. |
@niik Any insight on this is appreciated. |
Hi @dacarver, thanks for opening this. My gut feeling (which isn't much to go by to be fair) tells me this is awfully similar to electron/electron#20737 which was fixed in electron/electron#21169 and backported to Electron 6.1.5. We're currently aiming to upgrade the version of Electron we're using to 6.1.6 which hopefully resolves this issue. I'm gonna tentatively put this issue in the 2.3 project board and as soon as we ship a beta with Electron 6 we can see if this is still happening. |
I think this is probably due to an underlying Electron bug, because I quickly get crashes (macOS) when using the context menu to open a file in Sublime. But I've also gotten sudden crashes from doing other innocuous operations in the commit list. |
I am still seeing this in version |
Update: I was able to reproduce this bug in the current production version of Desktop |
When attempting to open a file in an external editor, the app crashes. This is very inconsistent. Sometimes it's when opening in an external editor, sometimes it's just when command-clicking on a modified file. It is occurring frequently. The steps below are one example of when it occurred, although I could then not reproduce it using the same steps.
This frequent crashing started after updating to 2.2.4.
GitHub Desktop version 2.2.4
MacOS version 10.15.2
The text was updated successfully, but these errors were encountered: