[ODBC-291] Memory Corruption in ODBC Client 3.1.7 Linux Created: 2020-08-17 Updated: 2020-10-16 Resolved: 2020-10-16 |
|
| Status: | Closed |
| Project: | MariaDB Connector/ODBC |
| Component/s: | General |
| Affects Version/s: | 3.1.7 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Major |
| Reporter: | Laura Sabel | Assignee: | Lawrin Novitsky |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Environment: |
Linux |
||
| Issue Links: |
|
||||||||
| Description |
|
I'm currently using the ODBC Client v3.1.3 in production to connect to MemSql databases on linux. It has a performance issue when retrieving large amounts of data, however, so I'm trying to upgrade to v3.1.7. Unfortunately I'm seeing memory corruption when doing basic select queries returning multiple rows. I don't have the source code for 3.1.7, but based on the v3.1.9 code available in git, and some debugging with valgrind, it looks like the problem is in the new MoveNext function. Here's an analysis from a colleague:
Stack trace just shows that it's crashing in libmaodbc.so, which is called from our linux driver manager: /sw/external/mariadb-odbc-3.1.7/linux_g44.dll/libmaodbc.so(+0x26f72)[0x935bf72] |
| Comments |
| Comment by Lawrin Novitsky [ 2020-08-17 ] |
|
Thank you for your report! |
| Comment by Laura Sabel [ 2020-08-18 ] |
|
Ah yes, maybe it's the same thing.... |
| Comment by Lawrin Novitsky [ 2020-10-16 ] |
|
I am pretty much sure this is a duplicate |