Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Win32/Win64 API (native code) (https://www.delphipraxis.net/17-win32-win64-api-native-code/)
-   -   FastMM4 -> Memory überschreiben? (https://www.delphipraxis.net/159125-fastmm4-memory-ueberschreiben.html)

Gruber_Hans_12345 15. Mär 2011 15:51

FastMM4 -> Memory überschreiben?
 
Hallo ich habe ein komisches Phänomen (wenn ich eine Komponente von DevExpress draufploppe, und diese wird dann freigegeben, bekomme ich einen Fehler)
daher dachte ich, FastMM4 aktualisieren und mit der option starten zum erkennen von zugriff auf freigegebene optionen.

Und siehe da genau dort wo der Fehler sein sollte, wird nun eine Exception im adressbereich $80808080 geworfen, aber leider ohne weitere Debug infos.

Ich muß das programm dann terminieren, da es scheinbar unendlich einen Bugreport mit memory leaks erstellt

und bekomme dann nur einen einzigen Modified Report, der mir komisch erscheint, da im FastMM4 darauf zugegriffen wird?!?
Wieso will FastMM4 darauf zugreifen?

Code:
--------------------------------2011/3/15 16:44:18--------------------------------
FastMM has detected an error during a free block scan operation. FastMM detected that a block has been modified after being freed.

Modified byte offsets (and lengths): 90(1), 112(4)

The previous block size was: 868

This block was previously allocated by thread 0x5EC, and the stack trace (return addresses) at the time was:
4032DA
4051B3 
40558E
7B34CE [TBXDkPanels.pas][TBXDkPanels][TBXDkPanels.TTBXDockablePanel.Create][2497]
1904717 [DokumentenBox.pas][DokumentenBox][DokumentenBox.TDBFileExplorer.CreateDockPanel][797]
19D7F58 [main.pas][main][main.TfrVerwaltung.trLoadSettingsTimer][2268]
466DA2 [ExtCtrls.pas][ExtCtrls][ExtCtrls.TTimer.Timer][2281]
466C88 [ExtCtrls.pas][ExtCtrls][ExtCtrls.TTimer.WndProc][2239]
43A056 [common\Classes.pas][Classes][Classes.StdWndProc][11583]
7E368734 [Unknown function at GetDC]
7E368816 [Unknown function at GetDC]

The block was previously used for an object of class: TTBXDockablePanel

The allocation number was: 2275867

The block was previously freed by thread 0x5EC, and the stack trace (return addresses) at the time was:
4032F6 
4051D1 
4055D9 
7B35C4 [TBXDkPanels.pas][TBXDkPanels][TBXDkPanels.TTBXDockablePanel.Destroy][2520]
4A286A [Controls.pas][Controls][Controls.TCustomControl.Destroy][10140]
6E406F [TB2Dock.pas][TB2Dock][TB2Dock.TTBDock.Destroy][890]
49B4BC [Controls.pas][Controls][Controls.TWinControl.Destroy][6049]
477E59 [Forms.pas][Forms][Forms.TScrollingWinControl.Destroy][2362]
478EAE [Forms.pas][Forms][Forms.TCustomForm.Destroy][2937]
405638 
19D548E [main.pas][main][main.TfrVerwaltung.Destroy][1365]

The current thread ID is 0x5EC, and the stack trace (return addresses) leading to this error is:
40E2A8 [..\komp\library\FastMM4.pas][FastMM4][FastMM4.CheckBlocksOnShutdown][8114]
40F248 [..\komp\library\FastMM4.pas][FastMM4][FastMM4.FinalizeMemoryManager][9184]
40F292 [..\komp\library\FastMM4.pas][FastMM4][FastMM4.Finalization][9265]
405E1F
4060F7 
406182 
418A07 [sys\sysutils.pas][SysUtils][SysUtils.ExceptHandler][14353]
418B36 [sys\sysutils.pas][SysUtils][SysUtils.DoneExceptions][14692]
41B384 [sys\sysutils.pas][SysUtils][SysUtils.Finalization][17325]
405E1F
405E37


Alle Zeitangaben in WEZ +1. Es ist jetzt 01:06 Uhr.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz