[MDEV-727] LP:625865 - ma_loghandler.c:3723: translog_init_with_table: Assertion `sure_page <= last_page' failed Created: 2010-08-28 Updated: 2020-10-18 Resolved: 2020-10-18 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Storage Engine - Aria |
| Affects Version/s: | 5.5 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Minor |
| Reporter: | Philip Stoev (Inactive) | Assignee: | Unassigned |
| Resolution: | Incomplete | Votes: | 0 |
| Labels: | Launchpad | ||
| Attachments: |
|
||||||||
| Issue Links: |
|
||||||||
| Description |
|
When executing recovery on the varchar RQG workload, aria 5.1 asserted as follows: mysqld: ma_loghandler.c:3723: translog_init_with_table: Assertion `sure_page <= last_page' failed. #8 0x00133d98 in __assert_fail () from /lib/libc.so.6 rqg command line: perl runall.pl --grammar=conf/engines/varchar.yy --gendata=conf/engines/varchar.zz --threads=1 --queries=10K --basedir=/home/philips/bzr/maria-5.1 --engine=Maria --debug --seed=time --engine=Maria --reporter=Recovery --duration=240 --threads=10 rqg version-info: revision-id: philips@eve-20100828150416-gho2k908qs5ng4gx maria version-info: revision-id: <email address hidden> |
| Comments |
| Comment by Philip Stoev (Inactive) [ 2010-09-01 ] |
|
Re: ma_loghandler.c:3723: translog_init_with_table: Assertion `sure_page <= last_page' failed |
| Comment by Philip Stoev (Inactive) [ 2010-09-01 ] |
|
core binary datadir |
| Comment by Rasmus Johansson (Inactive) [ 2011-09-05 ] |
|
Launchpad bug id: 625865 |
| Comment by Elena Stepanova [ 2012-10-31 ] |
|
Could not reproduce on current maria/5.3. Assigning to myself to double-check other versions and close if not reproducible. |
| Comment by Elena Stepanova [ 2013-01-21 ] |
|
As it can be seen from the attached logs, the problem started with the assertion failure which happened before the recovery: mysqld: ma_page.c:430: _ma_new: Assertion `key_del_current != share->state.key_del && (key_del_current != 0) && ((key_del_current == (~ (my_off_t) 0)) || (key_del_current <= (share->state.state.key_file_length - block_size)))' failed. A coredump was produced, then the test recognized the failure as a planned crash, started recovery, and apparently ran out of space while copying the datadir for the recovery. For this second assertion in ma_loghandler.c on recovery, I suppose not much can be done, if the recovery information is really missing or corrupted as we could see in bug For the assertion in _ma_new, there was another bug report So, I'm closing it as a duplicate of |
| Comment by Elena Stepanova [ 2013-08-08 ] |
|
A similar issue was observed on MariaDB 5.5 revno 3848, revision-Id: bar@mariadb.org-20130808094121-cqmjldq0lh2bhl3m. The output is attached (assertion_failure_in_bb.txt) |
| Comment by Elena Stepanova [ 2020-10-18 ] |
|
It will be further tracked in MDEV-18461. It also doesn't have a test case so far, but the full more recent dataset, coredump etc. |