Assertion data_length < ((block_size) *3 / 4) in write_block_record() at ma_blockrec.c:3483 with --maria-block-size=1K
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MariaDB |
Fix Released
|
Medium
|
Michael Widenius |
Bug Description
Aria storage engine asserted as follows:
mysqld: ma_blockrec.c:2907: write_block_record: Assertion `data_length < ((block_size) *3 / 4)' failed.
backtrace:
#6 0x000000307b62b945 in __assert_fail (assertion=0xdb07f8 "data_length < ((block_size) *3 / 4)", file=<value optimized out>, line=2907,
function=<value optimized out>) at assert.c:81
#7 0x00000000009a9f9f in write_block_record (info=0x7ff7e80
bitmap_
#8 0x00000000009ab861 in allocate_
at ma_blockrec.c:3443
#9 0x00000000009ab973 in _ma_write_
#10 0x00000000009bc689 in maria_write (info=0x7ff7e80
#11 0x0000000000971bb4 in ha_maria::write_row (this=0x7ff7e80
#12 0x00000000007ca7c4 in handler:
#13 0x00000000007288a2 in write_record (thd=0x7ff7e80e
#14 0x000000000072673b in mysql_insert (thd=0x3a67ae0, table_list=
duplic=
#15 0x00000000006886c5 in mysql_execute_
#16 0x000000000069103f in mysql_parse (thd=0x3a67ae0,
inBuf=
#17 0x00000000006832e4 in dispatch_command (command=COM_QUERY, thd=0x3a67ae0,
packet=
#18 0x0000000000682332 in do_command (thd=0x3a67ae0) at sql_parse.cc:894
#19 0x000000000067ee8b in handle_
#20 0x000000307ba07761 in start_thread (arg=0x7ff8500c
#21 0x000000307b6e150d in clone () at ../sysdeps/
bzr version-info:
revision-id: <email address hidden>
date: 2010-08-12 20:55:00 +0300
build-date: 2010-08-16 11:24:11 +0300
revno: 2905
branch-nick: maria-5.1
Changed in maria: | |
status: | Fix Committed → Fix Released |
Also observed with block size 4K .RQG command line:
/home/ buildbot/ randgen/ runall. pl \ --log-output= file \ ErrorLog, Backtrace, Recovery, Shutdown \ --maria- repair- threads= 2 \ --loose- maria-group- commit= hard \ --loose- maria_group_ commit_ interval= 1 \ --maria- checkpoint- interval= 0 \ --maria- block-size= 4K \ conf/engines/ varchar. yy \ conf/engines/ varchar. zz \ 100000000 \
--queries=1M \
--engine=Maria \
--mysqld=
--reporters=
--duration=30 \
--threads=10 \
--rows=100 \
--mask-level=0 \
--mysqld=
--mysqld=
--mysqld=
--mysqld=
--mysqld=
--grammar=
--gendata=
--mask=58562 \
--queries=
--basedir=. \
--seed=time
will crash during the data loading stage.