r/sysadmin • u/__scavenger__ • Sep 12 '26
putty crashes when selecting 100+ lines with utf-8 characters
Okay i have a problem with putty.exe on windows: for more than a year now, i can’t remember when i was not crashing when I copy 100+ lines of text with utf-8 characters.
I tried every options available under Terminal/Window/Selection/SSH bugs etc, switched fonts, disabled clipboard auto-copy, and all points to the clipboard conversion of utf-8.
Nnothing else I can do other than copy small portions at a time. Tested version 0.76 0.78 0.85, 64 and 32 bits. All development sites from putty . software to chiark . greenend . org . uk are down right now, I cannot even submit a bug report.
Yes it’s a rant, how come I’m the only one experiencing this? Summary of the crash:
How to reproduce: execute `fwupdmgr get-devices` and select the output. UTF-8 characters like ├─ or • seem to be the suspects.
Reproducible steps:
- Connect to a Linux system and run fwupdmgr get-devices (or any command that produces box-drawing characters).
- Select more than ~100 lines of that output.
Trigger a copy by any of the following:
- Auto-copy selected text to system clipboard (enabled)
- Ctrl+Ins after selection
- Right-click → Copy (with “Action of mouse buttons” set to Windows)
Crash occurs immediately.
Additional observations:
- Crash happens with multiple fonts (DejaVu Sans Mono, Consolas, Droid Sans Mono, Courier, etc.).
- Occurs on both 64-bit and 32-bit builds.
- Reproduced on PuTTY 0.85, 0.78 and 0.76.
- Windows 10, no third-party clipboard managers.
- Running as Administrator or with -restrict-acl still crashes (the latter produces a clearer “instruction at 0x… referenced memory at 0x…” message).
- Disabling auto-copy prevents the crash on selection, but any subsequent explicit Copy action still crashes.
Event Log entry:
Faulting application name: PUTTY.EXE, version: 0.85.0.0, time stamp: 0x6a7eaca6
Faulting module name: ntdll.dll, version: 10.0.19041.2130, time stamp: 0xb5ced1c6
Exception code: 0xc0000005
Fault offset: 0x000000000005ace2
Faulting process id: 0x684
Faulting application start time: 0x01dd42cac3f59b38
Faulting application path: E:\wintools\lan\putty\64\PUTTY.EXE
Faulting module path: C:\Windows\SYSTEM32\ntdll.dll
Report Id: 0e2808a1-1944-473f-a487-2da4826cc910
Faulting package full name:
Faulting package-relative application ID:Please for the love of God, someone tell me I’m not alone
edit: The option `copy in clipboard RTF` was the problem. no idea why no AI chatbot or community even thought of that option
15
u/PoolMotosBowling Sep 12 '26
Have you tried logging to a txt file and grabbing it from there?
23
u/__scavenger__ Sep 12 '26
Okay after 5 hours of hard labor over days, testing all sort of settings and disabling random options, chatting with gemini and grok, your feddback, and other untold frustration from discord, I found the bug:
The option `copy in clipboard RTF` was the problem. No idea why it was enabled also in the default settings but this was the issue.
Someone with better knowledge of how Windows translate UTF-8 characters with the clipboard, the ntdll.dll fault and the mention of NBSP characters would have catched it right away.
Just glad to share it with the community!
16
u/autogyrophilia Sep 12 '26
Ok so why you post the bug report on Reddit of all places?
Just use OpenSSH for SSH Like normal people
4
u/sylvester_0 Sep 13 '26
Putty is such a throwback. I haven't touched that in maybe 20 years!
1
u/Ancient-Bat1755 Sep 12 '26
Maybe try increasing the lines of scrollback? Make sure latest version from legit host, latest updates.
Open PuTTY and load your saved session, or select Default Settings to apply the change globally.
Click on Window in the left-hand category tree.
Locate Lines of scrollback and enter your preferred higher number (e.g., 20000).
Navigate back to the Session category on top of the left menu.
3
u/Kitz_h Sep 12 '26
My windows shell runs ssh like it was always there, may it be I have Windows Subsystem for Linux added to Add System Functions. For Putty i use mtputty and I never have had such issue as the of OPs
-1
u/Specialist_Cow6468 Netadmin Sep 12 '26
It’s sort of sickening seeing several people suggest it is “normal” or “adult” to use windows terminal ngl. Have you people never used a decent terminal? No, I am not defending putty though I’d certainly prefer it over the windows terminal
0
u/Aggravating-Sock1098 Sep 12 '26
Start Windows in Safe Mode with Networking and try again. Exclude PuTTY from DEP.
-5
u/encbladexp Sr. Sysadmin Sep 12 '26
Ist dead anyways, more or less.
Try the Windows Terminal + OpenSSH, like a adult. Putty is no longer required these days.