[MDEV-31641] innochecksum dies with Floating point exception Created: 2023-07-06 Updated: 2023-07-17 Resolved: 2023-07-10 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Storage Engine - InnoDB |
| Affects Version/s: | 10.2, 10.3, 10.4, 10.5, 10.6, 10.7, 10.8, 10.9, 10.10, 10.11, 11.0, 11.1, 11.2, 10.6.14 |
| Fix Version/s: | 10.4.31, 10.5.22, 10.6.15, 10.9.8, 10.10.6, 10.11.5, 11.0.3, 11.1.2, 11.2.1 |
| Type: | Bug | Priority: | Major |
| Reporter: | Edward Stoever | Assignee: | Marko Mäkelä |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | Papercut, beginner-friendly | ||
| Attachments: |
|
||||||||
| Issue Links: |
|
||||||||
| Description |
|
When using
Testing against the same ibdata1 file against innochecksum that is provided with mysql 5.7.42 I do not get any error. I have seen this on two recent cases. ibdata1 file is attached. |
| Comments |
| Comment by Daniel Black [ 2023-07-06 ] | ||||||||||
|
The n_leaf_pages is 0 for a particular index it seems (bottom of defrag_analysis function in ./extra/innochecksum.cc). | ||||||||||
| Comment by Marko Mäkelä [ 2023-07-10 ] | ||||||||||
|
This was caused by
The invocation of std::map::operator[] will allocate and default-initialize an element. |