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

Created on 9 Apr 2020  路  8Comments  路  Source: microsoft/terminal

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

Product-Terminal Resolution-Duplicate Severity-Crash

Most helpful comment

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

All 8 comments

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

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

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

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

@zadjii-msft Thank you for informing @DHowett .

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

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

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!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

zadjii-msft picture zadjii-msft  路  3Comments

miniksa picture miniksa  路  3Comments

ghvanderweg picture ghvanderweg  路  3Comments

geeksfn picture geeksfn  路  3Comments

ghost picture ghost  路  3Comments