Exceptions when using TOraSQLMonitor component

Discussion of open issues, suggestions and bugs regarding ODAC (Oracle Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
a-s-z
Posts: 106
Joined: Wed 03 Dec 2008 06:01

Exceptions when using TOraSQLMonitor component

Post by a-s-z » Mon 15 Dec 2008 08:51

Hello,

I have problems when using TOraSQLMonitor-component in latest release.
Exceptions occur, when sql monitor is active.

Steps to reproduce the problem (C++Builder5):


1. Create a new application
2. Drop some components on form: TOraSession, TConnectDialog, TOraSQLMonitor, TOraQuery, TButton
3. Query SQL

Code: Select all

select sysdate val from dual
&M_FILTER
4. Add OnClick for button:

Code: Select all

 OraQuery1->Macros->MacroByName("M_FILTER")->Value = " -- " + FormatDateTime("c: ", Now());
 OraQuery1->Prepare();
 OraQuery1->Open();
5. Start application and click button several times. I am getting stack overflow in sample application, but in a bigger application other exceptions occur, part of stack trace

Code: Select all

7C812A5B KERNEL32.dll
00888803 ___raiseDebuggerException
008898B2 ____ExceptionHandler
0087DFA5 __ExceptionHandler
7C91378B ntdll.dll
7C91EAFA ntdll.dll
0086D722 System::__linkproc__ FreeMem
0070520A Dasqlmonitor::TCustomDASQLMonitor::SQLUnprepare
006E56E6 Dbaccess::TCustomDADataSet::UnPrepare
006F4B19 Dbaccess::TCustomDASQL::SQLChanged
006F5C4F Dbaccess::TMacro::SetValue

Regards

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

Post by Plash » Mon 15 Dec 2008 09:57

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

Post Reply