ma_bitmap.c:2268: _ma_bitmap_release_unused: Assertion `current_bitmap_value == _ma_bitmap_get_page_bits(info, bitmap, block->page)' failed

Bug #632239 reported by Philip Stoev
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MariaDB
Fix Released
High
Michael Widenius

Bug Description

When executing the varchar scenario, Aria asserted as follows:

ma_bitmap.c:2268: _ma_bitmap_release_unused: Assertion `current_bitmap_value == _ma_bitmap_get_page_bits(info, bitmap, block->page)' failed

backtrace:

#6 0x000000307b62b945 in __assert_fail (assertion=0xd5a7c8 "current_bitmap_value == _ma_bitmap_get_page_bits(info, bitmap, block->page)",
    file=<value optimized out>, line=2268, function=<value optimized out>) at assert.c:81
#7 0x0000000000999ccd in _ma_bitmap_release_unused (info=0x7f5c180bae58, blocks=0x7f5c180baeb8) at ma_bitmap.c:2267
#8 0x000000000098ab76 in write_block_record (info=0x7f5c180bae58, old_record=0x0, record=0x7f5c180b1e10 "\377", row=0x7f5c180baeb8,
    bitmap_blocks=0x7f5c180baeb8, head_block_is_read=1 '\001', row_pos=0x7f5c6c28f140, undo_lsn=1, old_record_checksum=0) at ma_blockrec.c:3372
#9 0x000000000098b085 in allocate_and_write_block_record (info=0x7f5c180bae58, record=0x7f5c180b1e10 "\377", row=0x7f5c180baeb8, undo_lsn=1)
    at ma_blockrec.c:3506
#10 0x000000000098b197 in _ma_write_init_block_record (info=0x7f5c180bae58, record=0x7f5c180b1e10 "\377") at ma_blockrec.c:3546
#11 0x000000000099bcaf in maria_write (info=0x7f5c180bae58, record=0x7f5c180b1e10 "\377") at ma_write.c:148
#12 0x00000000009537c0 in ha_maria::write_row (this=0x7f5c1809aab0, buf=0x7f5c180b1e10 "\377") at ha_maria.cc:1040
#13 0x00000000007c233e in handler::ha_write_row (this=0x7f5c1809aab0, buf=0x7f5c180b1e10 "\377") at handler.cc:4655
#14 0x00000000007232de in write_record (thd=0x7f5c1809aab0, table=0x7f5c180b1e10, info=0x9537c0) at sql_insert.cc:1632
#15 0x000000000072116d in mysql_insert (thd=0x4804e78, table_list=0x7f5bf8014d58, fields=..., values_list=..., update_fields=..., update_values=...,
    duplic=DUP_ERROR, ignore=false) at sql_insert.cc:860
#16 0x0000000000683d12 in mysql_execute_command (thd=0x4804e78) at sql_parse.cc:3288
#17 0x000000000068c68d in mysql_parse (thd=0x4804e78,
    rawbuf=0x7f5bf8014910 "INSERT INTO `table1_maria_varchar_1024_not_null` ( `col_varchar_1024_latin1_not_null` , `col_varchar_1024_utf8_not_null` ) VALUES ( 't' , 'gnhzmmplodrhiglvkptukrowumznxpnpubukwhmvqdzbvkhdssornunvsbvqe"..., length=376, found_semicolon=0x7f5c6c290c70) at sql_parse.cc:6092
#18 0x000000000067e894 in dispatch_command (command=COM_QUERY, thd=0x4804e78,
    packet=0x48081f9 "INSERT INTO `table1_maria_varchar_1024_not_null` ( `col_varchar_1024_latin1_not_null` , `col_varchar_1024_utf8_not_null` ) VALUES ( 't' , 'gnhzmmplodrhiglvkptukrowumznxpnpubukwhmvqdzbvkhdssornunvsbvqe"..., packet_length=376) at sql_parse.cc:1269
#19 0x000000000067d8ab in do_command (thd=0x4804e78) at sql_parse.cc:895
#20 0x000000000067a8c9 in handle_one_connection (arg=0x4804e78) at sql_connect.cc:1138
#21 0x000000307ba07761 in start_thread (arg=0x7f5c6c291710) at pthread_create.c:301
#22 0x000000307b6e150d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

bzr version-info:

revision-id: <email address hidden>
date: 2010-09-06 02:48:51 +0300
build-date: 2010-09-07 11:15:05 +0300
revno: 2922
branch-nick: 5.1

rqg command line:

 2010-09-07T00:16:55 # /home/buildbot/randgen/runall.pl \
# 2010-09-07T00:16:55 # --queries=1M \
# 2010-09-07T00:16:55 # --engine=Maria \
# 2010-09-07T00:16:55 # --mysqld=--log-output=file \
# 2010-09-07T00:16:55 # --reporters=ErrorLog,Backtrace,Recovery,Shutdown \
# 2010-09-07T00:16:55 # --duration=240 \
# 2010-09-07T00:16:55 # --threads=10 \
# 2010-09-07T00:16:55 # --rows=1 \
# 2010-09-07T00:16:55 # --mask-level=2 \
# 2010-09-07T00:16:55 # --mysqld=--maria-repair-threads=2 \
# 2010-09-07T00:16:55 # --mysqld=--loose-maria-group-commit=soft \
# 2010-09-07T00:16:55 # --mysqld=--loose-maria_group_commit_interval=1 \
# 2010-09-07T00:16:55 # --mysqld=--maria-checkpoint-interval=1 \
# 2010-09-07T00:16:55 # --mysqld=--maria-block-size=4K \
# 2010-09-07T00:16:55 # --grammar=conf/engines/varchar.yy \
# 2010-09-07T00:16:55 # --gendata=conf/engines/varchar.zz \
# 2010-09-07T00:16:55 # --mask=9066 \
# 2010-09-07T00:16:55 # --queries=100000000 \
# 2010-09-07T00:16:55 # --mask=9066 \
# 2010-09-07T00:16:55 # --basedir=. \
# 2010-09-07T00:16:55 # --seed=1283807818 \
# 2010-09-07T00:16:55 # --vardir=/home/buildbot/rqg-buildbot-slave/rqg-weekend/vardir-maria_recovery_weekend/current

Revision history for this message
Philip Stoev (pstoev-askmonty) wrote :
Changed in maria:
assignee: nobody → Michael Widenius (monty)
importance: Undecided → High
Revision history for this message
Michael Widenius (monty) wrote :

Fix committed into 5.1 tree

Changed in maria:
status: New → Fix Committed
Changed in maria:
milestone: none → 5.1
Michael Widenius (monty)
Changed in maria:
status: Fix Committed → Fix Released
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.