[MXS-1308] Crash with multimaster=true in mysqlmon Created: 2017-07-02  Updated: 2017-07-04  Resolved: 2017-07-03

Status: Closed
Project: MariaDB MaxScale
Component/s: mariadbmon
Affects Version/s: 2.1.3
Fix Version/s: 2.1.4

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


 Description   

The mm_mysqlmon test crashes MaxScale when the multimaster mode is enabled. This was only detected on release mode binaries but was reproducible locally.

The crash happens when the size of the node stack used for detecting cyclical groups is assumed to be always positive. A check for this will fix the crash.



 Comments   
Comment by markus makela [ 2017-07-03 ]

The code now properly checks the stack size before decrementing it.

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