[ODBC-191] Call to ADO::Recordset15::get_EndOfFile( VARIANT_BOOL* ) leads to access violation Created: 2018-10-17  Updated: 2018-10-18

Status: Open
Project: MariaDB Connector/ODBC
Component/s: General
Affects Version/s: 3.0.6
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Mirko Klingmann Assignee: Lawrin Novitsky
Resolution: Unresolved Votes: 0
Labels: crash
Environment:

Windows Server 2016, ADO subsystem, C++, MariaDB 10.3, Visual Studio 2017 v15.8.6


Attachments: Zip Archive SQL.zip    

 Description   

Connection string used in ADO:
Provider=MSDASQL;Driver={MariaDB ODBC 3.0 Driver};Server=...;Database=...;User=...;Password=...;Port=3306

Exception thrown in Visual Studio Debugger:
Exception thrown at 0x00007FFE22D8B080 (maodbc.dll) in GTAdmin.exe: 0xC0000005: Access violation writing location 0x00000000000000A8. occurred

Using "Driver={MySQL ODBC 8.0 Unicode Driver}" in connection string works with MariaDB 10.3 using the same C++ implementation.

I am willing to test prereleases or development builds in my environment, if that helps.



 Comments   
Comment by Lawrin Novitsky [ 2018-10-17 ]

Thank you for your report, and especially for willingness to test development builds.
Could you please provide either short testcase that re-creates the problem, or the ODBC trace for the crash? That would greatly speed up fixing process. Thank you in advance!

Comment by Mirko Klingmann [ 2018-10-17 ]

It seems a rather big trace file, but the application (GTAdmin) crashed while the trace was on.
There were only 9 occurences of "MariaDB" in the whole file.
Hope it helps...

Generated at Thu Feb 08 03:26:53 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.