Hello,
I'm a user of Doa and PlSqlDeveloper since year 2000.
I recently faced with a problem that it seems to come only if we run the program on an Oracle DB server 10, but it does not happends with Oracle9.1 or older version.
The program is only an infinite loop that perform a couple of query every x seconds ( where x is a parameter we can configure). After some time it crash giving an Access violation at address 0x00000000 by reading address 0x00000.
After several tries we probably localize the crash point in the Oracle.pas
TOracleQuery.InternalExecute;
it seems when calling InitPieces routine or some lines after when calling the following lines:
OCICall(OCIStmtExecute(Session.svchp, stmthp, errhp, ExecIters, 0, nil, nil, ExecMode));
It is strange because the query are not rewritten ( in the sense that are static TOracleDataSet component on the main form of the program) so nothing changes between the first and ( after hours) the last call to close& open query.
and after the access violation the query seems still ok.
It seem it depends on the number of time we ran the query, because as we run them faster we get the error sooner ( but is seems not be a strictly linear correlation)
for what we know the error is not present in old Oracle version ( one of our customer have this program since 2005 and each session run for several days without disconnecting and without any problem)
Can you help me?
n.b.
At present we are using Doa version 4.0.4 ( doa34d6.bpl)
I'm a user of Doa and PlSqlDeveloper since year 2000.
I recently faced with a problem that it seems to come only if we run the program on an Oracle DB server 10, but it does not happends with Oracle9.1 or older version.
The program is only an infinite loop that perform a couple of query every x seconds ( where x is a parameter we can configure). After some time it crash giving an Access violation at address 0x00000000 by reading address 0x00000.
After several tries we probably localize the crash point in the Oracle.pas
TOracleQuery.InternalExecute;
it seems when calling InitPieces routine or some lines after when calling the following lines:
OCICall(OCIStmtExecute(Session.svchp, stmthp, errhp, ExecIters, 0, nil, nil, ExecMode));
It is strange because the query are not rewritten ( in the sense that are static TOracleDataSet component on the main form of the program) so nothing changes between the first and ( after hours) the last call to close& open query.
and after the access violation the query seems still ok.
It seem it depends on the number of time we ran the query, because as we run them faster we get the error sooner ( but is seems not be a strictly linear correlation)
for what we know the error is not present in old Oracle version ( one of our customer have this program since 2005 and each session run for several days without disconnecting and without any problem)
Can you help me?
n.b.
At present we are using Doa version 4.0.4 ( doa34d6.bpl)