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