Watch, Follow, &
Connect with Us
Public Report
Report From: Delphi-BCB/Midas/TClientDataSet    [ Add a report in this area ]  
Report #:  67709   Status: Closed
TClientDataSet.Locate memory leak detected
Project:  Delphi Build #:  12.0.3170.16989
Version:    12.0 Submitted By:   C.C. Cheng
Report Type:  Basic functionality failure Date Reported:  10/9/2008 5:37:52 AM
Severity:    Serious / Highly visible problem Last Updated: 3/20/2012 2:24:39 AM
Platform:    All platforms Internal Tracking #:   265762
Resolution: Fixed (Resolution Comments) Resolved in Build: : 14.0.3513.24210
Duplicate of:  None
Voting and Rating
Overall Rating: No Ratings Yet
0.00 out of 5
Total Votes: 10
Description
The application reports memory leak upon application termination whenever TClientDataSet.Locate function is being called, with MIDASLIB in uses list.

There is no memory leak if MIDASLIB is not in uses list.
Steps to Reproduce:
Call TClientDataSet.Locate with MidasLib in uses list.

Please refer to the attachment for further information.
Workarounds
do no use MIDASLIB but have to deploy MIDAS.DLL
Attachment
67709.zip
Comments

Tomohiro Takahashi at 10/9/2008 5:46:02 AM -
> Please refer to the attachment for further information.
Please attach them.

C.C. Cheng at 10/9/2008 5:50:46 AM -
Attachment uploaded.

Tomohiro Takahashi at 10/9/2008 7:46:24 AM -
This is callstack about this memory leak reported by EurekaLog 6.0.17

Call Stack Information:
-----------------------------------------------------------------
|Address |Module      |Unit      |Class|Procedure/Method|Line   |
-----------------------------------------------------------------
|+Memory Leak: Type=Data; Total size=9; Count=1                 |
|---------------------------------------------------------------|
|004030F8|Project1.exe|System.pas|     |_GetMem         |3412[3]|
|0051501B|Project1.exe|canex.cpp |     |                |3918[0]|
|0051516D|Project1.exe|canex.cpp |     |                |3961[0]|
|7698B8EF|kernel32.dll|          |     |GetProcAddress  |       |
|7698B902|kernel32.dll|          |     |GetProcAddress  |       |
|00531975|Project1.exe|ossrv.cpp |     |                |3163[0]|
-----------------------------------------------------------------

Alain VALANCOGNE at 4/28/2009 5:16:52 AM -
Report is closed (Status: Closed) and resolved (Resolution: Fixed)...
But this issue occurs still with CodeGear RAD Studio 2009 Update 2!
Have you got another solution than removing MidasLib from uses and deploying Midas.dll?

Tomohiro Takahashi at 4/29/2009 5:28:16 AM -
I will check the internal status.
I think 'Build No' field should be set to 12.0.xxxx.yyyy(aka Next Update Release).

Server Response from: ETNACODE01