microsoft / terminal

The new Windows Terminal and the original Windows console host, all in the same place!
MIT License
95.27k stars 8.27k forks source link

WindowsTerminal.exe crashes with 0xc0000374 when specific japanese charactors entered #16817

Closed tarori closed 5 months ago

tarori commented 7 months ago

Windows Terminal version

1.19.10573.0

Windows build number

10.0.19045.4123

Other Software

No response

Steps to reproduce

https://github.com/microsoft/terminal/assets/60473743/75ab6763-0d2b-4a44-bf13-77c740e34783

Expected Behavior

Entered charactors will be inserted.

Actual Behavior

WindowsTerminal.exe will immediately crash with error code 0xc0000374.

tarori commented 7 months ago

In debug mode, it is crashing here. image

And I found that it crashes only when I select "use old Microcoft IME" checkbox. image

lhecker commented 7 months ago

We're planning to rewrite our IME for the next release (version 1.21) which should hopefully fix this issue.

lhecker commented 5 months ago

We just published a major update to our IME implementation in the nightly Canary branch. It was rewritten from the ground up and has tons of improvements! If you're interested in trying it out, you can get it here: https://aka.ms/terminal-canary-installer If you already have the Canary build installed, you can use this link to force an update.

If you encounter any issues or have any suggestions, or if you simply like/dislike the changes, please let us know! Thank you for bearing with us. 😊

tarori commented 5 months ago

@lhecker Thanks! I confirmed that the issue is fixed in the Canary build 1.21.1094.0.