Details
-
Bug
-
Status: Open (View Workflow)
-
Major
-
Resolution: Unresolved
-
None
-
Can result in hang or crash
Description
This Assertion was found while testing MDEV-37949
|
origin/MDEV-37949 d9664ddec78e23d517887df6311204bd00044240 |
# 2026-03-02T14:24:39 [2121185] | mariadbd: /data/Server/MDEV-37949B/storage/innobase/row/row0sel.cc:3058: ulint row_sel_store_mysql_field(byte*, row_prebuilt_t*, const rec_t*, const dict_index_t*, const rec_offs*, ulint, const mysql_row_templ_t*): Assertion `templ->mysql_null_bit_mask' failed.
|
|
StackTrace and RR trace info |
Thread 2 received signal SIGABRT, Aborted.
|
[Switching to Thread 2308252.2313033]
|
Download failed: Invalid argument. Continuing without source file ./nptl/./nptl/pthread_kill.c.
|
__pthread_kill_implementation (no_tid=0, signo=6, threadid=<optimized out>) at ./nptl/pthread_kill.c:44
|
warning: 44 ./nptl/pthread_kill.c: No such file or directory
|
(rr) 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 0x00003af117de726e in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
|
#4 0x00003af117dca8ff in __GI_abort () at ./stdlib/abort.c:79
|
#5 0x00003af117dca81b in __assert_fail_base (fmt=0x3af117f721e8 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=assertion@entry=0x62e0164ed220 "templ->mysql_null_bit_mask",
|
file=file@entry=0x62e01643a990 "/data/Server/MDEV-37949B/storage/innobase/row/row0sel.cc", line=line@entry=3058,
|
function=function@entry=0x62e01643b600 "ulint row_sel_store_mysql_field(byte*, row_prebuilt_t*, const rec_t*, const dict_index_t*, const rec_offs*, ulint, const mysql_row_templ_t*)") at ./assert/assert.c:94
|
#6 0x00003af117ddd507 in __assert_fail (assertion=0x62e0164ed220 "templ->mysql_null_bit_mask", file=0x62e01643a990 "/data/Server/MDEV-37949B/storage/innobase/row/row0sel.cc", line=3058,
|
function=0x62e01643b600 "ulint row_sel_store_mysql_field(byte*, row_prebuilt_t*, const rec_t*, const dict_index_t*, const rec_offs*, ulint, const mysql_row_templ_t*)") at ./assert/assert.c:103
|
#7 0x000062e01608d98b in row_sel_store_mysql_field (mysql_rec=mysql_rec@entry=0x62e01094a440 "\330s\002", prebuilt=prebuilt@entry=0x62e010951d30, rec=rec@entry=0x43b6569c1d7c "", index=index@entry=0x62e010950350,
|
offsets=offsets@entry=0x4c5b67aa2300, field_no=3, templ=0x62e010c261a0) at /data/Server/MDEV-37949B/storage/innobase/row/row0sel.cc:3058
|
#8 0x000062e01608dca2 in row_sel_store_mysql_rec (mysql_rec=mysql_rec@entry=0x62e01094a440 "\330s\002", prebuilt=prebuilt@entry=0x62e010951d30, rec=0x43b6569c1d7c "", vrow=0x0, rec_clust=false, index=0x62e010950350, offsets=0x4c5b67aa2300)
|
at /data/Server/MDEV-37949B/storage/innobase/row/row0sel.cc:3239
|
#9 0x000062e016095c17 in row_search_mvcc (buf=buf@entry=0x62e01094a440 "\330s\002", mode=<optimized out>, mode@entry=PAGE_CUR_UNSUPP, prebuilt=0x62e010951d30, match_mode=match_mode@entry=0, direction=direction@entry=1)
|
at /data/Server/MDEV-37949B/storage/innobase/row/row0sel.cc:5710
|
#10 0x000062e015f1de33 in ha_innobase::general_fetch (this=0x62e010949c28, buf=0x62e01094a440 "\330s\002", direction=direction@entry=1, match_mode=match_mode@entry=0) at /data/Server/MDEV-37949B/storage/innobase/handler/ha_innodb.cc:9276
|
#11 0x000062e015f23d94 in ha_innobase::rnd_next (this=0x62e010949c28, buf=<optimized out>) at /data/Server/MDEV-37949B/storage/innobase/handler/ha_innodb.cc:9484
|
#12 0x000062e015cee71d in handler::ha_rnd_next (this=this@entry=0x62e010949c28, buf=0x62e01094a440 "\330s\002") at /data/Server/MDEV-37949B/sql/handler.cc:3781
|
#13 0x000062e015ceec66 in handler::calculate_checksum (this=0x62e010949c28) at /data/Server/MDEV-37949B/sql/handler.cc:6231
|
#14 0x000062e015b14593 in mysql_checksum_table (thd=thd@entry=0x62e010000d58, tables=tables@entry=0x62e01041a200, check_opt=check_opt@entry=0x62e010006358) at /data/Server/MDEV-37949B/sql/sql_table.cc:13098
|
#15 0x000062e015a5d267 in mysql_execute_command (thd=thd@entry=0x62e010000d58, is_called_from_prepared_stmt=is_called_from_prepared_stmt@entry=false) at /data/Server/MDEV-37949B/sql/sql_parse.cc:4450
|
#16 0x000062e015a61daf in mysql_parse (thd=thd@entry=0x62e010000d58, rawbuf=<optimized out>, length=<optimized out>, parser_state=parser_state@entry=0x4c5b67aa3400) at /data/Server/MDEV-37949B/sql/sql_parse.cc:7945
|
#17 0x000062e015a63492 in dispatch_command (command=command@entry=COM_QUERY, thd=thd@entry=0x62e010000d58, packet=packet@entry=0x62e01000b069 "", packet_length=packet_length@entry=88, blocking=blocking@entry=true)
|
at /data/Server/MDEV-37949B/sql/sql_parse.cc:1925
|
#18 0x000062e015a649df in do_command (thd=thd@entry=0x62e010000d58, blocking=blocking@entry=true) at /data/Server/MDEV-37949B/sql/sql_parse.cc:1433
|
#19 0x000062e015b90329 in do_handle_one_connection (connect=<optimized out>, connect@entry=0x62e018e7f448, put_in_cache=put_in_cache@entry=true) at /data/Server/MDEV-37949B/sql/sql_connect.cc:1497
|
#20 0x000062e015b9053a in handle_one_connection (arg=0x62e018e7f448) at /data/Server/MDEV-37949B/sql/sql_connect.cc:1409
|
#21 0x00003af117e3ea94 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:447
|
#22 0x00003af117ecba34 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:100
|
|
|
|
|
(rr) frame 7
|
#7 0x000062e01608d98b in row_sel_store_mysql_field (mysql_rec=mysql_rec@entry=0x62e01094a440 "\330s\002", prebuilt=prebuilt@entry=0x62e010951d30, rec=rec@entry=0x43b6569c1d7c "", index=index@entry=0x62e010950350,
|
offsets=offsets@entry=0x4c5b67aa2300, field_no=3, templ=0x62e010c261a0) at /data/Server/MDEV-37949B/storage/innobase/row/row0sel.cc:3058
|
3058 ut_ad(templ->mysql_null_bit_mask);
|
(rr) p *templ
|
$3 = {col_no = 0, rec_field_no = 3, rec_field_is_prefix = 0, rec_prefix_field_no = 18446744073709551615, clust_rec_field_no = 3, icp_rec_field_no = 2, mysql_col_offset = 1, mysql_col_len = 4, mysql_null_byte_offset = 10344644715844964239,
|
mysql_null_bit_mask = 0, type = 6, mysql_type = 3, mysql_length_bytes = 0, charset = 0, mbminlen = 0, mbmaxlen = 0, is_unsigned = 0, is_virtual = 0}
|
(rr) p templ->mysql_null_bit_mask
|
$4 = 0
|
(rr) p prebuilt->mysql_template
|
$5 = (mysql_row_templ_t *) 0x62e010c261a0
|
(rr) p index->table->name
|
$6 = {m_name = 0x62e010422800 "test/t4"}
|
(rr) p index->name
|
$7 = {m_name = 0x62e010950470 "GEN_CLUST_INDEX"}
|
(rr) p dict_index_get_n_fields(index)
|
$8 = 12
|
|
RQG startup options |
# $RQG_HOME/rqg.pl \
|
# --gendata=conf/mariadb/table_stress.zz \
|
# --gendata_sql=conf/mariadb/table_stress.sql \
|
# --grammar=conf/mariadb/table_stress_innodb.yy \
|
# --redefine=conf/mariadb/redefine_innodb_log_archive.yy \
|
# --mysqld=--loose-innodb_log_archive=ON \
|
# --mysqld=--loose-innodb_log_file_size=8M \
|
# --mysqld=--loose-innodb_log_file_mmap=OFF \
|
# --reporters=LogArchiveRecovery \
|
# --mysqld=--loose-innodb_lock_schedule_algorithm=fcfs \
|
# --mysqld=--loose-idle_write_transaction_timeout=0 \
|
# --mysqld=--loose-idle_transaction_timeout=0 \
|
# --mysqld=--loose-idle_readonly_transaction_timeout=0 \
|
# --mysqld=--connect_timeout=60 \
|
# --mysqld=--interactive_timeout=28800 \
|
# --mysqld=--slave_net_timeout=60 \
|
# --mysqld=--net_read_timeout=30 \
|
# --mysqld=--net_write_timeout=60 \
|
# --mysqld=--loose-table_lock_wait_timeout=50 \
|
# --mysqld=--wait_timeout=28800 \
|
# --no_mask \
|
# --queries=10000000 \
|
# --seed=random \
|
# --reporters=None \
|
# --reporters=ErrorLog \
|
# --reporters=Deadlock \
|
# --validators=None \
|
# --mysqld=--log_output=none \
|
# --mysqld=--log_bin_trust_function_creators=1 \
|
# --mysqld=--loose-debug_assert_on_not_freed_memory=0 \
|
# --engine=InnoDB \
|
# --restart_timeout=240 \
|
# --mysqld=--plugin-load-add=file_key_management.so \
|
# --mysqld=--loose-file-key-management-filename=$RQG_HOME/conf/mariadb/encryption_keys.txt \
|
# --mysqld=--plugin-load-add=provider_lzo.so \
|
# --mysqld=--plugin-load-add=provider_bzip2.so \
|
# --mysqld=--plugin-load-add=provider_lzma.so \
|
# --mysqld=--plugin-load-add=provider_snappy.so \
|
# --mysqld=--plugin-load-add=provider_lz4.so \
|
# --mysqld=--loose-innodb_compression_level=1 \
|
# --duration=300 \
|
# --mysqld=--loose-innodb_fatal_semaphore_wait_threshold=300 \
|
# --redefine=conf/mariadb/redefine_innodb_log_size_dynamic.yy \
|
# --mysqld=--lock-wait-timeout=15 \
|
# --mysqld=--innodb-lock-wait-timeout=10 \
|
# --mysqld=--sql_mode=STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION \
|
# --mysqld=--innodb_file_per_table=0 \
|
# --mysqld=--loose-innodb_read_only_compressed=OFF \
|
# --mysqld=--innodb_stats_persistent=on \
|
# --mysqld=--innodb_adaptive_hash_index=on \
|
# --mysqld=--innodb_random_read_ahead=OFF \
|
# --mysqld=--loose-innodb_evict_tables_on_commit_debug=off \
|
# --threads=1 \
|
# --rr=Extended \
|
# --rr_options=--chaos --wait \
|
# --mysqld=--innodb_undo_log_truncate=OFF \
|
# --mysqld=--innodb_rollback_on_timeout=OFF \
|
# --mysqld=--innodb_page_size=8K \
|
# --mysqld=--innodb-buffer-pool-size=8M \
|
# --vardir_type=slow \
|
# --no_mask \
|
# --batch \
|
# --basedir1=/Server_bin/MDEV-37949B_debug_Og \
|
# --basedir2=/Server_bin/MDEV-37949B_debug_Og \
|
# --script_debug=_nix_ \
|
# --major_runid=1772479413 \
|
# --minor_runid=29
|
RR trace localtion on SDP:-
/data/results/1772479413/TBR-2376