If you press the zero on the number pad and open a new tab, Windows Terminal crashes #7345

Closed
opened 2026-01-31 01:01:35 +00:00 by claunia · 8 comments
Owner

Originally created by @avdain on GitHub (Apr 9, 2020).

Originally assigned to: @DHowett-MSFT on GitHub.

Environment

Windows build number: 10.0.18363.752
Windows Terminal version (if applicable): 0.10.781.0

Any other software?

Steps to reproduce

  • Start Windows Terminal

  • Hold down the zero from the number pad

  • Now try to open 5 to 10 new tabs by pressing the plus sign "+" with the mouse

Expected behavior

  • Windows Terminal should not crash

Actual behavior

  • Windows Terminal crashes
Originally created by @avdain on GitHub (Apr 9, 2020). Originally assigned to: @DHowett-MSFT on GitHub. <!-- 🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨 I ACKNOWLEDGE THE FOLLOWING BEFORE PROCEEDING: 1. If I delete this entire template and go my own path, the core team may close my issue without further explanation or engagement. 2. If I list multiple bugs/concerns in this one issue, the core team may close my issue without further explanation or engagement. 3. If I write an issue that has many duplicates, the core team may close my issue without further explanation or engagement (and without necessarily spending time to find the exact duplicate ID number). 4. If I leave the title incomplete when filing the issue, the core team may close my issue without further explanation or engagement. 5. If I file something completely blank in the body, the core team may close my issue without further explanation or engagement. All good? Then proceed! --> <!-- This bug tracker is monitored by Windows Terminal development team and other technical folks. **Important: When reporting BSODs or security issues, DO NOT attach memory dumps, logs, or traces to Github issues**. Instead, send dumps/traces to secure@microsoft.com, referencing this GitHub issue. If this is an application crash, please also provide a Feedback Hub submission link so we can find your diagnostic data on the backend. Use the category "Apps > Windows Terminal (Preview)" and choose "Share My Feedback" after submission to get the link. Please use this form and describe your issue, concisely but precisely, with as much detail as possible. --> # Environment ```none Windows build number: 10.0.18363.752 Windows Terminal version (if applicable): 0.10.781.0 Any other software? ``` # Steps to reproduce - Start Windows Terminal - Hold down the zero from the number pad <img src="https://user-images.githubusercontent.com/47790579/78903215-1cbdfa80-7a7b-11ea-8476-c9fdd53136cc.png" width="180"> - Now try to open 5 to 10 new tabs by pressing the plus sign "+" with the mouse <!-- A description of how to trigger this bug. --> # Expected behavior - Windows Terminal should not crash <!-- A description of what you're expecting, possibly containing screenshots or reference material. --> # Actual behavior - Windows Terminal crashes <!-- What's actually happening? -->
claunia added the Resolution-DuplicateProduct-TerminalSeverity-Crash labels 2026-01-31 01:01:36 +00:00
Author
Owner

@zadjii-msft commented on GitHub (Apr 9, 2020):

Does this happen with any key, or is it somehow specific to numpad 0?

@zadjii-msft commented on GitHub (Apr 9, 2020): Does this happen with _any_ key, or is it somehow specific to numpad 0?
Author
Owner

@jdebp commented on GitHub (Apr 9, 2020):

I've managed to reproduce it with several keys, including d, the calculator keypad delete key, the spacebar, TAB, and F4.

@jdebp commented on GitHub (Apr 9, 2020): I've managed to reproduce it with several keys, including `d`, the calculator keypad delete key, the spacebar, TAB, and F4.
Author
Owner

@avdain commented on GitHub (Apr 9, 2020):

@zadjii-msft @DHowett If the 1 and also the 2 on the number pad is pressed, Windows Terminal crashes.

@avdain commented on GitHub (Apr 9, 2020): @zadjii-msft @DHowett If the **1** and also the **2** on the number pad is pressed, Windows Terminal crashes.
Author
Owner

@zadjii-msft commented on GitHub (Apr 9, 2020):

You know I bet this is the same crash that @DHowett-MSFT fixed in #5286, I'll let him confirm

@zadjii-msft commented on GitHub (Apr 9, 2020): You know I bet this is the same crash that @DHowett-MSFT fixed in #5286, I'll let him confirm
Author
Owner

@avdain commented on GitHub (Apr 9, 2020):

@zadjii-msft Thank you for informing @DHowett .

@avdain commented on GitHub (Apr 9, 2020): @zadjii-msft **Thank you** for informing @DHowett .
Author
Owner

@avdain commented on GitHub (Apr 9, 2020):

@jdebp Thank you very much for helping to solve the problem faster.

@avdain commented on GitHub (Apr 9, 2020): @jdebp **Thank you very much** for **helping to solve the problem faster**.
Author
Owner

@DHowett-MSFT commented on GitHub (Apr 9, 2020):

Thank you for confirming every individual key that reproduces this problem. It will actually happen for all keys on the keyboard, indiscriminately.

This was caused by #4613, which was fixed in #5051.

Debugging information:

we try to clear the active selection, but _terminal is not yet initialized.

0:000> dx this->_terminal
this->_terminal                 : empty
                                  ^^^^^
                                  not supposed to be empty!

/dup #4613

@DHowett-MSFT commented on GitHub (Apr 9, 2020): Thank you for confirming every individual key that reproduces this problem. It will actually happen for all keys on the keyboard, indiscriminately. This was caused by #4613, which was fixed in #5051. Debugging information: we try to clear the active selection, but _terminal is not yet initialized. ``` 0:000> dx this->_terminal this->_terminal : empty ^^^^^ not supposed to be empty! ``` /dup #4613
Author
Owner

@ghost commented on GitHub (Apr 9, 2020):

Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!

@ghost commented on GitHub (Apr 9, 2020): Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#7345