Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

debug error dialog in conhost after attempting to insert emojis into cmd window #815

Closed
binarycrusader opened this issue May 15, 2019 · 4 comments
Labels
Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing.

Comments

@binarycrusader
Copy link
Member

binarycrusader commented May 15, 2019

  • Your Windows build number: (Type ver at a Windows Command Prompt)

Microsoft Windows [Version 10.0.18362.86]

  • What you're doing and what's happening: (Copy & paste specific commands and their output, or include screen shots)
  1. build debug Terminal
  2. Start Debugging Terminal
  3. Ctrl+T
  4. Click down arrow, select 'cmd'
  5. Win+. to open emoji window
  6. click emoji several times
  7. click back in cmd window
  • What's wrong / what should be happening instead:
    Debug error dialog:

image

windbgx stack trace looks like this:

13 00000096`d4ffcb70 00007ff7`30bad788 conhost!CharRowCellReference::operator=+0xc7 [g:\source\repos\terminal\src\buffer\out\charrowcellreference.cpp @ 16] 
14 00000096`d4ffcd40 00007ff7`30b97c68 conhost!ROW::WriteCells+0x588 [g:\source\repos\terminal\src\buffer\out\row.cpp @ 203] 
15 00000096`d4ffcf10 00007ff7`30b97a1c conhost!TextBuffer::WriteLine+0x1a8 [g:\source\repos\terminal\src\buffer\out\textbuffer.cpp @ 368] 
16 00000096`d4ffd180 00007ff7`30b977f6 conhost!TextBuffer::Write+0x1cc [g:\source\repos\terminal\src\buffer\out\textbuffer.cpp @ 333] 
17 00000096`d4ffd490 00007ff7`30b0dc55 conhost!TextBuffer::Write+0xb6 [g:\source\repos\terminal\src\buffer\out\textbuffer.cpp @ 307] 
18 00000096`d4ffd630 00007ff7`30ad7913 conhost!SCREEN_INFORMATION::Write+0xa5 [g:\source\repos\terminal\src\host\screeninfo.cpp @ 2579] 
19 00000096`d4ffd780 00007ff7`30b5afce conhost!WriteCharsLegacy+0xb33 [g:\source\repos\terminal\src\host\_stream.cpp @ 565] 
1a 00000096`d4ffe910 00007ff7`30b5cb06 conhost!COOKED_READ_DATA::ProcessInput+0x30e [g:\source\repos\terminal\src\host\readdatacooked.cpp @ 530] 
1b 00000096`d4ffeab0 00007ff7`30b5ac81 conhost!COOKED_READ_DATA::_readCharInputLoop+0x246 [g:\source\repos\terminal\src\host\readdatacooked.cpp @ 982] 
1c 00000096`d4ffebb0 00007ff7`30b5a56e conhost!COOKED_READ_DATA::Read+0x61 [g:\source\repos\terminal\src\host\readdatacooked.cpp @ 445] 
1d 00000096`d4ffebf0 00007ff7`30a725ae conhost!COOKED_READ_DATA::Notify+0x2ce [g:\source\repos\terminal\src\host\readdatacooked.cpp @ 411] 
1e 00000096`d4ffec50 00007ff7`30a6d712 conhost!ConsoleWaitBlock::Notify+0x28e [g:\source\repos\terminal\src\server\waitblock.cpp @ 153] 
1f 00000096`d4ffee70 00007ff7`30a6d5ec conhost!ConsoleWaitQueue::_NotifyBlock+0x42 [g:\source\repos\terminal\src\server\waitqueue.cpp @ 119] 
20 00000096`d4ffeec0 00007ff7`30a6d3e0 conhost!ConsoleWaitQueue::NotifyWaiters+0x1fc [g:\source\repos\terminal\src\server\waitqueue.cpp @ 92] 
21 00000096`d4ffeff0 00007ff7`30b278f4 conhost!ConsoleWaitQueue::NotifyWaiters+0x40 [g:\source\repos\terminal\src\server\waitqueue.cpp @ 67] 
22 00000096`d4fff020 00007ff7`30b28476 conhost!InputBuffer::WakeUpReadersWaitingForData+0x44 [g:\source\repos\terminal\src\host\inputbuffer.cpp @ 162] 
23 00000096`d4fff060 00007ff7`30ac41e7 conhost!InputBuffer::Write+0xd6 [g:\source\repos\terminal\src\host\inputbuffer.cpp @ 577] 
24 00000096`d4fff100 00007ff7`30ac2f5d conhost!_WriteConsoleInputWImplHelper+0x67 [g:\source\repos\terminal\src\host\directio.cpp @ 421] 
25 00000096`d4fff160 00007ff7`30b838ad conhost!DoSrvPrivateWriteConsoleInputW+0x5d [g:\source\repos\terminal\src\host\directio.cpp @ 449] 
26 00000096`d4fff1a0 00007ff7`30c292c1 conhost!ConhostInternalGetSet::PrivateWriteConsoleInputW+0x6d [g:\source\repos\terminal\src\host\outputstream.cpp @ 288] 
27 00000096`d4fff1e0 00007ff7`30c296f6 conhost!Microsoft::Console::VirtualTerminal::InteractDispatch::WriteInput+0x81 [g:\source\repos\terminal\src\terminal\adapter\interactdispatch.cpp @ 36] 
28 00000096`d4fff250 00007ff7`30c36d9a conhost!Microsoft::Console::VirtualTerminal::InteractDispatch::WriteString+0x276 [g:\source\repos\terminal\src\terminal\adapter\interactdispatch.cpp @ 84] 
29 00000096`d4fff3d0 00007ff7`30c2db8c conhost!Microsoft::Console::VirtualTerminal::InputStateMachineEngine::ActionPrintString+0x7a [g:\source\repos\terminal\src\terminal\parser\inputstatemachineengine.cpp @ 231] 
2a 00000096`d4fff410 00007ff7`30b8fc50 conhost!Microsoft::Console::VirtualTerminal::StateMachine::ProcessString+0x3fc [g:\source\repos\terminal\src\terminal\parser\statemachine.cpp @ 1386] 
2b 00000096`d4fff4d0 00007ff7`30b8fa10 conhost!Microsoft::Console::VtInputThread::_HandleRunInput+0x190 [g:\source\repos\terminal\src\host\vtinputthread.cpp @ 80] 
2c 00000096`d4fff5e0 00007ff7`30b8fd13 conhost!Microsoft::Console::VtInputThread::DoReadInput+0x100 [g:\source\repos\terminal\src\host\vtinputthread.cpp @ 124] 
2d 00000096`d4fff780 00007ff7`30b8f8fe conhost!Microsoft::Console::VtInputThread::_InputThread+0x43 [g:\source\repos\terminal\src\host\vtinputthread.cpp @ 151] 
2e 00000096`d4fff7c0 00007ffe`f8837bd4 conhost!Microsoft::Console::VtInputThread::StaticVtInputThreadProc+0x3e [g:\source\repos\terminal\src\host\vtinputthread.cpp @ 97] 
2f 00000096`d4fff800 00007ffe`fa7cce71 KERNEL32!BaseThreadInitThunk+0x14
30 00000096`d4fff830 00000000`00000000 ntdll!RtlUserThreadStart+0x21
@zadjii-msft
Copy link
Member

I'm pretty sure this is a dupe of #678. I'll let @miniksa confirm

@mlindgren
Copy link
Member

@zadjii-msft This is the same behavior I experienced when I commented on #678.

@miniksa
Copy link
Member

miniksa commented May 15, 2019

OK. Let's close this one then.

@miniksa miniksa closed this as completed May 15, 2019
@miniksa miniksa added the Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing. label May 15, 2019
@binarycrusader
Copy link
Member Author

OK. Let's close this one then.

I think the only difference is that I'm tripping the assert since I'm running Debug, so I don't get a hang, I get an error dialog and then the cab closes if I retry.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing.
Projects
None yet
Development

No branches or pull requests

4 participants