Icon View Incident Report

Serious Serious
Reported By: Hiba Hable
Reported On: 3/14/2008
For: Version 4.26 Build 2
# 2611 Using ODBC Driver in Multi-Threaded Context Under .Net Can Cause Memory Error

I am using a dbisam odbc driver to connect to dbisam datatables from a vb.net application. I am getting the following error:

Attempted to read or write protected memory. This is often an indication that other memory is corrupt.

I am not always gettin the error, i sometimes run my error w/o getting the error.

Comments Comments
The issue was caused by a thread context switch inside of .Net that was causing multi-threaded access to the ODBC driver, which by itself isn't a problem, however the FastMM memory manager being used in the ODBC driver was not set up properly for multi-threaded access by the ODBC driver.

Resolution Resolution
Fixed Problem on 4/14/2008 in version 4.26 build 3

Products Affected Products Affected
DBISAM ODBC Client-Server
DBISAM ODBC Client-Server with Source
DBISAM ODBC Standard with Source