Repeated Bell (eg. end of line in Vim) Causes Reproducible Crash #14881

Open
opened 2026-01-31 04:22:05 +00:00 by claunia · 0 comments
Owner

Originally created by @comerford on GitHub (Aug 16, 2021).

Originally assigned to: @miniksa on GitHub.

Windows Terminal version (or Windows build number)

1.10.1933.0

Other Software

Windows 10 (19043.1165)
vim 8.1.2269 inside WSL
Ubuntu 20.04.2 LTS (GNU/Linux 5.10.16.3-microsoft-standard-WSL2 x86_64)
Solarized Dark Theme applied

(Note: have reproduced on non-preview version also)

Steps to reproduce

Start vim, repeatedly press arrow keys to trigger bell, crash varies on which bell but usually takes less than 5/6 tries. This is not specific to Vim, just an easy way to reproduce, I have seen crashes from the bell with bash completion for example also.

Expected Behavior

Not crashing when bell occurs
terminal-crash-bell-1

Actual Behavior

Crash, reported as in MMDevAPI.DLL per the event viewer:

Faulting application name: WindowsTerminal.exe, version: 1.10.2107.12003, time stamp: 0x60ecd68c
Faulting module name: MMDevAPI.DLL, version: 10.0.19041.1023, time stamp: 0x00c1ffe2
Exception code: 0xc0000005
Fault offset: 0x000000000001b33b
Faulting process ID: 0x2b0c
Faulting application start time: 0x01d79298aae18b20
Faulting application path: C:\Program Files\WindowsApps\Microsoft.WindowsTerminalPreview_1.10.1933.0_x64__8wekyb3d8bbwe\WindowsTerminal.exe
Faulting module path: C:\WINDOWS\SYSTEM32\MMDevAPI.DLL
Report ID: e2bccc73-42d1-412c-8e97-45c3e19e5303
Faulting package full name: Microsoft.WindowsTerminalPreview_1.10.1933.0_x64__8wekyb3d8bbwe
Faulting package-relative application ID: App

Attaching a gif showing this happening, and what it looks like in the event viewer

Originally created by @comerford on GitHub (Aug 16, 2021). Originally assigned to: @miniksa on GitHub. ### Windows Terminal version (or Windows build number) 1.10.1933.0 ### Other Software Windows 10 (19043.1165) vim 8.1.2269 inside WSL Ubuntu 20.04.2 LTS (GNU/Linux 5.10.16.3-microsoft-standard-WSL2 x86_64) Solarized Dark Theme applied (Note: have reproduced on non-preview version also) ### Steps to reproduce Start vim, repeatedly press arrow keys to trigger bell, crash varies on which bell but usually takes less than 5/6 tries. This is not specific to Vim, just an easy way to reproduce, I have seen crashes from the bell with bash completion for example also. ### Expected Behavior Not crashing when bell occurs ![terminal-crash-bell-1](https://user-images.githubusercontent.com/445308/129601377-30565c58-8cc1-4479-94a9-bc9e8e22e2c9.gif) ### Actual Behavior Crash, reported as in MMDevAPI.DLL per the event viewer: ``` Faulting application name: WindowsTerminal.exe, version: 1.10.2107.12003, time stamp: 0x60ecd68c Faulting module name: MMDevAPI.DLL, version: 10.0.19041.1023, time stamp: 0x00c1ffe2 Exception code: 0xc0000005 Fault offset: 0x000000000001b33b Faulting process ID: 0x2b0c Faulting application start time: 0x01d79298aae18b20 Faulting application path: C:\Program Files\WindowsApps\Microsoft.WindowsTerminalPreview_1.10.1933.0_x64__8wekyb3d8bbwe\WindowsTerminal.exe Faulting module path: C:\WINDOWS\SYSTEM32\MMDevAPI.DLL Report ID: e2bccc73-42d1-412c-8e97-45c3e19e5303 Faulting package full name: Microsoft.WindowsTerminalPreview_1.10.1933.0_x64__8wekyb3d8bbwe Faulting package-relative application ID: App ``` Attaching a gif showing this happening, and what it looks like in the event viewer
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#14881