ma_pagecache.c:1341: unlink_block: Assertion `block->next_used != ((void *)0)' failed.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MariaDB |
Fix Released
|
Undecided
|
Michael Widenius |
Bug Description
When executing the SMF RQG scenario, Aria asserted as follows:
mysqld: ma_pagecache.
backtrace:
#6 0x000000307b62b945 in __assert_fail (assertion=0xd56b58 "block->next_used != ((void *)0)", file=<value optimized out>, line=1341,
function=<value optimized out>) at assert.c:81
#7 0x000000000094716b in unlink_block (pagecache=
#8 0x000000000094e760 in free_block (pagecache=
#9 0x000000000094d20d in pagecache_
at ma_pagecache.c:3499
#10 0x000000000094d898 in pagecache_delete (pagecache=
at ma_pagecache.c:3702
#11 0x000000000094d967 in pagecache_
flush=1 '\001') at ma_pagecache.c:3725
#12 0x000000000099a67a in _ma_bitmap_
#13 0x0000000000988533 in free_full_pages (info=0x571, row=0xb00000004) at ma_blockrec.c:2471
#14 0x000000000098d465 in _ma_delete_
#15 0x00000000009a3dde in maria_delete (info=0x7f55a82
#16 0x0000000000956e5f in ha_maria:
#17 0x00000000007c2651 in handler:
#18 0x00000000007405ef in mysql_delete (thd=0x343cf08, table_list=
options=0, reset_auto_
#19 0x0000000000684484 in mysql_execute_
#20 0x000000000068c729 in mysql_parse (thd=0x343cf08, rawbuf=
found_
#21 0x000000000067e930 in dispatch_command (command=COM_QUERY, thd=0x343cf08, packet=0x343fb09 "DELETE FROM smf_themes WHERE id_member IN (2 , 8 , 13)",
packet_
#22 0x000000000067d93b in do_command (thd=0x343cf08) at sql_parse.cc:895
#23 0x000000000067a959 in handle_
#24 0x000000307ba07761 in start_thread (arg=0x7f56402d
#25 0x000000307b6e150d in clone () at ../sysdeps/
bzr version-info:
revision-id: <email address hidden>
date: 2010-09-15 16:01:03 +0300
build-date: 2010-09-20 12:05:51 +0300
revno: 2938
branch-nick: 5.1
rqg command line:
/home/buildbot/
--queries=1M \
--engine=Maria \
--mysqld=
--mysqld=
--mysqld=
--mysqld=
--mysqld=
--reporters=
--duration=240 \
--threads=5 \
--rows=1000 \
--mask-level=0 \
--mysqld=
--mysqld=
--mysqld=
--mysqld=
--mysqld=
--mask=9312 \
--queries=100000000 \
--mask=9312 \
--seed=1285005403 \
--basedir=. \
--mysqld=
--grammar=
Changed in maria: | |
status: | Fix Committed → Fix Released |
This case should be fixed in 5.2 as part of other fixes for pagecache on 2011-06-24
I did run the test in a loop for several hours without any problems., so this bug should be gone.