[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.


Generated at Thu Feb 08 04:27:35 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.