[MDEV-16123] ASAN heap-use-after-free handler::ha_index_or_rnd_end Created: 2018-05-09 Updated: 2018-05-24 Resolved: 2018-05-23 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Data Definition - Alter Table |
| Affects Version/s: | 10.0, 10.1, 10.3.6, 10.2 |
| Fix Version/s: | 10.0.36, 10.1.34, 10.2.16, 10.3.8 |
| Type: | Bug | Priority: | Major |
| Reporter: | Matthias Leich | Assignee: | Michael Widenius |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Environment: |
Ubuntu 17.04 but I assume this is not important. |
||
| Description |
|
Source 10.3 commit 005d53f6d59fe8e1e118c63b9af57fea2a31f4f2.
Please change the priority if requited. |
| Comments |
| Comment by Matthias Leich [ 2018-05-09 ] |
|
Hi Sanja. Please show up in case you want to make experiments with whatever patches. |
| Comment by Elena Stepanova [ 2018-05-09 ] |
|
It appears to be the same as |
| Comment by Oleksandr Byelkin [ 2018-05-09 ] |
|
I can not say something with no test suite. |
| Comment by Matthias Leich [ 2018-05-09 ] |
|
I assume that Elena is right that my Bug is https://jira.mariadb.org/browse/MDEV-13828. |
| Comment by Matthias Leich [ 2018-05-09 ] |
|
Regarding the replay test based on RQG.
|
| Comment by Oleksandr Byelkin [ 2018-05-17 ] |
|
Bug which mentioned as duplicate is for 10.0 and up |
| Comment by Michael Widenius [ 2018-05-23 ] |
|
With 10.3, easiest to use BUILD/compile-pentium64-asan-max to build. Anyway, I was able to reproduce the bug with ASAN and now working on it |
| Comment by Michael Widenius [ 2018-05-23 ] |
|
Bug was that there where code in destructor that used files that where closed earlier. |
| Comment by Michael Widenius [ 2018-05-23 ] |
|
Problem was that destructor called methods for closed table. |