04-02-2008 05:01 AM
I've a
problem with terminating application after Connection/Disconnection with ORACLE
DB.
To simplify my consideration I built very simple code comprise of basic
functions:
DBNewConnection
DBSetConnectionAttribute
DBOpenConnection
…
…BODY
…
DBCloseConnection
DBDiscardConnection
Everything work fine, I can do whatever I want in DB, but when I want to exit/close my application I can’t do it.
My application hang on, to close it I need to do it by use Terminate Execution from Running Menu. Even Break Execution doesn’t work. It looks like problem with DSN driver compatibility or something.
In debug window after a while I see this message: HEAP: Free Heap block 2b83e68 modified at 2b83f0c after it was freed. When this message appeared then I can close application by use STOP button.
Specification: Windows XP; CVI 8.1.1; SQL Toolkit 2.0.6; Oracle ODBC driver: Oracle in XEClient 10.02.00.01.
I some a
few post connected with HEAP problem, but I don’t allocate any memory, so maybe
some third party app does it. Do you have any idea what to do ?
I tray to change Oracle driver.
Best Regards
Konrad
04-03-2008 05:39 PM
04-08-2008 05:06 PM
04-10-2008 10:00 AM - edited 04-10-2008 10:01 AM
Hi Ckonio,
We have only been able to reproduce this issue on one machine and not others
which makes the issue difficult to track down. I tested your scenario
with the Oracle Database 10g Express Edition and didn't have any problems
connecting and disconnecting. There was no hang at the end. Now, Kristen used
this same software and was able to observe the behavior.
So I am wondering if the issue has something to do with the with the ODBC
driver. The ODBC Data Source Administrator settings I used to test your
scenario are shown in the attached screenshots. For the driver, I tested
both the Microsoft ODBC for Oracle and Oracle in XE drivers and they both worked
fine. Maybe you configured your settings differently.
Does this issue occur on multiple systems?
Is it possible for you to try another driver?
Best Regards,
04-11-2008 07:57 AM
04-11-2008 02:10 PM
05-09-2008 10:23 AM
05-12-2008 12:44 AM
01-08-2009 08:41 AM
Hi all,
I have the same problem with disconnecting from an Oracle 10 Express
Edition data base. I have changed the driver to the Microsoft ODBC for
Oracle and I get a new crashing error and if I continue I get the follow up. I attach the print screen of the errors.
I'm using LabWindows CVI SQL ToolKit 2.0 and LabWindows/CVI 9.0 on a machine running Windows 2000 SP4.
Please let me know if you have investigate the problem meanwhile and if you have found any solution.
Looking forward for your answer
Regards
Roxana Frunza
01-09-2009 12:32 AM
Hi Roxana
Unfortunately, I have't fix it. I have't more time to spend it on it, so I use the simples solution:
just I change Oracle serwer and driver. The problem has gone away.
Konrad