AV in midas.dll

Discussion of open issues, suggestions and bugs regarding ODAC (Oracle Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
radub
Posts: 105
Joined: Sat 10 Jul 2010 18:46

AV in midas.dll

Post by radub » Mon 24 Nov 2014 21:58

Hello,

ODAC latest versions, client/server Delphi XE5
We have the following situation:
The client is compiled on 32b platform and the server on 64b platform.
The client contains a TClientDataset and a TDCOMConnection.
The server contains a TOraSession, a TDatasetProvider and a TOraTable. The underlying table has a few fields (doesn't matter how many and what datatype), one of them is varchar2 or integer with a default value (no matter the value). Also the DefaultValues flag from TOraTable's Opions is set to true - very important.
After establishing the connection, trying to put the clientdataset in Insert mode generates an AV in midas.dll.
If none of the table's fields have default value, or the DefaultValues flag is set to false, the AV doesn't occur.
The AV doesn't occur either, if the server is compiled on 32b platform.

I've already built a demo for you; just give me an email address.
Any idea how to circumvent this situation?

AlexP
Devart Team
Posts: 5530
Joined: Tue 10 Aug 2010 11:35

Re: AV in midas.dll

Post by AlexP » Mon 01 Dec 2014 12:21

You can send the sample to alexp*devart*com .

radub
Posts: 105
Joined: Sat 10 Jul 2010 18:46

Re: AV in midas.dll

Post by radub » Thu 04 Dec 2014 07:39

Hello,

I've sent the sample in the same day.. Have you recevied it? Did you manage to reproduce the problem?

Thank you,
Radu B.

AlexP
Devart Team
Posts: 5530
Joined: Tue 10 Aug 2010 11:35

Re: AV in midas.dll

Post by AlexP » Thu 04 Dec 2014 10:01

Unfortunately, we haven't received your letter, please send it once more support*devart*local

radub
Posts: 105
Joined: Sat 10 Jul 2010 18:46

Re: AV in midas.dll

Post by radub » Thu 04 Dec 2014 11:26

I have re-sent the original mail at [email protected], not at [email protected].
Please send a confirmation letter to let me know that you have received the mail and managed to reproduce the problem.

Radu B.

radub
Posts: 105
Joined: Sat 10 Jul 2010 18:46

Re: AV in midas.dll

Post by radub » Fri 05 Dec 2014 16:32

Have you got the mail?

AlexP
Devart Team
Posts: 5530
Joined: Tue 10 Aug 2010 11:35

Re: AV in midas.dll

Post by AlexP » Mon 08 Dec 2014 06:51

We have received your email and will investigate the problem . We will try to answer shortly.

radub
Posts: 105
Joined: Sat 10 Jul 2010 18:46

Re: AV in midas.dll

Post by radub » Wed 17 Dec 2014 06:55

Hello,

No news?

AlexP
Devart Team
Posts: 5530
Joined: Tue 10 Aug 2010 11:35

Re: AV in midas.dll

Post by AlexP » Wed 17 Dec 2014 07:55

We continue the problem investigation, and as soon as we have any results, we will inform you.

radub
Posts: 105
Joined: Sat 10 Jul 2010 18:46

Re: AV in midas.dll

Post by radub » Mon 05 Jan 2015 10:04

Hello,

It has been more than a month waiting for a shortly response, and I have no solution for the clients.
What is going on with the issue?

Thank you,
Radu B.

AlexP
Devart Team
Posts: 5530
Joined: Tue 10 Aug 2010 11:35

Re: AV in midas.dll

Post by AlexP » Tue 06 Jan 2015 14:02

We have investigated this problem in more details and found out that AV occurs in DataSnap, not in our components. If you set default field values in FireDAC, then this will lead to similar AV. The same problem occurs even when using ClientDataset without working with a DB. We have reported this issue to embarcadero quality central: https://quality.embarcadero.com/browse/RSP-9888

radub
Posts: 105
Joined: Sat 10 Jul 2010 18:46

Re: AV in midas.dll

Post by radub » Wed 07 Jan 2015 12:03

I see.
But I don't understand why this happens only in ODAC implementation, the SDAC works perfectly.

AlexP
Devart Team
Posts: 5530
Joined: Tue 10 Aug 2010 11:35

Re: AV in midas.dll

Post by AlexP » Thu 08 Jan 2015 10:47

Since this error occurs not in our products, we can't investigate the cause of its occurrence more deeply.

Post Reply