Details
-
Bug
-
Status: Open (View Workflow)
-
Major
-
Resolution: Unresolved
-
None
-
None
-
Can result in hang or crash
Description
Please check if this asssertion is related to MDEV-28730
|
origin/main-MDEV-28730 734db1ee6dbd2b248827e5c8953ef3a3d0185aaa |
# 2026-05-14T14:34:41 [1226396] | mariadbd: /data/Server/MDEV-28730_new/storage/innobase/page/page0cur.cc:87: int cmp_dtuple_rec_bytes(const rec_t*, const dict_index_t&, const dtuple_t&, int*, ulint): Assertion `page_rec_is_leaf(rec)' failed.
|
|
StackTrace |
# 2026-05-14T14:35:55 [1226396] | #0 __pthread_kill_implementation (no_tid=0, signo=6, threadid=<optimized out>) at ./nptl/pthread_kill.c:44
|
# 2026-05-14T14:35:55 [1226396] | #1 __pthread_kill_internal (signo=6, threadid=<optimized out>) at ./nptl/pthread_kill.c:78
|
# 2026-05-14T14:35:55 [1226396] | #2 __GI___pthread_kill (threadid=<optimized out>, signo=signo@entry=6) at ./nptl/pthread_kill.c:89
|
# 2026-05-14T14:35:55 [1226396] | #3 0x00007e53e004526e in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
|
# 2026-05-14T14:35:55 [1226396] | #4 0x00007e53e00288ff in __GI_abort () at ./stdlib/abort.c:79
|
# 2026-05-14T14:35:55 [1226396] | #5 0x00007e53e002881b in __assert_fail_base (fmt=0x7e53e01d01e8 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=assertion@entry=0x6543bfaeb89b "page_rec_is_leaf(rec)", file=file@entry=0x6543bfa168a0 "/data/Server/MDEV-28730_new/storage/innobase/page/page0cur.cc", line=line@entry=87, function=function@entry=0x6543bfa16e80 "int cmp_dtuple_rec_bytes(const rec_t*, const dict_index_t&, const dtuple_t&, int*, ulint)") at ./assert/assert.c:94
|
# 2026-05-14T14:35:55 [1226396] | #6 0x00007e53e003b507 in __assert_fail (assertion=0x6543bfaeb89b "page_rec_is_leaf(rec)", file=0x6543bfa168a0 "/data/Server/MDEV-28730_new/storage/innobase/page/page0cur.cc", line=87, function=0x6543bfa16e80 "int cmp_dtuple_rec_bytes(const rec_t*, const dict_index_t&, const dtuple_t&, int*, ulint)") at ./assert/assert.c:103
|
# 2026-05-14T14:35:55 [1226396] | #7 0x00006543bf55f9fc in cmp_dtuple_rec_bytes (rec=rec@entry=0x7653a40ea910 "hey", index=..., tuple=..., match=match@entry=0x7e53dd566608, comp=1) at /data/Server/MDEV-28730_new/storage/innobase/page/page0cur.cc:87
|
# 2026-05-14T14:35:55 [1226396] | #8 0x00006543bf73973f in AuxRecordReader::compare_record (this=0x7e53dd567020, search_tuple=<optimized out>, rec=0x7653a40ea910 "hey", index=<optimized out>, offsets=0x7e53dd5667a0) at /data/Server/MDEV-28730_new/storage/innobase/fts/fts0exec.cc:750
|
# 2026-05-14T14:35:55 [1226396] | #9 0x00006543bf4e4a58 in AuxRecordReader::make_comparator()::{lambda(dtuple_t const*, unsigned char const*, dict_index_t const*, unsigned short const*)#1}::operator()(dtuple_t const*, unsigned char const*, dict_index_t const*, unsigned short const*) const (offsets=<optimized out>, index=<optimized out>, rec=<optimized out>, search_tuple=<optimized out>, __closure=<optimized out>) at /data/Server/MDEV-28730_new/storage/innobase/include/fts0exec.h:365
|
# 2026-05-14T14:35:55 [1226396] | #10 std::__invoke_impl<RecordCompareAction, AuxRecordReader::make_comparator()::{lambda(dtuple_t const*, unsigned char const*, dict_index_t const*, unsigned short const*)#1}&, dtuple_t const*, unsigned char const*, dict_index_t const*, unsigned short const*>(std::__invoke_other, AuxRecordReader::make_comparator()::{lambda(dtuple_t const*, unsigned char const*, dict_index_t const*, unsigned short const*)#1}&, dtuple_t const*&&, unsigned char const*&&, dict_index_t const*&&, unsigned short const*&&) (__f=...) at /usr/include/c++/13/bits/invoke.h:61
|
# 2026-05-14T14:35:55 [1226396] | #11 std::__invoke_r<RecordCompareAction, AuxRecordReader::make_comparator()::{lambda(dtuple_t const*, unsigned char const*, dict_index_t const*, unsigned short const*)#1}&, dtuple_t const*, unsigned char const*, dict_index_t const*, unsigned short const*>(AuxRecordReader::make_comparator()::{lambda(dtuple_t const*, unsigned char const*, dict_index_t const*, unsigned short const*)#1}&, dtuple_t const*&&, unsigned char const*&&, dict_index_t const*&&, unsigned short const*&&) (__fn=...) at /usr/include/c++/13/bits/invoke.h:114
|
# 2026-05-14T14:35:55 [1226396] | #12 std::_Function_handler<RecordCompareAction (dtuple_t const*, unsigned char const*, dict_index_t const*, unsigned short const*), AuxRecordReader::make_comparator()::{lambda(dtuple_t const*, unsigned char const*, dict_index_t const*, unsigned short const*)#1}>::_M_invoke(std::_Any_data const&, dtuple_t const*&&, unsigned char const*&&, dict_index_t const*&&, unsigned short const*&&) (__functor=..., __args#0=<optimized out>, __args#1=<optimized out>, __args#2=<optimized out>, __args#3=<optimized out>) at /usr/include/c++/13/bits/std_function.h:290
|
# 2026-05-14T14:35:55 [1226396] | #13 0x00006543bf5fe003 in std::function<RecordCompareAction (dtuple_t const*, unsigned char const*, dict_index_t const*, unsigned short const*)>::operator()(dtuple_t const*, unsigned char const*, dict_index_t const*, unsigned short const*) const (this=this@entry=0x7e53dd567048, __args#0=<optimized out>, __args#1=<optimized out>, __args#1@entry=0x7653a40ea910 "hey", __args#2=<optimized out>, __args#2@entry=0x6543c33af388, __args#3=<optimized out>, __args#3@entry=0x7e53dd5667a0) at /usr/include/c++/13/bits/std_function.h:591
|
# 2026-05-14T14:35:55 [1226396] | #14 0x00006543bf5fe077 in InnoDBPolicy<false, true>::output_record (callback=callback@entry=0x7e53dd567020, prebuilt=prebuilt@entry=0x7653a40532e8, rec=rec@entry=0x7653a40ea910 "hey", index=0x6543c33af388, offsets=0x7e53dd5667a0) at /data/Server/MDEV-28730_new/storage/innobase/row/row0sel.cc:4383
|
# 2026-05-14T14:35:55 [1226396] | #15 0x00006543bf60572e in row_search_mvcc<InnoDBPolicy<false, true> > (buf=buf@entry=0x7e53dd567020 "H\275!\300Ce", mode=<optimized out>, mode@entry=PAGE_CUR_GE, prebuilt=0x7653a40532e8, match_mode=match_mode@entry=0, direction=direction@entry=0) at /data/Server/MDEV-28730_new/storage/innobase/row/row0sel.cc:5893
|
# 2026-05-14T14:35:55 [1226396] | #16 0x00006543bf7682a8 in row_search_mvcc_callback (direction=0, match_mode=0, prebuilt=<optimized out>, mode=PAGE_CUR_GE, callback=0x7e53dd567020) at /data/Server/MDEV-28730_new/storage/innobase/include/row0sel.h:180
|
# 2026-05-14T14:35:55 [1226396] | #17 QueryExecutor::read_by_index (this=this@entry=0x7e53dd567320, table=table@entry=0x6543c33ae808, index=index@entry=0x6543c33af388, search_tuple=0x7653a4401028, mode=PAGE_CUR_GE, callback=..., read_all=true) at /data/Server/MDEV-28730_new/storage/innobase/row/row0query.cc:462
|
# 2026-05-14T14:35:55 [1226396] | #18 0x00006543bf73b4e4 in FTSQueryExecutor::read_aux (this=this@entry=0x7e53dd567320, aux_index=aux_index@entry=2 '\002', start_word=start_word@entry=0x7e53dd567120, callback=...) at /data/Server/MDEV-28730_new/storage/innobase/fts/fts0exec.cc:881
|
# 2026-05-14T14:35:55 [1226396] | #19 0x00006543bf73e2ff in fts_index_fetch_words (executor=executor@entry=0x7e53dd567320, optim=optim@entry=0x7653a42911d8, word=word@entry=0x7e53dd567120, n_words=2000) at /data/Server/MDEV-28730_new/storage/innobase/fts/fts0opt.cc:602
|
# 2026-05-14T14:35:55 [1226396] | #20 0x00006543bf73e429 in fts_optimize_index_read_words (executor=executor@entry=0x7e53dd567320, optim=optim@entry=0x7653a42911d8, index=index@entry=0x7653a4116b48, word=word@entry=0x7e53dd567120) at /data/Server/MDEV-28730_new/storage/innobase/fts/fts0opt.cc:1414
|
# 2026-05-14T14:35:55 [1226396] | #21 0x00006543bf73eff1 in fts_optimize_index (executor=executor@entry=0x7e53dd567320, optim=optim@entry=0x7653a42911d8, index=index@entry=0x7653a4116b48) at /data/Server/MDEV-28730_new/storage/innobase/fts/fts0opt.cc:1461
|
# 2026-05-14T14:35:55 [1226396] | #22 0x00006543bf73f209 in fts_optimize_indexes (executor=executor@entry=0x7e53dd567320, optim=optim@entry=0x7653a42911d8) at /data/Server/MDEV-28730_new/storage/innobase/fts/fts0opt.cc:1655
|
# 2026-05-14T14:35:55 [1226396] | #23 0x00006543bf73f40b in fts_optimize_table (table=0x7653a409b778, thd=thd@entry=0x7653a4000f98) at /data/Server/MDEV-28730_new/storage/innobase/fts/fts0opt.cc:1814
|
# 2026-05-14T14:35:55 [1226396] | #24 0x00006543bf46b14b in ha_innobase::optimize (this=0x7e53d804cbe0, thd=0x7653a4000f98) at /data/Server/MDEV-28730_new/storage/innobase/handler/ha_innodb.cc:15339
|
# 2026-05-14T14:35:55 [1226396] | #25 0x00006543bf1ebd1a in handler::ha_optimize (this=0x7e53d804cbe0, thd=thd@entry=0x7653a4000f98, check_opt=check_opt@entry=0x7653a4006870) at /data/Server/MDEV-28730_new/sql/handler.cc:5884
|
# 2026-05-14T14:35:55 [1226396] | #26 0x00006543bf0519f9 in mysql_admin_table (thd=thd@entry=0x7653a4000f98, tables=tables@entry=0x7653a4019a70, check_opt=check_opt@entry=0x7653a4006870, operator_name=operator_name@entry=0x6543c0209980 <msg_optimize>, lock_type=lock_type@entry=TL_WRITE, org_open_for_modify=org_open_for_modify@entry=true, no_errors_from_open=false, extra_open_options=0, prepare_func=0x0, operator_func=<optimized out>, view_operator_func=0x0, is_cmd_replicated=true) at /data/Server/MDEV-28730_new/sql/sql_admin.cc:949
|
# 2026-05-14T14:35:55 [1226396] | #27 0x00006543bf05377e in Sql_cmd_optimize_table::execute (this=<optimized out>, thd=0x7653a4000f98) at /data/Server/MDEV-28730_new/sql/sql_admin.cc:1730
|
# 2026-05-14T14:35:55 [1226396] | #28 0x00006543beedfd94 in mysql_execute_command (thd=thd@entry=0x7653a4000f98, is_called_from_prepared_stmt=is_called_from_prepared_stmt@entry=false) at /data/Server/MDEV-28730_new/sql/sql_parse.cc:5902
|
# 2026-05-14T14:35:55 [1226396] | #29 0x00006543beee0979 in mysql_parse (thd=thd@entry=0x7653a4000f98, rawbuf=<optimized out>, length=<optimized out>, parser_state=parser_state@entry=0x7e53dd5683c0) at /data/Server/MDEV-28730_new/sql/sql_parse.cc:7942
|
# 2026-05-14T14:35:55 [1226396] | #30 0x00006543beee1fcd in dispatch_command (command=command@entry=COM_QUERY, thd=thd@entry=0x7653a4000f98, packet=packet@entry=0x7653a400cce9 "", packet_length=packet_length@entry=81, blocking=blocking@entry=true) at /data/Server/MDEV-28730_new/sql/sql_parse.cc:1898
|
# 2026-05-14T14:35:55 [1226396] | #31 0x00006543beee35d2 in do_command (thd=thd@entry=0x7653a4000f98, blocking=blocking@entry=true) at /data/Server/MDEV-28730_new/sql/sql_parse.cc:1432
|
# 2026-05-14T14:35:55 [1226396] | #32 0x00006543bf03c59d in do_handle_one_connection (connect=<optimized out>, connect@entry=0x6543c32a5158, put_in_cache=put_in_cache@entry=true) at /data/Server/MDEV-28730_new/sql/sql_connect.cc:1503
|
# 2026-05-14T14:35:55 [1226396] | #33 0x00006543bf03c7ba in handle_one_connection (arg=0x6543c32a5158) at /data/Server/MDEV-28730_new/sql/sql_connect.cc:1415
|
# 2026-05-14T14:35:55 [1226396] | #34 0x00007e53e009ca94 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:447
|
# 2026-05-14T14:35:55 [1226396] | #35 0x00007e53e0129a34 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:100
|
|
RQG startup options |
# $RQG_HOME/rqg.pl \
|
# --gendata=conf/engines/innodb/full_text_search.zz \
|
# --max_gd_duration=1200 \
|
# --short_column_names \
|
# --grammar=conf/engines/innodb/full_text_search.yy \
|
# --redefine=conf/mariadb/redefine_fts.yy \
|
# --reporters=CrashRecovery \
|
# --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_write_ahead_size.yy \
|
# --mysqld=--lock-wait-timeout=15 \
|
# --mysqld=--innodb-lock-wait-timeout=10 \
|
# --mysqld=--loose-innodb_fast_shutdown=0 \
|
# --mysqld=--sql_mode=traditional \
|
# --mysqld=--loose-innodb_read_only_compressed=OFF \
|
# --mysqld=--loose-innodb-sync-debug \
|
# --mysqld=--innodb_stats_persistent=off \
|
# --mysqld=--innodb_adaptive_hash_index=off \
|
# --mysqld=--innodb_random_read_ahead=ON \
|
# --mysqld=--log-bin \
|
# --mysqld=--sync-binlog=1 \
|
# --mysqld=--loose-innodb_evict_tables_on_commit_debug=off \
|
# --threads=33 \
|
# --rr=rr record --wait \
|
# --mysqld=--innodb_undo_log_truncate=ON \
|
# --mysqld=--innodb_rollback_on_timeout=ON \
|
# --mysqld=--innodb_page_size=32K \
|
# --mysqld=--innodb-buffer-pool-size=256M \
|
# --vardir_type=fast \
|
# --no_mask \
|
# --batch \
|
# --basedir1=/Server_bin/MDEV-28730_new_debug_Og \
|
# --basedir2=/Server_bin/MDEV-28730_new_debug_Og \
|
# --script_debug=_nix_ \
|
# --major_runid=1778789173 \
|
# --minor_runid=65
|
RR trace is present on SDP :-
/data/results/1778789173/MDEV-28730_02
Attachments
Issue Links
- is caused by
-
MDEV-28730 Remove internal parser usage from InnoDB fts
-
- In Review
-