Page 1 of 1

Access violation in BreakExec after update to 6.50.37

Posted: Tue 02 Sep 2008 10:15
by paolo
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

Posted: Wed 03 Sep 2008 08:13
by Plash
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.

Posted: Wed 03 Sep 2008 09:18
by paolo
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

Posted: Fri 05 Sep 2008 19:54
by paolo
Any news ?

Someone has the same problem ?

tnks

Posted: Mon 08 Sep 2008 09:47
by Plash
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.

Posted: Tue 09 Sep 2008 07:22
by paolo
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

Posted: Tue 09 Sep 2008 08:50
by Plash
We have fixed this problem. The fix will be included in the next build of ODAC.

Posted: Tue 09 Sep 2008 13:48
by paolo
Ok

When the next release ?

Posted: Wed 10 Sep 2008 07:08
by Plash
We are planning to release new ODAC build in two weeks.