XtraDB 1.1.8-26.0 assert crash under valgrind

Bug #1015109 reported by Sergei Golubchik on 2012-06-19
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Percona Server moved to https://jira.percona.com/projects/PS
Fix Released
Stewart Smith
Fix Released
Stewart Smith

Bug Description

in MariaDB tree, under valgrind, XtraDB crashes like this:

innodb.innodb_prefix_index_liftedlimit 'xtradb' w6 [ fail ]
mysqltest: At line 441: query 'DROP TABLE worklog5743_key2' failed: 2013: Lost connection to MySQL server during query
120616 6:25:30 InnoDB: Assertion failure in thread 67938640 in file buf0lru.c line 864
InnoDB: Failing assertion: mutex_own(&buf_pool->LRU_list_mutex)

See, for example,

InnoDB does not crash there.

This XtraDB code was introduced in the innodb_split_buf_pool_mutex.patch

Related branches

Alexey Kopytov (akopytov) wrote :

It's a regression introduced in 5.5 when merging the upstream fix for http://bugs.mysql.com/bug.php?id=64284. The new code in buf_flush_dirty_pages() locks the global buffer pool mutex rather than LRU_list_mutex.

This specific bug only applies to debug builds, because buf_LRU_insert_zip_clean() a UNIV_DEBUG-only function. But we should inspect all recently added calls to buf_pool_mutex_enter() in general and the fix for #51325 in particular to verify if they are compatible with innodb_split_buf_pool_mutex.patch.

Percona now uses JIRA for bug reports so this bug report is migrated to: https://jira.percona.com/browse/PS-567

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.