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

plugin_host-3.3 has exited unexpectedly #6248

Open
sachin3593 opened this issue Dec 28, 2023 · 13 comments
Open

plugin_host-3.3 has exited unexpectedly #6248

sachin3593 opened this issue Dec 28, 2023 · 13 comments

Comments

@sachin3593
Copy link

Description of the bug

plugin_host-3.3 has exited unexpectedly

Steps to reproduce

Start ST

Expected behavior

plugin_host-3.3 has exited unexpectedly

Actual behavior

plugin_host-3.3 has exited unexpectedly

Sublime Text build number

plugin_host-3.3 has exited unexpectedly

Operating system & version

WIndows 10

(Linux) Desktop environment and/or window manager

No response

Additional information

No response

OpenGL context information

No response

@BenjaminSchaaf
Copy link
Member

What version of Sublime Text are you using?

@robpoyntz
Copy link

I am getting this error very frequently, and it's starting to make Sublime Text nearly unusable. Any help resolving this would be very gratefully received. I've tried disabling any unused packages, but obviously something is still not happy.

Using build 4169 on Ubuntu 20.04.

Console output:

startup, version: 4169 linux x64 channel: stable
executable: /opt/sublime_text/sublime_text
application: /opt/sublime_text
working dir: /home/<myusername>
packages path: /home/<myusername>/.config/sublime-text-3/Packages
state path: /home/<myusername>/.config/sublime-text-3/Local
zip path: /opt/sublime_text/Packages
zip path: /home/<myusername>/.config/sublime-text-3/Installed Packages
ignored_packages: ["ActionScript", "AppleScript", "ASP", "C#", "C++", "Clojure", "D", "Erlang", "Graphviz", "Groovy", "Haskell", "Lisp", "Markdown", "MarkdownEditing", "Matlab", "Objective-C", "Outline", "R", "Rails", "Swift", "Twig", "Vintage"]
pre session restore time: 0.142132
OpenGL Context Information:
  GL API Version: 4.6 (Core Profile) Mesa 21.2.6
  GLSL Version: 4.60
  Vendor: Intel
  Renderer: Mesa Intel(R) UHD Graphics 630 (CFL GT2)
startup time: 0.607415
first paint time: 0.623977
git: located Sublime Merge installed at /opt/sublime_merge
git: using configuration from system git install
git: tracking working dir /home/<myusername>/Projects/<redacted>
git: tracking working dir /home/<myusername>/Projects/<redacted>
git: tracking working dir /home/<myusername>/Projects/<redacted>
reloading plugin Default.arithmetic
reloading plugin Default.auto_indent_tag
reloading plugin Default.block
reloading plugin Default.colors
reloading plugin Default.comment
reloading plugin Default.convert_color_scheme
reloading plugin Default.convert_syntax
reloading python 3.3 plugin Alignment.Alignment
reloading plugin Default.copy_path
reloading plugin Default.echo
reloading plugin Default.exec
reloading python 3.3 plugin BracketHighlighter.bh_core
reloading plugin Default.fold
reloading plugin Default.font
reloading plugin Default.goto_line
reloading plugin Default.history_list
reloading plugin Default.html_print
reloading plugin Default.indentation
reloading plugin Default.install_package_control
reloading plugin Default.keymap
reloading plugin Default.kill_ring
reloading plugin Default.mark
reloading plugin Default.new_templates
reloading plugin Default.open_context_url
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.quick_panel
reloading plugin Default.rename
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.settings
reloading plugin Default.show_scope_name
reloading plugin Default.side_bar
reloading plugin Default.sort
reloading plugin Default.switch_file
reloading plugin Default.symbol
reloading plugin Default.transform
reloading plugin Default.transpose
reloading plugin Default.ui
reloading plugin CSS.css_completions
reloading plugin Diff.diff
reloading plugin HTML.encode_html_entities
reloading plugin HTML.html_completions
reloading plugin Bracketeer.bracketeer
reloading plugin EditorConfig.EditorConfig
reloading plugin Package Control.plugin
reloading plugin Sass.plugin
reloading python 3.3 plugin BracketHighlighter.bh_logging
reloading python 3.3 plugin BracketHighlighter.bh_plugin
reloading python 3.3 plugin BracketHighlighter.bh_popup
reloading python 3.3 plugin BracketHighlighter.bh_regions
reloading python 3.3 plugin BracketHighlighter.bh_remove
reloading python 3.3 plugin BracketHighlighter.bh_rules
reloading python 3.3 plugin BracketHighlighter.bh_search
reloading python 3.3 plugin BracketHighlighter.bh_swapping
reloading python 3.3 plugin BracketHighlighter.bh_wrapping
reloading python 3.3 plugin BracketHighlighter.support
reloading python 3.3 plugin Case Conversion.case_conversion
reloading python 3.3 plugin Case Conversion.case_parse
reloading python 3.3 plugin Delphi Style Bookmarks.delphi_style_bookmarks
reloading python 3.3 plugin GenerateUUID.generate_uuid
reloading python 3.3 plugin HTMLBeautify.HTMLBeautify
reloading python 3.3 plugin InsertDate.insert_date
reloading python 3.3 plugin Javascript Beautify.jsbeautify
reloading python 3.3 plugin JsFormat.js_formatter
reloading python 3.3 plugin LSP-angular.plugin
reloading python 3.3 plugin LSP-json.commands
reloading python 3.3 plugin LSP-json.plugin
reloading python 3.3 plugin LSP-json.schema_store
reloading python 3.3 plugin LSP-typescript.commands
reloading python 3.3 plugin LSP-typescript.plugin
reloading python 3.3 plugin LSP-typescript.plugin_types
reloading python 3.3 plugin LSP.boot
reloading python 3.3 plugin MarkdownPreview.browser
reloading python 3.3 plugin MarkdownPreview.markdown_preview
reloading python 3.3 plugin MarkdownPreview.markdown_settings
reloading python 3.3 plugin MarkdownPreview.markdown_wrapper
reloading python 3.3 plugin Select Quoted.select_quotes
reloading python 3.3 plugin Swap Selections.SwapSelections
reloading python 3.3 plugin TrailingSpaces.trailing_spaces
reloading python 3.3 plugin xpath.lxml_parser
reloading python 3.3 plugin xpath.sublime_helper
reloading python 3.3 plugin xpath.sublime_input
reloading python 3.3 plugin xpath.sublime_input_quickpanel
reloading python 3.3 plugin xpath.sublime_input_view
reloading python 3.3 plugin xpath.sublime_lxml
reloading python 3.3 plugin xpath.tests
reloading python 3.3 plugin xpath.xpath
reloading python 3.3 plugin LiveReload.__init__
reloading python 3.3 plugin LiveReload.CoffeescriptPlugin
LiveReload: added file /livereload.js with content-type: text/javascript
reloading python 3.3 plugin LiveReload.CommandAPI
reloading python 3.3 plugin LiveReload.CompassPlugin
reloading python 3.3 plugin LiveReload.LESSPlugin
reloading python 3.3 plugin LiveReload.LiveReload
reloading python 3.3 plugin LiveReload.SimpleReloadCallback
reloading python 3.3 plugin LiveReload.SimpleReloadPlugin
reloading python 3.3 plugin LiveReload.SimpleReloadPluginDelay
reloading python 3.3 plugin LiveReload.SimpleWSCallback
reloading python 3.3 plugin TypeScript.main
2024-03-26 09:19:46,175: 140341995403072: WARNING: TypeScript plugin initialized.
WARNING:TS:TypeScript plugin initialized.
plugins loaded
Package Control: All specified packages up-to-date!
Error loading Packages/Markdown/Markdown.sublime-syntax: Unable to read Packages/Markdown/Markdown.sublime-syntax in Packages/Sass/Syntaxes/SCSS.sublime-syntax
no such context Packages/Markdown/Markdown.sublime-syntax#bold at line 502 column 16 of Packages/Sass/Syntaxes/SCSS.sublime-syntax
no such context Packages/Markdown/Markdown.sublime-syntax#italic at line 503 column 16 of Packages/Sass/Syntaxes/SCSS.sublime-syntax
no such context Packages/Markdown/Markdown.sublime-syntax#code-spans at line 504 column 16 of Packages/Sass/Syntaxes/SCSS.sublime-syntax
error: plugin_host-3.3 has exited unexpectedly, some plugin functionality won't be available until Sublime Text has been restarted

