Page 1 of 1

Bug report: TSqlMonitor.Active= true => exit() fails

Posted: Fri 24 Apr 2020 12:04
by albourgz
Hi,
using unidac 8.1.2 on c++ builder 10.3.2.
New project, vcl win32.
Drop a TuniConnection, set database to oracle, no need to connect it.
drop a TOracleUniProvider and a TUniSQLMonitor1

in the form's constructor, type
exit(1000);

Run the program. The exit will not work.
Uncheck the SQLMonitor.Active. Build program. It works.

So when there is a SQLMonitor component, activated, it prevents the program to exit normally, with an exception:
---------------------------
Debugger Exception Notification
---------------------------
Project Project112.exe raised exception class $C0000005 with message 'access violation at 0x77373cb3: write of address 0x00000014'.
---------------------------
Break Continue Help
---------------------------

The exception happens always, no matter if the connection is active or not.
Regards.

Re: Bug report: TSqlMonitor.Active= true => exit() fails

Posted: Thu 30 Apr 2020 07:07
by MaximG
Please create and send us a full sample project where the issue can be reproduced. For your convenience, please use the e-support form https://www.devart.com/company/contactform.html