[MXS-4732] MaxScale shutdown is not signal-safe Created: 2023-08-28  Updated: 2023-09-01  Resolved: 2023-09-01

Status: Closed
Project: MariaDB MaxScale
Component/s: Core
Affects Version/s: 6.4.9, 22.08.7, 23.02.3
Fix Version/s: 6.4.11, 22.08.9, 23.02.5

Type: Bug Priority: Minor
Reporter: markus makela Assignee: markus makela
Resolution: Fixed Votes: 0
Labels: None


 Description   

The code that handles SIGTERM and SIGINT calls code that ends up calling malloc which will cause a deadlock if the thread that catches the signal is already in a malloc call.

This is a regresssion as code exist in MaxScale to handle this situation correctly.


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