[MDEV-21521] UBSan crashes in MYSQL_BIN_LOG::open Created: 2020-01-17 Updated: 2021-10-13 Resolved: 2020-01-29 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Replication |
| Affects Version/s: | 10.1, 10.2, 10.3, 10.4, 10.5 |
| Fix Version/s: | 10.1.45, 10.2.32, 10.3.23, 10.4.13 |
| Type: | Bug | Priority: | Major |
| Reporter: | Sergei Petrunia | Assignee: | Sujatha Sivakumar (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | UBSAN, xid_count_per_binlog | ||
| Issue Links: |
|
||||||||||||||||
| Description |
|
Attempt to run MTR under UBSan causes crashes like this one:
a few tests that crashed here:
|
| Comments |
| Comment by Sergei Petrunia [ 2020-01-17 ] | ||||||||||||||||||||
|
The crash happens here:
xid_count_per_binlog itself looks like a POD object
but struct ilink has this
which makes it non-POD. | ||||||||||||||||||||
| Comment by Sujatha Sivakumar (Inactive) [ 2020-01-29 ] | ||||||||||||||||||||
|
Fix for this issue is implemented as part |