Sublime Forum

plugin_host has exited unexpectedly - Build 3103 - OSX 10.11.3

#1

Hi,

Since I updated to Build 3103 I have a big problem.
When I save a file 2 times I have this alert :
“plugin_host has exited unexpectedly, plugin functionality won’t be available until Sublime Text has been restarted”
Not on the first time.

After this message, package_control and all my plugins are desactivated.

I tried the method “Reverting to a Freshly Installed State”, and reinstalling some of my plugin one by one. But it still makes this error.

Here is what tells me the console :
startup, version: 3103 osx x64 channel: stable executable: /Applications/Sublime Text.app/Contents/MacOS/Sublime Text working dir: / packages path: /Users/v_leveque/Library/Application Support/Sublime Text 3/Packages state path: /Users/v_leveque/Library/Application Support/Sublime Text 3/Local zip path: /Applications/Sublime Text.app/Contents/MacOS/Packages zip path: /Users/v_leveque/Library/Application Support/Sublime Text 3/Installed Packages ignored_packages: ["Vintage"] pre session restore time: 0.277144 using gpu buffer for window startup time: 0.328937 first paint time: 0.383571 reloading plugin Default.block reloading plugin Default.comment reloading plugin Default.convert_syntax reloading plugin Default.copy_path reloading plugin Default.delete_word reloading plugin Default.detect_indentation reloading plugin Default.duplicate_line reloading plugin Default.echo reloading plugin Default.exec reloading plugin Default.fold reloading plugin Default.font reloading plugin Default.goto_line reloading plugin Default.history_list reloading plugin Default.indentation reloading plugin Default.kill_ring reloading plugin Default.mark reloading plugin Default.new_templates reloading plugin Default.open_context_url reloading plugin Default.open_file_settings reloading plugin Default.open_in_browser reloading plugin Default.pane reloading plugin Default.paragraph reloading plugin Default.paste_from_history reloading plugin Default.profile reloading plugin Default.profile_syntax_definition reloading plugin Default.quick_panel reloading plugin Default.run_syntax_tests reloading plugin Default.save_on_focus_lost reloading plugin Default.scroll reloading plugin Default.set_unsaved_view_name reloading plugin Default.side_bar reloading plugin Default.sort reloading plugin Default.swap_line reloading plugin Default.switch_file reloading plugin Default.symbol reloading plugin Default.transform reloading plugin Default.transpose reloading plugin Default.trim_trailing_white_space reloading plugin CSS.css_completions reloading plugin Diff.diff reloading plugin HTML.encode_html_entities reloading plugin HTML.html_completions reloading plugin Python.syntax_test_python reloading plugin 0_package_control_loader.00-package_control reloading plugin 0_package_control_loader.02-bz2 reloading plugin 0_package_control_loader.50-backrefs reloading plugin 0_package_control_loader.50-requests reloading plugin Alignment.Alignment reloading plugin AlignTab.aligner reloading plugin AlignTab.aligntab reloading plugin AlignTab.hist reloading plugin AlignTab.parser reloading plugin AlignTab.table reloading plugin AlignTab.wclen reloading plugin All Autocomplete.all_views_completions reloading plugin AutoFileName.autofilename reloading plugin AutoFileName.getimageinfo reloading plugin BracketHighlighter.bh_core reloading plugin BracketHighlighter.bh_logging reloading plugin BracketHighlighter.bh_plugin reloading plugin BracketHighlighter.bh_regions reloading plugin BracketHighlighter.bh_remove reloading plugin BracketHighlighter.bh_rules reloading plugin BracketHighlighter.bh_search reloading plugin BracketHighlighter.bh_swapping reloading plugin BracketHighlighter.bh_wrapping reloading plugin Color Highlighter.ColorHighlighter reloading plugin Color Highlighter.colors reloading plugin CSS Extended Completions.cache reloading plugin CSS Extended Completions.commands reloading plugin CSS Extended Completions.completions reloading plugin CSS Extended Completions.css_style_completions reloading plugin CSS Extended Completions.extended_css_completions reloading plugin CSS Extended Completions.location reloading plugin CSS Extended Completions.project reloading plugin CSS Extended Completions.settings reloading plugin CSS Extended Completions.style_parser reloading plugin DashDoc.DashDoc reloading plugin DocBlockr.jsdocs reloading plugin EditorConfig.EditorConfig reloading plugin Emmet.emmet-plugin reloading plugin FileDiffs.file_diffs reloading plugin Function Name Display.FunctionNameStatus reloading plugin Git.git_commands reloading plugin GitGutter.git_gutter reloading plugin GitGutter.git_gutter_change reloading plugin GitGutter.git_gutter_compare reloading plugin GitGutter.git_gutter_events reloading plugin GitGutter.git_gutter_handler reloading plugin GitGutter.git_helper reloading plugin GitGutter.view_collection reloading plugin Github Tools.github reloading plugin Github Tools.github_blame reloading plugin Github Tools.github_copy_link reloading plugin Github Tools.github_create_pr reloading plugin Github Tools.github_file_history reloading plugin Github Tools.github_issues reloading plugin Github Tools.github_open reloading plugin Github Tools.github_plugin_settings reloading plugin Github Tools.github_pulls reloading plugin Github Tools.github_repository reloading plugin HTML5.encode_html_entities reloading plugin HTML5.html_completions reloading plugin ImageMagick.SublimeMagick reloading plugin Increment Selection.IncrementSelection reloading plugin JsonTree.JsonTree reloading plugin LogView.logview reloading plugin Package Control.1_reloader reloading plugin Package Control.2_bootstrap scan: /Users/v_leveque/Sites/maestro/vendor/kbrabrand/zf2-swagger-ui/public has been seen before, skipping (using inode) previous path: /Users/v_leveque/Sites/maestro/public/swagger-ui inode: 30912816 reloading plugin Package Control.Package Control reloading plugin PHP Companion.PHP Companion reloading plugin Phpcs.phpcs reloading plugin SCSS.scss_completions reloading plugin SideBarEnhancements.SideBar reloading plugin SideBarEnhancements.SideBarAPI reloading plugin SideBarEnhancements.SideBarDefaultDisable reloading plugin SideBarGit.SideBarAPI reloading plugin SideBarGit.SideBarGit reloading plugin SideBarGit.SideBarGitCommands reloading plugin Themr.themr reloading plugin Unicode Character Highlighter.sublime_unicode_nbsp reloading plugin W3CValidators.W3CValidators reloading plugin Gutter Color.file reloading plugin Gutter Color.gutter_color reloading plugin Gutter Color.line reloading plugin HTML-CSS-JS Prettify.HTMLPrettify reloading plugin SFTP.SFTP reloading plugin SublimeCodeIntel.ordereddict reloading plugin SublimeCodeIntel.SublimeCodeIntel plugins loaded Emmet: No need to update PyV8 Package Control: Skipping automatic upgrade, last run at 2016-02-09 14:52:40, next run at 2016-02-09 15:52:40 or after Could not import subprocess32 module, falling back to subprocess module PARSING SAVED VIEW PARSING SAVED VIEW error: plugin_host has exited unexpectedly, plugin functionality won't be available until Sublime Text has been restarted

