Actual results:
One image will be inserted to the database and at the next dataadapter.update the "'System.AccessViolationException' occurred in FB_965910463.dll" will occur in the immediate window of Visual Studio. The application hangs.

Expected results:
New records should be inserted without problem.

If you click on the "Client/Server" option, everything works fine.
The problem occurs only in embedded version of firebird.

Yiannis Bourkelis added a comment - 22/Dec/10 01:19 AM Steps to reproduce:
1. Run the project
2. Click on the "Insert image in new thread" button.
Actual results:
One image will be inserted to the database and at the next dataadapter.update the "'System.AccessViolationException' occurred in FB_965910463.dll" will occur in the immediate window of Visual Studio. The application hangs.
Expected results:
New records should be inserted without problem.
If you click on the "Client/Server" option, everything works fine.
The problem occurs only in embedded version of firebird.

The application does not show any error. However, no images are inserted except the first one.

You can see this in the images inserted counter, near the "Insert image in new thread" button, where it stops in "1".
If you place a breakpoint in "myDataAdapter.Update(ds)", (form1.vb, line 109) you will see that it is called only twice. On the second call, the code never returns from the myDataAdapter.Update(ds).

If you have firebird server started, run the project and click on the "Client/Server" option you will see that the images are inserted to the database and the counter shows 1..2..3...n .

Yiannis Bourkelis added a comment - 23/Dec/10 05:20 PM Thank you Ramsees for trying to reproduce this issue.
The application does not show any error. However, no images are inserted except the first one.
You can see this in the images inserted counter, near the "Insert image in new thread" button, where it stops in "1".
If you place a breakpoint in "myDataAdapter.Update(ds)", (form1.vb, line 109) you will see that it is called only twice. On the second call, the code never returns from the myDataAdapter.Update(ds).
If you have firebird server started, run the project and click on the "Client/Server" option you will see that the images are inserted to the database and the counter shows 1..2..3...n .