Menu

#420 Allocate & Free memory problem

7.3-alfa
closed
nobody
Memory (2)
Bug Report
2020-04-12
2020-04-05
No

SVN Version : 6416

FastMM has detected an error during a GetMem operation. FastMM detected that a block has been modified after being freed. 

Modified byte offsets (and lengths): 68(4)

The previous block size was: 88

This block was previously allocated by thread 0x188C, and the stack trace (return addresses) at the time was:
6AE387 [uMemory.pas][uMemory][uMemory.NewAllocMem][66]
4074E6 [System][System.@GetMem]
408D6B [System][System.TObject.NewInstance]
410821 [System][System.TInterfacedObject.NewInstance]
40953A [System][System.@ClassCreate]
B1A6D2 [ZDbcInterbase6.pas][ZDbcInterbase6][ZDbcInterbase6.TZIBTransaction.Create][1667]
75D7DD13 [Unknown function at RegisterApplicationRestart]
75D7DD24 [Unknown function at RegisterApplicationRestart]
B19DE0 [ZDbcInterbase6.pas][ZDbcInterbase6][ZDbcInterbase6.TZInterbase6Connection.CreateTransaction][1432]
B199C8 [ZDbcInterbase6.pas][ZDbcInterbase6][ZDbcInterbase6.TZInterbase6Connection.GetActiveTransaction][1373]
B171D3 [ZDbcInterbase6.pas][ZDbcInterbase6][ZDbcInt
Process PGFServer.exe (7100)
Debug Output:
FastMM has detected an error during a GetMem operation. FastMM detected that a block has been modified after being freed. 

Modified byte offsets (and lengths): 68(4)

The previous block size was: 88

This block was previously allocated by thread 0x188C, and the stack trace (return addresses) at the time was:
6AE387 [uMemory.pas][uMemory][uMemory.NewAllocMem][66]
4074E6 [System][System.@GetMem]
408D6B [System][System.TObject.NewInstance]
410821 [System][System.TInterfacedObject.NewInstance]
40953A [System][System.@ClassCreate]
B1A6D2 [ZDbcInterbase6.pas][ZDbcInterbase6][ZDbcInterbase6.TZIBTransaction.Create][1667]
BC30D9 [ZAbstractRODataset.pas][ZAbstractRODataset][ZAbstractRODataset.TZAbstractRODataset.InternalOpen][3612]
BF69336 [GetRawStackTrace]
B19DE0 [ZDbcInterbase6.pas][ZDbcInterbase6][ZDbcInterbase6.TZInterbase6Connection.CreateTransaction][1432]
B199C8 [ZDbcInterbase6.pas][ZDbcInterbase6][ZDbcInterbase6.TZInterbase6Connection.GetActiveTransaction][1373]
B171D3 [ZDbcInterbase6.pas][Z
Process PGFServer.exe (7100)

Discussion

  • Hafedh TRIMECHE

    Hafedh TRIMECHE - 2020-04-05
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1,4 +1,4 @@
    -SVN Version :  6401
    +SVN Version :  6416
     ~~~
     FastMM has detected an error during a GetMem operation. FastMM detected that a block has been modified after being freed. 
    
     
  • EgonHugeist

    EgonHugeist - 2020-04-11

    How can i reproduce it? I have no such issue using FastMM4..

     
  • Hafedh TRIMECHE

    Hafedh TRIMECHE - 2020-04-12
    • status: open --> closed
     

Log in to post a comment.