[MDEV-7038] Assertion `status_var.memory_used == 0' failed in THD::~THD() on disconnect after executing EXPLAIN for multi-table UPDATE Created: 2014-11-06 Updated: 2015-05-03 Resolved: 2015-05-03 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Data Manipulation - Update |
| Affects Version/s: | 10.0.14, 10.1.1 |
| Fix Version/s: | 10.0.17, 10.1.4 |
| Type: | Bug | Priority: | Major |
| Reporter: | Elena Stepanova | Assignee: | Oleksandr Byelkin |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Description |
|
|
| Comments |
| Comment by Sergei Petrunia [ 2015-02-17 ] | ||||||||||||||||||||||||||||||||
|
cvicentiu, can you get a stack trace of where we have allocated the memory that was lost? This would give a clue about which part of the code was lost. | ||||||||||||||||||||||||||||||||
| Comment by Vicențiu Ciorbaru [ 2015-05-02 ] | ||||||||||||||||||||||||||||||||
|
Hi Elena, The patch that fixes this is somewhere between 10.0.16 and 10.0.17, but I didn't spend too much time trying to figure out which commit. | ||||||||||||||||||||||||||||||||
| Comment by Elena Stepanova [ 2015-05-03 ] | ||||||||||||||||||||||||||||||||
|
The problem disappeared from 10.0 tree starting from this commit:
particularly, with this change
which belongs to this bugfix for 5.5.42/10.0.17:
|