[MDEV-6506] InnoDB: Assertion failure in thread 2810182464 in file buf0flu.cc line 549 Created: 2014-07-30  Updated: 2014-08-01  Resolved: 2014-07-31

Status: Closed
Project: MariaDB Server
Component/s: None
Affects Version/s: 10.0.12
Fix Version/s: 10.0.13

Type: Bug Priority: Major
Reporter: Jan Lindström (Inactive) Assignee: Jan Lindström (Inactive)
Resolution: Fixed Votes: 0
Labels: xtradb


 Description   

Test: innodb_simulate_comp_failures-xtradb

http://buildbot.askmonty.org/buildbot/builders/kvm-fulltest2/builds/2429

InnoDB: Assertion failure in thread 2810182464 in file buf0flu.cc line 549
InnoDB: Failing assertion: buf_page_in_file(bpage)
 
buf/buf0flu.cc:549(buf_flush_ready_for_flush(buf_page_t*, buf_flush_t))[0x8856dd2]
buf/buf0flu.cc:1368(buf_flush_page_and_try_neighbors)[0x8858e00]
buf/buf0flu.cc:1721(buf_do_flush_list_batch)[0x885a55f]
buf/buf0flu.cc:2053(buf_flush_list(unsigned long, unsigned long long, unsigned long*))[0x885bb14]
buf/buf0flu.cc:2354(page_cleaner_do_flush_batch)[0x885d765]
/lib/i386-linux-gnu/libpthread.so.0(+0x6d4c)[0xb76d9d4c]
/lib/i386-linux-gnu/libc.so.6(clone+0x5e)[0xb74e8ace]



 Comments   
Comment by Jan Lindström (Inactive) [ 2014-07-31 ]

revno: 4313
committer: Jan Lindström <jplindst@mariadb.org>
branch nick: 10.0-innodb
timestamp: Thu 2014-07-31 10:32:52 +0300
message:
MDEV-6506: InnoDB: Assertion failure in thread 2810182464 in file
buf0flu.cc line 549.

Analysis: If buf_page_get_state(bpage) == BUF_BLOCK_REMOVE_HASH then
buf_page_in_file(bpage) might not be true.

Fix: ut_a(buf_page_in_file(bpage) || buf_page_get_state(bpage) == BUF_BLOCK_RE
MOVE_HASH);

Comment by Laurynas Biveinis [ 2014-07-31 ]

Looks like https://bugs.launchpad.net/percona-server/+bug/1305364, which applies to 5.5 as well, and is fixed in XtraDB 5.5.37-35.1/5.6.17-66.0.

Are you seeing it with a newer XtraDB version than those above?

Comment by Jan Lindström (Inactive) [ 2014-07-31 ]

Hi, this was repeatable with Percona XtraDB (http://www.percona.com) 5.6.17-65.0 and with modified version of Facebook's patch to simulate compression failures https://github.com/facebook/mysql-5.6/commit/bce56ed93e4bfa06f845b7b98e78b9ab6281bdfc

But not very easily repeatable, I can't repeat on my machine.

R: Jan

Comment by Laurynas Biveinis [ 2014-08-01 ]

OK, it's indeed LP 1305364 then, and you'll have a complete fix once you merge the corresponding 5.5/5.6.

Comment by Jan Lindström (Inactive) [ 2014-08-01 ]

True, your fix seems better and will be part of 5.5.39 release.

Generated at Thu Feb 08 07:12:25 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.