Page 1 of 1

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

Posted: Tue 09 Sep 2014 15:09
by albourgz
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.

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

Posted: Tue 09 Sep 2014 15:31
by AlexP
Hello,

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