The system detected an overrun of a stack-based buffer in this application #10811

Open
opened 2026-01-31 02:30:54 +00:00 by claunia · 0 comments
Owner

Originally created by @unavaliabl3 on GitHub (Sep 28, 2020).

Environment

Windows build number:  19041.388
Windows Terminal version (if applicable): 1.3.2651.0

Steps to reproduce

  • on Windows PowerShell execute cat <a big file: lager than 2MB>, using vim to edit the big file, list files in the directory, use any terminal program to deal with big files will cause error The system detected an overrun of a stack-based buffer in this application

  • on WSL execute htop,top,cat <a big file>, using any programs to process file larger than 2MB, use resources intensive programs such as MySQL server will cause error The system detected an overrun of a stack-based buffer in this application

  • on cmd, PowerShell core, git bash, etc. is the same

the error only occurs when running shell on Windows Terminal , not the programs them self.

screenshots

image
image
image
image
image
image

PS

The shell and programs are still running after Windows Terminal crashed.

Originally created by @unavaliabl3 on GitHub (Sep 28, 2020). <!-- 🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨 I ACKNOWLEDGE THE FOLLOWING BEFORE PROCEEDING: 1. If I delete this entire template and go my own path, the core team may close my issue without further explanation or engagement. 2. If I list multiple bugs/concerns in this one issue, the core team may close my issue without further explanation or engagement. 3. If I write an issue that has many duplicates, the core team may close my issue without further explanation or engagement (and without necessarily spending time to find the exact duplicate ID number). 4. If I leave the title incomplete when filing the issue, the core team may close my issue without further explanation or engagement. 5. If I file something completely blank in the body, the core team may close my issue without further explanation or engagement. All good? Then proceed! --> <!-- This bug tracker is monitored by Windows Terminal development team and other technical folks. **Important: When reporting BSODs or security issues, DO NOT attach memory dumps, logs, or traces to Github issues**. Instead, send dumps/traces to secure@microsoft.com, referencing this GitHub issue. If this is an application crash, please also provide a Feedback Hub submission link so we can find your diagnostic data on the backend. Use the category "Apps > Windows Terminal (Preview)" and choose "Share My Feedback" after submission to get the link. Please use this form and describe your issue, concisely but precisely, with as much detail as possible. --> # Environment ```none Windows build number: 19041.388 Windows Terminal version (if applicable): 1.3.2651.0 ``` # Steps to reproduce - on Windows PowerShell execute ```cat <a big file: lager than 2MB>```, using vim to edit the big file, list files in the directory, use any terminal program to deal with big files will cause error ```The system detected an overrun of a stack-based buffer in this application ``` - on WSL execute ```htop```,```top```,```cat <a big file>```, using any programs to process file larger than 2MB, use resources intensive programs such as MySQL server will cause error ```The system detected an overrun of a stack-based buffer in this application ``` - on cmd, PowerShell core, git bash, etc. is the same the error only occurs when running shell on Windows Terminal , not the programs them self. # screenshots ![image](https://user-images.githubusercontent.com/52642831/94420094-3c2a1a80-01b6-11eb-843e-834e170e564f.png) ![image](https://user-images.githubusercontent.com/52642831/94420122-477d4600-01b6-11eb-9f44-5a1c76dc5216.png) ![image](https://user-images.githubusercontent.com/52642831/94420126-49470980-01b6-11eb-8d6a-8bd6cb99fe62.png) ![image](https://user-images.githubusercontent.com/52642831/94420382-a8a51980-01b6-11eb-8c73-773d0bf16f89.png) ![image](https://user-images.githubusercontent.com/52642831/94420502-d4280400-01b6-11eb-8057-0a21cf73c0fd.png) ![image](https://user-images.githubusercontent.com/52642831/94420499-d38f6d80-01b6-11eb-938b-ae8828ed4c75.png) # PS The shell and programs are still running after Windows Terminal crashed.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#10811