Details
-
Bug
-
Status: Open (View Workflow)
-
Critical
-
Resolution: Unresolved
-
11.4, 11.8, 12.3, 13.0, 13.2
-
None
Description
--source include/have_partition.inc
|
--source include/have_rocksdb.inc |
CREATE TABLE t (a INT, b INT, c VARCHAR(100), KEY(a), KEY(c(10))) ENGINE=RocksDB PARTITION BY KEY(a) PARTITIONS 2; |
INSERT INTO t (a) VALUES (1); |
BEGIN; |
DELETE FROM t WHERE a<0; |
--connect con1,localhost,root |
--send ALTER TABLE t FORCE, ALGORITHM=COPY, LOCK=NONE |
--connect con2,localhost,root |
--let $wait_condition= SELECT COUNT(*)=1 FROM INFORMATION_SCHEMA.PROCESSLIST WHERE STATE='Waiting for table metadata lock' AND INFO LIKE 'ALTER TABLE t %' |
--source include/wait_condition.inc |
--send UPDATE t SET a=2 |
--connection default |
--let $wait_condition= SELECT COUNT(*)=1 FROM INFORMATION_SCHEMA.PROCESSLIST WHERE STATE='Waiting for table metadata lock' AND INFO LIKE 'UPDATE t %' |
--source include/wait_condition.inc |
COMMIT; |
--connection con1 |
--disable_abort_on_error |
--reap |
--enable_abort_on_error |
if ($mysql_errno == 2013) |
{
|
--die The server crashed applying a concurrent UPDATE in an online ALTER of a RocksDB table without a primary key |
}
|
--connection con2 |
--reap |
--disconnect con2 |
--disconnect con1 |
--connection default |
--let $a= query_get_value(SELECT a FROM t, a, 1) |
if ($a != 2) |
{
|
--die The online ALTER lost the concurrent UPDATE of a RocksDB table without a primary key |
}
|
DROP TABLE t; |
Leads to:
|
ES 11.4.14-11 d39d6bbe10b7c9401ac02eb82668dbccd04d41ba (Debug, Clang 22.1.8-20260621) Build 10/11/2026 |
Core was generated by `/test/EMD101126-mariadb-11.4.14-11-linux-x86_64-dbg/bin/mariadbd --defaults-gro'.
|
Program terminated with signal SIGSEGV, Segmentation fault.
|
#0 0x00007855feafd0c6 in myrocks::Rdb_field_packing::get_field_in_table (this=0x785514029b00, tbl=0x785514027458)at /test/11.4-es_dbg/storage/rocksdb/rdb_datadic.cc:3510
|
 |
[Current thread is 1 (LWP 328135)]
|
(gdb) bt
|
#0 0x00007855feafd0c6 in myrocks::Rdb_field_packing::get_field_in_table (this=0x785514029b00, tbl=0x785514027458)at /test/11.4-es_dbg/storage/rocksdb/rdb_datadic.cc:3510
|
#1 0x00007855feb01e03 in myrocks::Rdb_key_def::pack_record (this=0x785514028720, tbl=0x785514027458, pack_buffer=0x785514025168 '\245' <repeats 32 times>, "\217\217\217\217\217\217\217\217P", record=0x78551402c548 "\244\001", packed_tuple=0x785514025068 "", unpack_info=0x0, should_store_row_debug_checksums=false, hidden_pk_id=0, n_key_parts=2, n_null_fields=0x0, ttl_bytes=0x0)at /test/11.4-es_dbg/storage/rocksdb/rdb_datadic.cc:1374
|
#2 0x00007855feb0187c in myrocks::Rdb_key_def::pack_index_tuple (this=0x785514028720, tbl=0x785514027458, pack_buffer=0x785514025168 '\245' <repeats 32 times>, "\217\217\217\217\217\217\217\217P", packed_tuple=0x785514025068 "", record_buffer=0x78551402c548 "\244\001", key_tuple=0x78551402ddd8 "", keypart_map=@0x7855fd4da688: 3)at /test/11.4-es_dbg/storage/rocksdb/rdb_datadic.cc:1020
|
#3 0x00007855fea6a54c in myrocks::ha_rocksdb::index_read_map_impl (this=0x785514131220, buf=0x785514132290 "\376\001", key=0x78551402ddd8 "", keypart_map=3, find_flag=HA_READ_KEY_EXACT, end_key=0x0)at /test/11.4-es_dbg/storage/rocksdb/ha_rocksdb.cc:8570
|
#4 0x00007855fea6aa1a in myrocks::ha_rocksdb::index_read_map (this=0x785514131220, buf=0x785514132290 "\376\001", key=0x78551402ddd8 "", keypart_map=3, find_flag=HA_READ_KEY_EXACT)at /test/11.4-es_dbg/storage/rocksdb/ha_rocksdb.cc:8482
|
#5 0x000064a705a28abf in handler::ha_index_read_map (this=0x785514131220, buf=0x785514132290 "\376\001", key=0x78551402ddd8 "", keypart_map=3, find_flag=HA_READ_KEY_EXACT) at /test/11.4-es_dbg/sql/handler.cc:3953
|
#6 0x000064a705d57790 in ha_partition::handle_unordered_scan_next_partition (this=0x785514130968, buf=0x785514132290 "\376\001")at /test/11.4-es_dbg/sql/ha_partition.cc:7843
|
#7 0x000064a705d572c8 in ha_partition::common_index_read (this=0x785514130968, buf=0x785514132290 "\376\001", have_start_key=true)at /test/11.4-es_dbg/sql/ha_partition.cc:6058
|
#8 0x000064a705d57154 in ha_partition::index_read_map (this=0x785514130968, buf=0x785514132290 "\376\001", key=0x78551402ddd8 "", keypart_map=3, find_flag=HA_READ_KEY_EXACT) at /test/11.4-es_dbg/sql/ha_partition.cc:5918
|
#9 0x000064a705a28abf in handler::ha_index_read_map (this=0x785514130968, buf=0x785514132290 "\376\001", key=0x78551402ddd8 "", keypart_map=3, find_flag=HA_READ_KEY_EXACT) at /test/11.4-es_dbg/sql/handler.cc:3953
|
#10 0x000064a705bd88cd in Rows_log_event::find_row (this=0x785514135c68, rgi=0x7855fd4dbde8) at /test/11.4-es_dbg/sql/log_event_server.cc:7618
|
#11 0x000064a705bd9a85 in Update_rows_log_event::do_exec_row (this=0x785514135c68, rgi=0x7855fd4dbde8)at /test/11.4-es_dbg/sql/log_event_server.cc:7958
|
#12 0x000064a705bd1656 in Rows_log_event::do_apply_event (this=0x785514135c68, rgi=0x7855fd4dbde8) at /test/11.4-es_dbg/sql/log_event_server.cc:5229
|
#13 0x000064a705bbe322 in Log_event::apply_event (this=0x785514135c68, rgi=0x7855fd4dbde8) at /test/11.4-es_dbg/sql/log_event.cc:4144
|
#14 0x000064a705776797 in online_alter_read_from_binlog (thd=0x785514000d58, rgi=0x7855fd4dbde8, log=0x7855141362c0, found_rows=0x7855fd4db608)at /test/11.4-es_dbg/sql/sql_table.cc:12665
|
#15 0x000064a70576e979 in copy_data_between_tables (thd=0x785514000d58, from=0x7855100cb488, to=0x785514027458, ignore=false, order_num=0, order=0x0, copied=0x7855fd4ddfa0, deleted=0x7855fd4ddf98, alter_info=0x7855fd4e0e90, alter_ctx=0x7855fd4deed8, online=true, start_alter_id=0) at /test/11.4-es_dbg/sql/sql_table.cc:13202
|
#16 0x000064a7057644b8 in mysql_alter_table (thd=0x785514000d58, new_db=0x785514005958, new_name=0x785514005dd8, create_info=0x7855fd4e1000, table_list=0x7855140137a8, recreate_info=0x7855fd4e06d0, alter_info=0x7855fd4e0e90, order_num=0, order=0x0, ignore=false, if_exists=false)at /test/11.4-es_dbg/sql/sql_table.cc:12111
|
#17 0x000064a7058196f5 in Sql_cmd_alter_table::execute (this=0x785514013ee8, thd=0x785514000d58) at /test/11.4-es_dbg/sql/sql_alter.cc:703
|
#18 0x000064a70565afa3 in mysql_execute_command (thd=0x785514000d58, is_called_from_prepared_stmt=false)at /test/11.4-es_dbg/sql/sql_parse.cc:5910
|
#19 0x000064a70564bae8 in mysql_parse (thd=0x785514000d58, rawbuf=0x7855140136a0 "ALTER TABLE t FORCE, ALGORITHM=COPY, LOCK=NONE", length=46, parser_state=0x7855fd4e2a00)at /test/11.4-es_dbg/sql/sql_parse.cc:7958
|
#20 0x000064a705649351 in dispatch_command (command=COM_QUERY, thd=0x785514000d58, packet=0x78551400b129 "", packet_length=46, blocking=true) at /test/11.4-es_dbg/sql/sql_parse.cc:1932
|
#21 0x000064a70564c58f in do_command (thd=0x785514000d58, blocking=true)at /test/11.4-es_dbg/sql/sql_parse.cc:1440
|
#22 0x000064a70580eafe in do_handle_one_connection (connect=0x64a7376a5ee8, put_in_cache=true) at /test/11.4-es_dbg/sql/sql_connect.cc:1508
|
#23 0x000064a70580e8e5 in handle_one_connection (arg=0x64a7376a5ee8)at /test/11.4-es_dbg/sql/sql_connect.cc:1420
|
#24 0x00007855ff89cb64 in start_thread (arg=<optimized out>)at ./nptl/pthread_create.c:447
|
#25 0x00007855ff929e8c in clone3 ()at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78
|
|
ES 11.4.14-11 d39d6bbe10b7c9401ac02eb82668dbccd04d41ba (Optimized, Clang 22.1.8-20260621) Build 10/11/2026 |
Core was generated by `/test/EMD101126-mariadb-11.4.14-11-linux-x86_64-opt/bin/mariadbd --defaults-gro'.
|
Program terminated with signal SIGSEGV, Segmentation fault.
|
#0 myrocks::Rdb_key_def::pack_record (this=this@entry=0x73dc40022600, tbl=tbl@entry=0x73dc400213e8, pack_buffer=pack_buffer@entry=0x73dc4001efe8 "", record=record@entry=0x73dc40022ed8 "", packed_tuple=packed_tuple@entry=0x73dc4001eee8 "", unpack_info=unpack_info@entry=0x0, should_store_row_debug_checksums=<optimized out>, hidden_pk_id=0, n_key_parts=<optimized out>, n_null_fields=0x0, ttl_bytes=0x0)at /test/11.4-es_opt/storage/rocksdb/rdb_datadic.cc:1377
|
 |
