Details
-
Bug
-
Status: Open (View Workflow)
-
Major
-
Resolution: Unresolved
-
10.11
-
Can result in hang or crash
Description
Assertion found on debug build
GIT_SHOW: HEAD -> 10.11, origin/bb-10.11-MDEV-26115, origin/10.11 852e4510fa662c571a42f550278d4abd09e3c5cf 2025-07-23T09:34:47+07:00 |
[rr 238470 789605]mariadbd: /data/Server/10.11_new/storage/innobase/ibuf/ibuf0ibuf.cc:3849: void ibuf_delete(const dtuple_t*, buf_block_t*, dict_index_t*, mtr_t*): Assertion `0' failed.
|
StackTrace |
#0 __pthread_kill_implementation (no_tid=0, signo=6, threadid=85817886729792) at ./nptl/pthread_kill.c:44
|
#1 __pthread_kill_internal (signo=6, threadid=85817886729792) at ./nptl/pthread_kill.c:78
|
#2 __GI___pthread_kill (threadid=85817886729792, 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="0", file="/data/Server/10.11_new/storage/innobase/ibuf/ibuf0ibuf.cc", line=3849, function=<optimized out>) at ./assert/assert.c:92
|
#6 __GI___assert_fail (assertion="0", file="/data/Server/10.11_new/storage/innobase/ibuf/ibuf0ibuf.cc", line=3849, function="void ibuf_delete(const dtuple_t*, buf_block_t*, dict_index_t*, mtr_t*)") at ./assert/assert.c:101
|
#7 ibuf_delete (entry=entry@entry=, block=block@entry=, index=<optimized out>, mtr=mtr@entry=) at /data/Server/10.11_new/storage/innobase/ibuf/ibuf0ibuf.cc:3849
|
#8 ibuf_merge_or_delete_for_page (block=block@entry=, page_id=..., zip_size=<optimized out>) at /data/Server/10.11_new/storage/innobase/ibuf/ibuf0ibuf.cc:4262
|
#9 buf_page_ibuf_merge_try (block=block@entry=, rw_latch=rw_latch@entry=2, err=err@entry=) at /data/Server/10.11_new/storage/innobase/include/buf0buf.h:643
|
#10 buf_page_get_low (page_id=..., page_id@entry=..., zip_size=zip_size@entry=8192, rw_latch=rw_latch@entry=RW_X_LATCH, guess=<optimized out>, guess@entry=, mode=mode@entry=10, mtr=mtr@entry=, err=<optimized out>,
|
allow_ibuf_merge=<optimized out>) at /data/Server/10.11_new/storage/innobase/buf/buf0buf.cc:3207
|
#11 buf_page_get_gen (page_id=page_id@entry=..., zip_size=zip_size@entry=8192, rw_latch=rw_latch@entry=RW_X_LATCH, guess=guess@entry=, mode=mode@entry=10, mtr=mtr@entry=, err=, allow_ibuf_merge=true)
|
at /data/Server/10.11_new/storage/innobase/buf/buf0buf.cc:3247
|
#12 btr_cur_t::search_leaf (this=this@entry=, tuple=tuple@entry=, mode=mode@entry=PAGE_CUR_LE, latch_mode=<optimized out>, latch_mode@entry=66, mtr=mtr@entry=) at /data/Server/10.11_new/storage/innobase/btr/btr0cur.cc:1269
|
#13 row_ins_sec_index_entry_low (flags=flags@entry=0, mode=mode@entry=BTR_MODIFY_LEAF, index=index@entry=, offsets_heap=<optimized out>, offsets_heap@entry=, heap=heap@entry=, entry=entry@entry=, trx_id=0, thr=)
|
at /data/Server/10.11_new/storage/innobase/row/row0ins.cc:3111
|
#14 row_ins_sec_index_entry (index=index@entry=, entry=entry@entry=, thr=thr@entry=, check_foreign=check_foreign@entry=true) at /data/Server/10.11_new/storage/innobase/row/row0ins.cc:3420
|
#15 row_ins_index_entry (index=, entry=, thr=thr@entry=) at /data/Server/10.11_new/storage/innobase/row/row0ins.cc:3487
|
#16 row_ins_index_entry_step (node=node@entry=, thr=thr@entry=) at /data/Server/10.11_new/storage/innobase/row/row0ins.cc:3651
|
#17 row_ins (node=node@entry=, thr=thr@entry=) at /data/Server/10.11_new/storage/innobase/row/row0ins.cc:3776
|
#18 row_ins_step (thr=thr@entry=) at /data/Server/10.11_new/storage/innobase/row/row0ins.cc:3905
|
#19 row_insert_for_mysql (mysql_rec=mysql_rec@entry="\370\004", prebuilt=, ins_mode=<optimized out>) at /data/Server/10.11_new/storage/innobase/row/row0mysql.cc:1301
|
#20 ha_innobase::write_row (this=, record="\370\004") at /data/Server/10.11_new/storage/innobase/handler/ha_innodb.cc:7831
|
#21 handler::ha_write_row (this=, buf="\370\004") at /data/Server/10.11_new/sql/handler.cc:7805
|
#22 write_record (thd=thd@entry=, table=table@entry=, info=info@entry=, sink=sink@entry=) at /data/Server/10.11_new/sql/sql_insert.cc:2372
|
#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/10.11_new/sql/sql_insert.cc:1197
|
#24 mysql_execute_command (thd=thd@entry=, is_called_from_prepared_stmt=is_called_from_prepared_stmt@entry=false) at /data/Server/10.11_new/sql/sql_parse.cc:4628
|
#25 mysql_parse (thd=thd@entry=, rawbuf=<optimized out>, length=<optimized out>, parser_state=parser_state@entry=) at /data/Server/10.11_new/sql/sql_parse.cc:8178
|
#26 dispatch_command (command=command@entry=COM_QUERY, thd=thd@entry=,
|
packet=packet@entry="INSERT INTO t2 (col1,col2, col_int, col_string, col_text) VALUES ( 4, 4, 4, REPEAT(SUBSTR(CAST( 4 AS CHAR),1,1), 10), REPEAT(SUBSTR(CAST( 4 AS CHAR),1,1), @fill_amount) ) /* E_R Thread9 QNO 348 CON_ID"..., packet_length=packet_length@entry=207, blocking=blocking@entry=true) at /data/Server/10.11_new/sql/sql_parse.cc:1906
|
#27 do_command (thd=thd@entry=, blocking=blocking@entry=true) at /data/Server/10.11_new/sql/sql_parse.cc:1419
|
#28 do_handle_one_connection (connect=<optimized out>, connect@entry=, put_in_cache=put_in_cache@entry=true) at /data/Server/10.11_new/sql/sql_connect.cc:1386
|
#29 handle_one_connection (arg=) at /data/Server/10.11_new/sql/sql_connect.cc:1298
|
#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/1753768684/TBR-1077
Attachments
Issue Links
- blocks
-
MDEV-37388 void row_purge_del_mark_error(const btr_cur_t&, const dtuple_t&): Assertion `0' failed
-
- Open
-
- relates to
-
MDEV-37306 bool buf_zip_decompress(buf_block_t*, bool): Assertion `mach_read_from_4(frame + 4U) == block->page.id().page_no()' failed
-
- Open
-
-
MDEV-37324 dberr_t ibuf_insert_to_index_page(const dtuple_t*, buf_block_t*, dict_index_t*, mtr_t*): Assertion `rec_get_deleted_flag(rec, page_is_comp(page))' failed
-
- Open
-