Problem under Linux (Kylix3) with threads

Discussion of open issues, suggestions and bugs regarding ODAC (Oracle Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
Vigi
Posts: 10
Joined: Thu 12 Apr 2007 10:02

Problem under Linux (Kylix3) with threads

Post by Vigi » Thu 12 Apr 2007 10:34

First of all it seems that the main problem I encountered when using ODAC 5.x under a multi processor linux platform is fixed in ODAC 6.x. Under Linux I always received a "core dump" if I ran a multi thread application which uses TOraSessionTOraQuery (each thread had an own Session/Query). Now this works perfectly. (Yippee!)

But there is one kind of error left that appears only under linux and is reproducable under single and multi processor platforms. If I run my test app (which I can send to you if you want) and create e.g. 10 threads then there is a good chance (say 1 of 10 application starts) that I receive an 231 runtime error. This error is not kylix specific because I don't get this error if I use an Oracle access component different from ODAC. :wink:

It would be nice to have a fast solutions on this problem because then I could use ODAC for my Linux development.

Refers to ODAC 6.0.0.4 and ODAC 6.0.0.5
Last edited by Vigi on Tue 17 Apr 2007 08:39, edited 1 time in total.

Plash
Devart Team
Posts: 2844
Joined: Wed 10 May 2006 07:09

Post by Plash » Thu 12 Apr 2007 13:41

Please send your test application to odac*crlab*com.

Vigi
Posts: 10
Joined: Thu 12 Apr 2007 10:02

Post by Vigi » Thu 12 Apr 2007 14:26

FYI.

I have sent the test application by email.

Vigi
Posts: 10
Joined: Thu 12 Apr 2007 10:02

Post by Vigi » Tue 17 Apr 2007 08:38

:idea: Additional information:

I have tested my test application under Linux (Kylix3) with your DBExpress driver Version 3.10.8 and get the same error on a multi processor environment:

Runtime error 231 at 080587A5
19193 Speicherzugriffsverletzung

(Speicherzugriffsverletzung is the german equivalent to "memory access violation")

Under DBExpress I use TCRSqlConnection with direct NET connection, so no oracle client is involved.

Hope this helps.

Post Reply