Comment 4 for bug 1100178

Revision history for this message
Laurynas Biveinis (laurynas-biveinis) wrote :

lock_print_info_all_transactions attempts to load a buffer page for a possible eventual detailed lock dump:

   lock_mutex_exit_kernel();

   mtr_start(&mtr);

   buf_page_get_with_no_latch(space, zip_size,
         page_no, &mtr);

   mtr_commit(&mtr);

   load_page_first = FALSE;

   lock_mutex_enter_kernel();

First of all, this does not seem to be necessary at all when XtraDB-specific innodb_show_verbose_locks is 0 (which it is in this case).
Second, the buffer page read happens with no locks held, thus the read must handle everything, including a disappearing page, which is the cause of this crash. The latter seems to apply to InnoDB too.