LRU mutex mishandling in innodb_buffer_pool_evict_update()

Bug #1253973 reported by Laurynas Biveinis
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Percona Server moved to https://jira.percona.com/projects/PS
Invalid
Undecided
Unassigned
5.1
Invalid
Undecided
Unassigned
5.5
Triaged
High
Unassigned
5.6
Invalid
Undecided
Unassigned

Bug Description

Credit to Sergei Golubchik, https://bazaar.launchpad.net/~maria-captains/maria/5.5/revision/3967

innodb_buffer_pool_evict_update()
{
...
    mutex_enter(&buf_pool->LRU_list_mutex);
...
     buf_LRU_free_block(&block->page,
          FALSE, FALSE);
...
    mutex_exit(&buf_pool->LRU_list_mutex);
...
}

The last buf_LRU_free_block() arg is FALSE, thus the function may attempt to re-lock already-taken LRU list mutex.

tags: added: merge-regression xtradb
tags: added: bp-split
Revision history for this message
Shahriyar Rzayev (rzayev-sehriyar) wrote :

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

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

Other bug subscribers

Remote bug watches

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