-
Notifications
You must be signed in to change notification settings - Fork 8.1k
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
Terminal crashes when running git log #10034
Comments
Since it looks like you built this yourself, can you get us a stack trace from Visual Studio? |
Wow, this trivially reproduces on another build as well. What on earth? |
If you move line by line, it looks like it crashes displaying...
@skyline75489 I am betting this is in text simplicity detection 😉
@dougheeren thanks for reporting this! |
I can’t repro this locally. Perhaps I’m not seeing exactly what you guys are seeing? I can’t see the emojis. Instead I see a bunch of Unicode encoding like this: Tests added/passed <9F><8E> |
I finally got the repro (thanks to WSL) and the fix. Thanks @dougheeren for catching this! |
i thought one of the recent git for windows update fixed this, it has to do with less that assumes $LANG="c" if there is no %LANG% in the environment block |
@skyline75489 @DHowett You're welcome! I'm sorry I logged last night after reporting this. And I see I said master when it should have been main...DOH. Here is the stack trace, though it seems you've already found the issue. Hopefully, it confirms your findings. Microsoft.Terminal.Control.dll!std::_Vector_const_iterator<std::_Vector_val<std::_Simple_types>>::_Verify_offset(const __int64 _Off) Line 113 I enjoy using Windows Terminal and I'm glad I can contribute to it. |
Windows Terminal version (or Windows build number)
Windows Build: 10.0.19042.964, Windows Terminal commit c3ca94c built using Visual Studio 2019 16.9.3
Other Software
PowerShell 7.1.3
oh-my-posh 3.133.1
posh-git 1.0.0
git 2.31.1.windows.1
Steps to reproduce
Expected Behavior
git log shouldn't cause wtd to crash.
Actual Behavior
Press space after this screen and it wtd will crash leaving the following windows event log entry.
Fault bucket 1724119567131471671, type 5
Event Name: MoAppCrash
Response: Not available
Cab Id: 0
Problem signature:
P1: WindowsTerminalDev_0.0.1.0_x64__8wekyb3d8bbwe
P2: praid:App
P3: 0.0.0.0
P4: 6091d600
P5: DWrite.dll
P6: 10.0.19041.804
P7: 2f618cb5
P8: c0000005
P9: 00000000000cf34e
P10:
Attached files:
\?\WERD4E7.tmp.mdmp
\?\WERD630.tmp.WERInternalMetadata.xml
\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WERD641.tmp.xml
\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WERD64F.tmp.csv
\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WERD67E.tmp.txt
These files may be available here:
\?\C:\ProgramData\Microsoft\Windows\WER\ReportArchive\AppCrash_WindowsTerminalD_14915a2eb4f1c128f427ee9d7511ba25d013a0ff_a3463a88_f44a4158-0e6d-4109-867f-3e07b7600941
Analysis symbol:
Rechecking for solution: 0
Report Id: b377ecbe-9dab-4a05-beea-55614e8d7bb0
Report Status: 268435456
Hashed bucket: c432aee12ffbe1ec97ed4d9c8d2bef37
Cab Guid: 0
CrashDetails.zip
settings.zip
The text was updated successfully, but these errors were encountered: