Sublime Forum

Minor bug: Sublime eats up CPU and fails to start in some scenarios when font_face is improperly configured

#1

Hello there,

I just want to notify SublimeText developers about this bug.

When I came across it, I was configuring SublimeText to use 'PragmataPro Mono` font family instead of ‘PragmataPro’. By that time I had already uninstalled all PragmataPro font versions I had earlier and installed only ‘PragmataPro Mono’. When I launched SublimeText with old preferences, containing “font_face”: “PragmataPro”, it consumed 1 CPU core and did not show any windows. After I changed the preference to “font_face”: “PragmataPro Mono” (using another editor), killed the running SublimeText instance and launched it again, everything worked fine.

I am still able to reproduce this bug, but only with “PragmataPro” and “PragmataPro Mono” font families. Reproduction steps:

  1. Exit running instances Sublime, if any.
  2. Locate Packages\User\Preferences.sublime-settings file and open it with any other editor.
  3. Change “font_face” setting from “PragmataPro Mono” to “PragmataPro”
  4. Run SublimeText

Expected behavior: SublimeText should start and use some fallback font.
Observed behavor: SublimeText instance consumes 1 CPU core and does not display any windows.

Probably one has to have “PragmataPro Mono” font installed to reproduce this problem.

Version info:

Windows 10 x64.

Best regards,
Evgeny

0 Likes

#2

Do I understand correctly that you are on a Windows OS? v10?
and running the latest ST build (3175/3176)? 64bit?

this information may help SublimeHQ reproduce (and thus later fix) the problem.

0 Likes

#3

Exactly! I was just going to add version information to the post.

0 Likes