Hello Mr/Ms PDPad,

I wonder, for some weeks ago, about a possible bug in memory/resource
management.

I've noticed this, only when working with Pascal type file. I'm working under
PSPad, and sometime, when I launch another application, a system message box
tells me that there is no more on the system to run the application.

Some other times, PSPad hang up, and display a fatal error message box.

There is a button where one can click to copy information to clip-board.. here
is what I've got the last time PSPad hangs-up :


cite:
--------------------------------------------------------------------------------
Error reading ImageList.Bitmap: Failed to read ImageList data from
stream.

Exception class: EReadError
Exception address: 00426C97
--------------------------------------------------------------------------------
--------------------
Stack list, generated 26/04/07 17:06:21
[00490EBB] ImgList.TCustomImageList.ReadD3Stream + $1BB
[00490F3B] ImgList.TCustomImageList.ReadData + $73
[00425BD4] Classes.TReader.DefineBinaryProperty + $A8
[00404B5E] [EMAIL PROTECTED] + $2A
[00490A53] ImgList.TCustomImageList.DefineProperties + $3F
[00426E0B] Classes.TReader.ReadProperty + $133
[004267E5] Classes.TReader.ReadDataInner + $15
[00426420] Classes.SetCompName + $40
[004267C7] Classes.TReader.ReadData + $67
[0042B265] Classes.TComponent.ReadState + $1
[00426641] Classes.TReader.ReadComponent + $11D
[004279B4] Classes.TReader.ReadValue + $8
[00426859] Classes.TReader.ReadDataInner + $89
[00426798] Classes.TReader.ReadData + $38
[0042B265] Classes.TComponent.ReadState + $1
[0049C749] Controls.TControl.ReadState + $2D
[0049FC65] Controls.TWinControl.ReadState + $25
[004869A3] Forms.TCustomForm.ReadState + $6B
[00427599] Classes.TReader.ReadRootComponent + $1D5
[004276B9] Classes.TReader.ReadRootComponent + $2F5
[00424CC2] Classes.TStream.ReadComponent + $32
[00421673] Classes.InternalReadComponentRes + $57
[004217FD] Classes.InitComponent + $79
[0048B7FB] Forms.TScreen.GetCustomForms + $B
[0048C346] Forms.AlignWork + $22
[004A17B7] Controls.TWinControl.WndProc + $157
[0048C38C] Forms.TScreen.AlignForms + $10
[0040A8E0] FmpSysMm.FmpSysGetMem (Line 64, "FmpSysMm.pas" + 3) + $0
[00404337] System.TObject.NewInstance + $13
[0040470B] [EMAIL PROTECTED] + $7
[00404763] [EMAIL PROTECTED] + $7
[0040436C] System.TObject.Create + $10
[0042188E] Classes.InitInheritedComponent + $62
[004218D6] Classes.InitInheritedComponent + $AA
[00486329] Forms.TCustomForm.Create + $A1
[004863C8] Forms.TCustomForm.Create + $140
[00487672] Forms.Default + $3A
[0048789A] Forms.TCustomForm.ClientWndProc + $1D6
[004341A0] Graphics.FreeMemoryContexts + $98
[0043859F] CommCtrl.TreeView_GetItem + $F
[0049A1AE] Controls.FindControl + $42
[00404532] [EMAIL PROTECTED] + $E
[0066315F] uHLList.TMyHL.GetIsHtml (Line 239, "uHLList.pas" + 1) + $B
[00679BFC] uMain.TfPSPad.ActionListUpdate (Line 2661, "uMain.pas" + 230) + $C
[0068227A] uMain.TfPSPad.aHLSettExecute (Line 5973, "uMain.pas" + 3) + $9
[0068D734] uMain.TfPSPad.ActionListExecute (Line 10280, "uMain.pas" + 8) + $7
[00481620] ActnList.TCustomActionList.ExecuteAction + $14
[00481268] ActnList.TContainedAction.Execute + $14
[00481F27] ActnList.TCustomAction.Execute + $4F
[0042B6BF] Classes.TBasicActionLink.Execute + $13
[00494E27] Menus.TMenuItem.Click + $8F
[00496017] Menus.TMenu.DispatchCommand + $13
[004895C3] Forms.TCustomForm.WMCommand + $1F
[0049E758] Controls.TControl.WndProc + $188
[00487621] Forms.TCustomForm.WndProc + $421
[004223FC] Classes.TThreadList.UnlockList + $4
[004A17B7] Controls.TWinControl.WndProc + $157
[00487621] Forms.TCustomForm.WndProc + $421
[004223FC] Classes.TThreadList.UnlockList + $4
[004341A0] Graphics.FreeMemoryContexts + $98
[004A1434] Controls.TWinControl.MainWndProc + $2C
[0042C4A0] Classes.StdWndProc + $14
[0048DD13] Forms.TApplication.ProcessMessage + $83
[0048DD4A] Forms.TApplication.HandleMessage + $A
[0048DF7A] Forms.TApplication.Run + $96
[006A05A9] PSPad.PSPad (Line 62, "I:\Delphi7\Projekty\PSPad\PSPad.dpr" + 35) +
$7
--------------------------------------------------------------------------------
--------------------
Program  : C:\PROGRAMS\PSPAD\PSPAD.EXE  4.5.1 (2185)
System   : Windows 98 SE , Version: 4.10, Build: 8AE, " A "
Processor: Intel, Pentium, 133 MHz 
Display  : 800x600 pixels, 16 bpp
--------------------------------------------------------------------------------
--------------------
Active Controls Hierarchy:
TPSSynEdit "Editor1"
TfChildEdit "fChildEdit"
--------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------


-- 
<http://forum.pspad.com/read.php?2,40150,40150>
PSPad freeware editor http://www.pspad.com

Odpovedet emailem