mysqld: ma_write.c:2065: _ma_log_split: Assertion `offset <= org_length - diff' failed.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MariaDB |
Fix Released
|
High
|
Michael Widenius |
Bug Description
When executing a DML workload involving many indexes, Aria asserted as follows:
mysqld: ma_write.c:2065: _ma_log_split: Assertion `offset <= org_length - diff' failed.
backtrace:
#2 0x000000000066ccc7 in handle_segfault (sig=6) at mysqld.cc:2698
#3 <signal handler called>
#4 0x000000307b6329c5 in raise (sig=6)
at ../nptl/
#5 0x000000307b6341a5 in abort () at abort.c:92
#6 0x000000307b62b945 in __assert_fail (
assertion=
file=<value optimized out>, line=2065, function=<value optimized out>)
at assert.c:81
#7 0x000000000099fe31 in _ma_log_split (ma_page=
org_
key_length=438, move_length=435, prefix_
data_length=0, changed_length=0) at ma_write.c:2065
#8 0x000000000099cb58 in _ma_split_page (info=0x45bd8c8, key=0x7ff4fc050210,
split_
inserted_
move_
insert_
#9 0x000000000099c44c in _ma_insert (info=0x45bd8c8, key=0x7ff4fc050210,
anc_
key_
father_
#10 0x000000000099b99f in w_search (info=0x45bd8c8, comp_flag=0, key=0x75,
page_pos=117, father_
father_
at ma_write.c:711
#11 0x000000000099b94b in w_search (info=0x45bd8c8, comp_flag=395,
key=
father_
father_
insert_last=-12 '\364') at ma_write.c:708
#12 0x000000000099afe4 in _ma_ck_
key=
at ma_write.c:514
#13 0x000000000099ae8b in _ma_ck_
key=
at ma_write.c:480
#14 0x000000000099ace6 in _ma_ck_write_btree (info=0x45bd8c8,
key=
#15 0x000000000099ac5e in _ma_ck_write (info=0x45bd8c8, key=0x7ff4fc050210)
at ma_write.c:425
#16 0x000000000099a489 in maria_write (info=0x45bd8c8,
record=
#17 0x0000000000951f68 in ha_maria::write_row (this=0x461c370,
buf=0x45bb010 "\357\372\377") at ha_maria.cc:1037
#18 0x00000000007c0f22 in handler:
buf=0x45bb010 "\357\372\377") at handler.cc:4655
#19 0x0000000000722992 in write_record (thd=0x461c370, table=0x45bb010,
info=0x951f68) at sql_insert.cc:1632
#20 0x0000000000720821 in mysql_insert (thd=0x451c108,
table_
update_
at sql_insert.cc:860
#21 0x000000000068353d in mysql_execute_
at sql_parse.cc:3287
#22 0x000000000068beca in mysql_parse (thd=0x451c108,
inBuf=
#23 0x000000000067e0bf in dispatch_command (command=COM_QUERY, thd=0x451c108,
packet=
packet_
#24 0x000000000067d0d6 in do_command (thd=0x451c108) at sql_parse.cc:894
#25 0x000000000067a101 in handle_
at sql_connect.cc:1138
#26 0x000000307ba07761 in start_thread (arg=0x7ff4fc05
at pthread_
bzr version-info:
revision-id: <email address hidden>
date: 2010-08-25 01:43:26 +0300
build-date: 2010-08-26 13:41:34 +0300
revno: 2917
branch-nick: 5.1
rqg command line:
/home/buildbot/
--queries=1M \
--engine=Maria \
--mysqld=
--reporters=
--duration=240 \
--threads=20 \
--rows=1000 \
--mask-level=0 \
--mysqld=
--mysqld=
--mysqld=
--mysqld=
--grammar=
--gendata=
--mask=23736 \
--queries=100000000 \
--basedir=. \
--seed=1282818570
Changed in maria: | |
status: | New → Fix Committed |
Changed in maria: | |
milestone: | none → 5.1 |
status: | Fix Committed → Fix Released |