Details
-
Bug
-
Status: Closed (View Workflow)
-
Critical
-
Resolution: Fixed
-
3.2.4
-
Windows 11
Visual Studio 2022
Description
MariaDB ODBC Connector crashes when trying to use FillSchema. I get a faulting module error (see below)
I have tried this against MyISAM and InnodDB tables and it make no difference.
Note: We are trying to move off MySQL ODBC, where this has always worked.
ExampleCode
var queryStr = new StringBuilder();
queryStr.Append("SELECT * FROM ")
.Append("`" + tableName + "`")
.Append(" LIMIT 0 ");
bool querySuccessful;
var dsTable = new DataTable();
using (var dbConn = new OdbcConnection(connectionStr))
{
using (var cmd = new OdbcDataAdapter(queryStr.ToString(), dbConn))
}
EventViewer
Faulting application name: iisexpress.exe, version: 10.0.26013.1000, time stamp: 0x79017a52
Faulting module name: maodbc.dll, version: 3.2.4.0, time stamp: 0x6731f3cb
Exception code: 0xc0000005
Fault offset: 0x00000000001510d0
Faulting process id: 0x0x9158
Faulting application start time: 0x0x1DB45AD6FAF192D
Faulting application path: C:\Program Files\IIS Express\iisexpress.exe
Faulting module path: C:\Program Files\MariaDB\MariaDB ODBC Driver 64-bit\maodbc.dll
Report Id: cda089b4-12de-45fe-9eb7-c387d2aea5bf
Faulting package full name:
Faulting package-relative application ID:
Thank you for your report. Since it looks to be under IIS it won't be possible to get the ODBC trace for the issue. Would it be possible to provide a standalone test to repeat the issue?