Access violation in BreakExec after update to 6.50.37

Discussion of open issues, suggestions and bugs regarding ODAC (Oracle Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
paolo
Posts: 27
Joined: Wed 06 Apr 2005 12:24

Access violation in BreakExec after update to 6.50.37

Post by paolo » Tue 02 Sep 2008 10:15

Hi support

this is my configuration

Oracle Server Release 10.1.0.5.0
Oracle Client Release 10.1.0.5.0
Delphi 2007
Odac Professional 6.50.37

Whit the last update after calling a breakexec method the application raise the following exception
  • operating system : Windows XP Service Pack 2 build 2600
    compiled with : Delphi 2006/07
    madExcept version : 3.0h
    callstack crc : $ca3b7dc6, $fe9d1a5c, $ee1f6953
    count : 4
    exception number : 6
    exception class : Exception
    exception message : Unknown.

    Main ($b00):
    007c8219 +0cd T007.exe OraClasses WndProc
    7e3996c2 +00a USER32.dll DispatchMessageA
    004ddf32 +136 T007.exe Forms 8015 +23 TApplication.ProcessMessage
    004ddf77 +00f T007.exe Forms 8034 +1 TApplication.HandleMessage
    004de24e +0e2 T007.exe Forms 8125 +23 TApplication.Run
    011bd43c +424 T007.exe T007 445 +115 initialization

Thanks in advance Paolo

Plash
Devart Team
Posts: 2844
Joined: Wed 10 May 2006 07:09

Post by Plash » Wed 03 Sep 2008 08:13

We could not reproduce the problem. Please send to odac*devart*com a complete small sample that demonstrates the problem, including the script for creating database objects.

paolo
Posts: 27
Joined: Wed 06 Apr 2005 12:24

Post by paolo » Wed 03 Sep 2008 09:18

You can simply recreate this error editing your demo

C:\Programmi\CoreLab\Odac for Delphi 2007\Demos\Win32\OdacDemo\MultiQueries\Multiquery.pas

add one button to the form , and this code
procedure TMultiQueriesFrame.Button1Click(Sender: TObject);
begin
inherited;
OraQuery1.BreakExec;
end;

bye

P.S
Check your mail for a screen cast

paolo
Posts: 27
Joined: Wed 06 Apr 2005 12:24

Post by paolo » Fri 05 Sep 2008 19:54

Any news ?

Someone has the same problem ?

tnks

Plash
Devart Team
Posts: 2844
Joined: Wed 10 May 2006 07:09

Post by Plash » Mon 08 Sep 2008 09:47

Please check the type of the error that occurs. It is normal that EOraError with message 'ORA-01013: user requested cancel of current operation' occurs after you call the BreakExec method. So check if an access violation or EOraError occurs.

paolo
Posts: 27
Joined: Wed 06 Apr 2005 12:24

Post by paolo » Tue 09 Sep 2008 07:22

Yes I know that ORA-1013 is normal, but like in the thread title after the upgrade sometime when break a query i got an access violation
  • exception message : Access violation at address 00405048 in module 'T007.exe'. Read of address FFFFFFDC.

    Main ($d84):
    00405048 +008 T007.exe System 9237 +6 TObject.InheritsFrom
    00404f86 +00e T007.exe System 9077 +1 @IsClass
    0077e3fe +1b2 T007.exe OraClasses TOCIRecordSet.EndExecFetch
    0076c80b +06f T007.exe OraClasses WndProc
    7e3996c2 +00a USER32.dll DispatchMessageA
    004cb0ac +0fc T007.exe Forms 8105 +23 TApplication.ProcessMessage
    004cb0ce +00a T007.exe Forms 8117 +1 TApplication.ProcessMessages
    0103ec30 +058 T007.exe UnitArchivio 750 +7 OpenSubQuery

Plash
Devart Team
Posts: 2844
Joined: Wed 10 May 2006 07:09

Post by Plash » Tue 09 Sep 2008 08:50

We have fixed this problem. The fix will be included in the next build of ODAC.

paolo
Posts: 27
Joined: Wed 06 Apr 2005 12:24

Post by paolo » Tue 09 Sep 2008 13:48

Ok

When the next release ?

Plash
Devart Team
Posts: 2844
Joined: Wed 10 May 2006 07:09

Post by Plash » Wed 10 Sep 2008 07:08

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

Post Reply