mysqld: ma_bitmap.c:1019: allocate_tail: Assertion `size <= ((bitmap->block_size) *3 / 4)' 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_bitmap.c:1019: allocate_tail: Assertion `size <= ((bitmap-
Recovery was then successfull.
bzr version-info:
revision-id: <email address hidden>
date: 2010-10-13 18:15:43 +0300
build-date: 2010-10-13 21:18:31 +0300
revno: 2951
branch-nick: 5.1
-------
revno: 2951
committer: Michael Widenius <email address hidden>
branch nick: maria-5.1
timestamp: Wed 2010-10-13 18:15:43 +0300
message:
Fixes for bugs found by running test case for LP#608369 "Page: 1 Found wrong page type 0' on CHECK TABLE EXTENDED"
Fixed overflow when using long --debug=xxxxxx line.
Fixed that "mysqld --disable-debug --debug" works.
Ensure that MariaDB doesn't start if the Aria engine didn't start and we are using Aria for temporary tables.
More DBUG_ASSERT() and more info in debug log.
RQG command line:
/home/buildbot/
--basedir=. \
--mysqld=
--grammar=
--queries=1M \
--engine=Maria \
--mysqld=
--mysqld=
--mysqld=
--mysqld=
--mysqld=
--reporters=
--duration=120 \
--threads=1 \
--rows=1 \
--mask-level=2 \
--mysqld=
--mysqld=
--mysqld=
--mysqld=
--mysqld=
--mask=4314 \
--queries=100000000 \
--seed=1287014908
backtrace:
#6 0x000000307b62b945 in __assert_fail (assertion=0xd61f08 "size <= ((bitmap-
function=<value optimized out>) at assert.c:81
#7 0x0000000000997f44 in allocate_tail (bitmap=
#8 0x0000000000998c1f in find_tail (info=0x7ff7348
#9 0x0000000000998f12 in find_blob (info=0x7ff7348
#10 0x0000000000998ff2 in allocate_blobs (info=0x7ff7348
#11 0x00000000009995f0 in _ma_bitmap_
#12 0x000000000098b99e in allocate_
at ma_blockrec.c:3478
#13 0x000000000098bc87 in _ma_write_
#14 0x000000000099c887 in maria_write (info=0x7ff7348
#15 0x0000000000953f70 in ha_maria::write_row (this=0x7ff7347
#16 0x00000000007c268a in handler:
#17 0x0000000000723616 in write_record (thd=0x7ff7347e
#18 0x00000000007214a5 in mysql_insert (thd=0x4088298, table_list=
duplic=
#19 0x0000000000683b5f in mysql_execute_
#20 0x000000000068c89b in mysql_parse (thd=0x4088298,
rawbuf=
found_
#21 0x000000000067e9db in dispatch_command (command=COM_QUERY, thd=0x4088298,
packet=
at sql_parse.cc:1272
#22 0x000000000067d9fb in do_command (thd=0x4088298) at sql_parse.cc:898
#23 0x000000000067aa19 in handle_
#24 0x000000307ba07761 in start_thread (arg=0x7ff7b407
#25 0x000000307b6e150d in clone () at ../sysdeps/
This was fixed 2010-11-02 as part of another bug fix.