Sublime Forum

Plugin host's quit will prevent macOS from restarting

#1

When I restart my Mac, it seems mac will quit plugin host before sublime text. Therefore there will be an alert pop out that prevent the computer from restarting:
plugin_host-3.8 has exited unexpectedly, some plugin functionality won’t be available until Sublime Text has been restarted

I’m using Sublime Text 4 build 4192

0 Likes

#2

I can’t reproduce this on macOS 12.7.6. What version of macOS are you using?

0 Likes

#3

my version is 15.3.2 (24D81)

0 Likes

#4

I’m not sure if plugins I installed matter, but here is my plugins:

{
	"bootstrapped": true,
	"in_process_packages":
	[
	],
	"installed_packages":
	[
		"CMakeBuilder",
		"CMakeEditor",
		"Dockerfile Syntax Highlighting",
		"Golang Build",
		"Kotlin",
		"OpenGL Shading Language (GLSL)",
		"Package Control",
		"PackageResourceViewer",
		"Protobuf Syntax Hightlighting",
		"SublimeLinter",
		"Terminus",
		"TOML",
		"Vue",
	],
	"debug": false,
}
0 Likes

#5

You could try safe mode to rule out any plugins, but it’s highly unlikely that a plugin is at fault here.

0 Likes

#6

It seems safe mode is using plugin_host 3.3, and I noticed that under safe mode there is no second sublime text app icon poped up, and did not block restart.

If I open Sublime Text normally, the second sublime text icon will appear (which I doubt it’s the plugin host).

55

Do I need provide more information such as logs of plugin host?

0 Likes

#7

In fact, I think I already figure out what causes the problem.

After I disabled Golang Build, everything becomes fine. When I look into its code, I realized that it is using python build script, which is legacy style (10 years ago) I guess? I am not sure if Sublime Text is planning to support old plugins. But if not I’ll try to upgrade the build package.

Related issue: https://github.com/golang/sublime-build/issues/43

0 Likes