Access violation working with transactions

Discussion of open issues, suggestions and bugs regarding IBDAC (InterBase Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
flzanini
Posts: 17
Joined: Wed 29 Jul 2009 13:08

Access violation working with transactions

Post by flzanini » Fri 25 Feb 2011 13:12

Dear all,

I'm facing a problem working with transactions. I made a simple program that have 2 threads, 1 thread to read and 1 thread to write data into database. These threads works with an infinite loop to read and write data at the same time.
Sometimes the program generates an access violation exception.

Each thread has an internal transaction and the isolation level is ReadCommited.

For each write action I create a new transaction and release when the operation is finished.

For the read operations I start a transaction to read all data, and it is released only when the thread is released.

I made this test program to try to find the problem, because my real application have the same problem, 1 thread to read and 1 thread to write at the same time.

I'm using the embbeded firebird 2.5 and the IBDAC components version 3.10.0.16.

How can I send you my test program?

Best regards.

flzanini
Posts: 17
Joined: Wed 29 Jul 2009 13:08

Post by flzanini » Fri 25 Feb 2011 13:33

I also tryed with the version 3.50.0.20

AndreyZ

Post by AndreyZ » Fri 25 Feb 2011 14:19

Hello,

Please send your sample to andreyz*devart*com.

flzanini
Posts: 17
Joined: Wed 29 Jul 2009 13:08

Post by flzanini » Fri 25 Feb 2011 14:50

Sent.

AndreyZ

Post by AndreyZ » Mon 28 Feb 2011 10:03

We have answered you by e-mail.

Post Reply