[MCOL-3934] xml parser memory leak Created: 2020-04-09 Updated: 2020-11-12 Resolved: 2020-06-11 |
|
| Status: | Closed |
| Project: | MariaDB ColumnStore |
| Component/s: | MDB Plugin |
| Affects Version/s: | 1.5.3 |
| Fix Version/s: | 1.5.1 |
| Type: | Bug | Priority: | Major |
| Reporter: | David Hall (Inactive) | Assignee: | Daniel Lee (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Sprint: | 2020-6, 2020-7 |
| Description |
|
While running, the connector parses the Columnstore.xml file. This creates a large parse tree. We never clean up this memory allocation, and so if SAFEMALLOC is on, it may dump out hundreds of lines of memory leaks which can take minutes causing the casual observer to believe that mysqld is frozen. No other harm is done. |
| Comments |
| Comment by David Hall (Inactive) [ 2020-04-09 ] | ||||
|
Added memory cleanup to the ha_mcs handler destructor:
| ||||
| Comment by Roman [ 2020-04-13 ] | ||||
|
4QA: | ||||
| Comment by Daniel Lee (Inactive) [ 2020-06-11 ] | ||||
|
Build verified: 1.5.0-1 (Drone build #59) Verified on a debug build on Centos 7. |