Plugin_host-3.3 and Plugin_host-3.8 Error.
Description of the bug
The PC shutdown while running a script and since then i can't seem to use sublime text with the errors being 'Plugin_host-3.3 has exited unexpectedly, some plugin functionality won’t be available until Sublime Text has been restarted' and 'Plugin_host-3.8 has exited unexpectedly, some plugin functionality won’t be available until Sublime Text has been restarted'
I'm using the portable version. It doesn't start on safe mode. I tried deleting and re-extracting ST but same errors persist.
I downloaded another portable and older version of ST, it worked but I can't update ST.
Steps to reproduce
- Start ST.
- Error messages appears.
Expected behavior
To run smoothly and being able to build scripts and install packages.
Actual behavior
Every option is grayed out and no functionality.
Sublime Text build number
4169
Operating system & version
Windows 11
(Linux) Desktop environment and/or window manager
No response
Additional information
No response
OpenGL context information
No response
Given this happened due to a PC shutdown perhaps you have some file corruption? Have you tried re-downloading ST?
Yes. I was using a portable version of ST4 and I tried re-downloading it, but same error. When I downloaded ST3, it worked fine.
Not sure if it is related, but there was a report at https://forum.sublimetext.com/t/plugin-host-3-3-and-3-8-has-exited-unexpectdely/70284/27?u=deathaxe about plugin hosts crashing with Package Control 4.0.0-beta10 or higher being installed, while beta9 is said not to cause trouble.
According to provided logs, plugin hosts crash just before establishing initial connection to download channel_v3.json.
I haven't seen any trouble so far and thus can't confirm any relation, nor do I see any change, which could obviously be causing crashes.
beta10 introduces some changes to make sure to re-use existing local http cache files, if as long as they are frequently accessed.
The point of time plugin_host crashes, indicates some relation.
I have no idea how to track it down, though, atm.
I kept trying different builds of ST4 and the last one not generating this error is build 4151. I even tried manually installing 'Package Control.sublime-package' and update to build 4169 but no luck.
It seems like I will be using ST4 build 4151 for now until further updates.
https://github.com/sublimehq/sublime_text/issues/6190#issuecomment-1868305293
3/18/2024: Still an issue with a clean build. I just:
- Removed Sublime Text 3 through Add & Remove apps
- deleted the "AppData/Local/Sublime Text 3" and "AppData/Roaming/Sublime Text 3" folders
- installed 4169 from https://www.sublimetext.com/download
The app still doesn't load when I first click the taskbar pin or use the context menu option to open a text file in Sublime Text. After a second (or third) try, I get a window with both "plugin_host-3.3 has exited unexpectedly" and "plugin_host-3.8 has exited unexpectedly".
This is a brand-new, clean install--no additional plug-ins or packages. I don't see any requests for firewall access, nor do I see any settings in the firewall that are related to Sublime Text 3, let alone denying access. Also, no entries for python, as I've seen some people say this is python-related. (My python is 3.12.2)
Another note, this only started happening in the past 2 months or so, which is weird because 4169 was released almost 5 months ago. ST has been pretty solid otherwise. Maybe I'll try finding a 4166 install package and downgrade.
Note that build 4169 is Sublime Text 4. This only happening recently points to a third party issue. Do you have an anti-virus installed? Have you tried temporarily disabling it?