[MDEV-5726] Assertion `status_var.memory_used == 0' fails on disconnect after SELECT with materialization+semijoin Created: 2014-02-25 Updated: 2014-03-09 Resolved: 2014-03-09 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | None |
| Affects Version/s: | 10.0.8 |
| Fix Version/s: | 10.0.9 |
| Type: | Bug | Priority: | Major |
| Reporter: | Elena Stepanova | Assignee: | Unassigned |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||
| Description |
|
The test case is not great, it uses a sleep, but more civilized ways (like count_sessions and such) didn't do the trick reliably – the problem happens anyway, but the server goes down before the assertion failure fully blossoms. The idea of the rough test is to show that the failure actually happens on normal session disconnect, rather than on server shutdown or KILL.
Stack trace from:
|
| Comments |
| Comment by Elena Stepanova [ 2014-03-04 ] | ||||||||||||||||||||||||||||
|
Doesn't fail on revno 4017, need to find out why, or at least when it stopped failing. | ||||||||||||||||||||||||||||
| Comment by Elena Stepanova [ 2014-03-09 ] | ||||||||||||||||||||||||||||
|
The bug was gone along with the following merge:
or, more precisely, with the following nested merge:
Unfortunately, digging deeper is impossible because the assertion does not exist on 5.5, so it was not reproducible on 5.5 code base either before or after the fix. |