severe bug, odac 9.3.10 for c++ builder XE6.

Discussion of open issues, suggestions and bugs regarding ODAC (Oracle Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
albourgz
Posts: 160
Joined: Wed 06 May 2009 12:17
Location: belgium

severe bug, odac 9.3.10 for c++ builder XE6.

Post by albourgz » Tue 09 Sep 2014 15:09

Hi,

I would like to have a fix or workaround for this annoying bug.
If an exit() is called after a call to TOraSession::Connect(), a gpf is raised.

To reproduce, start a new vcl app project, drop a TOraSession on main form.
double click the component, uncheck the login prompt checkbox, and specify valid credentials for a server.
In the mainform's constructor, type the following code:

Code: Select all

exit(1);
OraSession1->Connect();
OraSession1->Disconnect();
=> Compile, run, it works (form opens then closes).

Then change the code by moving the exit after the disconnect:

Code: Select all

OraSession1->Connect();
OraSession1->Disconnect();
exit(1);
=> Compile, run, you get a gpf.

This is very annoying: we are converting apps to xe6 that need to return an exit code to the caller program, and it doesn't work anymore.

Is there any workaround we could use meanwhile?

Regards.

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

Re: severe bug, odac 9.3.10 for c++ builder XE6.

Post by AlexP » Tue 09 Sep 2014 15:31

Hello,

Thank you for the information. We have reproduced the problem and will investigate the reasons for such behaviour.

Post Reply