Skip to content

FAIL_FAST crash in conhost after shrinking the buffer height #14328

Open
@j4james

Description

Windows Terminal version

Commit cfdea71

Windows build number

10.0.19044.2006

Other Software

No response

Steps to reproduce

  1. Open a cmd shell in conhost.
  2. Open the console Properties dialog.
  3. On the Layout tab, set the Screen Buffer height to 50, and the Window height to 24.
  4. Also make sure the Wrap text output on resize option is UNCHECKED.
  5. Back in the shell, keep pressing enter until you've filled up all 50 lines of the buffer.
  6. Open the Properties again, and set the Screen Buffer height to 24.
  7. Back in the shell, type any letter.

Expected Behavior

I'd expect to see the letter that I typed being output at the prompt.

Actual Behavior

The console crashes with the FAIL_FAST check here:

FAIL_FAST_IF(!(coordCursor.Y == bufferSize.Y));

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area-OutputRelated to output processing (inserting text into buffer, retrieving buffer text, etc.)Issue-BugIt either shouldn't be doing this or needs an investigation.Priority-2A description (P2)Product-ConhostFor issues in the Console codebaseSeverity-CrashCrashes are real bad news.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions