You are here: PSPad forum > Bug report / Hlášení chyb > Access violation the four thousand six hundred seventeenth

Access violation the four thousand six hundred seventeenth

#1 Access violation the four thousand six hundred seventeenth

Posted by: Extranjero | Date: 2021-01-09 18:04 | IP: IP Logged

Don't know, maybe the problem of the access violation only exists on the southern hemisphere, but here it's very easy to replicate:

--> close a file = access violation
--> close the program = access violation
--> editing/working for more than an hour = access violation

And yes, the problem is around for 15 years ore more, but now it became massive.

Removing the heavy sound it's producing, just would be a welcomed starting point, as access violation always occurrs twice, it wakes everyone up, even the deaf old dog, not even mentioning the bearded grandfather, walking around asking 'what happened? , what happened?'

So some mercy to us and a Happy New Year to all! smiling smiley

Options: Reply | Quote | Up ^


#2 Re: Access violation the four thousand six hundred seventeenth

Posted by: Extranjero | Date: 2021-01-21 08:26 | IP: IP Logged

Exception description:

Access violation at address 00007FF9786A72A6 in module 'ntdll.dll'. Write of address 00000002015DCD24.

Exception class: EAccessViolation
Exception address: 00007FF9786A72A6
----------------------------------------------------------------------------------------------------
Stack list, generated 21/1/2021 05:25:15
[00007FF9786A72A6] Unknown function at RtlDllShutdownInProgress + $C6
[0000000000866278] JclDebug.JclCreateStackList (Line 5308, "JclDebug.pas" + 1) + $3F
[00000000008661E6] JclDebug.DoExceptionStackTrace (Line 5249, "JclDebug.pas" + 20) + $15
[0000000000867BD2] JclDebug.DoExceptNotify (Line 6276, "JclDebug.pas" + 7) + $0
[0000000000856075] JclHookExcept.TNotifierItem.DoNotify (Line 272, "JclHookExcept.pas" + 5) + $11
[00000000008562BB] JclHookExcept.DoExceptNotify (Line 339, "JclHookExcept.pas" + 13) + $2B
[0000000000856477] JclHookExcept.HookedExceptObjProc (Line 395, "JclHookExcept.pas" + 5) + $0
[000000000041138E] System.@DelphiExceptionHandler + $26E
[00007FF97874184F] Unknown function at __chkstk + $11F
[00007FF97870A889] Unknown function at RtlRaiseException + $399
[00007FF9787404BE] KiUserExceptionDispatcher + $2E
[00007FF9786A72A6] Unknown function at RtlDllShutdownInProgress + $C6
[00007FF9786BB576] Unknown function at RtlEnterCriticalSection + $1F6
[00007FF9786BB3C0] RtlEnterCriticalSection + $40
[00000000005DC9B0] Vcl.Graphics.TCustomCanvas.Lock + $30
[00000000005E66D8] Vcl.Graphics.TBitmapCanvas.FreeContext + $28
[00000000005E92A5] Vcl.Graphics.TBitmap.FreeContext + $15
[00000000005E7E34] Vcl.Graphics.TBitmap.CopyImage + $44
[00000000005E8C0C] Vcl.Graphics.TBitmap.FreeImage + $3C
[00000000005E7F54] Vcl.Graphics.TBitmap.Changing + $14
[00000000005DC92C] Vcl.Graphics.TCustomCanvas.Changing + $1C
[00000000005DE4F2] Vcl.Graphics.TCanvas.GetHandle + $12
[00000000006D28C8] Vcl.ComCtrls.TTabControlStyleHook.Paint + $2A8
[00000000004116A9] System.@DelphiExceptionHandler + $589
[00007FF9787418CF] Unknown function at __chkstk + $19F
[00007FF9786BD9B2] RtlUnwindEx + $522
[0000000000411509] System.@DelphiExceptionHandler + $3E9
[00007FF97874184F] Unknown function at __chkstk + $11F
[00007FF97870A889] Unknown function at RtlRaiseException + $399
[00007FF9787404BE] KiUserExceptionDispatcher + $2E
[00007FF9786A72A6] Unknown function at RtlDllShutdownInProgress + $C6
[00007FF9786BB576] Unknown function at RtlEnterCriticalSection + $1F6
[00007FF9786BB3C0] RtlEnterCriticalSection + $40
[00000000005DC9B0] Vcl.Graphics.TCustomCanvas.Lock + $30
[00000000005E67AB] Vcl.Graphics.TBitmapCanvas.CreateHandle + $2B
[00000000005DE65E] Vcl.Graphics.TCanvas.RequiredState + $3E
[00000000005DE503] Vcl.Graphics.TCanvas.GetHandle + $23
[00000000006D2670] Vcl.ComCtrls.TTabControlStyleHook.Paint + $50
[000000000073FDE9] Vcl.Themes.TStyleHook.WMPaint + $199
[000000000040FEE5] System.TObject.Dispatch + $45
[0000000000740596] Vcl.Themes.TStyleHook.WndProc + $1D6
[0000000000740929] Vcl.Themes.TMouseTrackControlStyleHook.WndProc + $9
[00000000006D0CE7] Vcl.ComCtrls.TTabControlStyleHook.WndProc + $17
[000000000073F8BC] Vcl.Themes.TStyleHook.HandleMessage + $8C
[0000000000BD34D1] Vcl.Styles.TStyleEngine.HandleMessage + $C1
[000000000073B39E] Vcl.Themes.TStyleManager.HandleMessage + $7E
[0000000000801CD9] Vcl.Controls.TWinControl.DoHandleStyleMessage + $29
[0000000000803D46] Vcl.Controls.TWinControl.WndProc + $D6
[0000000000BE660E] TabControlEx.TCustomTabControlHelper.NewWndProc (Line 234, "TabControlEx.pas" + 12) + $0
[000000000080378C] Vcl.Controls.TWinControl.MainWndProc + $2C
[00000000005564A6] System.Classes.StdWndProc + $26
[00007FF9775F5C1D] Unknown function at CallWindowProcW + $3BD
[00007FF9775F57EC] Unknown function at DispatchMessageW + $3CC
[00007FF977601F83] Unknown function at IsWindowVisible + $1A3
[00007FF978740464] KiUserCallbackDispatcher + $24
[00007FF9758A1304] NtUserRedrawWindow + $14
[00007FF967D7DD34] Unknown function at + $229A4
[00007FF967E062E3] Unknown function at + $27E43
[00007FF9775F5C1D] Unknown function at CallWindowProcW + $3BD
[00007FF9775F58EE] CallWindowProcW + $8E
[00000000008047A7] Vcl.Controls.TWinControl.DefaultHandler + $117
[000000000040FEF3] System.TObject.Dispatch + $53
[00000000007FD3B0] Vcl.Controls.TControl.WndProc + $370
[0000000000804610] Vcl.Controls.TWinControl.WndProc + $9A0
[0000000000BE660E] TabControlEx.TCustomTabControlHelper.NewWndProc (Line 234, "TabControlEx.pas" + 12) + $0
[000000000080378C] Vcl.Controls.TWinControl.MainWndProc + $2C
[00000000005564A6] System.Classes.StdWndProc + $26
[00007FF9775F5C1D] Unknown function at CallWindowProcW + $3BD
[00007FF9775F522C] Unknown function at SendMessageW + $38C
[00007FF9775F4F98] SendMessageW + $F8
[000000000069C58C] Vcl.ComCtrls.TCustomTabControl.UpdateTabSize + $4C
[000000000069C244] Vcl.ComCtrls.TCustomTabControl.SetTabHeight + $A4
[0000000000D5F3F0] uMain.TfPSPad.ResizeFileTabs (Line 11966, "uMain.pas" + 8) + $19
[0000000000D5FD43] uMain.TfPSPad.WindowClosed (Line 12180, "uMain.pas" + 6) + $0
[0000000000AECAAB] uChildParent.TfChildParent.FormDestroy (Line 848, "uChildParent.pas" + 33) + $0
[00000000007A8655] Vcl.Forms.TCustomForm.DoDestroy + $35
[00000000007A82F7] Vcl.Forms.TCustomForm.BeforeDestruction + $97
[0000000000410215] System.@BeforeDestruction + $15
[00000000007A8331] Vcl.Forms.TCustomForm.Destroy + $31
[000000000040F798] System.TObject.Free + $18
[00000000007B10E9] Vcl.Forms.TCustomForm.CMRelease + $9
[000000000040FEE5] System.TObject.Dispatch + $45
[00000000007FD3B0] Vcl.Controls.TControl.WndProc + $370
[0000000000804610] Vcl.Controls.TWinControl.WndProc + $9A0
[00000000007AA59E] Vcl.Forms.TCustomForm.WndProc + $99E
[000000000080378C] Vcl.Controls.TWinControl.MainWndProc + $2C
[00000000005564A6] System.Classes.StdWndProc + $26
[00007FF9775F5C1D] Unknown function at CallWindowProcW + $3BD
[00007FF9775F5612] Unknown function at DispatchMessageW + $1F2
[00000000007B8D13] Vcl.Forms.TApplication.ProcessMessage + $133
[00000000007B8D88] Vcl.Forms.TApplication.HandleMessage + $18
[00000000007B91D6] Vcl.Forms.TApplication.Run + $E6
[0000000000D83F19] PSPad.PSPad (Line 121, "" + 57) + $0
[00007FF976CD7C24] BaseThreadInitThunk + $14
[00007FF97870D4D1] RtlUserThreadStart + $21
----------------------------------------------------------------------------------------------------
Program : L:\aa-PORTABLEyLAUNCH\PROGS\ESENCIALES\PSPad\PSPad.exe 5.0.4 (539)
System : Windows 10 Professional x64, Version: 10.0, Build: 47BB,
Processor: Intel, Intel(R) Core(TM) i5-3330 CPU @ 3.00GHz, 3000 MHz MMX
Display : 1920x1080 pixels, 32 bpp PPI: 96
Skin : Carbon
----------------------------------------------------------------------------------------------------
Active Controls Hierarchy:
TPSSynEdit "FEditor1"
TfChildEdit "fEdit_M83382784"
----------------------------------------------------------------------------------------------------

Options: Reply | Quote | Up ^


#3 Re: Access violation the four thousand six hundred seventeenth

Posted by: pspad | Date: 2021-01-21 19:19 | IP: IP Logged

Please update to current version, build 543

Options: Reply | Quote | Up ^


#4 Re: Access violation the four thousand six hundred seventeenth

Posted by: Extranjero | Date: 2021-01-30 14:31 | IP: IP Logged

updated ...
not such a big difference, still happens twice closing one file.
Best regards
========================================================================

Access violation at address 00000000005E372F in module 'PSPad.exe'. Read of address FFFFFFFFFFFFFFFF.

Exception class: EAccessViolation
Exception address: 00000000005E372F
----------------------------------------------------------------------------------------------------
Stack list, generated 30/1/2021 11:26:47
[00000000005E372F] Vcl.Graphics.TCanvas.GetHandle + $F
[000000000086B4B8] JclDebug.JclCreateStackList (Line 5308, "JclDebug.pas" + 1) + $3F
[000000000086B426] JclDebug.DoExceptionStackTrace (Line 5249, "JclDebug.pas" + 20) + $15
[000000000086CE12] JclDebug.DoExceptNotify (Line 6276, "JclDebug.pas" + 7) + $0
[000000000085B2B5] JclHookExcept.TNotifierItem.DoNotify (Line 272, "JclHookExcept.pas" + 5) + $11
[000000000085B4FB] JclHookExcept.DoExceptNotify (Line 339, "JclHookExcept.pas" + 13) + $2B
[000000000085B6B7] JclHookExcept.HookedExceptObjProc (Line 395, "JclHookExcept.pas" + 5) + $0
[000000000041147E] System.@DelphiExceptionHandler + $26E
[00007FF97874184F] Unknown function at __chkstk + $11F
[00007FF97870A889] Unknown function at RtlRaiseException + $399
[00007FF9787404BE] KiUserExceptionDispatcher + $2E
[00000000005E372F] Vcl.Graphics.TCanvas.GetHandle + $F
[00000000006D7B08] Vcl.ComCtrls.TTabControlStyleHook.Paint + $2A8
[0000000000411799] System.@DelphiExceptionHandler + $589
[00007FF9787418CF] Unknown function at __chkstk + $19F
[00007FF9786BD9B2] RtlUnwindEx + $522
[00000000004115F9] System.@DelphiExceptionHandler + $3E9
[00007FF97874184F] Unknown function at __chkstk + $11F
[00007FF97870A889] Unknown function at RtlRaiseException + $399
[00007FF9787404BE] KiUserExceptionDispatcher + $2E
[00007FF9786A72A6] Unknown function at RtlDllShutdownInProgress + $C6
[00007FF9786BB576] Unknown function at RtlEnterCriticalSection + $1F6
[00007FF9786BB3C0] RtlEnterCriticalSection + $40
[00000000005E1BF0] Vcl.Graphics.TCustomCanvas.Lock + $30
[00000000005EB9EB] Vcl.Graphics.TBitmapCanvas.CreateHandle + $2B
[00000000005E389E] Vcl.Graphics.TCanvas.RequiredState + $3E
[00000000005E3743] Vcl.Graphics.TCanvas.GetHandle + $23
[00000000006D78B0] Vcl.ComCtrls.TTabControlStyleHook.Paint + $50
[0000000000745029] Vcl.Themes.TStyleHook.WMPaint + $199
[000000000040FFD5] System.TObject.Dispatch + $45
[00000000007457D6] Vcl.Themes.TStyleHook.WndProc + $1D6
[0000000000745B69] Vcl.Themes.TMouseTrackControlStyleHook.WndProc + $9
[00000000006D5F27] Vcl.ComCtrls.TTabControlStyleHook.WndProc + $17
[0000000000744AFC] Vcl.Themes.TStyleHook.HandleMessage + $8C
[0000000000BD8231] Vcl.Styles.TStyleEngine.HandleMessage + $C1
[00000000007405DE] Vcl.Themes.TStyleManager.HandleMessage + $7E
[0000000000806F19] Vcl.Controls.TWinControl.DoHandleStyleMessage + $29
[0000000000808F86] Vcl.Controls.TWinControl.WndProc + $D6
[0000000000BEB36E] TabControlEx.TCustomTabControlHelper.NewWndProc (Line 234, "TabControlEx.pas" + 12) + $0
[00000000008089CC] Vcl.Controls.TWinControl.MainWndProc + $2C
[000000000055B6E6] System.Classes.StdWndProc + $26
[00007FF9775F5C1D] Unknown function at CallWindowProcW + $3BD
[00007FF9775F57EC] Unknown function at DispatchMessageW + $3CC
[00007FF977601F83] Unknown function at IsWindowVisible + $1A3
[00007FF978740464] KiUserCallbackDispatcher + $24
[00007FF9758A1304] NtUserRedrawWindow + $14
[00007FF967D7DD34] Unknown function at + $229A4
[00007FF967E062E3] Unknown function at + $27E43
[00007FF9775F5C1D] Unknown function at CallWindowProcW + $3BD
[00007FF9775F58EE] CallWindowProcW + $8E
[00000000008099E7] Vcl.Controls.TWinControl.DefaultHandler + $117
[000000000040FFE3] System.TObject.Dispatch + $53
[00000000008025F0] Vcl.Controls.TControl.WndProc + $370
[0000000000809850] Vcl.Controls.TWinControl.WndProc + $9A0
[0000000000BEB36E] TabControlEx.TCustomTabControlHelper.NewWndProc (Line 234, "TabControlEx.pas" + 12) + $0
[00000000008089CC] Vcl.Controls.TWinControl.MainWndProc + $2C
[000000000055B6E6] System.Classes.StdWndProc + $26
[00007FF9775F5C1D] Unknown function at CallWindowProcW + $3BD
[00007FF9775F57EC] Unknown function at DispatchMessageW + $3CC
[00007FF977601F83] Unknown function at IsWindowVisible + $1A3
[00007FF978740464] KiUserCallbackDispatcher + $24
[00007FF9758A1184] NtUserMessageCall + $14
[00007FF9775F5289] Unknown function at SendMessageW + $3E9
[00007FF9775F4F98] SendMessageW + $F8
[00000000006A17CC] Vcl.ComCtrls.TCustomTabControl.UpdateTabSize + $4C
[00000000006A1484] Vcl.ComCtrls.TCustomTabControl.SetTabHeight + $A4
[0000000000D6446C] uMain.TfPSPad.WMResizeFileTabs (Line 11997, "uMain.pas" + 5) + $0
[000000000040FFD5] System.TObject.Dispatch + $45
[00000000008025F0] Vcl.Controls.TControl.WndProc + $370
[0000000000809850] Vcl.Controls.TWinControl.WndProc + $9A0
[00000000007AF7DE] Vcl.Forms.TCustomForm.WndProc + $99E
[00000000008089CC] Vcl.Controls.TWinControl.MainWndProc + $2C
[000000000055B6E6] System.Classes.StdWndProc + $26
[00007FF9775F5C1D] Unknown function at CallWindowProcW + $3BD
[00007FF9775F5612] Unknown function at DispatchMessageW + $1F2
[00000000007BDF53] Vcl.Forms.TApplication.ProcessMessage + $133
[00000000007BDF98] Vcl.Forms.TApplication.ProcessMessages + $18
[0000000000CA3F1C] uSettings.TfSettings.bOKClick (Line 991, "uSettings.pas" + 291) + $0
[0000000000802CF3] Vcl.Controls.TControl.Click + $A3
[0000000000654D7B] Vcl.StdCtrls.TCustomButton.Click + $2B
[0000000000656604] Vcl.StdCtrls.TCustomButton.CNCommand + $24
[000000000040FFD5] System.TObject.Dispatch + $45
[00000000008025F0] Vcl.Controls.TControl.WndProc + $370
[0000000000809850] Vcl.Controls.TWinControl.WndProc + $9A0
[0000000000654765] Vcl.StdCtrls.TButtonControl.WndProc + $95
[00000000008020E2] Vcl.Controls.TControl.Perform + $32
[0000000000809A4E] Vcl.Controls.DoControlMsg + $2E
[000000000080AE18] Vcl.Controls.TWinControl.WMCommand + $18
[000000000040FFD5] System.TObject.Dispatch + $45
[00000000008025F0] Vcl.Controls.TControl.WndProc + $370
[0000000000809850] Vcl.Controls.TWinControl.WndProc + $9A0
[00000000008089CC] Vcl.Controls.TWinControl.MainWndProc + $2C
[000000000055B6E6] System.Classes.StdWndProc + $26
[00007FF9775F5C1D] Unknown function at CallWindowProcW + $3BD
[00007FF9775F57EC] Unknown function at DispatchMessageW + $3CC
[00007FF977601F83] Unknown function at IsWindowVisible + $1A3
[00007FF978740464] KiUserCallbackDispatcher + $24
[00007FF9758A1184] NtUserMessageCall + $14
[00007FF9775F511B] Unknown function at SendMessageW + $27B
[00007FF9775F4F98] SendMessageW + $F8
[0000000000665FA4] Vcl.StdCtrls.TButtonStyleHook.DoClick + $54
[000000000066647B] Vcl.StdCtrls.TButtonStyleHook.WMLButtonUp + $3B
[000000000040FFD5] System.TObject.Dispatch + $45
[00000000007457D6] Vcl.Themes.TStyleHook.WndProc + $1D6
[0000000000745B69] Vcl.Themes.TMouseTrackControlStyleHook.WndProc + $9
[0000000000666097] Vcl.StdCtrls.TButtonStyleHook.WndProc + $97
[0000000000744AFC] Vcl.Themes.TStyleHook.HandleMessage + $8C
[0000000000BD8231] Vcl.Styles.TStyleEngine.HandleMessage + $C1
[00000000007405DE] Vcl.Themes.TStyleManager.HandleMessage + $7E
[0000000000806F19] Vcl.Controls.TWinControl.DoHandleStyleMessage + $29
[0000000000808F86] Vcl.Controls.TWinControl.WndProc + $D6
[0000000000654765] Vcl.StdCtrls.TButtonControl.WndProc + $95
[00000000008089CC] Vcl.Controls.TWinControl.MainWndProc + $2C
[000000000055B6E6] System.Classes.StdWndProc + $26
[00007FF9775F5C1D] Unknown function at CallWindowProcW + $3BD
[00007FF9775F5612] Unknown function at DispatchMessageW + $1F2
[00000000007BDF53] Vcl.Forms.TApplication.ProcessMessage + $133
[00000000007BDFC8] Vcl.Forms.TApplication.HandleMessage + $18
[00000000007B7044] Vcl.Forms.TCustomForm.ShowModal + $2B4
[0000000000D50A6A] uMain.TfPSPad.aRegistrExecute (Line 7121, "uMain.pas" + 6) + $16
[0000000000D64C8D] uMain.TfPSPad.ActionListExecute (Line 12156, "uMain.pas" + 11) + $10
[0000000000613B37] System.Actions.TContainedActionList.ExecuteAction + $97
[0000000000618A28] Vcl.ActnList.TCustomAction.Execute + $A8
[0000000000559F66] System.Classes.TBasicActionLink.Execute + $26
[00000000007E27CA] Vcl.Menus.TMenuItem.Click + $CA
[00000000007E5054] Vcl.Menus.TMenu.DispatchCommand + $24
[00000000007CAD5A] Vcl.Forms.TFormStyleHook.TMainMenuBarStyleHook.TrackMenuFromItem + $2BA
----------------------------------------------------------------------------------------------------
Program : L:\aa-PORTABLEyLAUNCH\PROGS\ESENCIALES\PsPad\PSPad.exe 5.0.5 (547)
System : Windows 10 Professional x64, Version: 10.0, Build: 47BB,
Processor: Intel, Intel(R) Core(TM) i5-3330 CPU @ 3.00GHz, 3000 MHz MMX
Display : 1920x1080 pixels, 32 bpp PPI: 96
Skin : Carbon
----------------------------------------------------------------------------------------------------
Active Controls Hierarchy:
TButton "bOK"
TPanel "Panel1"
TfSettings "fSettings"
----------------------------------------------------------------------------------------------------

Options: Reply | Quote | Up ^


#5 Re: Access violation the four thousand six hundred seventeenth

Posted by: vbr | Date: 2021-02-01 18:52 | IP: IP Logged

Hi,
just some more or less general guesses/suggestions -
does this error occur in a clean PSPad install - i.e. if you just unpack the current full version pspad504en.zip to some new empty folder (with read and write access) and then run PSPad.exe ?

If this would fix the problem, there might be some mismatch in the (possibly older) settings.

Is some specific file involved or does it crash with the mentioned exception on any file for you?

Do you use WSH-scripting? If it is activated, can you try to disable it temporarily and see, whether the crashes continue?

hth,
vbr

Edited 1 time(s). Last edit at 2021-02-01 18:53 by vbr.

Options: Reply | Quote | Up ^


#6 Re: Access violation the four thousand six hundred seventeenth

Posted by: Extranjero | Date: 2021-02-24 18:30 | IP: IP Logged

--> does this error occur in a clean PSPad install clean PSPad install portable version (read/write there), no older settings available

--> Is some specific file involved or does it crash
allways happened (started using PSPad in 2004 or 2005), files changed with time, but now it became massive (and happens always twice withe the same file closing it)

--> Do you use WSH-scripting
no and never used it

I noticed it happens frecuently when PSPad tries to add/quit a third file-tab-line, maybe that's a hint ...

Options: Reply | Quote | Up ^


#7 Re: Access violation the four thousand six hundred seventeenth

Posted by: pspad | Date: 2021-02-24 18:51 | IP: IP Logged

Please change skin from carbon to windows. Does it happen too?

Options: Reply | Quote | Up ^






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