Delphi XE5, ODAC 9.3.10 trial, OCI 11.2.0.1.0
I'm evaluating your product and I have a strange error. My application is quite simple, a dataset, a grid and a button.
When I try to execute this code :
MySmartDataset.SetOrderBy('WRONG_COLUMN'); // the column is wrong an oracle error should be raised
MySmartDataset.Open;
then an AV in module dac190.bpl is raised (write of address 00000000).
I've tried with the monitor and the wrong statement stay in "Pending" state but no error is showed.
I believe an incorrect statement should raise an Exception instead of an AV.
I'm doing something wrongs ?
Best regards
s7
AV instead of Exception
Re: AV instead of Exception
The Call Stack is strange too :
:04838478 Marshal.WriteInt16
:046b71d2 ; C:\Windows\SysWOW64\odac190.bpl
:04714b2a ; C:\Windows\SysWOW64\odac190.bpl
:00791c75 TOCICommand.InternalExecute + $15
:00799c97 TOCIRecordSet.DoExecFetch + $EB
:0079a1e3 TOCIRecordSet.ExecFetch + $107
:006e6de5 TCRRecordSet.InternalOpen + $1B9
:007999a4 TOCIRecordSet.InternalOpen + $2C
:0065b563 TData.Open + $37
:00670937 TMemDataSet.InternalOpen + $2F
:007d38ad TOraDataSet.InternalOpen + $19
:007dc462 TCustomSmartQuery.InternalOpen + $A
My application is a 32 bit application but the bpl seems to be a 64 bit one.
And my application doesn't uses run-time packages, why is the bpl loaded ?
:04838478 Marshal.WriteInt16
:046b71d2 ; C:\Windows\SysWOW64\odac190.bpl
:04714b2a ; C:\Windows\SysWOW64\odac190.bpl
:00791c75 TOCICommand.InternalExecute + $15
:00799c97 TOCIRecordSet.DoExecFetch + $EB
:0079a1e3 TOCIRecordSet.ExecFetch + $107
:006e6de5 TCRRecordSet.InternalOpen + $1B9
:007999a4 TOCIRecordSet.InternalOpen + $2C
:0065b563 TData.Open + $37
:00670937 TMemDataSet.InternalOpen + $2F
:007d38ad TOraDataSet.InternalOpen + $19
:007dc462 TCustomSmartQuery.InternalOpen + $A
My application is a 32 bit application but the bpl seems to be a 64 bit one.
And my application doesn't uses run-time packages, why is the bpl loaded ?
Re: AV instead of Exception
Ok, found the problem.
The problem is in the Trial vesion that dinamically loads some runtime packages. This will cause the AV in case of the SmartQuery component executes an incorrect SQL statement.
Plase provide an updated trial !
The problem is in the Trial vesion that dinamically loads some runtime packages. This will cause the AV in case of the SmartQuery component executes an incorrect SQL statement.
Plase provide an updated trial !

Re: AV instead of Exception
hello,
Thank you for the information. We have already fixed this problem.
Thank you for the information. We have already fixed this problem.
-
- Posts: 26
- Joined: Fri 28 Jun 2013 20:26
Re: AV instead of Exception
Is that AV related to mine? http://forums.devart.com/viewtopic.php?f=5&t=27654
I posted a CallStack there too it seems t be the same thing.
I posted a CallStack there too it seems t be the same thing.
Re: AV instead of Exception
The problem may be the same (though, we couldn't reproduce your one). Try to download the new version and check your sample.