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 has exited unexpectedly" message #17

Closed
chadbot opened this issue Jul 6, 2018 · 14 comments
Closed

"plugin_host has exited unexpectedly" message #17

chadbot opened this issue Jul 6, 2018 · 14 comments

Comments

@chadbot
Copy link

chadbot commented Jul 6, 2018

After using Terminus for any significant period of time (say, more than 30 minutes), I eventually get a pop-up message saying "plugin_host has exited unexpectedly, plugin functionality won't be available until Sublime Text has been restarted."

Not sure what info would be helpful here, but to start, I'm running ST3 (build 3176) on MacOS 10.13.5. Happy to provide whatever additional details would be of use.

@randy3k
Copy link
Owner

randy3k commented Jul 6, 2018

It could happen if the underlying program produces a segfault. What program were you running?

@chadbot
Copy link
Author

chadbot commented Jul 6, 2018

OHHH. Yes, that makes total sense.

I've been testing a Stan model on a bunch of simulated datasets in R, and it was indeed producing segfaults. I didn't make the connection since the error messages aren't printing in Terminus (unlike, say iTerm). But that's almost certainly the cause.

I suppose it would be nice if segfaults didn't have such a dire effect on Terminus and Sublime Text, but this seems like a pretty minor issue now that I know what's going on. I'll close the issue. Thanks!

@chadbot chadbot closed this as completed Jul 6, 2018
@randy3k
Copy link
Owner

randy3k commented Jul 6, 2018

Running the program via a shell instead of running it directly should capture the segfault (untested though).

@chadbot
Copy link
Author

chadbot commented Jul 6, 2018

Ahh okay. Maybe I'll try to reproduce it and see what happens.

@randy3k
Copy link
Owner

randy3k commented Jul 9, 2018

I was wrong, running the program via a shell doesn't catch the segfault.

@randy3k
Copy link
Owner

randy3k commented Jul 9, 2018

turns out that it is a Sublime Text bug: sublimehq/sublime_text#2327

downgraded to Sublime Text 3161 and the issue is gone

@randy3k
Copy link
Owner

randy3k commented Jul 9, 2018

Let's keep it open until upstream fixes it.

@randy3k randy3k reopened this Jul 9, 2018
@chadbot
Copy link
Author

chadbot commented Jul 9, 2018

Sounds good!

@barbarphemi
Copy link

How can i get the sublime problem solved?

@randy3k
Copy link
Owner

randy3k commented Sep 30, 2018

The only solution now is to downgrade to 3161. Per the dev from sublime hq, a new build with the fix will be released soon.

@barbarphemi
Copy link

How do i downgrade to 3161 Randy?

@randy3k
Copy link
Owner

randy3k commented Sep 30, 2018

From the official website. However, you might need a license, otherwise it will keep asking you to update Sublime Text.

@randy3k
Copy link
Owner

randy3k commented Oct 1, 2018

From Sublime Text dev

We do have a fix in place and it will be part of our next dev build. I don’t have an exact date for that, but hopefully in the very near future.

@randy3k
Copy link
Owner

randy3k commented Oct 12, 2018

fixed with dev version 3179.

@randy3k randy3k closed this as completed Oct 12, 2018
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

3 participants