Sublime Forum

Reproducible Sublime Text Crash When It Loses Focus While a Pinyin (Chinese) IME Character Selection Window Is Open

#1

Sublime Text Build 3126 crashes when it loses focus while a (Microsoft) HanYu Pinyin (Traditional Chinese) input method editor (IME) character selection window is open in Windows 10, 64-Bit.

I can reliably reproduce this crash by following these steps:

  1. Place the focus caret in a Sublime Text XML document.
  2. Set the IME language to Chinese (using the aforementioned IME).
  3. Type a pinyin word like “jia2” to activate the IME overlay.
  4. Press the ↓ (down arrow) key to open the character selection window (that shows “jia2” character options).
  5. Move the focus away from Sublime Text by minimizing its window or selecting another open window.
  6. Return focus to the Sublime Text window.
  7. Sublime Text momentarily freezes and then crashes.

I have Visual Studio 2015 installed, so I’m given an option to debug it or close it. I’m not sure what happens when this program isn’t installed.

1 Like

#2

This could be related the my crash I reported on https://github.com/SublimeTextIssues/Core/issues/1832 (Several crashes while typing text)

Does it create a dump file on your Sublime Text folder with size 0?

Can you update to the latest dev build 3141 and test whether is fixed?

They fixed some crashes issues between build 3126 and 3141.

0 Likes

#3
  1. I don’t have any packages installed nor have I ever installed one.
  2. Crashes are producing *.dmp files. I have 21 of these files ranging in size from 81.8 KB to 138 KB. I intentionally triggered another crash and this produced a file at 115 KB in size.
  3. Dev builds require registration to test. Build 3141 is a dev build.
0 Likes

#4

Can you post this on the issue tracker:

  1. https://github.com/SublimeTextIssues/Core/issues

Attaching you dump files, steps to reproduce, etc? For example, the issues:

  1. https://github.com/SublimeTextIssues/Core/issues/1503 Crash while hovering a File Name on the Tab Bar
  2. https://github.com/SublimeTextIssues/Core/issues/1749 (ST crashes when creating popup with tag to invalid file)

Were posted there and was recently fixed.

0 Likes

#5

I filed a bug report in the GitHub issue tracker as requested at https://github.com/SublimeTextIssues/Core/issues/1950 after verifying that the issue is still present in build 3143.

1 Like