Access violation in module orageneric11.dll

Discussion of open issues, suggestions and bugs regarding ODAC (Oracle Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
dimon_adv
Posts: 27
Joined: Mon 01 Feb 2010 09:36

Access violation in module orageneric11.dll

Post by dimon_adv » Mon 01 Feb 2010 09:55

OCI: version 11.1
Oracle Database 11g Enterprise Edition Release 11.1.0.7.0
Delphi 2010
ODAC 6.90.0.55

In Oracle created type:
create or replace type TTBL_STRING as table of varchar2(4000 char);

Delphi:

Code: Select all

procedure TForm2.Button2Click(Sender: TObject);
var
  PersOraList: TOraNestTable;
  ItemIndex: Integer;
begin
  PersOraList := TOraNestTable.Create(TOraType(GetOraType(OraSession1.OCISvcCtx, 'TTBL_STRING')));
  try
    ItemIndex := PersOraList.AppendItem;
    PersOraList.ItemAsString[ItemIndex] := 'Test'; // <-- Error
  finally
    PersOraList.free;
  end;
end;
After run application raise error:
Access violation at address 097FEF5A in module 'orageneric11.dll'. Read of address B2D88B53.

Whats wrong ?

Falcon
Devart Team
Posts: 19
Joined: Tue 02 Feb 2010 10:40

Post by Falcon » Tue 02 Feb 2010 11:22

Thank you for information. We have reproduced this problem and fixed it. This fix will be included in the next ODAC build.

dimon_adv
Posts: 27
Joined: Mon 01 Feb 2010 09:36

Post by dimon_adv » Tue 02 Feb 2010 12:31

Can I get access to the patch, as a registered user?
Or at least know the planned release date updates.

Challenger
Devart Team
Posts: 925
Joined: Thu 17 Nov 2005 10:53

Post by Challenger » Fri 05 Feb 2010 07:28

We are planning to release new build of ODAC in about two weeks.

Post Reply