sublimehq / sublime_text

Issue tracker for Sublime Text
https://www.sublimetext.com
807 stars 39 forks source link

Sublime Text 3 does not exit cleanly - must kill process to start again #1300

Open lebolo opened 8 years ago

lebolo commented 8 years ago

Summary

When I quit Sublime Text 3, I notice a _sublimetext.exe process still running in my Windows task manager (~90MB memory). Trying to open Sublime again fails (no Sublime window pops up). A new _sublimetext.exe process is spawned each time I try to open it. It continues to fail until I forcefully (End Task) kill all _sublimetext.exe processes then try again.

Expected behavior

Sublime Text 3 to open regardless of having been recently closed.

Actual behavior

Sublime Text 3 does not open once closed until process is forcefully killed.

Steps to reproduce

  1. Open Sublime
  2. Exit Sublime
  3. Try to open Sublime

    Environment

    • Windows 7 x64
    • Sublime Text 3 Build 3114

Here is the console output upon successfully opening.

DPI scale: 1
startup, version: 3114 windows x64 channel: stable
executable: /C/Program Files/Sublime Text 3/sublime_text.exe
working dir: /C/Users/redacted/Desktop
packages path: /C/Users/redacted/AppData/Roaming/Sublime Text 3/Packages
state path: /C/Users/redacted/AppData/Roaming/Sublime Text 3/Local
zip path: /C/Program Files/Sublime Text 3/Packages
zip path: /C/Users/redacted/AppData/Roaming/Sublime Text 3/Installed Packages
ignored_packages: ["Markdown", "Vintage"]
pre session restore time: 0.189466
startup time: 0.237466
first paint time: 0.243466
first paint time: 0.245466
Error loading scope:source.scss: Unable to find syntax file for scope source.scss in Packages/MarkdownEditing/Markdown.tmLanguage
Error loading scope:source.scheme: Unable to find syntax file for scope source.scheme in Packages/MarkdownEditing/Markdown.tmLanguage
Error loading scope:source.less: Unable to find syntax file for scope source.less in Packages/MarkdownEditing/Markdown.tmLanguage
Error loading scope:source.sass: Unable to find syntax file for scope source.sass in Packages/MarkdownEditing/Markdown.tmLanguage
Error loading scope:source.coffee: Unable to find syntax file for scope source.coffee in Packages/MarkdownEditing/Markdown.tmLanguage
Error loading scope:source.ts: Unable to find syntax file for scope source.ts in Packages/MarkdownEditing/Markdown.tmLanguage
Error loading scope:source.swift: Unable to find syntax file for scope source.swift in Packages/MarkdownEditing/Markdown.tmLanguage
Error loading scope:source.tsx: Unable to find syntax file for scope source.tsx in Packages/MarkdownEditing/Markdown.tmLanguage
Error loading scope:source.postscript: Unable to find syntax file for scope source.postscript in Packages/MarkdownEditing/Markdown.tmLanguage
reloading plugin Default.auto_indent_tag
reloading plugin Default.block
reloading plugin Default.comment
reloading plugin Default.convert_syntax
reloading plugin Default.copy_path
reloading plugin Default.delete_word
reloading plugin Default.detect_indentation
reloading plugin Default.duplicate_line
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.indentation
reloading plugin Default.kill_ring
reloading plugin Default.mark
reloading plugin Default.new_templates
reloading plugin Default.open_context_url
reloading plugin Default.open_file_settings
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.run_syntax_tests
reloading plugin Default.save_on_focus_lost
reloading plugin Default.scroll
reloading plugin Default.set_unsaved_view_name
reloading plugin Default.show_scope_name
reloading plugin Default.side_bar
reloading plugin Default.sort
reloading plugin Default.swap_line
reloading plugin Default.switch_file
reloading plugin Default.symbol
reloading plugin Default.transform
reloading plugin Default.transpose
reloading plugin Default.trim_trailing_white_space
reloading plugin CSS.css_completions
reloading plugin Diff.diff
reloading plugin HTML.encode_html_entities
reloading plugin HTML.html_completions
reloading plugin 0_package_control_loader.00-package_control
reloading plugin 0_package_control_loader.02-bz2
reloading plugin AngularJS.AngularJS-sublime-package
reloading plugin AngularJS.jscompletions
reloading plugin AngularJS.message
reloading plugin AngularJS.sublime_commands
reloading plugin AngularJS.viewlocation
reloading plugin Compare Side-By-Side.sbs_compare
reloading plugin DocBlockr.jsdocs
reloading plugin MarkdownEditing.bootstrap
reloading plugin MarkdownEditing.custom_find_under_expand
reloading plugin MarkdownEditing.decide_title
reloading plugin MarkdownEditing.distraction_free_mode
reloading plugin MarkdownEditing.footnotes
reloading plugin MarkdownEditing.indent_list_item
reloading plugin MarkdownEditing.indent_list_multiitem
reloading plugin MarkdownEditing.lint
reloading plugin MarkdownEditing.mdeutils
reloading plugin MarkdownEditing.numbered_list
reloading plugin MarkdownEditing.quote_indenting
reloading plugin MarkdownEditing.references
reloading plugin MarkdownEditing.switch_list_bullet_type
reloading plugin MarkdownEditing.underlined_headers
reloading plugin Package Control.1_reloader
reloading plugin Package Control.2_bootstrap
reloading plugin Package Control.Package Control
reloading plugin PackageResourceViewer.package_resource_viewer
reloading plugin PackageResourceViewer.package_resources
reloading plugin Pretty JSON.PrettyJson
reloading plugin SideBarEnhancements.SideBar
reloading plugin SideBarEnhancements.SideBarAPI
reloading plugin SideBarEnhancements.SideBarDefaultDisable
reloading plugin SublimeLinter-jshint.linter
SublimeLinter: jshint linter loaded 
reloading plugin Anaconda.anaconda
reloading plugin Anaconda.setup
reloading plugin Anaconda.version
reloading plugin Pretty JSON.PrettyJsonListeners
reloading plugin SublimeLinter.commands
reloading plugin SublimeLinter.sublimelinter
plugins loaded
SublimeLinter: debug mode: off 
Package Control: Skipping automatic upgrade, last run at 2016-08-01 14:32:12, next run at 2016-08-01 15:32:12 or after
lebolo commented 8 years ago

Others have written about this on the forums.

wbond commented 8 years ago

Have you reproduced after following the directions at http://www.sublimetext.com/docs/3/revert.html?

lebolo commented 8 years ago

I hadn't tried it before, but just tried now and it still doesn't work. Explicitly:

wbond commented 8 years ago

Can you provide a debug log of your reverted state?

lebolo commented 8 years ago

Sorry, by debug log, do you mean the console output I pasted above (in the non-reverted version)?

wbond commented 8 years ago

Yes, my apologizes.

lebolo commented 8 years ago

No problem =) Here it is:

DPI scale: 1
startup, version: 3114 windows x64 channel: stable
executable: /C/Program Files/Sublime Text 3/sublime_text.exe
working dir: /C/Users/redacted/Desktop
packages path: /C/Users/redacted/AppData/Roaming/Sublime Text 3/Packages
state path: /C/Users/redacted/AppData/Roaming/Sublime Text 3/Local
zip path: /C/Program Files/Sublime Text 3/Packages
zip path: /C/Users/redacted/AppData/Roaming/Sublime Text 3/Installed Packages
ignored_packages: ["Vintage"]
generating syntax summary
generating meta info summary
pre session restore time: 1.66197
startup time: 1.72597
first paint time: 1.72597
first paint time: 1.72597
reloading plugin Default.auto_indent_tag
reloading plugin Default.block
reloading plugin Default.comment
reloading plugin Default.convert_syntax
reloading plugin Default.copy_path
reloading plugin Default.delete_word
reloading plugin Default.detect_indentation
reloading plugin Default.duplicate_line
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.indentation
reloading plugin Default.kill_ring
reloading plugin Default.mark
reloading plugin Default.new_templates
reloading plugin Default.open_context_url
reloading plugin Default.open_file_settings
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.run_syntax_tests
reloading plugin Default.save_on_focus_lost
reloading plugin Default.scroll
reloading plugin Default.set_unsaved_view_name
reloading plugin Default.show_scope_name
reloading plugin Default.side_bar
reloading plugin Default.sort
reloading plugin Default.swap_line
reloading plugin Default.switch_file
reloading plugin Default.symbol
reloading plugin Default.transform
reloading plugin Default.transpose
reloading plugin Default.trim_trailing_white_space
reloading plugin CSS.css_completions
reloading plugin Diff.diff
reloading plugin HTML.encode_html_entities
reloading plugin HTML.html_completions
plugins loaded
wbond commented 8 years ago

Do you have any files open when it hangs?

Does it hang if you don't have files/folders open?

Does it hang if you turn indexing off? ("index_files": false setting).

lebolo commented 8 years ago

Do you have any files open when it hangs?

I usually close Sublime with files and folders (and a project) open. I would "open Sublime" by double clicking on a txt file that I previously had open.

Does it hang if you don't have files/folders open?

I closed all files and folders and projects, then closed Sublime and tried to open by clicking on the Sublime exe file and nothing happens.

Does it hang if you turn indexing off? ("index_files": false setting).

I set "index_files": false in my user settings and tried closing/opening Sublime, nothing happens :sob:

wbond commented 8 years ago

I wonder if you have a large session file. Can you look in %AppData%\Sublime Text 3\Local\ and see how large your session files are?

Is your user folder on a network share?

lebolo commented 8 years ago

%AppData%\Sublime Text 3\Local\Session.sublime_session is 41 KB. The folders are on my local (C:) drive.

ngsann commented 8 years ago

I am also facing the same problem but it occurs only on the 64bit version of Sublime Text 3 for Windows (both installer and portable for build 3114). The 32bit version works fine on Windows 7 64bit.

Technoblazed commented 8 years ago

+1

AntonRand commented 7 years ago

@ngsann Same for me - The process isn't cleanly exiting for 64 bit but 32 bit version works fine.

dsksatish commented 7 years ago

+1 Sublime text does not shut down cleanly. If I have to reopen, I would have to first kill the process in task manager.

NicholasDenaro commented 7 years ago

I am seeing this issue on build 3126, 64 bit version.

wbond commented 7 years ago

Can this be reproduced on build 3129?

NicholasDenaro commented 7 years ago

I'm still on build 3126 and it is closing cleanly now. There must be some external cause.

ngsann commented 7 years ago

I installed build 3126 64 bit on Windows 7 (the same machine that was causing the crash previously) recently and it is closing cleanly this time. I did not uninstall the 32-bit version though. Either it is fix or maybe one of the plugins was not behaving previously.

mruhn commented 7 years ago

Is there any resolution to this? I am still having the issue on 3126 and Windows 7.

jonmckay commented 7 years ago

Still an issue 3126 Windows 7

wbond commented 7 years ago

I'd be curious if anyone can reproduce on 3127+, 3131 being the latest dev build. We are using a newer version of Visual Studio and I am wondering if it will have an effect since users are only reporting issues with the x64 build.

Unfortunately I can't reproduce the issue.

Is it possible you are all running the same anti-virus software, or something like that?

mruhn commented 7 years ago

I actually tried the 3131 build yesterday to no avail. I was able to just install the 32-bit version since it seems to work fine. Running my company's installation of Symantec for anti-virus, not able to uninstall or disable it or I would test that theory.

wbond commented 7 years ago

Does Symantec mention anything related to sublime_text.exe?

borela commented 7 years ago

I had this problem before but it is rare, usually happens when I play too much with the plugins and syntax system, at one point, changing the syntaxes and saving them wasn't triggering the auto reload and I had to reopen sublime for the changes to take effect.

To make it stable again I had to uninstall and delete all caches in the %APPDATA%\Local\Sublime Text 3 directory. When it got stuck it felt like sublime was waiting for a plugin to shutdown.

mruhn commented 7 years ago

Unfortunately Symantec isn't complaining about sublime_text.exe anywhere that I can find. However it did decide to quarantine the 3131 build installer for some reason.

borela - I thought the same thing and tried to do a fresh install. I still couldn't get it to work, but perhaps I missed some cache files somewhere. Might give it another try.

defmonk0 commented 7 years ago

Was having the same issue on 3126 and some earlier versions. It was pretty hit or miss, so I could never determine what exactly was causing it as well. Tried updating to 3131 and with preliminary tests it seems to be working correctly now.

I'll come back and edit this/post again if I notice the problem resurface, but in the meantime, the updated VS compiler may have fixed it like @wbond suggested.

rlodbrok commented 7 years ago

+1, same issue. Win7, ST3, build 3126, 64bit. I always close files before closing the window. Pressing the window close cross (top right) or file > exit give different results. Window close just closes the GUI but in the background sublime is still running and GUI cannot be started again. Exit cause sublime to "not respond", when i close the "frozen" window then windows asks me to terminate the process or wait. My solution, never close sublime :/

NicholasDenaro commented 7 years ago

I posted previously that Version 3126 was working for me. It seems like it is no longer working and I'm still experiencing this problem. I don't have any plugins installed. I will also test the dev build. Build 3142 doesn't seems to work for me either.

fyears commented 7 years ago

I can also reproduce the bug using the latest portable stable 3143 x64 version on the Windows 7 x64.

Steps to reproduce

Download the stable portable version Extract it to some where Open Sublime (even at the first time) Exit Sublime (Notice that, sublime_text.exe is still in Windows Task Manager) Try to re-open Sublime

anmil commented 7 years ago

Same issue here Windows 7 64bit Sublime 3 Build 3143

wbond commented 7 years ago

This seems like it is affecting a small number of users, so we need to figure out what is common between them. Perhaps some of you who are affected can list the packages you have installed?

anmil commented 7 years ago

I have a new installation with only a few packages installed

{
    "bootstrapped": true,
    "in_process_packages":
    [
    ],
    "installed_packages":
    [
        "File Rename",
        "nginx",
        "Package Control"
    ]
}

UPDATE: with settings

{
    "default_line_ending": "unix",
    "fold_buttons": false,
    "highlight_line": true,
    "ignored_packages":
    [
        "Vintage"
    ],
    "preview_on_click": false,
    "rulers":
    [
        120
    ],
    "save_on_focus_lost": true,
    "shift_tab_unindent": true,
    "spell_check": true,
    "tab_completion": false,
    "tab_size": 4,
    "translate_tabs_to_spaces": true,
    "use_tab_stops": true
}
wbond commented 7 years ago

@anmil Ok, what about antivirus/security software?

Technoblazed commented 7 years ago

I haven't been able to repeat this since I moved to Windows 10. So fear I'm no longer of use here.

anmil commented 7 years ago

New installation of Windows 7 64 bit, few weeks old. I use Microsoft Security Essentials for AV

keith-hall commented 7 years ago

When you close ST, and the sublime_text process is still running afterwards, is plugin_host also still running? Does manually terminating plugin_host before closing ST help the sublime_text process to quit gracefully?

anmil commented 7 years ago

Yes plugin_host is still running and I tried killing it first and didn't change anything. It also does not seem to start back up, I don't know if that is an issue or not.

rlodbrok commented 7 years ago

fixed in build 3143 for me.

trystero11 commented 7 years ago

I'm seeing the same problem with 64-bit Sublime Text 3 (build 3143) on 64-bit Windows 7. When I kill Sublime Text, plugin_host.exe quits, but sublime_text.exe never does, and I have to kill it manually before I can start Sublime Text again.

The same configuration starts without issues on Windows 10.

Console output after restarting Sublime Text:

DPI scale: 1
startup, version: 3143 windows x64 channel: stable
executable: /C/Program Files/Sublime Text 3/sublime_text.exe
working dir: /C/Program Files/Sublime Text 3
packages path: /d/Users/trystero/AppData/Roaming/Sublime Text 3/Packages
state path: /d/Users/trystero/AppData/Roaming/Sublime Text 3/Local
zip path: /C/Program Files/Sublime Text 3/Packages
zip path: /d/Users/trystero/AppData/Roaming/Sublime Text 3/Installed Packages
ignored_packages: ["ColorSchemeEditor", "PackageDev", "Vintage"]
top level value must be an array
top level value must be an array
Unable to decode Packages/Theme - Trystero/trystero/sidebar_scroll_bar.png
Unable to decode Packages/Theme - Trystero/trystero/sidebar_scroll_puck.png
Unable to decode Packages/Theme - Trystero/trystero/sidebar_scroll_bar_horiz.png
Unable to decode Packages/Theme - Trystero/trystero/sidebar_scroll_puck_horiz.png
pre session restore time: 0.0775962
startup time: 0.120596
first paint time: 0.121596
reloading plugin Default.auto_indent_tag
reloading plugin Default.block
reloading plugin Default.comment
reloading plugin Default.convert_syntax
reloading plugin Default.copy_path
reloading plugin Default.delete_word
reloading plugin Default.detect_indentation
reloading plugin Default.duplicate_line
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.indentation
reloading plugin Default.install_package_control
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.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.swap_line
reloading plugin Default.switch_file
reloading plugin Default.symbol
reloading plugin Default.transform
reloading plugin Default.transpose
reloading plugin Default.trim_trailing_white_space
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 0_package_control_loader.00-package_control
reloading plugin 0_package_control_loader.50-pyyaml
reloading plugin Clickable URLs.clickable_urls
reloading plugin ColorSchemeSelector.ColorSchemeSelector
reloading plugin Indent XML.indentxml
reloading plugin Indent XML.setup
reloading plugin Package Control.1_reloader
reloading plugin Package Control.2_bootstrap
reloading plugin Package Control.Package Control
reloading plugin PackageResourceViewer.package_resource_viewer
reloading plugin PackageResourceViewer.package_resources
reloading plugin Pretty JSON.PrettyJson
reloading plugin Pretty JSON.PrettyJsonListeners
plugins loaded
Package Control: Skipping automatic upgrade, last run at 2017-10-08 23:40:04, next run at 2017-10-09 00:40:04 or after

Correction: Sometimes sublime_text.exe does shut down; it just takes several minutes to do so. I'll attach a Process Monitor capture file showing all activity by sublime_text.exe on one of my startup/shutdown cycles in case it helps you get a better idea what causes the long delay. Sublime Text shutdown.zip

Process Explorer shows a single lingering thread from the hung sublime_text.exe process, with this stack:

ntdll.dll!ZwWaitForSingleObject+0xa
KERNELBASE.dll!WaitForSingleObjectEx+0x9c
sublime_text.exe+0x2bdd16
sublime_text.exe+0x2bd919
kernel32.dll!UnhandledExceptionFilter+0x160
ntdll.dll!Ordinal1+0x1af
ntdll.dll!KiUserApcDispatcher+0x93
ntdll.dll!RtlDecodePointer+0xad
ntdll.dll!RtlUnwindEx+0xbbf
ntdll.dll!KiUserExceptionDispatcher+0x2e
ntdll.dll!RtlAllocateHeap+0x96d
kernel32.dll!HeapFree+0xa
lastapphook_x64.dll!ASOLIBSetProcessMsgCallback+0x18ac28
lastapphook_x64.dll!UnsetHook+0x518
lastapphook_x64.dll!GetRecordedEvents+0x4e7
USER32.dll!GetKeyboardLayoutList+0x19c
USER32.dll!LockWindowStation+0x85
USER32.dll!IsDialogMessageW+0x169
ntdll.dll!KiUserCallbackDispatcher+0x1f
USER32.dll!DestroyWindow+0xa
ole32.dll!CoRegisterActivationFilter+0xc254
ole32.dll!CoRegisterMessageFilter+0x833
ole32.dll!CoRegisterMessageFilter+0x75b
ole32.dll!CoInitializeEx+0x5f2
ntdll.dll!LdrShutdownProcess+0x1d1
ntdll.dll!RtlExitUserProcess+0x90
sublime_text.exe+0x7618
sublime_text.exe+0x433319
kernel32.dll!BaseThreadInitThunk+0xd
ntdll.dll!RtlUserThreadStart+0x21
ziabytes commented 6 years ago

Same problem, SPECIFICALLY with Windows 7 Pro 64bit

Problem does not exist in Windows Server 2008, 2008 R2, 2012, 2012 R2, 2016 I checked.

Funny thing is though, it WORKS PERFECTLY FINE, in SAFE MODE

There might be a windows service that is probably conflicting with the closing process

Hope that helps to lead to a resolution.

NicholasDenaro commented 6 years ago

I have had this issue for previous builds, but I can confirm that it still exists on build 3156 for Windows 7 Pro 64bit.

Not sure if it was listed before, but if you click File > Exit the window hangs, rather than having the window close completely, and then windows will let you kill the process.

ziabytes commented 6 years ago

I have found a solution!!! It's a workaround, but hey it works.

-Right-click the Sublime Text 3 Shortcut, -Properties -Go to Compatibility tab -Check 'Run this Program in compatibility mode for' -Select "Windows 7" -Check 'Run as Administrator' -Okay

Somehow this fixed the problem, and when I undid these changes, the problem came back.

With this, we can mark it resolved, at least.

gblydenburgh commented 6 years ago

I have this problem as well. The Ziabytes recommendation did work for me (Run as Admin). This is not ideal in a corporate environment where admin privileges are restricted.

RyanMenard commented 6 years ago

I have found a solution!!! It's a workaround, but hey it works. ... Somehow this fixed the problem, and when I undid these changes, the problem came back.

With this, we can mark it resolved, at least.

@ziabytes, it's great to have a workaround but I disagree that this means this can be marked as resolved. I could easily do this at home if I owned a windows machine, but when I'm at work we don't get local admin on our machines so this workaround doesn't help in this scenario at all and this remains an issue. To offer up a second alternative I am able to run it successfully in Compatibility Mode for Win7 if that's an option for anyone that can set compatibility but can't run as administrator, but again I'm sure there are some people that won't be able to do this.

@wbond, on a separate note, I don't know if this is related to the issue or helps in any way, but I'm noticing that when I close Sublime and it remains in my Win7 task manager, the file %sublime_dir%\Data\Index\000005.ldb is remaining open in Sublime. This is happening in a fresh install of build 3176 and not using any plugins at all in Win7 Enterprise Service Pack 1.

wbond commented 6 years ago

@RyanMenard That is interesting. I wonder if something is going funky with software on your machine blocking access to that file somehow? Perhaps antivirus? Does it ever finish closing, or does it hang forever?

RyanMenard commented 6 years ago

@wbond It hangs forever (the longest I've ever let it hang is overnight after leaving work for the day).

I just cloned a second copy of my sublime directory and ran sublime from there. Using the cloned copy I was able to manually open and save the 000005.ldb file in the original sublime directory so it doesn't appear that the file is being protected or anything and seems more like sublime is getting hung up prior to releasing that file on termination.

Dubz commented 5 years ago

I'm going to dig this back up because I am also having this problem. Sublime appears to close, and doesn't show on task manager, but if I open process explorer, it still shows. I cannot terminate it at all either. I am forced to log off and log back in to close it.

Another example is that I have Sandboxie installed on my computer and it has some folders set to auto run in sandboxed mode. If I open something in one of these folders (and it opens with Sublime), it acts similar, but when I close the process it sticks around in the sandbox. I cannot terminate it from Sandboxie either. Seems like Sandboxie is also failing it's job here as well.

Windows 10 x64 v3.2.1 Build 3207 Happening for months now

Dubz commented 5 years ago

I downloaded Process Hacker and tried using that. It gave me some more information. The error message (on termination) said "Unable to terminate sublime_text.exe (PID #####): An attempt was made to access an exiting process."

Seems like it is exiting, but being caught on exit and not able to finish closing out.

Dubz commented 5 years ago

I rebooted, then reinstalled on top of the current installation. Seems to be closing fully now.

Just leaving this here in case anyone else has similar issues.