You are here: PSPad forum > Bug report / Hlášení chyb > Re: strange 俰؃ character after the last update

Re: strange 俰؃ character after the last update

Goto Page: Previous1 2 3 Next

#11 Re: strange 俰؃ character after the last update

Posted by: bluezero | Date: 2021-05-06 13:11 | IP: IP Logged

I opened the file, wrote some code and saved the file.
That's it.
When I run the code it failed with syntax error, which showed on which line it broke and on that exact line there was that weird character.
This time it actually was on 2 lines. Both times on a row with leading curly bracket {.

If I could reproduce it, then I would tell you exactly how it happened. But it does not happen that often.
From my observation it happens on bigger files. This one has 208833B.

Options: Reply | Quote | Up ^


#12 Re: strange 俰؃ character after the last update

Posted by: jcrossbdn | Date: 2021-05-06 22:23 | IP: IP Logged

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>

Options: Reply | Quote | Up ^


#13 Re: strange 俰؃ character after the last update

Posted by: bluezero | Date: 2021-05-10 18:14 | IP: IP Logged

I had this again in 625.
Nothing special happened, no crash.
One thing to mention is that i opened the file 2nd time, causing the dialog "Do you want to reload the file?" and i hit Yes.
The file was opened via WinSCP.

Thats all i can think of.

Options: Reply | Quote | Up ^


#14 Re: strange 俰؃ character after the last update

Posted by: Asal | Date: 2021-05-14 17:36 | IP: IP Logged

Hi,

same problem.

After Copy/paste something like

if(!$search){
$foo = $bar;
}

there is EXACTLY this chinese sign somewhere at the end of original place. After accidently saving and closing the PHP file, PSPad will open the file in Hex-Mode.

I'm not able to reproduce this bug always. I got this bug only in larger PHP files yet, after using the file for several hours at once.

Options: Reply | Quote | Up ^


#15 Re: strange 俰؃ character after the last update

Posted by: Mog | Date: 2021-05-19 12:31 | IP: IP Logged

FWIW:
The strange characters always replaces a closing bracket }
I just experienced this bug in a file which was just opened, and added about five lines of php code to. It was a file which contained html, css, js and php.

My take on this is that this either has something to do with the syntax autocomplete, or/and syntax reading and coloring/formatting.
And, since it occurs so often, it may be caused by/or cause the memory access violation bug too?

Just my 2c.

You do a great job, Jan Fiala! I've been using this prog for more than a decade now.
regards,
Mog

Options: Reply | Quote | Up ^


#16 Re: strange 俰؃ character after the last update

Posted by: pspad | Date: 2021-05-19 12:52 | IP: IP Logged

Please try 5.0.7 (634):
forum.pspad.com

I need to know if the problem continues

Options: Reply | Quote | Up ^


#17 Re: strange 俰؃ character after the last update

Posted by: Mog | Date: 2021-05-20 15:36 | IP: IP Logged

Installed the 5.0.7 yesterday, but still got this error, I'm afraid. This time it replaced parts of a php variable name with binary garbage.
I'm using 64b 5.0.7 629, latest I could find.

image

Options: Reply | Quote | Up ^


#18 Re: strange 俰؃ character after the last update

Posted by: Mog | Date: 2021-05-20 15:39 | IP: IP Logged

Okay, I found the 634 version now, will test it.

Options: Reply | Quote | Up ^


#19 Re: strange 俰؃ character after the last update

Posted by: stanislav.mikusek | Date: 2021-06-04 21:52 | IP: IP Logged

This occurs with large files.
The end of a conditional block IF ... ELSE ... END IF can be soiled with hundreds of unprintable characters. Then ascii 0 disables the file rest.
The first indication of the injured file is, in my case, a falling compilation.

On UNIX, the file can be saved.
The rescue consists in replacing ASCII 0 with an unused printable character, e.g. '`'.

E.g. file.c rescue:
tr '\000' '`' < file.c > fileFix.c

And open fileFix.c in PsPad, look for the '`' character and fix the broken line.

Options: Reply | Quote | Up ^


#20 Re: strange 俰؃ character after the last update

Posted by: ismailkoksal | Date: 2021-06-21 13:16 | IP: IP Logged

This is happening to me since long time.
I work with FTP client and my remote system is Linux. Languages i used are TCL,HTML.Javascripts,Php,Css,C.

I sometimes open 10s of files same time.
Sometimes it is ok , but sometimes , my files get corrupted with random ascii chars or the exception happens, i even click on terminate button , it does not terminates.
I returned to 5.0.6 ( 589 ) , but it is still same , only the occurance rate less now.
Next Time , i will capture the exception and will send you.
Thanks

Options: Reply | Quote | Up ^


Goto Page: Previous1 2 3 Next





Editor PSPad - freeware editor, © 2001 - 2021 Jan Fiala, Hosted by Webhosting TOJEONO.CZ, design by WebDesign PAY & SOFT, code Petr Dvořák, Privacy policy and GDPR