Terminal hangs when navigating (back?) by word in Narrator #6317

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

Originally created by @DHowett-MSFT on GitHub (Feb 5, 2020).

Originally assigned to: @carlos-zamora on GitHub.

Environment

Windows build number: Vb
Windows Terminal version (if applicable): 0.9.362.0

Steps to reproduce

Navigate by word.

Expected behavior

It does not hang.

Actual behavior

It hangs rather a lot.

We may have a long (very long) loop in...

00 (Inline Function) --------`-------- TerminalControl!Microsoft::Console::Types::Viewport::{ctor}+0x5 [E:\BA\19\s\src\types\Viewport.cpp @ 10] 
01 (Inline Function) --------`-------- TerminalControl!Microsoft::Console::Types::Viewport::FromInclusive+0x5 [E:\BA\19\s\src\types\Viewport.cpp @ 26] 
02 (Inline Function) --------`-------- TerminalControl!Microsoft::Console::Types::Viewport::FromExclusive+0x20 [E:\BA\19\s\src\types\Viewport.cpp @ 34] 
03 (Inline Function) --------`-------- TerminalControl!Microsoft::Console::Types::Viewport::FromDimensions+0x33 [E:\BA\19\s\src\types\Viewport.cpp @ 63] 
04 000000e7`190fdab0 00007fff`15a954ee TerminalControl!TextBuffer::GetSize+0xc1 [E:\BA\19\s\src\buffer\out\textBuffer.cpp @ 663] 
05 000000e7`190fdb00 00007fff`15a8dfd2 TerminalControl!TextBufferCellIterator::TextBufferCellIterator+0xee [E:\BA\19\s\src\buffer\out\textBufferCellIterator.cpp @ 43] 
06 (Inline Function) --------`-------- TerminalControl!TextBufferCellIterator::{ctor}+0x1e [E:\BA\19\s\src\buffer\out\textBufferCellIterator.cpp @ 23] 
07 (Inline Function) --------`-------- TerminalControl!TextBuffer::GetCellDataAt+0x1e [E:\BA\19\s\src\buffer\out\textBuffer.cpp @ 119] 
08 (Inline Function) --------`-------- TerminalControl!TextBuffer::GetTextDataAt+0x1e [E:\BA\19\s\src\buffer\out\textBuffer.cpp @ 108] 
09 000000e7`190fdb80 00007fff`15a89fe1 TerminalControl!TextBuffer::MoveToNextWord+0x122 [E:\BA\19\s\src\buffer\out\textBuffer.cpp @ 1219] 
0a 000000e7`190fdc90 00007fff`15a8926b TerminalControl!Microsoft::Console::Types::UiaTextRangeBase::_moveEndpointByUnitWord+0x1d1 [E:\BA\19\s\src\types\UiaTextRangeBase.cpp @ 1129] 
0b 000000e7`190fdd60 00007fff`15a7d127 TerminalControl!Microsoft::Console::Types::UiaTextRangeBase::Move+0xbb [E:\BA\19\s\src\types\UiaTextRangeBase.cpp @ 680] 
Originally created by @DHowett-MSFT on GitHub (Feb 5, 2020). Originally assigned to: @carlos-zamora on GitHub. # Environment ```none Windows build number: Vb Windows Terminal version (if applicable): 0.9.362.0 ``` # Steps to reproduce Navigate by word. # Expected behavior It does not hang. # Actual behavior It hangs rather a lot. We may have a long (very long) loop in... ``` 00 (Inline Function) --------`-------- TerminalControl!Microsoft::Console::Types::Viewport::{ctor}+0x5 [E:\BA\19\s\src\types\Viewport.cpp @ 10] 01 (Inline Function) --------`-------- TerminalControl!Microsoft::Console::Types::Viewport::FromInclusive+0x5 [E:\BA\19\s\src\types\Viewport.cpp @ 26] 02 (Inline Function) --------`-------- TerminalControl!Microsoft::Console::Types::Viewport::FromExclusive+0x20 [E:\BA\19\s\src\types\Viewport.cpp @ 34] 03 (Inline Function) --------`-------- TerminalControl!Microsoft::Console::Types::Viewport::FromDimensions+0x33 [E:\BA\19\s\src\types\Viewport.cpp @ 63] 04 000000e7`190fdab0 00007fff`15a954ee TerminalControl!TextBuffer::GetSize+0xc1 [E:\BA\19\s\src\buffer\out\textBuffer.cpp @ 663] 05 000000e7`190fdb00 00007fff`15a8dfd2 TerminalControl!TextBufferCellIterator::TextBufferCellIterator+0xee [E:\BA\19\s\src\buffer\out\textBufferCellIterator.cpp @ 43] 06 (Inline Function) --------`-------- TerminalControl!TextBufferCellIterator::{ctor}+0x1e [E:\BA\19\s\src\buffer\out\textBufferCellIterator.cpp @ 23] 07 (Inline Function) --------`-------- TerminalControl!TextBuffer::GetCellDataAt+0x1e [E:\BA\19\s\src\buffer\out\textBuffer.cpp @ 119] 08 (Inline Function) --------`-------- TerminalControl!TextBuffer::GetTextDataAt+0x1e [E:\BA\19\s\src\buffer\out\textBuffer.cpp @ 108] 09 000000e7`190fdb80 00007fff`15a89fe1 TerminalControl!TextBuffer::MoveToNextWord+0x122 [E:\BA\19\s\src\buffer\out\textBuffer.cpp @ 1219] 0a 000000e7`190fdc90 00007fff`15a8926b TerminalControl!Microsoft::Console::Types::UiaTextRangeBase::_moveEndpointByUnitWord+0x1d1 [E:\BA\19\s\src\types\UiaTextRangeBase.cpp @ 1129] 0b 000000e7`190fdd60 00007fff`15a7d127 TerminalControl!Microsoft::Console::Types::UiaTextRangeBase::Move+0xbb [E:\BA\19\s\src\types\UiaTextRangeBase.cpp @ 680] ```
Author
Owner

@carlos-zamora commented on GitHub (Feb 7, 2020):

Does this issue occur in the release build?

@carlos-zamora commented on GitHub (Feb 7, 2020): Does this issue occur in the release build?
Author
Owner

@DHowett-MSFT commented on GitHub (Feb 7, 2020):

Yes. 0.9.362.0.

@DHowett-MSFT commented on GitHub (Feb 7, 2020): Yes. 0.9.362.0.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#6317