[MDEV-9105] Test failures under valgrind Created: 2015-11-09 Updated: 2017-05-09 Resolved: 2017-05-09 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Storage Engine - InnoDB |
| Affects Version/s: | 10.1.8 |
| Fix Version/s: | 10.1.17 |
| Type: | Bug | Priority: | Major |
| Reporter: | Nirbhay Choubey (Inactive) | Assignee: | Marko Mäkelä |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Environment: |
amd64, valgrind |
||
| Issue Links: |
|
||||||||||||||||||||
| Sprint: | 10.2.1-5 | ||||||||||||||||||||
| Description |
|
http://buildbot.askmonty.org/buildbot/builders/work-amd64-valgrind/builds/7841/steps/test/logs/stdio
|
| Comments |
| Comment by Jan Lindström (Inactive) [ 2015-11-11 ] | |||||||||||||||||||||||||||
|
Not sure how to repeat exactly the same warnings/errors I see different ones and can't repeat that crash, any advice ? | |||||||||||||||||||||||||||
| Comment by Nirbhay Choubey (Inactive) [ 2015-11-11 ] | |||||||||||||||||||||||||||
|
jplindst Hi! I just noticed these failures on buildbot. Haven't personally tried them. | |||||||||||||||||||||||||||
| Comment by Elena Stepanova [ 2016-07-24 ] | |||||||||||||||||||||||||||
|
Suddenly there are many more of the same kind as innodb.innodb-bug-14068765 above:
| |||||||||||||||||||||||||||
| Comment by Marko Mäkelä [ 2017-01-30 ] | |||||||||||||||||||||||||||
|
Is this still repeatable? 10.1 built -DWITH_ASAN does not generate any LeakSanitizer warnings for me any more. Recent fixes include these:
| |||||||||||||||||||||||||||
| Comment by Marko Mäkelä [ 2017-01-31 ] | |||||||||||||||||||||||||||
|
I found that in 10.2, a memory leak was introduced to ut_allocator::deallocate() in a merge:
With -DWITH_ASAN some leaks were reported already for the server bootstrap. | |||||||||||||||||||||||||||
| Comment by Marko Mäkelä [ 2017-02-01 ] | |||||||||||||||||||||||||||
|
In MariaDB Server 10.2.4, InnoDB should no longer leak memory (according to WITH_ASAN on GCC 6.3.0) even after an aborted plugin startup.
With some effort, we could backport this to 10.1 if we wanted to plug this class of memory leaks. | |||||||||||||||||||||||||||
| Comment by Elena Stepanova [ 2017-05-09 ] | |||||||||||||||||||||||||||
|
The described Valgrind warnings stopped appearing in buildbot since 2016-09-09 (on 10.2), and earlier on older versions. |