New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
'System.AccessViolationException' occurred in FB_965910463.dll on Dataadapter.Update when using threads [DNET360] #365
Comments
Commented by: Yiannis Bourkelis (yiannis) Steps to reproduce: 1. Run the project 2. Click on the "Insert image in new thread" button. Actual results: Expected results: If you click on the "Client/Server" option, everything works fine. |
Modified by: Yiannis Bourkelis (yiannis)Attachment: EmbeddedMultithreadedProblem.rar [ 11842 ] |
Commented by: Ramsees Rastafa (ramsees79) When I run your project I get this error: "System.OutOfMemoryException in System.Drawing.ImageFromFile" Maybe that's your real problem. |
Modified by: Ramsees Rastafa (ramsees79)Attachment: screenshot-1.jpg [ 11846 ] |
Commented by: Yiannis Bourkelis (yiannis) Please remove the "Thumds.db" from the "Images" folder. This file causes the "OutOfMemoryException". |
Commented by: Yiannis Bourkelis (yiannis) This solves the OutOfMemoryException problem. I had accidentaly included the "Thumbs.db" file inside the images foldes. |
Modified by: Yiannis Bourkelis (yiannis)Attachment: EmbeddedMultithreadedProblem.v2.rar [ 11848 ] |
Commented by: Ramsees Rastafa (ramsees79) I deleted the "Thumbs.db" and tried again, but I had no errors, the project works fine here, Im using VS2010. |
Commented by: Yiannis Bourkelis (yiannis) 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 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 . |
Commented by: Ramsees Rastafa (ramsees79) Now, I'm abble to reproduce the error. Yes, actually the counter stops after the second insert. |
Modified by: @cincuranetstatus: Open [ 1 ] => In Progress [ 3 ] |
Commented by: @cincuranet I tried now 5.7.0 (currently latest) and 3.1.0 and both are running fine. So it was fixed there with something. |
Modified by: @cincuranetstatus: In Progress [ 3 ] => Resolved [ 5 ] resolution: Fixed [ 1 ] Fix Version: 5.7.0.0 [ 10790 ] Fix Version: 3.1.0.0 [ 10491 ] |
Submitted by: Yiannis Bourkelis (yiannis)
Attachments:
EmbeddedMultithreadedProblem.rar
screenshot-1.jpg
EmbeddedMultithreadedProblem.v2.rar
When I use threads to insert some new records, a 'System.AccessViolationException' occurred in FB_965910463.dll exception occurs.
I attach a project to reproduce this issue.
The text was updated successfully, but these errors were encountered: