Details
-
Bug
-
Status: Open (View Workflow)
-
Major
-
Resolution: Unresolved
-
10.11, 11.4, 11.8, 12.3, 13.0, 13.1
-
None
-
Can result in hang or crash
Description
CREATE SEQUENCE s1 START WITH 2; |
CREATE TABLE s2 SEQUENCE=1 SELECT * FROM s1; |
Leads to:
|
CS 13.2.0 c894d97781b54fbf074677c9d67f81cd60a162ac (Debug, Clang 22.1.8-20260621) Build 26/10/2026 |
mariadbd: /test/13.1_dbg/storage/innobase/row/row0upd.cc:2348: dberr_t row_upd_clust_rec(ulint, upd_node_t *, dict_index_t *, rec_offs *, mem_heap_t **, que_thr_t *, mtr_t *): Assertion `!node->table->skip_alter_undo' failed.
|
|
CS 13.2.0 c894d97781b54fbf074677c9d67f81cd60a162ac (Debug, Clang 22.1.8-20260621) Build 26/10/2026 |
Core was generated by `/test/MD261026-mariadb-13.2.0-linux-x86_64-dbg/bin/mariadbd --no-defaults --loo'.
|
Program terminated with signal SIGABRT, Aborted.
|
#0 __pthread_kill_implementation (no_tid=0, signo=6, threadid=<optimized out>)at ./nptl/pthread_kill.c:44
|
 |
