I find this happens every once in a while after saving a file via ftp, in every
instance it happens during an application crash.  I only use ftp for my
connections though.  It will randomly replace a line (usually on a line that is
visible on the current editor window view) with a random offering of extended
ASCII characters typically starting within the first 5 columns.

Usually you don't find out about it until a script fails or a web page starts
showing the strange characters.

I have had 3 crashes today after updating to 5.0.6 and in 1 instance ended up
with the strange characters being present in the file.  Typically I may see 2
crashes a month.

Can you tell us what information you need to track this down.  Is there a debug
logger we can access somewhere or a specific detail from the windows event
viewer?

Here is the detail I found from my Application log but it doesn't seem very
useful:
Faulting application name: PSPad.exe, version: 5.0.6.589, time stamp:
0x606e98be
Faulting module name: PSPad.exe, version: 5.0.6.589, time stamp: 0x606e98be
Exception code: 0xc0000005
Fault offset: 0x0000000000a91c60
Faulting process id: 0x45c
Faulting application start time: 0x01d742bb1e90eee8
Faulting application path: C:\Program Files\PSPad editor\PSPad.exe
Faulting module path: C:\Program Files\PSPad editor\PSPad.exe
Report Id: 659df0e6-5030-4e75-a4a4-3a2da4488c52
Faulting package full name: 
Faulting package-relative application ID: 


- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event";>
- <System>
  <Provider Name="Application Error" /> 
  <EventID Qualifiers="0">1000</EventID> 
  <Version>0</Version> 
  <Level>2</Level> 
  <Task>100</Task> 
  <Opcode>0</Opcode> 
  <Keywords>0x80000000000000</Keywords> 
  <TimeCreated SystemTime="2021-05-06T21:52:39.9241518Z" /> 
  <EventRecordID>120280</EventRecordID> 
  <Correlation /> 
  <Execution ProcessID="0" ThreadID="0" /> 
  <Channel>Application</Channel> 
  <Computer>L-20-MIS3.westman.int</Computer> 
  <Security /> 
  </System>
- <EventData>
  <Data>PSPad.exe</Data> 
  <Data>5.0.6.589</Data> 
  <Data>606e98be</Data> 
  <Data>PSPad.exe</Data> 
  <Data>5.0.6.589</Data> 
  <Data>606e98be</Data> 
  <Data>c0000005</Data> 
  <Data>0000000000a91c60</Data> 
  <Data>45c</Data> 
  <Data>01d742bb1e90eee8</Data> 
  <Data>C:\Program Files\PSPad editor\PSPad.exe</Data> 
  <Data>C:\Program Files\PSPad editor\PSPad.exe</Data> 
  <Data>659df0e6-5030-4e75-a4a4-3a2da4488c52</Data> 
  <Data /> 
  <Data /> 
  </EventData>
  </Event>

-- 
<https://forum.pspad.com/read.php?4,75192,75632>
PSPad freeware editor https://www.pspad.com

Odpovedet emailem