[CONC-83] Crash by a NULL dereferencing of stmt->mysql in mysql_stmt_prepare after computer wake up from suspended state Created: 2014-03-11 Updated: 2014-06-09 Resolved: 2014-03-13 |
|
| Status: | Closed |
| Project: | MariaDB Connector/C |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major |
| Reporter: | Eric Trinh | Assignee: | Georg Richter |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Environment: |
Win64 build with mingw64 4.8.0 |
||
| Attachments: |
|
||||||||
| Issue Links: |
|
||||||||
| Description |
|
Hi, We have sometimes crash of the library inside call of mysql_stmt_prepare. The stmt->mysql is NULL and dereferenced. The last error states a lost connection, which can be normal. The crash happened just after a wake up of a suspended state of the computer. I have included a screenshot, with the state of all variables when app was crashing, if it can help. We are using vanilla r118 of the library. Thanks, |
| Comments |
| Comment by Georg Richter [ 2014-03-12 ] | |||||||||||||||||||
|
Crash happens, if reconnect option is enabled.
| |||||||||||||||||||
| Comment by Eric Trinh [ 2014-03-12 ] | |||||||||||||||||||
|
Yes, I confirm, we have reconnect option enabled. | |||||||||||||||||||
| Comment by Georg Richter [ 2014-03-13 ] | |||||||||||||||||||
|
Fixed in rev.122 |