Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
10.6, 10.11, 11.4, 11.8, 10.5(EOL), 12.0(EOL), 12.1
-
Not for Release Notes
Description
Assertion found on debug build
Leads to :-
GIT_SHOW: HEAD -> 11.8, origin/11.8 9a4a30aec003a8efdf9d35d3ac669385286ba4b4 2025-07-07T08:06:33+03:00 |
# 2025-07-09T01:23:46 [3270622] | mariadbd: /data/Server/11.8/storage/innobase/include/mtr0log.h:225: void mtr_t::memset(const buf_block_t&, ulint, ulint, byte): Assertion `len' failed.
|
StackTrace |
#0 __pthread_kill_implementation (no_tid=0, signo=6, threadid=140732743693888) at ./nptl/pthread_kill.c:44
|
#1 __pthread_kill_internal (signo=6, threadid=140732743693888) at ./nptl/pthread_kill.c:78
|
#2 __GI___pthread_kill (threadid=140732743693888, signo=signo@entry=6) at ./nptl/pthread_kill.c:89
|
#3 __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
|
#4 __GI_abort () at ./stdlib/abort.c:79
|
#5 __assert_fail_base (fmt="%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion="len", file="/data/Server/11.8/storage/innobase/include/mtr0log.h", line=225, function=<optimized out>) at ./assert/assert.c:92
|
#6 __GI___assert_fail (assertion="len", file="/data/Server/11.8/storage/innobase/include/mtr0log.h", line=225, function="void mtr_t::memset(const buf_block_t&, ulint, ulint, byte)") at ./assert/assert.c:101
|
#7 mtr_t::memset (val=0 '\000', len=0, ofs=177, b=..., this=) at /data/Server/11.8/storage/innobase/include/mtr0log.h:225
|
#8 mtr_t::memset (this=this@entry=, b=b@entry=, ofs=ofs@entry=177, len=len@entry=0, val=val@entry=0 '\000') at /data/Server/11.8/storage/innobase/include/mtr0log.h:249
|
#9 page_delete_rec_list_end (rec=rec@entry="", block=block@entry=, index=index@entry=, n_recs=n_recs@entry=3, size=size@entry=57, mtr=mtr@entry=) at /data/Server/11.8/storage/innobase/include/rem0rec.inl:966
|
#10 page_move_rec_list_end (new_block=new_block@entry=, block=block@entry=, split_rec=split_rec@entry="", index=, mtr=mtr@entry=) at /data/Server/11.8/storage/innobase/btr/btr0btr.cc:2780
|
#11 btr_page_split_and_insert (flags=flags@entry=0, cursor=cursor@entry=, offsets=offsets@entry=, heap=heap@entry=, tuple=tuple@entry=, n_ext=0, mtr=, err=) at /data/Server/11.8/storage/innobase/btr/btr0btr.cc:3086
|
#12 btr_cur_pessimistic_insert (flags=flags@entry=0, cursor=cursor@entry=, offsets=offsets@entry=, heap=heap@entry=, entry=entry@entry=, rec=rec@entry=, big_rec=, n_ext=<optimized out>, thr=, mtr=)
|
at /data/Server/11.8/storage/innobase/btr/btr0cur.cc:2652
|
#13 row_ins_sec_index_entry_low (flags=flags@entry=0, mode=mode@entry=BTR_INSERT_TREE, index=index@entry=, offsets_heap=<optimized out>, offsets_heap@entry=, heap=heap@entry=, entry=entry@entry=, trx_id=0, thr=)
|
at /data/Server/11.8/storage/innobase/row/row0ins.cc:3218
|
#14 row_ins_sec_index_entry (index=index@entry=, entry=entry@entry=, thr=thr@entry=, check_foreign=check_foreign@entry=true) at /data/Server/11.8/storage/innobase/row/row0ins.cc:3404
|
#15 row_ins_index_entry (index=, entry=, thr=thr@entry=) at /data/Server/11.8/storage/innobase/row/row0ins.cc:3457
|
#16 row_ins_index_entry_step (node=node@entry=, thr=thr@entry=) at /data/Server/11.8/storage/innobase/row/row0ins.cc:3621
|
#17 row_ins (node=node@entry=, thr=thr@entry=) at /data/Server/11.8/storage/innobase/row/row0ins.cc:3738
|
#18 row_ins_step (thr=thr@entry=) at /data/Server/11.8/storage/innobase/row/row0ins.cc:3867
|
#19 row_insert_for_mysql (mysql_rec=mysql_rec@entry="p7\003", prebuilt=, ins_mode=<optimized out>) at /data/Server/11.8/storage/innobase/row/row0mysql.cc:1300
|
#20 ha_innobase::write_row (this=, record="p7\003") at /data/Server/11.8/storage/innobase/handler/ha_innodb.cc:7786
|
#21 handler::ha_write_row (this=, buf="p7\003") at /data/Server/11.8/sql/handler.cc:8260
|
#22 write_record (thd=thd@entry=, table=table@entry=, info=info@entry=, sink=sink@entry=) at /data/Server/11.8/sql/sql_insert.cc:2415
|
#23 mysql_insert (thd=thd@entry=, table_list=<optimized out>, fields=..., values_list=..., update_fields=..., update_values=..., duplic=DUP_ERROR, ignore=false, result=) at /data/Server/11.8/sql/sql_insert.cc:1212
|
#24 mysql_execute_command (thd=thd@entry=, is_called_from_prepared_stmt=is_called_from_prepared_stmt@entry=false) at /data/Server/11.8/sql/sql_parse.cc:4484
|
#25 mysql_parse (thd=thd@entry=, rawbuf=<optimized out>, length=<optimized out>, parser_state=parser_state@entry=) at /data/Server/11.8/sql/sql_parse.cc:7906
|
#26 dispatch_command (command=command@entry=COM_QUERY, thd=thd@entry=,
|
packet=packet@entry=" INSERT INTO t1 (col1,col2, col_int, col_string, col_text) VALUES ( 823, 823, 823, REPEAT(SUBSTR(CAST( 823 AS CHAR),1,1), 10), REPEAT(SUBSTR(CAST( 823 - 1 AS CHAR),1,1), @fill_amount) ) /* E_R Thread2"...,
|
packet_length=packet_length@entry=222, blocking=blocking@entry=true) at /data/Server/11.8/sql/sql_parse.cc:1902
|
#27 do_command (thd=thd@entry=, blocking=blocking@entry=true) at /data/Server/11.8/sql/sql_parse.cc:1415
|
#28 do_handle_one_connection (connect=<optimized out>, connect@entry=, put_in_cache=put_in_cache@entry=true) at /data/Server/11.8/sql/sql_connect.cc:1415
|
#29 handle_one_connection (arg=) at /data/Server/11.8/sql/sql_connect.cc:1327
|
#30 start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
|
#31 clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:100
|
RR trace is present on pluto:
/data/results/1752001242/TBR-1983
Attachments
Issue Links
- is caused by
-
MDEV-12353 Efficient InnoDB redo log record format
-
- Closed
-