Page 1 of 1

Error on closing Oracle connection

Posted: Tue 04 Oct 2016 07:48
by chkaufmann
After updating to the latest version I get an error when closing an Oracle connection. Is there anything I have to change in my code with the UniDac update?

Code: Select all

exception class    : EAccessViolation
exception message  : Access violation at address 75B0C54F in module 'KERNELBASE.dll'. Invalid access of address 0018719E.

main thread ($366c):
75b0c54f +058 KERNELBASE.dll                         RaiseException
004b0c2d +019 Logo.exe       madExcept         17204 InterceptClassDestroy
00409199 +009 Logo.exe       System              215 TObject.Destroy
004091a8 +008 Logo.exe       System              215 TObject.Free
013ef900 +018 Logo.exe       CRTypes             626 TCRObjectList.Notify
00529160 +084 Logo.exe       System.Classes          TList.SetCount
00528c53 +007 Logo.exe       System.Classes          TList.Clear
00528bfb +00f Logo.exe       System.Classes          TList.Destroy
004091a8 +008 Logo.exe       System              215 TObject.Free
01746260 +038 Logo.exe       OraNetUni          4486 OCC0Q0COQ0.Destroy
004091a8 +008 Logo.exe       System              215 TObject.Free
01741425 +02d Logo.exe       OraNetUni          2738 OOC0OCQOQ0.Destroy
004091a8 +008 Logo.exe       System              215 TObject.Free
0173e259 +025 Logo.exe       OraNetUni          1805 OQOQCQOOQ0.OOCQCQOOQ0
0174997b +017 Logo.exe       OraNetUni          5502 OCQQQ0QOQ0.Destroy
004091a8 +008 Logo.exe       System              215 TObject.Free
01747db2 +00a Logo.exe       OraNetUni          4999 OQC0OOQOQ0.OOCOOOQOQ0
0175e773 +01f Logo.exe       OraNetUni         12735 OCIHandleFree_
01778e45 +01d Logo.exe       OraCallUni         7142 TOCIEnvironment.FreeSvcCtxHandle
01779539 +025 Logo.exe       OraCallUni         7326 TOCISvcCtx.FreeSvcCtxHandle
0179b5b4 +1d8 Logo.exe       OraClassesUni      2880 TOCIConnection.Disconnect
014a1ab6 +0aa Logo.exe       DBAccess           4102 TCustomDAConnection.DoDisconnect
0150ee63 +01b Logo.exe       Uni                1861 TUniConnection.DoDisconnect
005d96ea +072 Logo.exe       Data.DB                 TCustomConnection.SetConnected
014a52d9 +211 Logo.exe       DBAccess           5188 TCustomDAConnection.SetConnected
005d9674 +004 Logo.exe       Data.DB                 TCustomConnection.Close
016140c4 +010 Logo.exe       BSDBUniDACImp       261 TBSUniConnection.InternalClose

Re: Error on closing Oracle connection

Posted: Tue 11 Oct 2016 06:46
by chkaufmann
Hi,
any news here? Can somebody confirm this problem?

cu Christian

Re: Error on closing Oracle connection

Posted: Fri 21 Oct 2016 08:06
by MaximG
Thank you for the information. We have reproduced the problem and fixed the bug. The fix will be included in the next UniDAC build.

Re: Error on closing Oracle connection

Posted: Fri 21 Oct 2016 10:29
by chkaufmann
I just wanted to confirm, that the fix solved my problem.

cu ck

Re: Error on closing Oracle connection

Posted: Fri 04 Nov 2016 11:18
by MaximG
The new build of UniDAC 6.4.15 is released, which includes the fix of your described error. Upgrade UniDAC, and check the described behavior