-
Notifications
You must be signed in to change notification settings - Fork 300
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
(Windows) Komodo crashes whenever Git or other tool updates an open file #2260
Comments
I am curious if this problem has been reported by others. I noticed there have been no notations made to date on the status. Let me know if I can provide anything in particular: logs, etc. |
Once you reproduce the crash again, attach your log file (pystderr.log in your profile folder) |
We use Komodo with GIT to develop Komodo and are not seeing this crash. Does disabling GIT make a difference? The next time it happens please enter your email in the crash report and put a link to this bug in the comments. |
The lockup happened again today. Not as frequently recently - may depend on something specific in the files.
Here is the log and screenshot. I had just performed a 'SYNC' in the Github UI and I know it had updates some of the files which had been open in Komodo.
|
Sent an example of the crash to S. Kislyakov. Hope it is helpful in finding the cause.
|
Also noticed Komodo is taking 25 - 30% CPU, so not crashed but stuck in processing.
|
Please respond using the github web interface. Email responses include a lot of useless extra text and do not include attachments (we cannot see your logs). Additionally, you did not say whether disabling GIT helped or not? |
I believe github hides my e-mail to something that behaves like noreply. So I didn't get your message :( Please do what Nathan said :) |
Log and screen capture attached. Also, I noted that the processor was at 25-30% when Komodo was in the 'not responding' state seen in the screen capture. Regarding whether 'Disabling GIT' makes a difference, I assume that is a setting in Komodo. I don't use the Git integration. I had a quick look around in Preferences and did not see a setting like that. Let me know where to look. |
@jimzag Open the preferences and search |
This seems fishy:
Are you perhaps pointing Komodo at files/directories that it does not have permission to read? |
The GIT operations at that time included pressing the SYNC button (on the GIT Windows App), and possibly creating a new branch and changing the selected branch. In GIT obviously if you switch branches some files disappear or change according to what has occurred on that branch. Perhaps there is brief inavailability of the folder during these type of GIT operations, and perhaps a timing-dependent failure encountered if there is a certain timing with respect to processing of any updates as Komono observes folder/ file changes.
I am pretty sure all files open at the time were in folders under c:\Dev\JBSDEV\BrowserApp2. There were perhaps 6 files open.
|
Another crash occurred today after disabling Git integration. Here is the sequence of events:
|
I have made the change. Now that file change detection is turned off, is there a way I can tell Komodo to reread all files. I certainly don't want to be editing an old version, such that when I save the changes it actually overwrites the current version with older content.
|
@jimzag the point of toggling that setting is not to fix your problem, but rather to diagnose it. Are you saying that toggling it worked around your issue? Komodo is no longer hanging/crashing? |
Right - understood.Yes, I have not seen a crash since toggling the 'detect updates' setting. I have repeated the steps which previously would have caused the crash or hangup.
Jim
|
Thanks @jimzag, I'm gonna see about creating a build with increased file notification logging. Until then I would recommend you use the workaround. Note you can manually refresh files by right clicking their tab and hitting "Refresh Status". |
Short Summary
After Git SYNC (GitHub UI) or sometimes if changing branches I will find Komodo non responsive. The windows cursor and greyed-out appearance of the app. Need to close and re-open. I first noticed this with another tool, Pinegrow which writes web pages. If I had a particular page open in Komodo then saved that same page in Pinegrow, Komono crashes every time.
Steps to Reproduce
See above
Expected results
Actual results
Platform Information
Windows 10
Komodo Edit or IDE?
IDE
Komodo Version?
Komodo IDE, version 10.1.4, build 89515, platform win32-x86. Built on Fri Dec 16 10:34:21 2016
Operating System (and version)?
Additional Information
-- eg. Error logs, screenshots, workarounds --
The text was updated successfully, but these errors were encountered: