Phantom process remains on exit

Discussion of open issues, suggestions and bugs regarding ODAC (Oracle Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
ccedotal
Posts: 9
Joined: Tue 05 Jul 2011 16:42

Phantom process remains on exit

Post by ccedotal » Thu 23 Mar 2017 16:17

We are seeing a strange reproducible occurrence that hopefully is the result of a known issue with a known resolution.

Problem: A Delphi built application leaves a phantom process running after exiting, but only when launched from an Oracle Form via Webutil.

We have isolated the problem to the torasession.connect. That is, if the torasession.connect is called, whether a connect is successful or not, upon exiting the application, a phantom process associated with the program will remain active. This is problematic as the Form will continue to block waiting for the user to exit the launched program, even though the user has exited the program and the program's main window has closed.

When we run the program standalone, upon exiting there are no left over phantom processes...it will exit cleanly.

We are performing torasession.disconnect and torsession.free when closing the program's main window.

Has anyone else experienced this behavior?

MaximG
Devart Team
Posts: 1822
Joined: Mon 06 Jul 2015 11:34

Re: Phantom process remains on exit

Post by MaximG » Thu 11 May 2017 09:21

Unfortunately, we have not received any request regarding the occurrence of Phantom process when using Oracle Form via Webutil. Currently we do not have the ability to check the behavior of applications developed using ODAC exactly in this environment, however we are planning to implement such testing in the future. We will inform you about the results as soon as we get them.

Post Reply