[MXS-3955] Crash after unexpected result Created: 2022-01-20 Updated: 2022-02-18 Resolved: 2022-02-04 |
|
| Status: | Closed |
| Project: | MariaDB MaxScale |
| Component/s: | Core, readwritesplit |
| Affects Version/s: | 6.2.1 |
| Fix Version/s: | 6.2.2 |
| Type: | Bug | Priority: | Major |
| Reporter: | markus makela | Assignee: | markus makela |
| Resolution: | Fixed | Votes: | 1 |
| Labels: | None | ||
| Environment: |
MySQL 5.7 |
||
| Sprint: | MXS-SPRINT-150 |
| Description |
|
MaxScale crashes with the following stacktrace after an unexpected result is received.
This appears to happen when there is a mismatch between the connection capabilities of the client and the backend server. In MaxScale 6.2.1 this can happen if:
|
| Comments |
| Comment by markus makela [ 2022-01-24 ] |
|
Managed to reproduce this using an older version: with a MySQL 5.6 server MaxScale would still advertise the deprecate_eof capability even though it was added in MySQL 5.7. |
| Comment by markus makela [ 2022-02-02 ] |
|
Could theoretically be caused by https://bugs.mysql.com/bug.php?id=83346 but I've yet to be able to reproduce that, even with 5.7.15. |
| Comment by markus makela [ 2022-02-02 ] |
|
Confirmed that this is indeed possible with both MySQL and Percona 5.7 versions, even the latest releases. |
| Comment by markus makela [ 2022-02-02 ] |
|
Also found out that this can be caused by persistent connections that are shared between clients that have incompatible connection capabilities. |