Plugin_host-3.3 has exited unexpectedly, some plugin functionality won’t be available until Sublime Text has been restarted
version: 4126
OS: MACOS 12 /M1
Does it happen in safe mode right after you install Package Control ?
It could very well be this issue
Thank you ,but, It didn’t happen in safe mode,Up to now, I haven’t found a solution. Do you have any good suggestions? Or, is there a way to download the 4113 version?
startup, version: 4126 osx arm64 channel: stable
executable: /Applications/Sublime Text.app/Contents/MacOS/sublime_text
application: /Applications/Sublime Text.app
working dir: /
packages path: /Users/jw/Library/Application Support/Sublime Text/Packages
state path: /Users/jw/Library/Application Support/Sublime Text/Local
zip path: /Applications/Sublime Text.app/Contents/MacOS/Packages
zip path: /Users/jw/Library/Application Support/Sublime Text/Installed Packages
ignored_packages: [“Vintage”]
pre session restore time: 0.17868
OpenGL Context Information:
GL API Version: 4.1 Metal - 76.3
GLSL Version: 4.10
Vendor: Apple
Renderer: Apple M1
startup time: 0.225992
first paint time: 0.229854
environment variables loaded using: /bin/zsh -l
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 plugin Default.copy_path
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.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 ShellScript.ShellScript
plugins loaded
reloading python 3.3 plugin Package Control.1_reloader
reloading python 3.3 plugin Package Control.2_bootstrap
error: plugin_host-3.3 has exited unexpectedly, some plugin functionality won’t be available until Sublime Text has been restarted
From your console output, it does appear to be something related to Package Control
. But that issue doesn’t mention any work arounds or anything, so maybe it’s something Package Control
has to fix.
You can download any version you want from the downloads page. https://www.sublimetext.com/download, just take the download URL and replace with the build number you want.
I am glad that this issue has been resolved for the time being, using version 4113!
log:
startup, version: 4113 osx arm64 channel: stable
executable: /private/var/folders/kl/4r5wgk294kq0bct_n20knc380000gn/T/AppTranslocation/D62BB77F-DDA3-46C2-AA81-63753FBA5AFB/d/Sublime Text.app/Contents/MacOS/sublime_text
application: /Users/jw/Downloads/Sublime Text.app
working dir: /
packages path: /Users/jw/Library/Application Support/Sublime Text/Packages
state path: /Users/jw/Library/Application Support/Sublime Text/Local
zip path: /private/var/folders/kl/4r5wgk294kq0bct_n20knc380000gn/T/AppTranslocation/D62BB77F-DDA3-46C2-AA81-63753FBA5AFB/d/Sublime Text.app/Contents/MacOS/Packages
zip path: /Users/jw/Library/Application Support/Sublime Text/Installed Packages
ignored_packages: [“Vintage”]
generating syntax summary
generating meta info summary
pre session restore time: 5.1263
OpenGL Context Information:
GL API Version: 4.1 Metal - 76.3
GLSL Version: 4.10
Vendor: Apple
Renderer: Apple M1
startup time: 5.17555
first paint time: 5.1816
environment variables loaded using: /bin/zsh -l
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 plugin Default.copy_path
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.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 ShellScript.ShellScript
plugins loaded
reloading python 3.3 plugin Package Control.1_reloader
reloading python 3.3 plugin Package Control.2_bootstrap
reloading python 3.3 plugin Package Control.Package Control
Package Control: Not running package cleanup since bootstrapping is not yet complete
reloading python 3.3 plugin 0_package_control_loader.00-package_control
reloading settings Packages/User/Package Control.sublime-settings
What version of Package Control are you running on both 4113 and 4126 ? You can find it out by first installing PC and then using Package Control: List Packages
and searching for Package Control.
For example, I am running v3.4.1
If both versions are same, then it could very well be some issue in ST.
I’m sorry I didn’t pay attention to this Package Control plugin version, I just updated my MACOS version(12.3.1 21E258) and sublime has been updated to 4126 as well. But I noticed something else.
startup, version: 4126 osx arm64 channel: stable
executable: /Applications/Sublime Text.app/Contents/MacOS/sublime_text
application: /Applications/Sublime Text.app
working dir: /
packages path: /Users/jw/Library/Application Support/Sublime Text/Packages
state path: /Users/jw/Library/Application Support/Sublime Text/Local
zip path: /Applications/Sublime Text.app/Contents/MacOS/Packages
zip path: /Users/jw/Library/Application Support/Sublime Text/Installed Packages
ignored_packages: [“Markdown”, “Vintage”]
generating syntax summary
generating meta info summary
ignored packages updated to: [“Vintage”]
pre session restore time: 0.217207
OpenGL Context Information:
GL API Version: 4.1 Metal - 76.3
GLSL Version: 4.10
Vendor: Apple
Renderer: Apple M1
startup time: 0.262199
first paint time: 0.277566
generating syntax summary
generating meta info summary
environment variables loaded using: /bin/zsh -l
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 plugin Default.copy_path
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.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 ShellScript.ShellScript
plugins loaded
reloading python 3.3 plugin Package Control.1_reloader
reloading python 3.3 plugin Package Control.2_bootstrap
Traceback (most recent call last):
File “/Applications/Sublime Text.app/Contents/MacOS/Lib/python33/sublime_plugin.py”, line 308, in reload_plugin
m = importlib.import_module(modulename)
File “./python3.3/importlib/init.py”, line 90, in import_module
File “”, line 1584, in _gcd_import
File “”, line 1565, in _find_and_load
File “”, line 1532, in _find_and_load_unlocked
File “/Applications/Sublime Text.app/Contents/MacOS/Lib/python33/sublime_plugin.py”, line 1692, in load_module
exec(compile(source, source_path, ‘exec’), mod.dict)
File “/Users/jw/Library/Application Support/Sublime Text/Installed Packages/Package Control.sublime-package/2_bootstrap.py”, line 26, in
File “”, line 1565, in _find_and_load
File “”, line 1532, in _find_and_load_unlocked
File “/Applications/Sublime Text.app/Contents/MacOS/Lib/python33/sublime_plugin.py”, line 1692, in load_module
exec(compile(source, source_path, ‘exec’), mod.dict)
File “/Users/jw/Library/Application Support/Sublime Text/Installed Packages/Package Control.sublime-package/package_control/bootstrap.py”, line 20, in
File “”, line 1565, in _find_and_load
File “”, line 1532, in _find_and_load_unlocked
File “/Applications/Sublime Text.app/Contents/MacOS/Lib/python33/sublime_plugin.py”, line 1692, in load_module
exec(compile(source, source_path, ‘exec’), mod.dict)
File “/Users/jw/Library/Application Support/Sublime Text/Installed Packages/Package Control.sublime-package/package_control/download_manager.py”, line 24, in
File “”, line 1565, in _find_and_load
File “”, line 1532, in _find_and_load_unlocked
File “/Applications/Sublime Text.app/Contents/MacOS/Lib/python33/sublime_plugin.py”, line 1692, in load_module
exec(compile(source, source_path, ‘exec’), mod.dict)
File “/Users/jw/Library/Application Support/Sublime Text/Installed Packages/Package Control.sublime-package/package_control/downloaders/init.py”, line 20, in
File “”, line 1565, in _find_and_load
File “”, line 1532, in _find_and_load_unlocked
File “/Applications/Sublime Text.app/Contents/MacOS/Lib/python33/sublime_plugin.py”, line 1692, in load_module
exec(compile(source, source_path, ‘exec’), mod.dict)
File “/Users/jw/Library/Application Support/Sublime Text/Installed Packages/Package Control.sublime-package/package_control/downloaders/oscrypto_downloader.py”, line 44, in
File “”, line 1565, in _find_and_load
File “”, line 1532, in _find_and_load_unlocked
File “/Applications/Sublime Text.app/Contents/MacOS/Lib/python33/sublime_plugin.py”, line 1692, in load_module
exec(compile(source, source_path, ‘exec’), mod.dict)
File “/Users/jw/Library/Application Support/Sublime Text/Installed Packages/Package Control.sublime-package/package_control/deps/oscrypto/tls.py”, line 11, in
File “”, line 1565, in _find_and_load
File “”, line 1532, in _find_and_load_unlocked
File “/Applications/Sublime Text.app/Contents/MacOS/Lib/python33/sublime_plugin.py”, line 1692, in load_module
exec(compile(source, source_path, ‘exec’), mod.dict)
File “/Users/jw/Library/Application Support/Sublime Text/Installed Packages/Package Control.sublime-package/package_control/deps/oscrypto/_mac/tls.py”, line 39, in
File “”, line 1565, in _find_and_load
File “”, line 1532, in _find_and_load_unlocked
File “/Applications/Sublime Text.app/Contents/MacOS/Lib/python33/sublime_plugin.py”, line 1692, in load_module
exec(compile(source, source_path, ‘exec’), mod.dict)
File “/Users/jw/Library/Application Support/Sublime Text/Installed Packages/Package Control.sublime-package/package_control/deps/oscrypto/_mac/util.py”, line 208, in
File “”, line 1565, in _find_and_load
File “”, line 1532, in _find_and_load_unlocked
File “/Applications/Sublime Text.app/Contents/MacOS/Lib/python33/sublime_plugin.py”, line 1692, in load_module
exec(compile(source, source_path, ‘exec’), mod.dict)
File “/Users/jw/Library/Application Support/Sublime Text/Installed Packages/Package Control.sublime-package/package_control/deps/oscrypto/_openssl/_libcrypto.py”, line 15, in
File “”, line 1565, in _find_and_load
File “”, line 1532, in _find_and_load_unlocked
File “/Applications/Sublime Text.app/Contents/MacOS/Lib/python33/sublime_plugin.py”, line 1692, in load_module
exec(compile(source, source_path, ‘exec’), mod.dict)
File “/Users/jw/Library/Application Support/Sublime Text/Installed Packages/Package Control.sublime-package/package_control/deps/oscrypto/_openssl/_libcrypto_ctypes.py”, line 30, in
File “./python3.3/ctypes/init.py”, line 353, in init
OSError: dlopen(/usr/local/lib/libcrypto.dylib, 0x0006): tried: ‘/usr/local/lib/libcrypto.dylib’ (mach-o file, but is an incompatible architecture (have ‘x86_64’, need ‘arm64e’))
reloading python 3.3 plugin Package Control.Package Control
Traceback (most recent call last):
File “/Applications/Sublime Text.app/Contents/MacOS/Lib/python33/sublime_plugin.py”, line 308, in reload_plugin
m = importlib.import_module(modulename)
File “./python3.3/importlib/init.py”, line 90, in import_module
File “”, line 1584, in _gcd_import
File “”, line 1565, in _find_and_load
File “”, line 1532, in _find_and_load_unlocked
File “/Applications/Sublime Text.app/Contents/MacOS/Lib/python33/sublime_plugin.py”, line 1692, in load_module
exec(compile(source, source_path, ‘exec’), mod.dict)
File “/Users/jw/Library/Application Support/Sublime Text/Installed Packages/Package Control.sublime-package/Package Control.py”, line 89, in
File “”, line 1565, in _find_and_load
File “”, line 1532, in _find_and_load_unlocked
File “/Applications/Sublime Text.app/Contents/MacOS/Lib/python33/sublime_plugin.py”, line 1692, in load_module
exec(compile(source, source_path, ‘exec’), mod.dict)
File “/Users/jw/Library/Application Support/Sublime Text/Installed Packages/Package Control.sublime-package/package_control/commands/init.py”, line 3, in
File “”, line 1565, in _find_and_load
File “”, line 1532, in _find_and_load_unlocked
File “/Applications/Sublime Text.app/Contents/MacOS/Lib/python33/sublime_plugin.py”, line 1692, in load_module
exec(compile(source, source_path, ‘exec’), mod.dict)
File “/Users/jw/Library/Application Support/Sublime Text/Installed Packages/Package Control.sublime-package/package_control/commands/advanced_install_package_command.py”, line 10, in
File “”, line 1565, in _find_and_load
File “”, line 1532, in _find_and_load_unlocked
File “/Applications/Sublime Text.app/Contents/MacOS/Lib/python33/sublime_plugin.py”, line 1692, in load_module
exec(compile(source, source_path, ‘exec’), mod.dict)
File “/Users/jw/Library/Application Support/Sublime Text/Installed Packages/Package Control.sublime-package/package_control/package_manager.py”, line 34, in
File “”, line 1565, in _find_and_load
File “”, line 1532, in _find_and_load_unlocked
File “/Applications/Sublime Text.app/Contents/MacOS/Lib/python33/sublime_plugin.py”, line 1692, in load_module
exec(compile(source, source_path, ‘exec’), mod.dict)
File “/Users/jw/Library/Application Support/Sublime Text/Installed Packages/Package Control.sublime-package/package_control/downloaders/init.py”, line 20, in
File “”, line 1565, in _find_and_load
File “”, line 1532, in _find_and_load_unlocked
File “/Applications/Sublime Text.app/Contents/MacOS/Lib/python33/sublime_plugin.py”, line 1692, in load_module
exec(compile(source, source_path, ‘exec’), mod.dict)
File “/Users/jw/Library/Application Support/Sublime Text/Installed Packages/Package Control.sublime-package/package_control/downloaders/oscrypto_downloader.py”, line 44, in
File “”, line 1565, in _find_and_load
File “”, line 1532, in _find_and_load_unlocked
File “/Applications/Sublime Text.app/Contents/MacOS/Lib/python33/sublime_plugin.py”, line 1692, in load_module
exec(compile(source, source_path, ‘exec’), mod.dict)
File “/Users/jw/Library/Application Support/Sublime Text/Installed Packages/Package Control.sublime-package/package_control/deps/oscrypto/tls.py”, line 11, in
File “”, line 1565, in _find_and_load
File “”, line 1532, in _find_and_load_unlocked
File “/Applications/Sublime Text.app/Contents/MacOS/Lib/python33/sublime_plugin.py”, line 1692, in load_module
exec(compile(source, source_path, ‘exec’), mod.dict)
File “/Users/jw/Library/Application Support/Sublime Text/Installed Packages/Package Control.sublime-package/package_control/deps/oscrypto/_mac/tls.py”, line 39, in
File “”, line 1565, in _find_and_load
File “”, line 1532, in _find_and_load_unlocked
File “/Applications/Sublime Text.app/Contents/MacOS/Lib/python33/sublime_plugin.py”, line 1692, in load_module
exec(compile(source, source_path, ‘exec’), mod.dict)
File “/Users/jw/Library/Application Support/Sublime Text/Installed Packages/Package Control.sublime-package/package_control/deps/oscrypto/_mac/util.py”, line 208, in
File “”, line 1565, in _find_and_load
File “”, line 1532, in _find_and_load_unlocked
File “/Applications/Sublime Text.app/Contents/MacOS/Lib/python33/sublime_plugin.py”, line 1692, in load_module
exec(compile(source, source_path, ‘exec’), mod.dict)
File “/Users/jw/Library/Application Support/Sublime Text/Installed Packages/Package Control.sublime-package/package_control/deps/oscrypto/_openssl/_libcrypto.py”, line 15, in
File “”, line 1565, in _find_and_load
File “”, line 1532, in _find_and_load_unlocked
File “/Applications/Sublime Text.app/Contents/MacOS/Lib/python33/sublime_plugin.py”, line 1692, in load_module
exec(compile(source, source_path, ‘exec’), mod.dict)
File “/Users/jw/Library/Application Support/Sublime Text/Installed Packages/Package Control.sublime-package/package_control/deps/oscrypto/_openssl/_libcrypto_ctypes.py”, line 30, in
File “./python3.3/ctypes/init.py”, line 353, in init
OSError: dlopen(/usr/local/lib/libcrypto.dylib, 0x0006): tried: ‘/usr/local/lib/libcrypto.dylib’ (mach-o file, but is an incompatible architecture (have ‘x86_64’, need ‘arm64e’))
After installing this plugin: https://github.com/golang/sublime-build, SB4 gives the message: plugin_host-3.3 has exited unexpectedly, some plugin functionality won’t be available until Sublime Text has been restarted. Because of this, two instances of Sublime Text 4 are being started; one is jumping in the dock on macOS. The issue never occurred on my MacBook Pro with Intel chip, but it now that I have a new MacBook Air M2 it does.
If the issue can be solved by upgrading the OpenSSL to support arm64, please tell me how. I don’t know how this can be done on my new Macbook.
Multiple instances of an application on macOS usually indicates that an application was improperly launched. This is usually the result of plugins or other programs trying to use the ST command line tool but using the wrong executable. The golang build package doesn’t do any of that. I suggest trying to reproduce your problems in safe mode.
Thank you for your reply. Replicating the issue in safe mode gives the same result.
golang-build uses various dependencies which use ctypes
to access OS APIs. Maybe those bindings cause the plugin host to crash in case API differs for native ARM environment?
Does plugin_host crash if ST is executed via Rosetta?
I’m having a similar issue with Haskell. I have an M1Pro Mac running MacOS 13.1. I’m running SublimeText Build 4147. I use Terminus (with Origami) and when I open a Terminus pane and run “cabal repl” I get the Plug_host-3.3 error and I can’t interact with the pane (^C and ^Z don’t work). If I just run ghci from the Terminus pane, that works fine.
I had the same issue caused by LSP crashing when developing in Go. The problem has been fixed by upgrading gopls
from version 0.9 to the latest (0.11). I keep forgetting about upgrading the tool as it doesn’t happen automatically and need to be done manually from outside of ST.
Hello,
I fixed the problem then I all unstall sublime text.
Reinstall Sublim Text 3 and made update purpose.
During reinstalling, Windows prompt me to authorize with administrators rights an .exe of sublim text repository.
After acceptation, i finished installation of last version 4147, then finally all works !
Windows blocked one file necessary to make works plugins and package controll normally
I hope i help you.
Thx
I’m still having this issue, with Package Control 3.4.1 on ST 4152. I don’t have that many packages installed - six in total.
Is there any way to get a log to see what’s happening when this error occurs? It happens within a couple minutes of launching ST but I suspect it’s network related because it doesn’t happen as often at home (but I don’t remember if I was on the VPN or not when it did)!
I tried disabling Package Control and I haven’t had the error since. So I guess it’s related to something there. I will turn-on debug and see if there’s any more details…