[Current thread is 1 (LWP 3130022)]
|
(gdb) bt
|
#0 __pthread_kill_implementation (no_tid=0, signo=6, threadid=<optimized out>)at ./nptl/pthread_kill.c:44
|
#1 __pthread_kill_internal (signo=6, threadid=<optimized out>)at ./nptl/pthread_kill.c:78
|
#2 __GI___pthread_kill (threadid=<optimized out>, signo=signo@entry=6)at ./nptl/pthread_kill.c:89
|
#3 0x000077060044527e in __GI_raise (sig=sig@entry=6)at ../sysdeps/posix/raise.c:26
|
#4 0x00007706004288ff in __GI_abort () at ./stdlib/abort.c:79
|
#5 0x000077060042881b in __assert_fail_base (fmt=0x7706005d1208 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=assertion@entry=0x60ffc59eb4ee "!node->table->skip_alter_undo", file=file@entry=0x60ffc59ec328 "/test/13.1_dbg/storage/innobase/row/row0upd.cc", line=line@entry=2348, function=function@entry=0x60ffc59ed19f "dberr_t row_upd_clust_rec(ulint, upd_node_t *, dict_index_t *, rec_offs *, mem_heap_t **, que_thr_t *, mtr_t *)")at ./assert/assert.c:96
|
#6 0x000077060043b517 in __assert_fail (assertion=0x60ffc59eb4ee "!node->table->skip_alter_undo", file=0x60ffc59ec328 "/test/13.1_dbg/storage/innobase/row/row0upd.cc", line=2348, function=0x60ffc59ed19f "dberr_t row_upd_clust_rec(ulint, upd_node_t *, dict_index_t *, rec_offs *, mem_heap_t **, que_thr_t *, mtr_t *)")at ./assert/assert.c:105
|
#7 0x000060ffc527d24f in row_upd_clust_rec (flags=7, node=0x6f04c803c9d8, index=0x6f04c8038f08, offsets=0x7705fc1c8720, offsets_heap=0x7705fc1c8978, thr=0x6f04c803ce80, mtr=0x7705fc1c89b8)at /test/13.1_dbg/storage/innobase/row/row0upd.cc:2348
|
#8 0x000060ffc527c1b8 in row_upd_clust_step (node=0x6f04c803c9d8, thr=0x6f04c803ce80) at /test/13.1_dbg/storage/innobase/row/row0upd.cc:2649
|
#9 0x000060ffc527a745 in row_upd (node=0x6f04c803c9d8, thr=0x6f04c803ce80)at /test/13.1_dbg/storage/innobase/row/row0upd.cc:2750
|
#10 0x000060ffc527a500 in row_upd_step (thr=0x6f04c803ce80)at /test/13.1_dbg/storage/innobase/row/row0upd.cc:2892
|
#11 0x000060ffc5216f4d in row_update_for_mysql (prebuilt=0x6f04c803c238)at /test/13.1_dbg/storage/innobase/row/row0mysql.cc:1697
|
#12 0x000060ffc5018f18 in ha_innobase::update_row (this=0x6f04c803a200, old_row=0x6f04c803b0a0 "\377\001", new_row=0x6f04c803b060 "\377\002")at /test/13.1_dbg/storage/innobase/handler/ha_innodb.cc:8772
|
#13 0x000060ffc4c41212 in handler::update_first_row (this=0x6f04c803a200, new_data=0x6f04c803b060 "\377\002") at /test/13.1_dbg/sql/handler.cc:8816
|
#14 0x000060ffc4fac22d in ha_sequence::write_row (this=0x6f04c803aa90, buf=0x6f04c803b060 "\377\002") at /test/13.1_dbg/sql/ha_sequence.cc:296
|
#15 0x000060ffc4c408d0 in handler::ha_write_row (this=0x6f04c803aa90, buf=0x6f04c803b060 "\377\002") at /test/13.1_dbg/sql/handler.cc:8667
|
#16 0x000060ffc47b6b82 in Write_record::single_insert (this=0x7705fc1c9b50, inserted=0x7705fc1c9250) at /test/13.1_dbg/sql/sql_insert.cc:2396
|
#17 0x000060ffc47b4bd3 in Write_record::write_record (this=0x7705fc1c9b50)at /test/13.1_dbg/sql/sql_insert.cc:2438
|
#18 0x000060ffc47badaa in select_insert::send_data (this=0x6f04c801c600, values=@0x6f04c801afe8: {<base_list> = {<Sql_alloc> = {<No data fields>}, first = 0x6f04c801b360, last = 0x6f04c801daa0, elements = 8}, <No data fields>})at /test/13.1_dbg/sql/sql_insert.cc:4564
|
#19 0x000060ffc477fbaf in select_result_sink::send_data_with_check (this=0x6f04c801c600, items=@0x6f04c801afe8: {<base_list> = {<Sql_alloc> = {<No data fields>}, first = 0x6f04c801b360, last = 0x6f04c801daa0, elements = 8}, <No data fields>}, u=0x6f04c80052f8, sent=0) at /test/13.1_dbg/sql/sql_class.cc:3381
|
#20 0x000060ffc489a8ab in end_send (join=0x6f04c801c750, join_tab=0x0, end_of_records=false) at /test/13.1_dbg/sql/sql_select.cc:26975
|
#21 0x000060ffc48a0844 in do_select (join=0x6f04c801c750, procedure=0x0)at /test/13.1_dbg/sql/sql_select.cc:25013
|
#22 0x000060ffc489ffc6 in JOIN::exec_inner (this=0x6f04c801c750)at /test/13.1_dbg/sql/sql_select.cc:5147
|
#23 0x000060ffc489f2e3 in JOIN::exec (this=0x6f04c801c750)at /test/13.1_dbg/sql/sql_select.cc:4935
|
#24 0x000060ffc487d32b in mysql_select (thd=0x6f04c8000d60, tables=0x6f04c801b3d0, fields=@0x6f04c801afe8: {<base_list> = {<Sql_alloc> = {<No data fields>}, first = 0x6f04c801b360, last = 0x6f04c801daa0, elements = 8}, <No data fields>}, conds=0x0, og_num=0, order=0x0, group=0x0, having=0x0, proc_param=0x0, select_options=2201187781376, result=0x6f04c801c600, unit=0x6f04c80052f8, select_lex=0x6f04c801ad30) at /test/13.1_dbg/sql/sql_select.cc:5461
|
#25 0x000060ffc487ce8d in handle_select (thd=0x6f04c8000d60, lex=0x6f04c8005218, result=0x6f04c801c600, setup_tables_done_option=0)at /test/13.1_dbg/sql/sql_select.cc:652
|
#26 0x000060ffc494759b in Sql_cmd_create_table_like::execute (this=0x6f04c801a520, thd=0x6f04c8000d60)at /test/13.1_dbg/sql/sql_table.cc:14261
|
#27 0x000060ffc481f6c9 in mysql_execute_command (thd=0x6f04c8000d60, is_called_from_prepared_stmt=false) at /test/13.1_dbg/sql/sql_parse.cc:5947
|
#28 0x000060ffc4810718 in mysql_parse (thd=0x6f04c8000d60, rawbuf=0x6f04c801a460 "CREATE TABLE s2 SEQUENCE=1 SELECT * FROM s1", length=43, parser_state=0x7705fc1cb9c0)at /test/13.1_dbg/sql/sql_parse.cc:8005
|
#29 0x000060ffc480dece in dispatch_command (command=COM_QUERY, thd=0x6f04c8000d60, packet=0x6f04c800b691 "CREATE TABLE s2 SEQUENCE=1 SELECT * FROM s1", packet_length=43, blocking=true) at /test/13.1_dbg/sql/sql_parse.cc:1903
|
#30 0x000060ffc481119a in do_command (thd=0x6f04c8000d60, blocking=true)at /test/13.1_dbg/sql/sql_parse.cc:1437
|
#31 0x000060ffc49ec0ce in do_handle_one_connection (connect=0x60ffcfcd6f40, put_in_cache=true) at /test/13.1_dbg/sql/sql_connect.cc:1514
|
#32 0x000060ffc49ebeb1 in handle_one_connection (arg=0x60ffcfc6f8f0)at /test/13.1_dbg/sql/sql_connect.cc:1426
|
#33 0x000077060049cb84 in start_thread (arg=<optimized out>)at ./nptl/pthread_create.c:447
|
#34 0x0000770600529ecc in clone3 ()at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78
|
|
Bug Detection Matrix |
Rel o/d Build Commit UniqueID observed
|
CS 10.11 dbg 261026 6a063120d4d3d451bff3ea84b3ffbee288b33be8 !node->table->skip_alter_undo|SIGABRT|row_upd_clust_rec|row_upd_clust_step|row_upd|row_upd_step
|
CS 10.11 opt 261026 6a063120d4d3d451bff3ea84b3ffbee288b33be8 No bug found
|
CS 11.4 dbg 261026 b6406d42c8e26be3d86a4a743180f6b415a4559b !node->table->skip_alter_undo|SIGABRT|row_upd_clust_rec|row_upd_clust_step|row_upd|row_upd_step
|
CS 11.4 opt 261026 b6406d42c8e26be3d86a4a743180f6b415a4559b No bug found
|
CS 11.8 dbg 261026 274dd0d8d90bc773090d13303b8d5e36d2390241 !node->table->skip_alter_undo|SIGABRT|row_upd_clust_rec|row_upd_clust_step|row_upd|row_upd_step
|
CS 11.8 opt 261026 274dd0d8d90bc773090d13303b8d5e36d2390241 No bug found
|
CS 12.3 dbg 261026 788a07c52132d9f42b6991e599510c62d1625c0f !node->table->skip_alter_undo|SIGABRT|row_upd_clust_rec|row_upd_clust_step|row_upd|row_upd_step
|
CS 12.3 opt 261026 788a07c52132d9f42b6991e599510c62d1625c0f No bug found
|
CS 13.0 dbg 261026 620a4b5624222048fece7fe1789978ae0675cae2 !node->table->skip_alter_undo|SIGABRT|row_upd_clust_rec|row_upd_clust_step|row_upd|row_upd_step
|
CS 13.0 opt 261026 620a4b5624222048fece7fe1789978ae0675cae2 No bug found
|
CS 13.2 dbg 261026 c894d97781b54fbf074677c9d67f81cd60a162ac !node->table->skip_alter_undo|SIGABRT|row_upd_clust_rec|row_upd_clust_step|row_upd|row_upd_step
|
CS 13.2 opt 261026 c894d97781b54fbf074677c9d67f81cd60a162ac No bug found
|
ES 10.6 dbg 261026 45fbb1583d8cdcc7da5a123a844b3bf512f31c9d !node->table->skip_alter_undo|SIGABRT|row_upd_clust_rec|row_upd_clust_step|row_upd|row_upd_step
|
ES 10.6 opt 261026 45fbb1583d8cdcc7da5a123a844b3bf512f31c9d No bug found
|
ES 11.4 dbg 261026 6b2ae48e6e2488060adfdd02a7114bb60d4d150c !node->table->skip_alter_undo|SIGABRT|row_upd_clust_rec|row_upd_clust_step|row_upd|row_upd_step
|
ES 11.4 opt 261026 6b2ae48e6e2488060adfdd02a7114bb60d4d150c No bug found
|
ES 11.8 dbg 261026 6e6ba60bdc2b3f478513c5afa3faa062d8e73736 !node->table->skip_alter_undo|SIGABRT|row_upd_clust_rec|row_upd_clust_step|row_upd|row_upd_step
|
ES 11.8 opt 261026 6e6ba60bdc2b3f478513c5afa3faa062d8e73736 No bug found
|
ES 12.3 dbg 261026 781803ca9943d806ecb4b3b3fb39264dfafe1cf0 !node->table->skip_alter_undo|SIGABRT|row_upd_clust_rec|row_upd_clust_step|row_upd|row_upd_step
|
ES 12.3 opt 261026 781803ca9943d806ecb4b3b3fb39264dfafe1cf0 No bug found
|