[Current thread is 1 (LWP 328212)]
|
(gdb) bt
|
#0 myrocks::Rdb_key_def::pack_record (this=this@entry=0x73dc40022600, tbl=tbl@entry=0x73dc400213e8, pack_buffer=pack_buffer@entry=0x73dc4001efe8 "", record=record@entry=0x73dc40022ed8 "", packed_tuple=packed_tuple@entry=0x73dc4001eee8 "", unpack_info=unpack_info@entry=0x0, should_store_row_debug_checksums=<optimized out>, hidden_pk_id=0, n_key_parts=<optimized out>, n_null_fields=0x0, ttl_bytes=0x0)at /test/11.4-es_opt/storage/rocksdb/rdb_datadic.cc:1377
|
#1 0x000073dd2b0cf659 in myrocks::Rdb_key_def::pack_index_tuple (this=this@entry=0x73dc40022600, tbl=0x73dc400213e8, pack_buffer=0x73dc4001efe8 "", packed_tuple=0x73dc4001eee8 "", record_buffer=0x73dc40022ed8 "", key_tuple=key_tuple@entry=0x73dc40022108 "", keypart_map=@0x73dd2a2d8860: 3)at /test/11.4-es_opt/storage/rocksdb/rdb_datadic.cc:1020
|
#2 0x000073dd2b086c4f in myrocks::ha_rocksdb::index_read_map_impl (this=0x73dc401245a0, buf=0x73dc401255d0 "\376\001", key=0x73dc40022108 "", keypart_map=3, find_flag=HA_READ_KEY_EXACT, end_key=0x0)at /test/11.4-es_opt/storage/rocksdb/ha_rocksdb.cc:8570
|
#3 0x00005e3355b4cfd4 in handler::ha_index_read_map (this=0x73dc401245a0, buf=buf@entry=0x73dc401255d0 "\376\001", key=<optimized out>, keypart_map=<optimized out>, find_flag=<optimized out>)at /test/11.4-es_opt/sql/handler.cc:3953
|
#4 0x00005e3355d6a0c0 in ha_partition::handle_unordered_scan_next_partition (this=0x73dc40123ce8, buf=0x73dc401255d0 "\376\001")at /test/11.4-es_opt/sql/ha_partition.cc:7843
|
#5 0x00005e3355b4cfd4 in handler::ha_index_read_map (this=0x73dc40123ce8, buf=0x73dc401255d0 "\376\001", key=<optimized out>, keypart_map=<optimized out>, find_flag=<optimized out>)at /test/11.4-es_opt/sql/handler.cc:3953
|
#6 0x00005e3355c73a78 in Rows_log_event::find_row (this=this@entry=0x73dc40127cc8, rgi=rgi@entry=0x73dd2a2d95f0)at /test/11.4-es_opt/sql/log_event_server.cc:7618
|
#7 0x00005e3355c7482f in Update_rows_log_event::do_exec_row (this=0x73dc40127cc8, rgi=0x73dd2a2d95f0)at /test/11.4-es_opt/sql/log_event_server.cc:7958
|
#8 0x00005e3355c6f210 in Rows_log_event::do_apply_event (this=0x73dc40127cc8, rgi=0x73dd2a2d95f0) at /test/11.4-es_opt/sql/log_event_server.cc:5229
|
#9 0x00005e3355c64174 in Log_event::apply_event (this=this@entry=0x73dc40127cc8, rgi=rgi@entry=0x73dd2a2d95f0)at /test/11.4-es_opt/sql/log_event.cc:4144
|
#10 0x00005e33559b166f in online_alter_read_from_binlog (thd=thd@entry=0x73dc40000c68, rgi=rgi@entry=0x73dd2a2d95f0, log=log@entry=0x73dc40129300, found_rows=found_rows@entry=0x73dd2a2d8de8)at /test/11.4-es_opt/sql/sql_table.cc:12665
|
#11 0x00005e33559ace73 in copy_data_between_tables (thd=thd@entry=0x73dc40000c68, from=from@entry=0x73dc3c02fcf8, to=to@entry=0x73dc400213e8, ignore=false, order_num=<optimized out>, order=<optimized out>, copied=0x73dd2a2da3a0, deleted=0x73dd2a2da3a8, alter_info=0x73dd2a2dcba8, alter_ctx=0x73dd2a2dad80, online=true, start_alter_id=0) at /test/11.4-es_opt/sql/sql_table.cc:13202
|
#12 0x00005e33559a659b in mysql_alter_table (thd=thd@entry=0x73dc40000c68, new_db=new_db@entry=0x73dc40005898, new_name=new_name@entry=0x73dc40005d18, create_info=create_info@entry=0x73dd2a2dcd18, table_list=0x73dc40010f18, recreate_info=recreate_info@entry=0x73dd2a2dc470, alter_info=0x73dd2a2dcba8, order_num=0, order=0x0, ignore=<optimized out>, if_exists=<optimized out>) at /test/11.4-es_opt/sql/sql_table.cc:12111
|
#13 0x00005e3355a17376 in Sql_cmd_alter_table::execute (this=<optimized out>, thd=0x73dc40000c68) at /test/11.4-es_opt/sql/sql_alter.cc:703
|
#14 0x00005e33558f406f in mysql_execute_command (thd=thd@entry=0x73dc40000c68, is_called_from_prepared_stmt=false)at /test/11.4-es_opt/sql/sql_parse.cc:5910
|
#15 0x00005e33558ef7dd in mysql_parse (thd=thd@entry=0x73dc40000c68, rawbuf=<optimized out>, length=<optimized out>, parser_state=parser_state@entry=0x73dd2a2dd550)at /test/11.4-es_opt/sql/sql_parse.cc:7958
|
#16 0x00005e33558ededf in dispatch_command (command=command@entry=COM_QUERY, thd=thd@entry=0x73dc40000c68, packet=packet@entry=0x73dc40008899 "", packet_length=packet_length@entry=46, blocking=true)at /test/11.4-es_opt/sql/sql_parse.cc:1932
|
#17 0x00005e33558efc60 in do_command (thd=thd@entry=0x73dc40000c68, blocking=true) at /test/11.4-es_opt/sql/sql_parse.cc:1440
|
#18 0x00005e3355a10d7d in do_handle_one_connection (connect=<optimized out>, connect@entry=0x5e3386fd4e68, put_in_cache=true)at /test/11.4-es_opt/sql/sql_connect.cc:1508
|
#19 0x00005e3355a10ba6 in handle_one_connection (arg=arg@entry=0x5e3386fd4e68)at /test/11.4-es_opt/sql/sql_connect.cc:1420
|
#20 0x00005e3355d7432e in pfs_spawn_thread (arg=0x5e3386fd4ed8)at /test/11.4-es_opt/storage/perfschema/pfs.cc:2201
|
#21 0x000073dd3029cb64 in start_thread (arg=<optimized out>)at ./nptl/pthread_create.c:447
|
#22 0x000073dd30329e8c in clone3 ()at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78
|
|
ES 11.8.10-7 fb7fd3f6cda7a76e93fb0d4ebf97b1ad1ebfb823 (Debug, Clang 22.1.8-20260621) Build 10/11/2026 |
mariadbd: /test/11.8-es_dbg/storage/rocksdb/rdb_datadic.cc:1374: uint myrocks::Rdb_key_def::pack_record(const TABLE *const, uchar *const, const uchar *const, uchar *const, Rdb_string_writer *const, const bool, const longlong, uint, uint *const, const char *const) const: Assertion `field != nullptr' failed.
|
|
ES 11.8.10-7 fb7fd3f6cda7a76e93fb0d4ebf97b1ad1ebfb823 (Debug, Clang 22.1.8-20260621) Build 10/11/2026 |
Core was generated by `/test/EMD101126-mariadb-11.8.10-7-linux-x86_64-dbg/bin/mariadbd --defaults-grou'.
|
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 328290)]
|
(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 0x0000777d8fe4527e in __GI_raise (sig=sig@entry=6)at ../sysdeps/posix/raise.c:26
|
#4 0x0000777d8fe288ff in __GI_abort () at ./stdlib/abort.c:79
|
#5 0x0000777d8fe2881b in __assert_fail_base (fmt=0x777d8ffd1208 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=assertion@entry=0x777d8ef520c9 "field != nullptr", file=file@entry=0x777d8ef54542 "/test/11.8-es_dbg/storage/rocksdb/rdb_datadic.cc", line=line@entry=1374, function=function@entry=0x777d8ef552ed "uint myrocks::Rdb_key_def::pack_record(const TABLE *const, uchar *const, const uchar *const, uchar *const, Rdb_string_writer *const, const bool, const longlong, uint, uint *const, const char *const) c"...) at ./assert/assert.c:96
|
#6 0x0000777d8fe3b517 in __assert_fail (assertion=0x777d8ef520c9 "field != nullptr", file=0x777d8ef54542 "/test/11.8-es_dbg/storage/rocksdb/rdb_datadic.cc", line=1374, function=0x777d8ef552ed "uint myrocks::Rdb_key_def::pack_record(const TABLE *const, uchar *const, const uchar *const, uchar *const, Rdb_string_writer *const, const bool, const longlong, uint, uint *const, const char *const) c"...)at ./assert/assert.c:105
|
#7 0x0000777d8e901fa8 in myrocks::Rdb_key_def::pack_record (this=0x777ca002cd20, tbl=0x777ca002ba18, pack_buffer=0x777ca002c0f8 '\245' <repeats 200 times>..., record=0x777ca002c1e8 "\244\001", packed_tuple=0x777ca0027698 "", unpack_info=0x0, should_store_row_debug_checksums=false, hidden_pk_id=0, n_key_parts=2, n_null_fields=0x0, ttl_bytes=0x0)at /test/11.8-es_dbg/storage/rocksdb/rdb_datadic.cc:1374
|
#8 0x0000777d8e9019bc in myrocks::Rdb_key_def::pack_index_tuple (this=0x777ca002cd20, tbl=0x777ca002ba18, pack_buffer=0x777ca002c0f8 '\245' <repeats 200 times>..., packed_tuple=0x777ca0027698 "", record_buffer=0x777ca002c1e8 "\244\001", key_tuple=0x777ca00323d8 "", keypart_map=@0x777d8d244528: 3)at /test/11.8-es_dbg/storage/rocksdb/rdb_datadic.cc:1019
|
#9 0x0000777d8e86a60c in myrocks::ha_rocksdb::index_read_map_impl (this=0x777ca0135860, buf=0x777ca0136950 "\376\001", key=0x777ca00323d8 "", keypart_map=3, find_flag=HA_READ_KEY_EXACT, end_key=0x0)at /test/11.8-es_dbg/storage/rocksdb/ha_rocksdb.cc:8557
|
#10 0x0000777d8e86aada in myrocks::ha_rocksdb::index_read_map (this=0x777ca0135860, buf=0x777ca0136950 "\376\001", key=0x777ca00323d8 "", keypart_map=3, find_flag=HA_READ_KEY_EXACT)at /test/11.8-es_dbg/storage/rocksdb/ha_rocksdb.cc:8469
|
#11 0x0000567e1e51d10c in handler::ha_index_read_map (this=0x777ca0135860, buf=0x777ca0136950 "\376\001", key=0x777ca00323d8 "", keypart_map=3, find_flag=HA_READ_KEY_EXACT) at /test/11.8-es_dbg/sql/handler.cc:3971
|
#12 0x0000567e1e85a1e0 in ha_partition::handle_unordered_scan_next_partition (this=0x777ca0134f68, buf=0x777ca0136950 "\376\001")at /test/11.8-es_dbg/sql/ha_partition.cc:7869
|
#13 0x0000567e1e859d18 in ha_partition::common_index_read (this=0x777ca0134f68, buf=0x777ca0136950 "\376\001", have_start_key=true)at /test/11.8-es_dbg/sql/ha_partition.cc:6084
|
#14 0x0000567e1e859ba4 in ha_partition::index_read_map (this=0x777ca0134f68, buf=0x777ca0136950 "\376\001", key=0x777ca00323d8 "", keypart_map=3, find_flag=HA_READ_KEY_EXACT) at /test/11.8-es_dbg/sql/ha_partition.cc:5944
|
#15 0x0000567e1e51d10c in handler::ha_index_read_map (this=0x777ca0134f68, buf=0x777ca0136950 "\376\001", key=0x777ca00323d8 "", keypart_map=3, find_flag=HA_READ_KEY_EXACT) at /test/11.8-es_dbg/sql/handler.cc:3971
|
#16 0x0000567e1e6d25bd in Rows_log_event::find_row (this=0x777ca013bec8, rgi=0x777d8d245ca0) at /test/11.8-es_dbg/sql/log_event_server.cc:7665
|
#17 0x0000567e1e6d3799 in Update_rows_log_event::do_exec_row (this=0x777ca013bec8, rgi=0x777d8d245ca0)at /test/11.8-es_dbg/sql/log_event_server.cc:8008
|
#18 0x0000567e1e6cb2b6 in Rows_log_event::do_apply_event (this=0x777ca013bec8, rgi=0x777d8d245ca0) at /test/11.8-es_dbg/sql/log_event_server.cc:5252
|
#19 0x0000567e1e6b7f82 in Log_event::apply_event (this=0x777ca013bec8, rgi=0x777d8d245ca0) at /test/11.8-es_dbg/sql/log_event.cc:4143
|
#20 0x0000567e1e25cb77 in online_alter_read_from_binlog (thd=0x777ca0000d58, rgi=0x777d8d245ca0, log=0x777ca013c520, found_rows=0x777d8d2454a8)at /test/11.8-es_dbg/sql/sql_table.cc:12649
|
#21 0x0000567e1e254d6e in copy_data_between_tables (thd=0x777ca0000d58, from=0x777cac036c28, to=0x777ca002ba18, ignore=false, order_num=0, order=0x0, copied=0x777d8d247e30, deleted=0x777d8d247e28, alter_info=0x777d8d24ae20, alter_ctx=0x777d8d248d68, online=true, start_alter_id=0) at /test/11.8-es_dbg/sql/sql_table.cc:13186
|
#22 0x0000567e1e24aa30 in mysql_alter_table (thd=0x777ca0000d58, new_db=0x777ca0005a20, new_name=0x777ca0005ea8, create_info=0x777d8d24af90, table_list=0x777ca0015c78, recreate_info=0x777d8d24a648, alter_info=0x777d8d24ae20, order_num=0, order=0x0, ignore=false, if_exists=false)at /test/11.8-es_dbg/sql/sql_table.cc:12096
|
#23 0x0000567e1e301ea5 in Sql_cmd_alter_table::execute (this=0x777ca00163d0, thd=0x777ca0000d58) at /test/11.8-es_dbg/sql/sql_alter.cc:711
|
#24 0x0000567e1e1407c8 in mysql_execute_command (thd=0x777ca0000d58, is_called_from_prepared_stmt=false)at /test/11.8-es_dbg/sql/sql_parse.cc:5920
|
#25 0x0000567e1e130fe8 in mysql_parse (thd=0x777ca0000d58, rawbuf=0x777ca0015b70 "ALTER TABLE t FORCE, ALGORITHM=COPY, LOCK=NONE", length=46, parser_state=0x777d8d24c9f0)at /test/11.8-es_dbg/sql/sql_parse.cc:7983
|
#26 0x0000567e1e12e771 in dispatch_command (command=COM_QUERY, thd=0x777ca0000d58, packet=0x777ca000b479 "", packet_length=46, blocking=true) at /test/11.8-es_dbg/sql/sql_parse.cc:1931
|
#27 0x0000567e1e131a8f in do_command (thd=0x777ca0000d58, blocking=true)at /test/11.8-es_dbg/sql/sql_parse.cc:1439
|
#28 0x0000567e1e2f70de in do_handle_one_connection (connect=0x567e50550518, put_in_cache=true) at /test/11.8-es_dbg/sql/sql_connect.cc:1515
|
#29 0x0000567e1e2f6ec1 in handle_one_connection (arg=0x567e50550518)at /test/11.8-es_dbg/sql/sql_connect.cc:1427
|
#30 0x0000777d8fe9cb64 in start_thread (arg=<optimized out>)at ./nptl/pthread_create.c:447
|
#31 0x0000777d8ff29e8c in clone3 ()at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78
|
|
ES 11.8.10-7 fb7fd3f6cda7a76e93fb0d4ebf97b1ad1ebfb823 (Optimized, Clang 22.1.8-20260621) Build 10/11/2026 |
Core was generated by `/test/EMD101126-mariadb-11.8.10-7-linux-x86_64-opt/bin/mariadbd --defaults-grou'.
|
Program terminated with signal SIGSEGV, Segmentation fault.
|
#0 0x0000738ce32cfcb3 in Field::is_real_null (this=0x738bf8020d58, row_offset=0) at /test/11.8-es_opt/sql/./field.h:1493
|
 |
[Current thread is 1 (LWP 328371)]
|
(gdb) bt
|
#0 0x0000738ce32cfcb3 in Field::is_real_null (this=0x738bf8020d58, row_offset=0) at /test/11.8-es_opt/sql/./field.h:1493
|
#1 myrocks::Rdb_key_def::pack_field (this=0x738bf8026b70, field=0x738bf8020d58, tuple=0x738bf8021491 "", packed_tuple=0x738bf8021488 "", pack_buffer=0x738bf8025e18 "", unpack_info=0x0, pack_info=<optimized out>, n_null_fields=<optimized out>)at /test/11.8-es_opt/storage/rocksdb/rdb_datadic.cc:1217
|
#2 myrocks::Rdb_key_def::pack_record (this=this@entry=0x738bf8026b70, tbl=tbl@entry=0x738bf8025918, pack_buffer=pack_buffer@entry=0x738bf8025e18 "", record=record@entry=0x738bf8025f08 "", packed_tuple=packed_tuple@entry=0x738bf8021488 "", unpack_info=unpack_info@entry=0x0, should_store_row_debug_checksums=<optimized out>, hidden_pk_id=0, n_key_parts=<optimized out>, n_null_fields=0x0, ttl_bytes=0x0)at /test/11.8-es_opt/storage/rocksdb/rdb_datadic.cc:1386
|
#3 0x0000738ce32cf6a9 in myrocks::Rdb_key_def::pack_index_tuple (this=this@entry=0x738bf8026b70, tbl=0x738bf8025918, pack_buffer=0x738bf8025e18 "", packed_tuple=0x738bf8021488 "", record_buffer=0x738bf8025f08 "", key_tuple=key_tuple@entry=0x738bf80268b8 "", keypart_map=@0x738ce25496f0: 3)at /test/11.8-es_opt/storage/rocksdb/rdb_datadic.cc:1019
|
#4 0x0000738ce3286c7f in myrocks::ha_rocksdb::index_read_map_impl (this=0x738bf8128b70, buf=0x738bf8129c20 "\376\001", key=0x738bf80268b8 "", keypart_map=3, find_flag=HA_READ_KEY_EXACT, end_key=0x0)at /test/11.8-es_opt/storage/rocksdb/ha_rocksdb.cc:8557
|
#5 0x0000586901eac404 in handler::ha_index_read_map (this=0x738bf8128b70, buf=buf@entry=0x738bf8129c20 "\376\001", key=<optimized out>, keypart_map=<optimized out>, find_flag=<optimized out>)at /test/11.8-es_opt/sql/handler.cc:3971
|
#6 0x00005869020d62d0 in ha_partition::handle_unordered_scan_next_partition (this=0x738bf8128278, buf=0x738bf8129c20 "\376\001")at /test/11.8-es_opt/sql/ha_partition.cc:7869
|
#7 0x0000586901eac404 in handler::ha_index_read_map (this=0x738bf8128278, buf=0x738bf8129c20 "\376\001", key=<optimized out>, keypart_map=<optimized out>, find_flag=<optimized out>)at /test/11.8-es_opt/sql/handler.cc:3971
|
#8 0x0000586901fd86d8 in Rows_log_event::find_row (this=this@entry=0x738bf812dec8, rgi=rgi@entry=0x738ce254a4a0)at /test/11.8-es_opt/sql/log_event_server.cc:7665
|
#9 0x0000586901fd94b6 in Update_rows_log_event::do_exec_row (this=0x738bf812dec8, rgi=0x738ce254a4a0)at /test/11.8-es_opt/sql/log_event_server.cc:8008
|
#10 0x0000586901fd3db0 in Rows_log_event::do_apply_event (this=0x738bf812dec8, rgi=0x738ce254a4a0) at /test/11.8-es_opt/sql/log_event_server.cc:5252
|
#11 0x0000586901fc8734 in Log_event::apply_event (this=this@entry=0x738bf812dec8, rgi=rgi@entry=0x738ce254a4a0)at /test/11.8-es_opt/sql/log_event.cc:4143
|
#12 0x0000586901d05b3f in online_alter_read_from_binlog (thd=thd@entry=0x738bf8000c68, rgi=rgi@entry=0x738ce254a4a0, log=log@entry=0x738bf812f500, found_rows=found_rows@entry=0x738ce2549c88)at /test/11.8-es_opt/sql/sql_table.cc:12649
|
#13 0x0000586901d01178 in copy_data_between_tables (thd=thd@entry=0x738bf8000c68, from=from@entry=0x738bf414cf68, to=to@entry=0x738bf8025918, ignore=false, order_num=<optimized out>, order=<optimized out>, copied=0x738ce254b240, deleted=0x738ce254b248, alter_info=0x738ce254db38, alter_ctx=0x738ce254bc20, online=true, start_alter_id=0) at /test/11.8-es_opt/sql/sql_table.cc:13186
|
#14 0x0000586901cfa628 in mysql_alter_table (thd=thd@entry=0x738bf8000c68, new_db=new_db@entry=0x738bf8005958, new_name=new_name@entry=0x738bf8005de0, create_info=create_info@entry=0x738ce254dca8, table_list=0x738bf80133d8, recreate_info=recreate_info@entry=0x738ce254d3f0, alter_info=0x738ce254db38, order_num=0, order=0x0, ignore=<optimized out>, if_exists=<optimized out>) at /test/11.8-es_opt/sql/sql_table.cc:12096
|
#15 0x0000586901d6c7e4 in Sql_cmd_alter_table::execute (this=<optimized out>, thd=0x738bf8000c68) at /test/11.8-es_opt/sql/sql_alter.cc:711
|
#16 0x0000586901c4849e in mysql_execute_command (thd=thd@entry=0x738bf8000c68, is_called_from_prepared_stmt=false)at /test/11.8-es_opt/sql/sql_parse.cc:5920
|
#17 0x0000586901c43b7d in mysql_parse (thd=thd@entry=0x738bf8000c68, rawbuf=<optimized out>, length=<optimized out>, parser_state=parser_state@entry=0x738ce254e4f0)at /test/11.8-es_opt/sql/sql_parse.cc:7983
|
#18 0x0000586901c4223f in dispatch_command (command=command@entry=COM_QUERY, thd=thd@entry=0x738bf8000c68, packet=packet@entry=0x738bf8008bd9 "", packet_length=packet_length@entry=46, blocking=true)at /test/11.8-es_opt/sql/sql_parse.cc:1931
|
#19 0x0000586901c44000 in do_command (thd=thd@entry=0x738bf8000c68, blocking=true) at /test/11.8-es_opt/sql/sql_parse.cc:1439
|
#20 0x0000586901d660dd in do_handle_one_connection (connect=<optimized out>, connect@entry=0x5869386cf098, put_in_cache=true)at /test/11.8-es_opt/sql/sql_connect.cc:1515
|
#21 0x0000586901d65f02 in handle_one_connection (arg=arg@entry=0x5869386cf098)at /test/11.8-es_opt/sql/sql_connect.cc:1427
|
#22 0x00005869020e0aa3 in pfs_spawn_thread (arg=0x5869386cf108)at /test/11.8-es_opt/storage/perfschema/pfs.cc:2198
|
#23 0x0000738ce8e9cb64 in start_thread (arg=<optimized out>)at ./nptl/pthread_create.c:447
|
#24 0x0000738ce8f29e8c in clone3 ()at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78
|
|
ES 12.3.4-2 167b8d5c73897dfb38cc959dafadaeac5068734f (Optimized, Clang 22.1.8-20260621) Build 10/11/2026 |
Core was generated by `/test/EMD101126-mariadb-12.3.4-2-linux-x86_64-opt/bin/mariadbd --defaults-group'.
|
Program terminated with signal SIGSEGV, Segmentation fault.
|
#0 0x000072975fad093c in myrocks::Rdb_key_def::pack_with_make_sort_key (fpi=<optimized out>, field=0x72967c129a30, buf=<optimized out>, dst=0x7297640c1468, pack_ctx=<optimized out>)at /test/12.3-es_opt/storage/rocksdb/rdb_datadic.cc:1503
|
 |
[Current thread is 1 (LWP 328532)]
|
(gdb) bt
|
#0 0x000072975fad093c in myrocks::Rdb_key_def::pack_with_make_sort_key (fpi=<optimized out>, field=0x72967c129a30, buf=<optimized out>, dst=0x7297640c1468, pack_ctx=<optimized out>)at /test/12.3-es_opt/storage/rocksdb/rdb_datadic.cc:1503
|
#1 0x000072975facfd38 in myrocks::Rdb_key_def::pack_field (this=0x72967c028130, field=0x72967c129a30, tuple=0x72967c028a7a "", packed_tuple=0x72967c028a70 "", pack_buffer=0x72967c12ac30 "", unpack_info=0x0, pack_info=<optimized out>, n_null_fields=<optimized out>)at /test/12.3-es_opt/storage/rocksdb/rdb_datadic.cc:1238
|
#2 myrocks::Rdb_key_def::pack_record (this=this@entry=0x72967c028130, tbl=tbl@entry=0x72967c0202b0, pack_buffer=pack_buffer@entry=0x72967c12ac30 "", record=record@entry=0x72967c12ad30 "", packed_tuple=packed_tuple@entry=0x72967c028a70 "", unpack_info=unpack_info@entry=0x0, should_store_row_debug_checksums=<optimized out>, hidden_pk_id=0, n_key_parts=<optimized out>, n_null_fields=0x0, ttl_bytes=0x0)at /test/12.3-es_opt/storage/rocksdb/rdb_datadic.cc:1386
|
#3 0x000072975facf665 in myrocks::Rdb_key_def::pack_index_tuple (this=this@entry=0x72967c028130, tbl=0x72967c0202b0, pack_buffer=0x72967c12ac30 "", packed_tuple=0x72967c028a70 "", record_buffer=0x72967c12ad30 "", key_tuple=key_tuple@entry=0x72967c12bb80 "", keypart_map=@0x7297640c15ec: 3)at /test/12.3-es_opt/storage/rocksdb/rdb_datadic.cc:1019
|
#4 0x000072975fa86be1 in myrocks::ha_rocksdb::index_read_map_impl (this=0x72967c0267b0, buf=0x72967c027850 "\376\001", key=0x72967c12bb80 "", keypart_map=3, find_flag=HA_READ_KEY_EXACT, end_key=0x0)at /test/12.3-es_opt/storage/rocksdb/ha_rocksdb.cc:8566
|
#5 0x00005fc8466a6202 in handler::ha_index_read_map (this=0x72967c0267b0, buf=buf@entry=0x72967c027850 "\376\001", key=<optimized out>, keypart_map=<optimized out>, find_flag=<optimized out>)at /test/12.3-es_opt/sql/handler.cc:4202
|
#6 0x00005fc8468ea282 in ha_partition::handle_unordered_scan_next_partition (this=0x72967c025eb0, buf=0x72967c027850 "\376\001", is_last_or_prev=false)at /test/12.3-es_opt/sql/ha_partition.cc:8064
|
#7 0x00005fc8466a6202 in handler::ha_index_read_map (this=0x72967c025eb0, buf=0x72967c027850 "\376\001", key=<optimized out>, keypart_map=<optimized out>, find_flag=<optimized out>)at /test/12.3-es_opt/sql/handler.cc:4202
|
#8 0x00005fc8467ecfff in Rows_log_event::find_row (this=this@entry=0x72967c12e5a0, rgi=rgi@entry=0x7297640c2410, do_compare_records=@0x7297640c1825: false)at /test/12.3-es_opt/sql/log_event_server.cc:8606
|
#9 0x00005fc8467ee19f in Update_rows_log_event::do_exec_row (this=0x72967c12e5a0, rgi=0x7297640c2410)at /test/12.3-es_opt/sql/log_event_server.cc:9098
|
#10 0x00005fc8467e7720 in Rows_log_event::do_apply_event (this=0x72967c12e5a0, rgi=0x7297640c2410) at /test/12.3-es_opt/sql/log_event_server.cc:5494
|
#11 0x00005fc8467db8a4 in Log_event::apply_event (this=this@entry=0x72967c12e5a0, rgi=rgi@entry=0x7297640c2410)at /test/12.3-es_opt/sql/log_event.cc:4424
|
#12 0x00005fc8464ea81f in online_alter_read_from_binlog (thd=thd@entry=0x72967c000c70, rgi=rgi@entry=0x7297640c2410, log=log@entry=0x72967c12fb90, found_rows=found_rows@entry=0x7297640c1bc0)at /test/12.3-es_opt/sql/sql_table.cc:12678
|
#13 0x00005fc8464e5e05 in copy_data_between_tables (thd=thd@entry=0x72967c000c70, from=from@entry=0x729678155640, to=to@entry=0x72967c0202b0, ignore=<optimized out>, order_num=<optimized out>, order=<optimized out>, copied=0x7297640c31c8, deleted=0x7297640c31d0, alter_info=0x7297640c5b10, alter_ctx=0x7297640c3bc0, online=true, start_alter_id=0)at /test/12.3-es_opt/sql/sql_table.cc:13300
|
#14 0x00005fc8464df1e5 in mysql_alter_table (thd=thd@entry=0x72967c000c70, new_db=new_db@entry=0x72967c005b00, new_name=new_name@entry=0x72967c005f98, create_info=create_info@entry=0x7297640c5c88, table_list=0x72967c0138d0, recreate_info=recreate_info@entry=0x7297640c53a0, alter_info=0x7297640c5b10, order_num=0, order=0x0, ignore=<optimized out>, if_exists=<optimized out>) at /test/12.3-es_opt/sql/sql_table.cc:12117
|
#15 0x00005fc846554d7b in Sql_cmd_alter_table::execute (this=<optimized out>, thd=0x72967c000c70) at /test/12.3-es_opt/sql/sql_alter.cc:705
|
#16 0x00005fc846429a92 in mysql_execute_command (thd=thd@entry=0x72967c000c70, is_called_from_prepared_stmt=false)at /test/12.3-es_opt/sql/sql_parse.cc:5909
|
#17 0x00005fc8464250cd in mysql_parse (thd=thd@entry=0x72967c000c70, rawbuf=<optimized out>, length=<optimized out>, parser_state=parser_state@entry=0x7297640c64d0)at /test/12.3-es_opt/sql/sql_parse.cc:7982
|
#18 0x00005fc846423887 in dispatch_command (command=command@entry=COM_QUERY, thd=thd@entry=0x72967c000c70, packet=packet@entry=0x72967c009081 "", packet_length=packet_length@entry=46, blocking=true)at /test/12.3-es_opt/sql/sql_parse.cc:1911
|
#19 0x00005fc846425550 in do_command (thd=thd@entry=0x72967c000c70, blocking=true) at /test/12.3-es_opt/sql/sql_parse.cc:1444
|
#20 0x00005fc84654e64d in do_handle_one_connection (connect=<optimized out>, connect@entry=0x5fc8550a93e0, put_in_cache=true)at /test/12.3-es_opt/sql/sql_connect.cc:1515
|
#21 0x00005fc84654e472 in handle_one_connection (arg=arg@entry=0x5fc8550a93e0)at /test/12.3-es_opt/sql/sql_connect.cc:1427
|
#22 0x00005fc8468f5183 in pfs_spawn_thread (arg=0x5fc854cd9e20)at /test/12.3-es_opt/storage/perfschema/pfs.cc:2198
|
#23 0x0000729769c9cb64 in start_thread (arg=<optimized out>)at ./nptl/pthread_create.c:447
|
#24 0x0000729769d29e8c 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 101126 40e829509c789d7ae404000c81303ffa735f59f1 No bug found
|
CS 10.11 opt 101126 40e829509c789d7ae404000c81303ffa735f59f1 No bug found
|
CS 11.4 dbg 101126 707efb615611d7d56153cee6747d060ab91bf8a3 SIGSEGV|myrocks::Rdb_field_packing::get_field_in_table|myrocks::Rdb_key_def::pack_record|myrocks::Rdb_key_def::pack_index_tuple|myrocks::ha_rocksdb::index_read_map_impl
|
CS 11.4 opt 101126 707efb615611d7d56153cee6747d060ab91bf8a3 SIGSEGV|myrocks::Rdb_key_def::pack_with_make_sort_key|myrocks::Rdb_key_def::pack_field|myrocks::Rdb_key_def::pack_record|myrocks::Rdb_key_def::pack_index_tuple
|
CS 11.8 dbg 101126 e1b4f63b099fad09649878e168f110a18253e68a field != nullptr|SIGABRT|myrocks::Rdb_key_def::pack_record|myrocks::Rdb_key_def::pack_index_tuple|myrocks::ha_rocksdb::index_read_map_impl|myrocks::ha_rocksdb::index_read_map
|
CS 11.8 opt 101126 e1b4f63b099fad09649878e168f110a18253e68a SIGSEGV|myrocks::Rdb_key_def::pack_with_make_sort_key|myrocks::Rdb_key_def::pack_field|myrocks::Rdb_key_def::pack_record|myrocks::Rdb_key_def::pack_index_tuple
|
CS 12.3 dbg 101126 691265a82e526e336e56c32fc8a98a74eea544f7 field != nullptr|SIGABRT|myrocks::Rdb_key_def::pack_record|myrocks::Rdb_key_def::pack_index_tuple|myrocks::ha_rocksdb::index_read_map_impl|myrocks::ha_rocksdb::index_read_map
|
CS 12.3 opt 101126 691265a82e526e336e56c32fc8a98a74eea544f7 SIGSEGV|myrocks::Rdb_key_def::pack_with_make_sort_key|myrocks::Rdb_key_def::pack_field|myrocks::Rdb_key_def::pack_record|myrocks::Rdb_key_def::pack_index_tuple
|
CS 13.0 dbg 101126 620a4b5624222048fece7fe1789978ae0675cae2 field != nullptr|SIGABRT|myrocks::Rdb_key_def::pack_record|myrocks::Rdb_key_def::pack_index_tuple|myrocks::ha_rocksdb::index_read_map_impl|myrocks::ha_rocksdb::index_read_map
|
CS 13.0 opt 101126 620a4b5624222048fece7fe1789978ae0675cae2 SIGSEGV|myrocks::Rdb_key_def::pack_record|myrocks::Rdb_key_def::pack_index_tuple|myrocks::ha_rocksdb::index_read_map_impl|handler::ha_index_read_map
|
CS 13.2 dbg 101126 fb47ec835c4e48c181b5e4402dc3846b65496240 field != nullptr|SIGABRT|myrocks::Rdb_key_def::pack_record|myrocks::Rdb_key_def::pack_index_tuple|myrocks::ha_rocksdb::index_read_map_impl|myrocks::ha_rocksdb::index_read_map
|
CS 13.2 opt 101126 fb47ec835c4e48c181b5e4402dc3846b65496240 SIGSEGV|myrocks::Rdb_key_def::pack_record|myrocks::Rdb_key_def::pack_index_tuple|myrocks::ha_rocksdb::index_read_map_impl|handler::ha_index_read_map
|
ES 10.6 dbg 101126 228f96588d91fcec8428b5d7f6c53627ef93b48a No bug found
|
ES 10.6 opt 101126 228f96588d91fcec8428b5d7f6c53627ef93b48a No bug found
|
ES 11.4 dbg 101126 d39d6bbe10b7c9401ac02eb82668dbccd04d41ba SIGSEGV|myrocks::Rdb_field_packing::get_field_in_table|myrocks::Rdb_key_def::pack_record|myrocks::Rdb_key_def::pack_index_tuple|myrocks::ha_rocksdb::index_read_map_impl
|
ES 11.4 opt 101126 d39d6bbe10b7c9401ac02eb82668dbccd04d41ba SIGSEGV|myrocks::Rdb_key_def::pack_record|myrocks::Rdb_key_def::pack_index_tuple|myrocks::ha_rocksdb::index_read_map_impl|handler::ha_index_read_map
|
ES 11.8 dbg 101126 fb7fd3f6cda7a76e93fb0d4ebf97b1ad1ebfb823 field != nullptr|SIGABRT|myrocks::Rdb_key_def::pack_record|myrocks::Rdb_key_def::pack_index_tuple|myrocks::ha_rocksdb::index_read_map_impl|myrocks::ha_rocksdb::index_read_map
|
ES 11.8 opt 101126 fb7fd3f6cda7a76e93fb0d4ebf97b1ad1ebfb823 SIGSEGV|Field::is_real_null|myrocks::Rdb_key_def::pack_field|myrocks::Rdb_key_def::pack_record|myrocks::Rdb_key_def::pack_index_tuple
|
ES 12.3 dbg 101126 167b8d5c73897dfb38cc959dafadaeac5068734f field != nullptr|SIGABRT|myrocks::Rdb_key_def::pack_record|myrocks::Rdb_key_def::pack_index_tuple|myrocks::ha_rocksdb::index_read_map_impl|myrocks::ha_rocksdb::index_read_map
|
ES 12.3 opt 101126 167b8d5c73897dfb38cc959dafadaeac5068734f SIGSEGV|myrocks::Rdb_key_def::pack_with_make_sort_key|myrocks::Rdb_key_def::pack_field|myrocks::Rdb_key_def::pack_record|myrocks::Rdb_key_def::pack_index_tuple
|