AV in TVirtualQuery & TBlob fields

Discussion of open issues, suggestions and bugs regarding UniDAC (Universal Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Samuel
Posts: 29
Joined: Fri 11 Feb 2011 12:36
Location: Brazil

AV in TVirtualQuery & TBlob fields

Post by Samuel » Thu 16 Aug 2018 19:24

When I try to write a BLOB field using the TVirtualQuery.LoadFromStream() function I get the error:

Project .. raised exception class $C0000005 with message 'access violation at 0x009da93a: read of address 0x00000010'.

This only occurs with TVirtualQuery (in the TVirtualTable, TUniTable or TUniQuery components the field is written without errors).

How to solve this?

I´m using:
Delphi 10.2 Update 3
Unidac 7.3.9

See the sample program at the link below:

https://1drv.ms/u/s!Al-1RWjYXpnaj_NhKVvvWuu3Zbrhjw

MaximG
Devart Team
Posts: 1822
Joined: Mon 06 Jul 2015 11:34

Re: AV in TVirtualQuery & TBlob fields

Post by MaximG » Fri 17 Aug 2018 14:52

Thank you for the information. We will investigate the described issue and let you know the results shortly.

Samuel
Posts: 29
Joined: Fri 11 Feb 2011 12:36
Location: Brazil

Re: AV in TVirtualQuery & TBlob fields

Post by Samuel » Mon 20 Aug 2018 10:24

Just to your knowledge, I tested it with "Night Build" (downloaded today) and the same problem occurred.

Please, let me know when you have a new "night build" with this issue resolved because due to this error I had to suspend the development.

Thank you.

Stellar
Devart Team
Posts: 496
Joined: Tue 03 Oct 2017 11:00

Re: AV in TVirtualQuery & TBlob fields

Post by Stellar » Tue 21 Aug 2018 09:50

Thank you for the information. We reproduced the issue with AV, as soon as we get a result, we will let you know.

Samuel
Posts: 29
Joined: Fri 11 Feb 2011 12:36
Location: Brazil

Re: AV in TVirtualQuery & TBlob fields

Post by Samuel » Mon 03 Sep 2018 19:56

Can you let me know when the correction for this issue will be released?

MaximG
Devart Team
Posts: 1822
Joined: Mon 06 Jul 2015 11:34

Re: AV in TVirtualQuery & TBlob fields

Post by MaximG » Tue 04 Sep 2018 09:15

Thank you for the information. We have reproduced the problem and fixed the bug. The fix will be included in the next UniDAC build. Currently, we can send you a night build of UniDAC with the fix. For this, please specify your license number and the exact version of Delphi you are using via the e-support form (https://www.devart.com/company/contactform.html)

Samuel
Posts: 29
Joined: Fri 11 Feb 2011 12:36
Location: Brazil

Re: AV in TVirtualQuery & TBlob fields

Post by Samuel » Wed 05 Sep 2018 13:01

Thanks, but this change solved the AV only in the INSERT commands.

AV remains in the UPDATE command.

Sample project in this link:
https://1drv.ms/u/s!Al-1RWjYXpnaj_5wlZ97nnpykkiSTg

MaximG
Devart Team
Posts: 1822
Joined: Mon 06 Jul 2015 11:34

Re: AV in TVirtualQuery & TBlob fields

Post by MaximG » Wed 05 Sep 2018 13:57

Thank you for the information. We have reproduced the issue and will investigate its origin. We will inform you about the results shortly.

Samuel
Posts: 29
Joined: Fri 11 Feb 2011 12:36
Location: Brazil

Re: AV in TVirtualQuery & TBlob fields

Post by Samuel » Tue 11 Sep 2018 12:39

I need to release the new version of my application to my users but to do this, I need this problem solved.

Can you let me know when the correction for this issue will be released?

MaximG
Devart Team
Posts: 1822
Joined: Mon 06 Jul 2015 11:34

Re: AV in TVirtualQuery & TBlob fields

Post by MaximG » Tue 11 Sep 2018 13:56

We plan to release our products build including the required changes next week. Currently, we can send you a night build with these fixes. For this, specify the IDE version you are interested in using via the e-support form (https://www.devart.com/company/contactform.html)

Samuel
Posts: 29
Joined: Fri 11 Feb 2011 12:36
Location: Brazil

Re: AV in TVirtualQuery & TBlob fields

Post by Samuel » Tue 11 Sep 2018 14:00

Thank you very much.

Samuel
Posts: 29
Joined: Fri 11 Feb 2011 12:36
Location: Brazil

Re: AV in TVirtualQuery & TBlob fields

Post by Samuel » Wed 12 Sep 2018 15:37

I installed the night build and I no longer receive the error message, however, when updating a blob field (UPDATE) instead of the image it writes ????.

Sample project in this link:

https://1drv.ms/u/s!Al-1RWjYXpnakIBZjUSkBKbhwC5PGA

I need a quick fix for these Virtual Table issues because this prevents me from releasing my application to my users.

MaximG
Devart Team
Posts: 1822
Joined: Mon 06 Jul 2015 11:34

Re: AV in TVirtualQuery & TBlob fields

Post by MaximG » Thu 13 Sep 2018 11:55

Thank you for the information. We have reproduced the issue and will investigate its origin. We will inform you about the results shortly.

MaximG
Devart Team
Posts: 1822
Joined: Mon 06 Jul 2015 11:34

Re: AV in TVirtualQuery & TBlob fields

Post by MaximG » Fri 14 Sep 2018 12:07

Bug with AV when editing a record in TVirtualQuery having BLOB columns is fixed. The fix will be included in the next build of our product, which we are planning to release next week.

Samuel
Posts: 29
Joined: Fri 11 Feb 2011 12:36
Location: Brazil

Re: AV in TVirtualQuery & TBlob fields

Post by Samuel » Fri 14 Sep 2018 16:48

Is it possible to release an NB with this change so that I can start the final test of my application?

Post Reply