microsoft / microsoft/terminal

Windows Terminal crashed with access violation when I exported the visible text to a file during a claude code session

Open
#20,324 1 comment 0 reactions 1 assignee Claimed by @lhecker View on GitHub
Area-UserInterface Issue-Bug Needs-Repro Product-Terminal Severity-Crash
Dominant language
C++
Stars
105k
Forks
9.6k
Avg merge
3d 17h
Merged PRs (30d)
29

Description

### Windows Terminal version

1.24.11321.0

### Windows build number

10.0.22631.7079

### Other Software

claude code version 2.1.177.

### Steps to reproduce

I was developing together with claude code in a lengthy session.
Then I used the text export function from the context menu of the windows terminal tab header.

### Expected Behavior

A continued productive session with claude code.

### Actual Behavior

The text export file was written but then the terminal crashed and the window disappeared.
The windows events viewer showed the error code for an access violation.

[TerminalAccessViolation.zip](https://github.com/user-attachments/files/28992349/TerminalAccessViolation.zip)

[TerminalAccessViolation.zip](https://github.com/user-attachments/files/28992380/TerminalAccessViolation.zip)

[WindowsTerminal-Crashdump.zip](https://github.com/user-attachments/files/28992402/WindowsTerminal-Crashdump.zip)

Name der fehlerhaften Anwendung: WindowsTerminal.exe, Version: 1.24.2605.12001, Zeitstempel: 0x6a03a6ca
Name des fehlerhaften Moduls: Windows.UI.Xaml.dll, Version: 10.0.22621.6931, Zeitstempel: 0x54583399
Ausnahmecode: 0xc0000005
Fehleroffset: 0x000000000011d0d7
Pfad der fehlerhaften Anwendung: C:\Program Files\WindowsApps\Microsoft.WindowsTerminal_1.24.11321.0_x64__8wekyb3d8bbwe\WindowsTerminal.exe



1000
0
2
100
0
0x8000000000000000

100398


Application
BPC21014.ivu-ag.com



WindowsTerminal.exe
1.24.2605.12001
6a03a6ca
Windows.UI.Xaml.dll
10.0.22621.6931
54583399
c0000005
000000000011d0d7
0xac58
0x1dcfca745d862dc
C:\Program Files\WindowsApps\Microsoft.WindowsTerminal_1.24.11321.0_x64__8wekyb3d8bbwe\WindowsTerminal.exe
C:\Windows\System32\Windows.UI.Xaml.dll
d1714eeb-924c-43e1-9937-6033f1c4bcab
Microsoft.WindowsTerminal_1.24.11321.0_x64__8wekyb3d8bbwe
App

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.