[MDEV-23272] Galera stack-use-after-scope error with ASAN build Created: 2020-07-23 Updated: 2020-07-24 Resolved: 2020-07-24 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Galera |
| Affects Version/s: | 10.1, 10.2, 10.3, 10.4, 10.5 |
| Fix Version/s: | 10.1.46, 10.2.33, 10.3.24, 10.4.14, 10.5.5 |
| Type: | Bug | Priority: | Major |
| Reporter: | Teemu Ollakka | Assignee: | Jan Lindström (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Description |
|
To reproduce, build MariaDB server with ASAN enabled -DWITH_ASAN:BOOL=ON, enable Galera/wsrep and run sysbench load against one node:
From different terminal, run "show processlist" against the same node repeatedly:
The server process will eventually crash with error:
The reason for the crash seems to be assignment of THD proc info from info buffer which goes immediately out of scope after assignment, in innobase_commit_low():
|
| Comments |
| Comment by Teemu Ollakka [ 2020-07-23 ] |
|
Submitted a PR against 10.1: https://github.com/MariaDB/server/pull/1636 |