@BenjaminSchaaf
Copy link
Member

@robpoyntz Does it happen in safe mode?

@robpoyntz
Copy link

Seems to be OK in safe mode. I have been using it for a few hours and not noticed an issue. Switching back to the normal mode and the error appeared almost immediately.

There is nothing in particular that seems to trigger the error, although I have noticed that some file types generate the error more often than others. eg Angular HTML template files produces the error very often (eg it's often hard to write any code at all without the error occurring). TypeScript and JavaScript files the error still occurs, but less often.

How can I help in debugging this?

@deathaxe
Copy link
Collaborator

Syntax error messages are caused by "Markdown" and/or "MarkdownEditing" packages being disabled, which syntaxes such as SCSS rely on.

Also Microsoft's TypeScript package is problematic in ST4 as it provides cumbersome plugin functionality and overrides the more advanced core TypeScript syntax of ST4.

@rchl
Copy link

rchl commented Mar 26, 2024

As for the Typescript package check microsoft/TypeScript-Sublime-Plugin#786

@robpoyntz
Copy link

Thanks for the responses. Have been a long-time user of ST, and wasn't aware of the Microsoft Typescript package issue.

Have removed MS Typescript package, now just using LSP + LSP-Typescript. I re-enabled the Markdown and MarkdownEditing packages. Things seemed to be much improved for a few hours, but unfortunately the error just reoccurred.

@BenjaminSchaaf
Copy link
Member

I suggest using the "ignored_packages" setting to systematically narrow down the package causing the crash.

@robpoyntz
Copy link

I've disabled a number of packages, and have had zero crashes so far today. I'll slowly start adding them back in until I discover the culprit.

Thanks for your assistance everyone 🙇‍♂️

@sachin3593
Copy link
Author

What version of Sublime Text are you using?

I am using version 4169

@BenjaminSchaaf
Copy link
Member

@sachin3593 Does it happen in safe mode?

@sachin3593
Copy link
Author

@sachin3593 Does it happen in safe mode?

Yes, I tried in safe mode also

@BenjaminSchaaf
Copy link
Member

@sachin3593 Do you have a anti-virus or other 3rd party software that may interfere? Does it still happen if you temporarily disable it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants