Sublime Forum

After 20.11.23 update sublime app doesn't open

#1

have updated sublime today, now cannot open the application.

Build 4166
20 November 2023

1 Like

#2

Does it work in safe mode? What operating system are you using?

0 Likes

#3

I’m hitting a similar issue after updating to build 4166 on a Windows 10 system. Using safe-mode does not work either. I can see from the windows Even Viewer that there is an application crash:

Faulting application name: sublime_text.exe, version: 4.1.6.6, time stamp: 0x655a86b7
Faulting module name: ntdll.dll, version: 10.0.19041.3636, time stamp: 0x9b64aa6f
Exception code: 0xc0000005
Fault offset: 0x00000000000634f6
Faulting process id: 0x676c
Faulting application start time: 0x01da1d1ed0dd08f4
Faulting application path: C:\Program Files\Sublime Text\sublime_text.exe
Faulting module path: C:\WINDOWS\SYSTEM32\ntdll.dll
Report Id: 27c2159b-f537-4e4a-b952-d4e28803e512
Faulting package full name: 
Faulting package-relative application ID:
0 Likes

#4

Do you have anti-virus or similar software that could be interfering?

0 Likes

#5

Yes, I have a bunch of different corporate installed software running on my machine. Among them is anti-virus. Is there a way to download the previous version of Sublime Text 4? The previous version seemed to be working in my environment.

0 Likes

#6

https://www.sublimetext.com/docs/previous_versions.html or by changing the url.

0 Likes

#7

Thanks, downgraded to build 4152 to get it working again by using this link:
https://download.sublimetext.com/sublime_text_build_4152_x64_setup.exe

1 Like

#8

windows 10

0 Likes

#9

Hi, same situation here, 4166 (and later) produce the same ntdll.dll crash, but 4152 works.
I also have corporate anti-virus (Cylance) but it is not flagging a problem.

0 Likes

#10

Unfortunately that’s not enough to discount the anti-virus as the cause. I’ve had corporate anti-virus cause Sublime Text to crash without logging anything; turning it off resolved the crash.

1 Like

#11

I’m having this same issue with the latest build. Downgrading works fine. With the latest patch I can only open the executable from directly clicking on the exe in File Explorer. The taskbar shortcut, context menu shortcut, and even launching from PowerShell or the default terminal does nothing.

This is on my work computer, so there’s no antivirus per se, but there is a suite of corporate enterprise applications running. Generally those haven’t caused an issue, that I know of. I hope that info helps.

0 Likes

#12

That sounds fundamentally impossible. Especially from our side of things, but also just generally running an executable from explorer does exactly the same thing as running it from a shortcut.

Does running the portable build work for you?

0 Likes

#13

I just pulled a kubernetes log that is a zero byte file and sublime instantly crashed. It now continues to crash on startup. My assumption here is that sublime is unhappy with zero byte files.

I came to the forum to report my issue and perhaps this is what other people are experiencing. I’d like to reset/remove my sublime session/preferences in relation to what files should open on startup. How can i clear this?

Going to see what I can do to find logs or go into safe mode but I’ve got to do my job not fix sublime atm. Will come back to this.

0 Likes

#14

Update: I opened the zero byte file in another text editor and added some random characters. I then opened sublime and I’m back in business. Thankfully I knew which file was the offending file.

0 Likes

#15

Opening an empty file works fine on Linux and Windows for me. Are you using syntax highlighting on this file?

0 Likes

#16

I had experimented exactly the same bug : after upgrade to 4166 on windows 10 (now in 4169 on windows 10), ST4 crash on loading by 2xclick on files : i see the process run and crash in a second in task manager.
Additionnaly, I had experimented python version crash error : sometimes, python 3.8 crash and the error informed me that i must reload ST4.
I really don’t understand why this new version crash : the older version runs stable for months.
I will try to downgrade to 4152 and i 'll tell you what will happened.
Have a nice week.

0 Likes

#17

The file name was player.log and the syntax is set to ‘Plain Text’. I created the file on the command line essentially doing:

kubectl logs my-deployment > player.log

Which resulted in the empty file. This was in powershell.
I attempted to repro in powershell by doing

git branch -r | grep asdfasdfasdfasdf > test.log

This didn’t repro. I switched to WSL and did

touch foo.log

And it did nothing as well.

Here is a log of Sublime startup to show you what plugins I’m running (anonymized in certain places).

DPI mode: per-monitor v2
startup, version: 4143 windows x64 channel: stable
executable: /C/Program Files/Sublime Text 3/sublime_text.exe
application: /C/Program Files/Sublime Text 3
working dir: /D/Build/services
packages path: /C/Users/XXX/AppData/Roaming/Sublime Text 3/Packages
state path: /C/Users/XXX/AppData/Roaming/Sublime Text 3/Local
zip path: /C/Program Files/Sublime Text 3/Packages
zip path: /C/Users/XXX/AppData/Roaming/Sublime Text 3/Installed Packages
ignored_packages: ["Vintage"]
pre session restore time: 2.9179
startup time: 3.1329
first paint time: 3.1349
git: located Sublime Merge installed at C:\Program Files\Sublime Merge
git: using configuration from C:\Program Files\Sublime Merge\Git\cmd\git.exe
git: tracking working dir XXX
git: tracking working dir XXX
git: tracking working dir XXX
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
reloading python 3.3 plugin 0_package_control_loader.00-package_control
reloading python 3.3 plugin 0_package_control_loader.01-pygments
reloading python 3.3 plugin 0_package_control_loader.50-markupsafe
reloading python 3.3 plugin 0_package_control_loader.50-pymdownx
reloading python 3.3 plugin 0_package_control_loader.50-python-markdown
reloading python 3.3 plugin 0_package_control_loader.50-pyyaml
reloading python 3.3 plugin 0_package_control_loader.51-python-jinja2
reloading python 3.3 plugin 0_package_control_loader.55-mdpopups
reloading python 3.3 plugin HexViewer.hex_checksum
reloading python 3.3 plugin HexViewer.hex_common
reloading python 3.3 plugin HexViewer.hex_editor
reloading python 3.3 plugin HexViewer.hex_finder
reloading python 3.3 plugin HexViewer.hex_highlighter
reloading python 3.3 plugin HexViewer.hex_inspector
reloading python 3.3 plugin HexViewer.hex_notify
reloading python 3.3 plugin HexViewer.hex_viewer
reloading python 3.3 plugin HexViewer.hex_writer
reloading python 3.3 plugin HexViewer.sum_hashes
reloading python 3.3 plugin HexViewer.support
reloading python 3.3 plugin HexViewer.tiger
reloading python 3.3 plugin HexViewer.whirlpool
reloading python 3.3 plugin JSON Reindent.sublime_json_reindent
reloading python 3.3 plugin JSON Stringify.json_stringify_command
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
plugins loaded
git: tracking working dir XXX
git: tracking working dir XXX
git: tracking working dir XXX
Package Control: No updated packages
Saving the session file took longer than expected. This may result in slowdowns and is usually caused by large unsaved files, large number of selections or misbehaving plugins. (build: 285ms, encode: 482ms, write: 209ms)
0 Likes

#19

Suffering from this problem, no updates yet? I’m using 4152 in the meantime but would prefer being able to update normally.

0 Likes

#20

If your problem is related to anti virus as the people above, then the people that can do anything to stop it from happening is your virus scanner software vendor, since they’re the ones that are breaking it.

The Sublime developers have no control over what software that’s installed on the user’s computers might do on purpose to break it.

0 Likes