[MXS-4291] Avrorouter crash when client is closed Created: 2022-09-14 Updated: 2022-09-21 Resolved: 2022-09-21 |
|
| Status: | Closed |
| Project: | MariaDB MaxScale |
| Component/s: | avrorouter |
| Affects Version/s: | 22.08.1 |
| Fix Version/s: | 22.08.2 |
| Type: | Bug | Priority: | Major |
| Reporter: | markus makela | Assignee: | markus makela |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Description |
|
If a client is closed when the avrorouter is sending data, a crash might occur. This usually manifests as a std::bad_alloc exception. This happens because the sending of the data can queue data to be sent later in order to not monopolize a thread. It uses a mechanism that doesn't guarantee execution of the relevant function before the session is closed. |