Copying content inside About dialog crashes the terminal #5988

Closed
opened 2026-01-31 00:27:14 +00:00 by claunia · 11 comments
Owner

Originally created by @skyline75489 on GitHub (Jan 16, 2020).

Environment

Windows build number: 10.0.18363.535
Windows Terminal version (if applicable): Both on 0.7.3451.0 and current master

Any other software?

Steps to reproduce

I'm trying to copy the version number inside About dialog.

批注 2020-01-16 225406

Expected behavior

It works.

Actual behavior

The terminal freezeed and crashed.

Originally created by @skyline75489 on GitHub (Jan 16, 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: 10.0.18363.535 Windows Terminal version (if applicable): Both on 0.7.3451.0 and current master Any other software? ``` # Steps to reproduce I'm trying to copy the version number inside About dialog. <!-- A description of how to trigger this bug. --> ![批注 2020-01-16 225406](https://user-images.githubusercontent.com/4710575/72535351-5f749a00-38b3-11ea-8c01-62d3bf587551.png) # Expected behavior It works. <!-- A description of what you're expecting, possibly containing screenshots or reference material. --> # Actual behavior The terminal freezeed and crashed. <!-- What's actually happening? -->
Author
Owner

@skyline75489 commented on GitHub (Jan 16, 2020):

Current master is 6d6fb7f690.

@skyline75489 commented on GitHub (Jan 16, 2020): Current master is 6d6fb7f69058b78af0c77e376bed7228ad9eb41f.
Author
Owner

@rioshin commented on GitHub (Jan 16, 2020):

worked at least for me on the current version available through Store (0.8.10091.0)

@rioshin commented on GitHub (Jan 16, 2020): worked at least for me on the current version available through Store (0.8.10091.0)
Author
Owner

@skyline75489 commented on GitHub (Jan 16, 2020):

Perhaps it's because of system settings of something. I recall this used to be working but now it’s now. I’ll take a look wha I have time.

@skyline75489 commented on GitHub (Jan 16, 2020): Perhaps it's because of system settings of something. I recall this used to be working but now it’s now. I’ll take a look wha I have time.
Author
Owner

@skyline75489 commented on GitHub (Jan 17, 2020):

The crash is inside Windows.UI.Xaml. If I'm the only one having this, maybe it's because I got something wrong inside my laptop's environment.

@skyline75489 commented on GitHub (Jan 17, 2020): The crash is inside `Windows.UI.Xaml`. If I'm the only one having this, maybe it's because I got something wrong inside my laptop's environment.
Author
Owner

@DHowett-MSFT commented on GitHub (Jan 23, 2020):

I'm pulling triage but leaving needs-repro since we don't have a local repro. Thanks for the report!

@DHowett-MSFT commented on GitHub (Jan 23, 2020): I'm pulling triage but leaving needs-repro since we don't have a local repro. Thanks for the report!
Author
Owner

@ghost commented on GitHub (Mar 19, 2020):

Windows version 18363.720, Windows Terminal version 0.10.761.0, still have the same issue. The system language is traditional Chinese(Taiwan). Sometimes need to click 'Copy' multiple time to trigger the crash.

@ghost commented on GitHub (Mar 19, 2020): Windows version 18363.720, Windows Terminal version 0.10.761.0, still have the same issue. The system language is traditional Chinese(Taiwan). Sometimes need to click 'Copy' multiple time to trigger the crash.
Author
Owner

@DHowett-MSFT commented on GitHub (Mar 19, 2020):

I really tried with this one. I set my system language to Chinese, installed 0.10.761.0 directly from our releases page, and copied the contents of the about dialog about 40 times.

I just can't reproduce this. 😦

@DHowett-MSFT commented on GitHub (Mar 19, 2020): I really tried with this one. I set my system language to Chinese, installed 0.10.761.0 directly from our releases page, and copied the contents of the about dialog about 40 times. I just can't reproduce this. 😦
Author
Owner

@skyline75489 commented on GitHub (Mar 20, 2020):

Yeah I'm having a hard time trying to reproduce it on my other laptop with 0.10.761.0. Even if I could reproduce it when I first reported this issue, it crashed somewhere deep inside Windows.UI.Xaml. I think we should leave it here, to see if there's more people having this issue.

@skyline75489 commented on GitHub (Mar 20, 2020): Yeah I'm having a hard time trying to reproduce it on my other laptop with 0.10.761.0. Even if I could reproduce it when I first reported this issue, it crashed somewhere deep inside `Windows.UI.Xaml`. I think we should leave it here, to see if there's more people having this issue.
Author
Owner

@tamlin-mike commented on GitHub (Mar 20, 2020):

Wasn't there a race in .NET FX discovered just the last few months? I don't know if the fix has been pushed to GA yet, but a dev machine might have more up-to-date binaries. That could explain both the difficulties to repro, and that it's deep inside some obscure asynch code handling XAML.

Just an idea.

@tamlin-mike commented on GitHub (Mar 20, 2020): Wasn't there a race in .NET FX discovered just the last few months? I don't know if the fix has been pushed to GA yet, but a dev machine might have more up-to-date binaries. That could explain both the difficulties to repro, and that it's deep inside some obscure asynch code handling XAML. Just an idea.
Author
Owner

@ghost commented on GitHub (Mar 20, 2020):

Just tried 0.10.781.0, still crashed on the first try. But after the first crash, I can restart the app then copy the string normally without any crashes.

Faulting application name: WindowsTerminal.exe, version: 0.10.2003.18001, time stamp: 0x5e72d01a
Faulting module name: Windows.UI.Xaml.dll, version: 10.0.18362.657, time stamp: 0xda02d3eb
Exception code: 0xc000027b
Fault offset: 0x0000000000712ec0
Faulting process id: 0x28f4
Faulting application start time: 0x01d5feeabc103103
Faulting application path: C:\Program Files\WindowsApps\Microsoft.WindowsTerminal_0.10.781.0_x64__8wekyb3d8bbwe\WindowsTerminal.exe
Faulting module path: C:\Windows\System32\Windows.UI.Xaml.dll
Report Id: b0ce9b3d-1dd8-461a-80b6-931e84243c85
Faulting package full name: Microsoft.WindowsTerminal_0.10.781.0_x64__8wekyb3d8bbwe
Faulting package-relative application ID: App

@ghost commented on GitHub (Mar 20, 2020): Just tried 0.10.781.0, still crashed on the first try. But after the first crash, I can restart the app then copy the string normally without any crashes. Faulting application name: WindowsTerminal.exe, version: 0.10.2003.18001, time stamp: 0x5e72d01a Faulting module name: Windows.UI.Xaml.dll, version: 10.0.18362.657, time stamp: 0xda02d3eb Exception code: 0xc000027b Fault offset: 0x0000000000712ec0 Faulting process id: 0x28f4 Faulting application start time: 0x01d5feeabc103103 Faulting application path: C:\Program Files\WindowsApps\Microsoft.WindowsTerminal_0.10.781.0_x64__8wekyb3d8bbwe\WindowsTerminal.exe Faulting module path: C:\Windows\System32\Windows.UI.Xaml.dll Report Id: b0ce9b3d-1dd8-461a-80b6-931e84243c85 Faulting package full name: Microsoft.WindowsTerminal_0.10.781.0_x64__8wekyb3d8bbwe Faulting package-relative application ID: App
Author
Owner

@skyline75489 commented on GitHub (Aug 18, 2021):

I think this no longer happens to me since I first opened this. And no one really reports similar issues for a very long time. I'll just close this for now.

@skyline75489 commented on GitHub (Aug 18, 2021): I think this no longer happens to me since I first opened this. And no one really reports similar issues for a very long time. I'll just close this for now.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#5988