Einzelnen Beitrag anzeigen

Rainer Wolff

Registriert seit: 25. Okt 2005
Ort: Bretten
318 Beiträge
 
Delphi 10.4 Sydney
 
#1

Memory Leak mit IBEvents

  Alt 4. Mai 2011, 14:07
Delphi-Version: XE
Hallo,

ich hab hier mal wieder ein sehr seltsames Phänomen:

Ich habe ein Memoryleak in meiner Application und zur Fehlersuche mal alles auskommentiert, was stört. Im Prinzip besteht mein Projekt jetzt nur noch aus zwei Datenmodulen, von denen das eine die grundsätzliche Datenbankkonfiguration enthält, und das andere formularspezifischere Querys etc.
Auf dem zweiten Formular ist auch eine IBEvents-Komponente, wenn ich die lösche, ist das Memoryleak verschwunden. Aber da steht auch kein Quellcode dahinter, der irgendwie Speicher bucht oder freigibt.

FastMM4 (FullDebugmode) sagt:
Code:
--------------------------------2011/5/4 14:52:25--------------------------------
FastMM has detected an error during a free block scan operation. The block header has been corrupted.

The current thread ID is 0xD30, and the stack trace (return addresses) leading to this error is:
414260 [FastMM4.pas][FastMM4][FastMM4.CheckBlocksOnShutdown][8114]
414FE6 [FastMM4.pas][FastMM4][FastMM4.FinalizeMemoryManager][9184]
41502E [FastMM4.pas][FastMM4][FastMM4.Finalization][9265]
407B28 [System.pas][System][System.FinalizeUnits][15309]
407F02 [System.pas][System][System.@Halt0][16304]
ACA881 [Prodavi][Prodavi.Prodavi][215]
76CE3C45 [BaseThreadInitThunk]
76FD37F5 [Unknown function at RtlInitializeExceptionChain]
76FD37C8 [Unknown function at RtlInitializeExceptionChain]

Current memory dump of 256 bytes starting at pointer address 7FEB6250:
64 82 AE 00 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80
Wer kann mir Tipps geben, wie ich hier weitersuchen kann.

Gruß Rainer
  Mit Zitat antworten Zitat