[TOraSession + OCI 9.x] Options.KeepDesignConnected causes memory leak when directory name contains round brackets

Discussion of open issues, suggestions and bugs regarding ODAC (Oracle Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
pcz
Posts: 81
Joined: Tue 04 Aug 2015 12:53

[TOraSession + OCI 9.x] Options.KeepDesignConnected causes memory leak when directory name contains round brackets

Post by pcz » Tue 28 Jun 2016 09:14

Hello

I have accidentally found a little bug... (or not :P)
[ODAC 9.7.25 Professional & Delphi XE 7 Professional / OCI 9.x]

Steps to reproduce:
1. Create project in directory which name contains round brackets (for example: "(TEST)")
2. Place TOraSession component, setup connection params (connection via OCI)
3. Set "Connected" property to True
4. Of course add ReportMemoryLeaksOnShutdown := True; into beginning of dpr file
5. Compile & run

Result:
Image
+
Image

Regards
P.C.

AlexP
Devart Team
Posts: 5530
Joined: Tue 10 Aug 2010 11:35

Re: [TOraSession + OCI 9.x] Options.KeepDesignConnected causes memory leak when directory name contains round brackets

Post by AlexP » Thu 30 Jun 2016 12:49

Hello,

Thank you for the sample. We have reproduced the problem and will try to fix it as soon as possible

AlexP
Devart Team
Posts: 5530
Joined: Tue 10 Aug 2010 11:35

Re: [TOraSession + OCI 9.x] Options.KeepDesignConnected causes memory leak when directory name contains round brackets

Post by AlexP » Mon 04 Jul 2016 08:26

We have investigated this issue more detailed and found out, that it also occurs because the 9th client works with such names/paths incorrectly.

Post Reply