[Github-comments] [geany/geany] CPU load 1.28 (#1252)

elextr notifications at xxxxx
Sun Oct 9 09:02:49 UTC 2016


First, thanks for debugging.

As @techee said above, the loop your data indicates is produced when the shell inside VTE keeps dying. 

The entry in the conf file `last_dir` is the directory it will try to start the shell in.  Is it correctly encoded in the conf file?  Its not documented what encoding the VTE library requires it in, but I would expect UTF8, but maybe its meant to be locale. Especially suspicious since the problem seems to be dependent on your locale.  Geany does lots of converting of filenames UTF-8 from/to locale because the UI requires UTF-8 to display the filename, and provides filenames input or from the filechooser as UTF-8, but the system requires locale for things like reading the file.  Possibly a conversion is missing.

Something like a bad directory could cause the shell to fail and the loop identified by @techee to be entered.  Unfortunately that loop is required so that if the shell dies it gets restarted so the VTE remains available to the user.



-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/1252#issuecomment-252474191
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20161009/7df4c745/attachment.html>


More information about the Github-comments mailing list