I don’t know what to do :confused:

0 Likes

#2

I rolled back to 3102 and it works fine

0 Likes

#3

Spoke too fast … the error came back after a while … :confused:

0 Likes

#4

Unfortunately you have quite a number of third-party packages installed, so it will probably require doing some form of binary search of your plugins to see which is causing it.

For a binary search, disable half of the packages and leave the others enabled. If you don’t experience the bug, then the error is probably in one of the other packages. Repeat splitting the enabled packages in half until you identify the problem package.

Good luck!

2 Likes

#5

Hi,
Thanks for your response.
I did that.
And finally I found that it’s “AutoFileName” plugin that caused this bug.

Thanks a lot.

0 Likes

#6

I already create topic with this problem.


IMO the plugin which crashed Sublime is CSS Extended Completions (I see you are using it too)

1 Like

#7

I have the same problem with CSS Extended Completions. There is now an issue on the plugins github issue tracker: https://github.com/subhaze/CSS-Extended/issues/47

In older builds (currently I’m on 3102 DEV) the plugin worked flawless.
The plugin_host crash started to appear in build 3101 / 3102 / 3103.

@wbond, @jps you have any idea what might cause this plugin_host crash?

0 Likes

#8

same problem as you, but on Win10, it works after I uninstalled the CSS snippet by Package Control-Remove Package.

0 Likes

#9

I figured out the cause for this problem on my system, it was the active threat control in Bitdefender perceiving plugin_host.exe as a threat and shutting it down. I am running Sublime Text 3 build 3103 on Windows 10 and using Bitdefender 2016. I encountered the same issue after installing SublimeLinter-csslint, SublimeLinter-jhint, and SublimeLinter-contrib-htmlhint.

After correcting an error pointed out by SublimeLinter in a css file, it did not make the dot indicating an error in the gutter go away. When I tried to save, I received the “plugin_host has exited unexpectedly, plugin functionality won’t be available until Sublime Text has been restarted” error.

Suspecting Bitdefender, I checked the event log and it said, “The application C:\Program Files\Sublime Text3\plugin_host.exe was detected as potentially malicious. Active Threat Control blocked this process based on the following actions: - The application’s behavior can harm your computer.” After some investigation and trial and error it appears to be a false positive generated by the Active Threat Control.

After adding plugin_host.exe’s file path into the antivirus excluded processes list it works fine now, problem solved. Now as far as what is causing the antivirus to trigger, that’s another matter altogether. If anyone figures it out let me know. I hope this is helpful.

0 Likes