Skip to content
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

Open
jimzag opened this issue Jan 11, 2017 · 19 comments
Open

Comments

@jimzag
Copy link

jimzag commented Jan 11, 2017

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 --

@jimzag
Copy link
Author

jimzag commented Jan 15, 2017

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.

@Defman21
Copy link
Contributor

Once you reproduce the crash again, attach your log file (pystderr.log in your profile folder)

@Naatan
Copy link
Member

Naatan commented Jan 16, 2017

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.

@jimzag
Copy link
Author

jimzag commented Jan 18, 2017 via email

@jimzag
Copy link
Author

jimzag commented Jan 18, 2017 via email

@jimzag
Copy link
Author

jimzag commented Jan 18, 2017 via email

@Naatan
Copy link
Member

Naatan commented Jan 18, 2017

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?

@Defman21
Copy link
Contributor

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 :)

@jimzag
Copy link
Author

jimzag commented Jan 18, 2017

komono_not_responding

pystderr.zip

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.

@th3coop
Copy link
Member

th3coop commented Jan 18, 2017

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 git in the search field at the top of the left column.

@Naatan
Copy link
Member

Naatan commented Jan 18, 2017

This seems fishy:

Exception in thread Thread-20:
Traceback (most recent call last):
  File "C:\Program Files (x86)\ActiveState Komodo IDE 10\lib\python\lib\threading.py", line 808, in __bootstrap_inner
    self.run()
  File "C:\Program Files (x86)\ActiveState Komodo IDE 10\lib\mozilla\python\komodo\watchdog\observers\api.py", line 186, in run
    self.queue_events(self.timeout)
  File "C:\Program Files (x86)\ActiveState Komodo IDE 10\lib\mozilla\python\komodo\watchdog\observers\read_directory_changes.py", line 73, in queue_events
    self.watch.is_recursive)
  File "C:\Program Files (x86)\ActiveState Komodo IDE 10\lib\mozilla\python\komodo\watchdog\observers\winapi_common.py", line 124, in read_directory_changes
    None)
  File "C:\Program Files (x86)\ActiveState Komodo IDE 10\lib\mozilla\python\komodo\watchdog\observers\winapi.py", line 106, in _errcheck_bool
    raise ctypes.WinError()
WindowsError: [Error 5] Access is denied.

Are you perhaps pointing Komodo at files/directories that it does not have permission to read?

@jimzag
Copy link
Author

jimzag commented Jan 18, 2017 via email

@Naatan
Copy link
Member

Naatan commented Jan 18, 2017

Please see whether disabling GIT works around the issue, see screenshot for assistance:

image

@jimzag
Copy link
Author

jimzag commented Jan 20, 2017

komodo_pystderr.zip

Another crash occurred today after disabling Git integration. Here is the sequence of events:

  1. Disable Git integration
  2. close and re-open Komodo
  3. Select the Master branch in Git (from the Git UI)
  4. press Git UI SYNC button
  5. Observed that Komodo was no longer running

@Naatan
Copy link
Member

Naatan commented Jan 20, 2017

See if disabling this setting makes a difference:

image

@jimzag
Copy link
Author

jimzag commented Jan 21, 2017 via email

@Naatan
Copy link
Member

Naatan commented Jan 23, 2017

@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?

@jimzag
Copy link
Author

jimzag commented Jan 23, 2017 via email

@Naatan
Copy link
Member

Naatan commented Jan 23, 2017

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".

@Naatan Naatan added this to the 10.2 milestone Jan 23, 2017
@Naatan Naatan self-assigned this Jan 23, 2017
@Naatan Naatan modified the milestones: 10.2, 10.2.1 Feb 22, 2017
@Naatan Naatan modified the milestones: 10.2.1, 10.2.2 Mar 14, 2017
@Naatan Naatan modified the milestones: 10.2.2, 11.0.1 Sep 6, 2017
@Naatan Naatan modified the milestones: 11.0.1, 11.x.x Sep 29, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants