[b] * Reproduction Steps * I was able to reproduce the bug by creating a new text file "Test.txt" in PS Pad, saving it to disk, then editing it in another program. Then I middle clicked on the "Test.txt" tab in the non-focused PS Pad window. The crash happened when I clicked yes when it asked me to reload the contents of "Test.txt". "Test.txt" was the active tab, and the only file open.
The program does not crash if I click "no" on the reload contents window. [/b] Exception description: I had a file called "log" opened in PS Pad. A different file was the active tab. In a Windows file explorer window I created a new file called "log.txt" then renamed "log" to "log-old". Then I renamed "log.txt" to "log". I then middle clicked on the "log" tab in PS Pad. I got a message saying that the contents of "log" had changed on disk, and asking me if I would like to reload it. I clicked "yes" and the program crashed. I think it is important to note that before I middle-clicked, the PS Pad window did not have focus, and the tab that I middle clicked on was changed on disk. Access violation at address 77108DA9 in module 'ntdll.dll'. Write of address 00000014. Exception class: EAccessViolation Exception address: 77108DA9 -------------------------------------------------------------------------------- -------------------- Stack list, generated 7/4/2013 6:07:01 PM [77108DA9] Unknown function at RtlIntegerToUnicodeString + $2FC [0068006F] uResolvColor.TfResolvColor.SetResultColor (Line 427, "uResolvColor.pas" + 2) + $2 [0042D5B8] Graphics.TGraphicsObject.Lock + $8 [0042D9E9] Graphics.TFont.SetData + $D [0042DD19] Graphics.TFont.SetStyle + $21 [006D2620] uChildParent.TfChildParent.SetCaption (Line 270, "uChildParent.pas" + 23) + $10 [006D4428] uChildParent.TfChildParent.FormResize (Line 1169, "uChildParent.pas" + 0) + $0 [00487205] Controls.TControl.Resize (Line 3350, "Controls.pas" + 1) + $14 [0048CD75] Controls.TWinControl.WMSize (Line 6686, "Controls.pas" + 4) + $C [0049916A] Forms.TScrollingWinControl.WMSize + $26 [00489270] Controls.TControl.WndProc (Line 4645, "Controls.pas" + 53) + $6 [0048C2CF] Controls.TWinControl.WndProc (Line 6342, "Controls.pas" + 33) + $4 [0049A7E9] Forms.TCustomForm.WndProc + $421 [0048BF4C] Controls.TWinControl.MainWndProc (Line 6237, "Controls.pas" + 3) + $6 [0042ADA8] Classes.StdWndProc + $14 [004F62D4] TntForms.TTntForm.CreateWindowHandle (Line 339, "TntForms.pas" + 10) + $3A [00429E0B] Classes.TComponent.SetReference + $27 [0042062E] Classes.TList.Remove + $6 [004299F2] Classes.TComponent.RemoveNotification + $A [0042062E] Classes.TList.Remove + $6 [004299F2] Classes.TComponent.RemoveNotification + $A [00429A1F] Classes.TComponent.RemoveFreeNotification + $13 [0048B7E0] Controls.TWinControl.CreateWnd (Line 5993, "Controls.pas" + 11) + $F [0048B83D] Controls.TWinControl.CreateWnd (Line 6003, "Controls.pas" + 21) + $A [004872D1] Controls.TControl.Notification (Line 3375, "Controls.pas" + 4) + $4 [00498C01] Forms.TScrollingWinControl.CreateWnd + $5 [0049B955] Forms.TCustomForm.CreateWnd + $9 [004998E2] Forms.TCustomForm.Destroy + $DA [0048BC1A] Controls.TWinControl.CreateHandle (Line 6121, "Controls.pas" + 3) + $4 [0048E790] Controls.TWinControl.HandleNeeded (Line 7796, "Controls.pas" + 4) + $4 [0048E79D] Controls.TWinControl.GetHandle (Line 7802, "Controls.pas" + 1) + $2 [006D2BFB] uChildParent.TfChildParent.Reopen (Line 447, "uChildParent.pas" + 1) + $2 [006C1876] uMain.TfPSPad.CheckFileTimeStamp (Line 6142, "uMain.pas" + 29) + $2 [006C8E66] uMain.TfPSPad.ApplicationEventsActivate (Line 8761, "uMain.pas" + 9) + $4 [004A0841] Forms.TApplication.WndProc + $55D [0042ADA8] Classes.StdWndProc + $14 [004A0F1B] Forms.TApplication.ProcessMessage + $83 [004A0F52] Forms.TApplication.HandleMessage + $A [004A1172] Forms.TApplication.Run + $96 [006F9BFB] PSPad.PSPad (Line 88, "" + 52) + $7 -------------------------------------------------------------------------------- -------------------- Program : C:\Program Files (x86)\PSPad editor\PSPad.exe 4.5.7 (2450) System : Windows 7 Home Edition x64, Version: 6.1, Build: 1DB1, Service Pack 1 Processor: AMD, AMD FX(tm)-4100 Quad-Core Processor , 3620 MHz MMX Display : 1920x1080 pixels, 32 bpp -------------------------------------------------------------------------------- -------------------- Active Controls Hierarchy: TPSSynEdit "Editor1" TfChildEdit "fChildEdit_3" -------------------------------------------------------------------------------- -------------------- -- <http://forum.pspad.com/read.php?4,60941,60941> PSPad freeware editor http://www.pspad.com
