Details
-
Bug
-
Status: Open (View Workflow)
-
Major
-
Resolution: Unresolved
-
None
-
None
-
Can result in hang or crash
Description
Assertion found during testing MDEV-28730
|
origin/main-MDEV-28730 734db1ee6dbd2b248827e5c8953ef3a3d0185aaa |
# 2026-05-14T14:04:17 [56807] | 2026-05-14 14:04:02 0x2326268766c0 InnoDB: Assertion failure in file /data/Server/MDEV-28730_new/storage/innobase/fts/fts0opt.cc line 1321
|
# 2026-05-14T14:04:17 [56807] | InnoDB: Failing assertion: ib_vector_size(optim->words) > 0
|
|
StackTrace |
# 2026-05-14T14:05:25 [56807] | #0 __pthread_kill_implementation (no_tid=0, signo=6, threadid=<optimized out>) at ./nptl/pthread_kill.c:44
|
# 2026-05-14T14:05:25 [56807] | #1 __pthread_kill_internal (signo=6, threadid=<optimized out>) at ./nptl/pthread_kill.c:78
|
# 2026-05-14T14:05:25 [56807] | #2 __GI___pthread_kill (threadid=<optimized out>, signo=signo@entry=6) at ./nptl/pthread_kill.c:89
|
# 2026-05-14T14:05:25 [56807] | #3 0x000018d30c98526e in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
|
# 2026-05-14T14:05:25 [56807] | #4 0x000018d30c9688ff in __GI_abort () at ./stdlib/abort.c:79
|
# 2026-05-14T14:05:25 [56807] | #5 0x000059d5b3f83b93 in ut_dbg_assertion_failed (expr=expr@entry=0x59d5b43a0f90 "ib_vector_size(optim->words) > 0", file=file@entry=0x59d5b43a09a0 "/data/Server/MDEV-28730_new/storage/innobase/fts/fts0opt.cc", line=line@entry=1321) at /data/Server/MDEV-28730_new/storage/innobase/ut/ut0dbg.cc:60
|
# 2026-05-14T14:05:25 [56807] | #6 0x000059d5b4065e14 in fts_optimize_words (executor=executor@entry=0x232626874320, optim=optim@entry=0x6f3b042cee38, index=index@entry=0x67c61c135598, word=word@entry=0x232626874120) at /data/Server/MDEV-28730_new/storage/innobase/fts/fts0opt.cc:1321
|
# 2026-05-14T14:05:25 [56807] | #7 0x000059d5b4066075 in fts_optimize_index (executor=executor@entry=0x232626874320, optim=optim@entry=0x6f3b042cee38, index=index@entry=0x67c61c135598) at /data/Server/MDEV-28730_new/storage/innobase/fts/fts0opt.cc:1481
|
# 2026-05-14T14:05:25 [56807] | #8 0x000059d5b4066209 in fts_optimize_indexes (executor=executor@entry=0x232626874320, optim=optim@entry=0x6f3b042cee38) at /data/Server/MDEV-28730_new/storage/innobase/fts/fts0opt.cc:1655
|
# 2026-05-14T14:05:25 [56807] | #9 0x000059d5b406640b in fts_optimize_table (table=0x67c61c039568, thd=thd@entry=0x6f3b04000d58) at /data/Server/MDEV-28730_new/storage/innobase/fts/fts0opt.cc:1814
|
# 2026-05-14T14:05:25 [56807] | #10 0x000059d5b3d9214b in ha_innobase::optimize (this=0x6f3b05246300, thd=0x6f3b04000d58) at /data/Server/MDEV-28730_new/storage/innobase/handler/ha_innodb.cc:15339
|
# 2026-05-14T14:05:25 [56807] | #11 0x000059d5b3b12d1a in handler::ha_optimize (this=0x6f3b05246300, thd=thd@entry=0x6f3b04000d58, check_opt=check_opt@entry=0x6f3b04006630) at /data/Server/MDEV-28730_new/sql/handler.cc:5884
|
# 2026-05-14T14:05:25 [56807] | #12 0x000059d5b39789f9 in mysql_admin_table (thd=thd@entry=0x6f3b04000d58, tables=tables@entry=0x6f3b04015e80, check_opt=check_opt@entry=0x6f3b04006630, operator_name=operator_name@entry=0x59d5b4b30980 <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:05:25 [56807] | #13 0x000059d5b397a77e in Sql_cmd_optimize_table::execute (this=<optimized out>, thd=0x6f3b04000d58) at /data/Server/MDEV-28730_new/sql/sql_admin.cc:1730
|
# 2026-05-14T14:05:25 [56807] | #14 0x000059d5b3806d94 in mysql_execute_command (thd=thd@entry=0x6f3b04000d58, 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:05:25 [56807] | #15 0x000059d5b3807979 in mysql_parse (thd=thd@entry=0x6f3b04000d58, rawbuf=<optimized out>, length=<optimized out>, parser_state=parser_state@entry=0x2326268753c0) at /data/Server/MDEV-28730_new/sql/sql_parse.cc:7942
|
# 2026-05-14T14:05:25 [56807] | #16 0x000059d5b3808fcd in dispatch_command (command=command@entry=COM_QUERY, thd=thd@entry=0x6f3b04000d58, packet=packet@entry=0x6f3b0400b5c9 "", packet_length=packet_length@entry=83, blocking=blocking@entry=true) at /data/Server/MDEV-28730_new/sql/sql_parse.cc:1898
|
# 2026-05-14T14:05:25 [56807] | #17 0x000059d5b380a5d2 in do_command (thd=thd@entry=0x6f3b04000d58, blocking=blocking@entry=true) at /data/Server/MDEV-28730_new/sql/sql_parse.cc:1432
|
# 2026-05-14T14:05:25 [56807] | #18 0x000059d5b396359d in do_handle_one_connection (connect=<optimized out>, connect@entry=0x59d5b77ef928, put_in_cache=put_in_cache@entry=true) at /data/Server/MDEV-28730_new/sql/sql_connect.cc:1503
|
# 2026-05-14T14:05:25 [56807] | #19 0x000059d5b39637ba in handle_one_connection (arg=0x59d5b77ef928) at /data/Server/MDEV-28730_new/sql/sql_connect.cc:1415
|
# 2026-05-14T14:05:25 [56807] | #20 0x000018d30c9dca94 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:447
|
# 2026-05-14T14:05:25 [56807] | #21 0x000018d30ca69a34 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_indexed_vcols.yy \
|
# --mysqld=--lock-wait-timeout=86400 \
|
# --mysqld=--innodb-lock-wait-timeout=50 \
|
# --mysqld=--sql_mode=traditional \
|
# --mysqld=--innodb_file_per_table=1 \
|
# --mysqld=--loose-innodb_read_only_compressed=OFF \
|
# --mysqld=--innodb_stats_persistent=off \
|
# --mysqld=--innodb_adaptive_hash_index=off \
|
# --mysqld=--innodb_random_read_ahead=ON \
|
# --mysqld=--innodb_read_ahead_threshold=0 \
|
# --mysqld=--loose-innodb_evict_tables_on_commit_debug=off \
|
# --threads=3 \
|
# --rr=rr record --chaos --wait \
|
# --mysqld=--innodb_undo_log_truncate=OFF \
|
# --mysqld=--innodb_rollback_on_timeout=OFF \
|
# --mysqld=--innodb_page_size=16K \
|
# --mysqld=--innodb-buffer-pool-size=256M \
|
# --vardir_type=slow \
|
# --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=122
|
#--------
|
RR trace is present on SDP:-
/data/results/1778789173/MDEV-28730_01
Attachments
Issue Links
- is caused by
-
MDEV-28730 Remove internal parser usage from InnoDB fts
-
- In Review
-