You are here: PSPad forum > Bug report / Hlášení chyb > Re: Access violations in 5.0.7

Re: Access violations in 5.0.7

Goto Page: 1 2 Next

#1 Access violations in 5.0.7

Posted by: csc8000 | Date: 2021-12-13 08:23 | IP: IP Logged

Hello,

I'm using PSPad every day since more than 12 years, first of all thank you to Jan!
But unfortunately I have to join the "leave" discussion:
- I have permanent crashes with access violation
- worst thing: it is corrupting my source code by arbitrarily inserting binary data
- I'm on 5.0.7(687) because I was hoping for a fix, but no improvement
- I checked the recent.ini, deleted history, nothing helped
- it happens when opening or closing files, that's for sure
- I cannot make out exactly when it started

Question:
would it be possible to go back to an older version, has anyone tried?

Christian

Options: Reply | Quote | Up ^


#2 Re: Access violations in 5.0.7

Posted by: pspad | Date: 2021-12-13 09:02 | IP: IP Logged

Hello Your 5.0.7 build is quite old.
I am continuously try to fix all reported problems.
Use current 717 build of 32b version. 32b version seems to be more stable even sources are same.

Options: Reply | Quote | Up ^


#3 Re: Access violations in 5.0.7

Posted by: mickael.auger | Date: 2021-12-27 14:40 | IP: IP Logged

Hi Jan Fiala,
If I can help, this is another Access violation on PSPad 5.0.7 (721) on Windows 11 64-bits

Exception class: EAccessViolation
Exception address: 000000000053BB5E
----------------------------------------------------------------------------------------------------
Stack list, generated 27/12/2021 15:37:00
[000000000053BB5E] System.Classes.TComponent.RemoveFreeNotifications + $3E
[00000000007EFC88] JclDebug.JclCreateStackList (Line 5351, "JclDebug.pas" + 1) + $3F
[00000000007EFBF6] JclDebug.DoExceptionStackTrace (Line 5292, "JclDebug.pas" + 20) + $15
[00000000007F2196] JclDebug.DoExceptNotify (Line 6741, "JclDebug.pas" + 7) + $0
[00000000007DF9C5] JclHookExcept.TNotifierItem.DoNotify (Line 272, "JclHookExcept.pas" + 5) + $11
[00000000007DFC0B] JclHookExcept.DoExceptNotify (Line 339, "JclHookExcept.pas" + 13) + $2B
[00000000007DFDC7] JclHookExcept.HookedExceptObjProc (Line 395, "JclHookExcept.pas" + 5) + $0
[0000000000411777] System.@DelphiExceptionHandler + $267
[00007FFF9A7E82FF] Unknown function at __chkstk + $12F
[00007FFF9A775A0A] Unknown function at RtlRestoreContext + $8AA
[00007FFF9A7E730E] KiUserExceptionDispatcher + $2E
[000000000053BB5E] System.Classes.TComponent.RemoveFreeNotifications + $3E
[000000000053B8A7] System.Classes.TComponent.Destroy + $27
[000000000078299C] Vcl.Controls.TControl.Destroy + $18C
[0000000000789C1B] Vcl.Controls.TWinControl.Destroy + $1BB
[00000000007979B1] Vcl.Controls.TCustomControl.Destroy + $31
[000000000085E271] SynEdit.TCustomSynEdit.Destroy (Line 1411, "SynEdit.pas" + 9) + $0
[0000000000789B66] Vcl.Controls.TWinControl.Destroy + $106
[000000000072EDE3] Vcl.Forms.TScrollingWinControl.Destroy + $73
[000000000073068F] Vcl.Forms.TCustomForm.Destroy + $1FF
[000000000040FB88] System.TObject.Free + $18
[00000000007399A9] Vcl.Forms.TCustomForm.CMRelease + $9
[00000000004102D5] System.TObject.Dispatch + $45
[0000000000786CE0] Vcl.Controls.TControl.WndProc + $370
[000000000078E120] Vcl.Controls.TWinControl.WndProc + $980
[0000000000732AC1] Vcl.Forms.TCustomForm.WndProc + $9E1
[000000000078D2BC] Vcl.Controls.TWinControl.MainWndProc + $2C
[000000000053F766] System.Classes.StdWndProc + $26
[00007FFF98721C4C] Unknown function at CallWindowProcW + $43C
[00007FFF98720EA6] Unknown function at DispatchMessageW + $2B6
[0000000000741723] Vcl.Forms.TApplication.ProcessMessage + $133
[0000000000741798] Vcl.Forms.TApplication.HandleMessage + $18
[0000000000741BEF] Vcl.Forms.TApplication.Run + $EF
[0000000000CAD9D0] PSPad.PSPad (Line 120, "" + 57) + $0
[00007FFF991054E0] BaseThreadInitThunk + $10
[00007FFF9A74485B] RtlUserThreadStart + $2B
----------------------------------------------------------------------------------------------------
Program : C:\Program Files\PSPad editor\PSPad.exe 5.0.7 (721)
System : Windows 10 Professional x64, Version: 10.0, Build: 55F0,
Processor: Intel, 11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz, 2800 MHz MMX
Display : 1920x1080 pixels, 32 bpp PPI: 96
Skin : Windows
----------------------------------------------------------------------------------------------------
Active Controls Hierarchy:
TPSSynEdit "FEditor1"
TfChildEdit "fEdit_S31558984"
----------------------------------------------------------------------------------------------------

Thank you for your very good editor and good luck.

Options: Reply | Quote | Up ^


#4 Re: Access violations in 5.0.7

Posted by: pspad | Date: 2021-12-27 14:43 | IP: IP Logged

Hello, thank you for report even I prefer reports to support mail.

I need to know when it happens, what did you do right before exception

Options: Reply | Quote | Up ^


#5 Re: Access violations in 5.0.7

Posted by: mickael.auger | Date: 2021-12-28 13:46 | IP: IP Logged

Either I opened a new file, or I clicked on a tab (of a file already open). I am no longer sure.
This happens quite often, I will be careful next time.

Options: Reply | Quote | Up ^


#6 Re: Access violations in 5.0.7

Posted by: csc8000 | Date: 2022-01-14 14:00 | IP: IP Logged

Hi,

update:
- after Jans advice I installed 32b version 5.0.7(717) end of December
- I still had about 3 access violations since then, terminating
- but it doesn't corrupt any source files, much better !

I can confirm it's happining after opening files with double click, and then click on file tabs. I tried to reproduce with opening the same fiel again, but no success,

Thanks,
Christian

Options: Reply | Quote | Up ^


#7 Re: Access violations in 5.0.7

Posted by: ardjuna | Date: 2022-02-25 13:10 | IP: IP Logged

As I can't send this log to support email, I copy it here:

My exception comment:

I had 8 text files open (1x txt, 1x css, 6x php) in PSPad [version 5.0.7 (727) x64]. Then I closed one of the files after making some changes in it. This cased the 'Access violation' error. The scenario seems to be the same all the time. It repeats after I try to close one of the opened files. After I clicked on 'Terminate' button in PSPad, I get the following window: 'Application Error: Exception EInvalidPointer in module PSPad.exe at 0000000000009671. Invalid pointer operation.' I got this kind of error quite often (even before 5.0.7.b727 version).

Error log:

Exception description:

Access violation at address 0000000000594915 in module 'PSPad.exe'. Write of address 0000000000000107.

Exception class: EAccessViolation
Exception address: 0000000000594915
----------------------------------------------------------------------------------------------------
Stack list, generated 25/02/2022 13:56:17
[0000000000594915] Vcl.Graphics.TResourceManager.FreeResource + $55
[00000000007EFC88] JclDebug.JclCreateStackList (Line 5351, "JclDebug.pas" + 1) + $3F
[00000000007EFBF6] JclDebug.DoExceptionStackTrace (Line 5292, "JclDebug.pas" + 20) + $15
[00000000007F2196] JclDebug.DoExceptNotify (Line 6741, "JclDebug.pas" + 7) + $0
[00000000007DF9C5] JclHookExcept.TNotifierItem.DoNotify (Line 272, "JclHookExcept.pas" + 5) + $11
[00000000007DFC0B] JclHookExcept.DoExceptNotify (Line 339, "JclHookExcept.pas" + 13) + $2B
[00000000007DFDC7] JclHookExcept.HookedExceptObjProc (Line 395, "JclHookExcept.pas" + 5) + $0
[0000000000411777] System.@DelphiExceptionHandler + $267
[00007FFC3F5A86EF] Unknown function at __chkstk + $12F
[00007FFC3F535AEA] Unknown function at RtlRestoreContext + $8AA
[00007FFC3F5A76FE] KiUserExceptionDispatcher + $2E
[0000000000594915] Vcl.Graphics.TResourceManager.FreeResource + $55
[0000000000596647] Vcl.Graphics.TBrush.Destroy + $27
[000000000040FB88] System.TObject.Free + $18
[0000000000789B98] Vcl.Controls.TWinControl.Destroy + $138
[00000000007979B1] Vcl.Controls.TCustomControl.Destroy + $31
[000000000085E2F1] SynEdit.TCustomSynEdit.Destroy (Line 1410, "SynEdit.pas" + 9) + $0
[0000000000789B66] Vcl.Controls.TWinControl.Destroy + $106
[000000000072EDE3] Vcl.Forms.TScrollingWinControl.Destroy + $73
[000000000073068F] Vcl.Forms.TCustomForm.Destroy + $1FF
[000000000040FB88] System.TObject.Free + $18
[00000000007399A9] Vcl.Forms.TCustomForm.CMRelease + $9
[00000000004102D5] System.TObject.Dispatch + $45
[0000000000786CE0] Vcl.Controls.TControl.WndProc + $370
[000000000078E120] Vcl.Controls.TWinControl.WndProc + $980
[0000000000732AC1] Vcl.Forms.TCustomForm.WndProc + $9E1
[000000000078D2BC] Vcl.Controls.TWinControl.MainWndProc + $2C
[000000000053F766] System.Classes.StdWndProc + $26
[00007FFC3DB91C4C] Unknown function at CallWindowProcW + $43C
[00007FFC3DB90EA6] Unknown function at DispatchMessageW + $2B6
[0000000000741723] Vcl.Forms.TApplication.ProcessMessage + $133
[0000000000741798] Vcl.Forms.TApplication.HandleMessage + $18
[0000000000741BEF] Vcl.Forms.TApplication.Run + $EF
[0000000000CAEBD0] PSPad.PSPad (Line 123, "" + 57) + $0
[00007FFC3EEE54E0] BaseThreadInitThunk + $10
[00007FFC3F50485B] RtlUserThreadStart + $2B
----------------------------------------------------------------------------------------------------
Program : C:\Program Files\PSPad editor\PSPad.exe 5.0.7 (727)
System : Windows 10 Home Edition x64, Version: 10.0, Build: 55F0,
Processor: Intel, 11th Gen Intel(R) Core(TM) i5-1135G7 @ 2.40GHz, 1380 MHz MMX
Display : 1920x1080 pixels, 32 bpp PPI: 96
Skin : Windows
----------------------------------------------------------------------------------------------------
Active Controls Hierarchy:
TPSSynEdit "FEditor1"
TfChildEdit "fEdit_X45007002"
----------------------------------------------------------------------------------------------------

Options: Reply | Quote | Up ^


#8 Re: Access violations in 5.0.7

Posted by: ardjuna | Date: 2022-02-25 15:25 | IP: IP Logged

I just tried to install 32-bit version of PSPad [5.0.7 (727)] with the same result, i.e. access violation error.

Options: Reply | Quote | Up ^


#9 Re: Access violations in 5.0.7

Posted by: pspad | Date: 2022-02-25 15:39 | IP: IP Logged

Are you sure yiu run 32b version?
You can paste error log into amy mail and send it to me instead of forum

Options: Reply | Quote | Up ^


#10 Re: Access violations in 5.0.7

Posted by: ardjuna | Date: 2022-02-25 15:50 | IP: IP Logged

Yes, I am 105% sure. I have installed it from here: pspad.poradna.net, then get the developer version from here: pspad.poradna.net, and overwritten the original files (according to your instructions). Unfortunately I have lost my patience already, and stopped to use PSPad as I am tired of getting all the errors and corrupting my files by this "ÿ" and chinese characters. It happens too often to bear.

Options: Reply | Quote | Up ^


Goto Page: 1 2 Next





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