[CONC-99] memory corruption with C client library Created: 2014-06-18 Updated: 2014-06-20 Resolved: 2014-06-20 |
|
| Status: | Closed |
| Project: | MariaDB Connector/C |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major |
| Reporter: | Ashwin | Assignee: | Georg Richter |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | memory_corruption | ||
| Environment: |
Linux, Windows |
||
| Attachments: |
|
| Description |
|
Frequently, SQLite database files are corrupted (malformed) when used along with C client library to connect to MySQL server. Source code for the test suite can be found as attachment. Overview of the sample test code where SQLite corruption is reproducible: In each thread: Each thread access only one SQLite database file. Within few seconds of running the sample test code, the databases appear to corrupt and cannot be used anymore. (with only 25 threads) If MySQL operations are not involved in the test code, it runs fine and can scale as many as 1000 threads without issues (1000 thread and 1000 SQLite databases). With MySQL operations, SQLite database files corrupt frequently. |
| Comments |
| Comment by Georg Richter [ 2014-06-20 ] |
|
fixed in rev. 144 |