Exception in TOCIRecordSet.CopyComplexFields

Discussion of open issues, suggestions and bugs regarding ODAC (Oracle Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
Schmidtze
Posts: 4
Joined: Mon 02 Apr 2012 12:45

Exception in TOCIRecordSet.CopyComplexFields

Post by Schmidtze » Tue 12 Feb 2013 15:33

Hello,

we are uisng ODAC 6.70.0.45. At one of our customers an exception occurs very often, but not deterministic:

Code: Select all

exception class   : EAccessViolation
exception message : Zugriffsverletzung bei Adresse 004D148E in Modul 'spr.exe'. Lesen von Adresse 0349CCC4.
main thread ($ad4):
004d148e spr.exe    CLRClasses   Marshal.ReadIntPtr
005646dd spr.exe    OraClasses   TOCIRecordSet.CopyComplexFields
004e4170 spr.exe    MemData      TData.EditRecord
004f3d1c spr.exe    MemDS        TMemDataSet.InternalEdit
005102f6 spr.exe    DBAccess     TCustomDADataSet.InternalEdit
004d019d spr.exe    DB           TDataSet.CheckOperation
004cfca6 spr.exe    DB           TDataSet.Edit
On Windows 7 the application freezes completely, on Windows XP it can be continued. They are using an Oracle database 10 and a client version 11. I can not reproduce it here in my office for myself with the same configuration. But I found this issue from 2008 here in the forum which describes exactly the same issue, I think: http://forums.devart.com/viewtopic.php?t=11686 Do you have any idea what is maybe going wrong??? Or do you have maybe an idea how to prevent this situation???

Many thanks in advance and best regards
Friedemann

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

Re: Exception in TOCIRecordSet.CopyComplexFields

Post by AlexP » Thu 14 Feb 2013 12:42

Hello,

You are using a rather old ODAC version. Please try reproducing the problem on the latest ODAC version. If the problem repeats, contact us again.

Post Reply