Failing assertion: mutex_own(&page_hash_mutex)

Bug #317584 reported by Evgeniy Firsov on 2009-01-15
Affects Status Importance Assigned to Milestone
Fix Released

Bug Description

When UNIV_DEBUG enabled. mysql_test_run --do-test=innodb crash with following assertion failed:
090115 14:30:20 InnoDB: Assertion failure in thread 47729554944576 in file ../../storage/innobase/include/buf0buf.
ic line 928
InnoDB: Failing assertion: mutex_own(&page_hash_mutex)

Program terminated with signal 6, Aborted.
#0 0x00000038ab40b142 in pthread_kill () from /lib64/
(gdb) where
#0 0x00000038ab40b142 in pthread_kill () from /lib64/
#1 0x000000000096d916 in my_write_core (sig=6) at stacktrace.c:310
#2 0x00000000005d57bb in handle_segfault (sig=6) at
#3 <signal handler called>
#4 0x00000038aa830155 in raise () from /lib64/
#5 0x00000038aa831bf0 in abort () from /lib64/
#6 0x0000000000808cd1 in buf_page_hash_get (space=0, offset=0) at ../../storage/innobase/include/buf0buf.ic:928
#7 0x00000000008087b5 in buf_block_align (ptr=0x2aaaaaf9c000 "") at ../../storage/innobase/include/buf0buf.ic:648
#8 0x000000000085d64b in mtr_memo_contains_page (mtr=0x7fffc3808800, ptr=0x2aaaaaf9c000 "", type=2)
    at mtr/mtr0mtr.c:318
#9 0x000000000085b2e8 in mlog_write_initial_log_record_fast (ptr=0x2aaaaaf9c000 "", type=29 '\035',
    log_ptr=0x7fffc3808a60 "\001", mtr=0x7fffc3808800) at ../../storage/innobase/include/mtr0log.ic:172
#10 0x000000000085b5a4 in mlog_write_initial_log_record (ptr=0x2aaaaaf9c000 "", type=29 '\035',
    mtr=0x7fffc3808800) at mtr/mtr0log.c:69
#11 0x0000000000834028 in fsp_init_file_page (block=0x2aaaaaf48000, mtr=0x7fffc3808800) at fsp/fsp0fsp.c:866
#12 0x00000000008341e2 in fsp_header_init (space=0, size=640, mtr=0x7fffc3808800) at fsp/fsp0fsp.c:953
#13 0x00000000008a8097 in innobase_start_or_create_for_mysql () at srv/srv0start.c:1433
#14 0x00000000007dfb8d in innobase_init (p=0x1da71a78) at handler/
#15 0x0000000000716b64 in ha_initialize_handlerton (plugin=0x1da6d910) at
#16 0x00000000007c0171 in plugin_initialize (plugin=0x1da6d910) at
#17 0x00000000007c1626 in plugin_init (argc=0xde9f50, argv=0x1da411d0, flags=0) at
#18 0x00000000005d803b in init_server_components () at
#19 0x00000000005d8d77 in main (argc=29, argv=0x7fffc3809528) at

description: updated

I have fixed the second hangup at extensions-1.0/revision/31

Thank you.

Oops.. it's simple copy/paste sorry. :P

Changed in percona-xtradb:
assignee: nobody → yasufumi-kinoshita
importance: Undecided → Medium
status: New → Fix Committed
Changed in percona-xtradb:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers