Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
10.8.8
Description
origin/10.8 b62123e0d517a63fb7a1192093fd3cafcfe9d480 2023-02-23T23:40:45+04:00
|
|
pluto:/data/results/1677497482/TBR-1259$ _RR_TRACE_DIR=./1/rr/ rr replay --mark-stdio
|
...
|
[rr 108366 861797]mysqld: /data/Server/10.8A/storage/innobase/rem/rem0cmp.cc:483: int cmp_dtuple_rec_with_match_bytes(const dtuple_t*, const rec_t*, const dict_index_t*, const rec_offs*, ulint*, ulint*): Assertion `!index->is_ibuf()' failed.
|
(rr) bt
|
#0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
|
#1 0x0000324177aa2859 in __GI_abort () at abort.c:79
|
#2 0x0000324177aa2729 in __assert_fail_base (fmt=0x324177c38588 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=0x558f16f719c0 "!index->is_ibuf()",
|
file=0x558f16f70d40 "/data/Server/10.8A/storage/innobase/rem/rem0cmp.cc", line=483, function=<optimized out>) at assert.c:92
|
#3 0x0000324177ab3f36 in __GI___assert_fail (assertion=assertion@entry=0x558f16f719c0 "!index->is_ibuf()", file=file@entry=0x558f16f70d40 "/data/Server/10.8A/storage/innobase/rem/rem0cmp.cc",
|
line=line@entry=483, function=function@entry=0x558f16f718c0 "int cmp_dtuple_rec_with_match_bytes(const dtuple_t*, const rec_t*, const dict_index_t*, const rec_offs*, ulint*, ulint*)") at assert.c:101
|
#4 0x0000558f15e8aa8e in cmp_dtuple_rec_with_match_bytes (dtuple=dtuple@entry=0x6190003af308, rec=rec@entry=0x4c84072bc716 "", index=index@entry=0x61600003e808, offsets=0x465448fe97b0,
|
matched_fields=matched_fields@entry=0x465448fe9630, matched_bytes=matched_bytes@entry=0x465448fe9650) at /data/Server/10.8A/storage/innobase/include/dict0mem.h:1207
|
#5 0x0000558f15e0712c in page_cur_search_with_match_bytes (tuple=tuple@entry=0x6190003af308, mode=mode@entry=PAGE_CUR_LE, iup_matched_fields=iup_matched_fields@entry=0x465448fea7b0,
|
iup_matched_bytes=iup_matched_bytes@entry=0x465448fea7b8, ilow_matched_fields=ilow_matched_fields@entry=0x465448fea7c0, ilow_matched_bytes=ilow_matched_bytes@entry=0x465448fea7c8, cursor=<optimized out>)
|
at /data/Server/10.8A/storage/innobase/page/page0cur.cc:669
|
#6 0x0000558f161eff11 in btr_cur_t::search_leaf (this=this@entry=0x465448fea770, tuple=tuple@entry=0x6190003af308, mode=mode@entry=PAGE_CUR_LE, latch_mode=latch_mode@entry=BTR_MODIFY_PREV,
|
mtr=mtr@entry=0x465448fea910) at /data/Server/10.8A/storage/innobase/btr/btr0cur.cc:1344
|
#7 0x0000558f15ce3679 in btr_pcur_open (mtr=0x465448fea910, cursor=0x465448fea770, latch_mode=BTR_MODIFY_PREV, mode=PAGE_CUR_LE, tuple=0x6190003af308)
|
at /data/Server/10.8A/storage/innobase/include/btr0pcur.h:431
|
#8 ibuf_insert_low (mode=mode@entry=BTR_MODIFY_PREV, op=op@entry=IBUF_OP_DELETE_MARK, no_counter=no_counter@entry=0, entry=entry@entry=0x6190003b1108, entry_size=entry_size@entry=520,
|
index=index@entry=0x616000b1a308, page_id=..., zip_size=<optimized out>, thr=<optimized out>) at /data/Server/10.8A/storage/innobase/ibuf/ibuf0ibuf.cc:3246
|
#9 0x0000558f15ce6b7d in ibuf_insert (op=op@entry=IBUF_OP_DELETE_MARK, entry=entry@entry=0x6190003b1108, index=0x616000b1a308, page_id=..., zip_size=zip_size@entry=0, thr=<optimized out>)
|
at /data/Server/10.8A/storage/innobase/ibuf/ibuf0ibuf.cc:3587
|
#10 0x0000558f161ee590 in btr_cur_t::search_leaf (this=this@entry=0x465448febbd0, tuple=tuple@entry=0x6190003b1108, mode=mode@entry=PAGE_CUR_LE, latch_mode=latch_mode@entry=BTR_DELETE_MARK_LEAF,
|
mtr=mtr@entry=0x465448febeb0) at /data/Server/10.8A/storage/innobase/include/btr0cur.h:744
|
#11 0x0000558f15fda5f8 in btr_pcur_open (mtr=0x465448febeb0, cursor=0x465448febbd0, latch_mode=BTR_DELETE_MARK_LEAF, mode=PAGE_CUR_LE, tuple=0x6190003b1108)
|
at /data/Server/10.8A/storage/innobase/include/btr0pcur.h:431
|
#12 row_search_index_entry (entry=entry@entry=0x6190003b1108, mode=BTR_DELETE_MARK_LEAF, pcur=pcur@entry=0x465448febbd0, mtr=mtr@entry=0x465448febeb0) at /data/Server/10.8A/storage/innobase/row/row0row.cc:1281
|
#13 0x0000558f1603f36c in row_upd_sec_index_entry (node=node@entry=0x625000315408, thr=thr@entry=0x6250003c56f8) at /data/Server/10.8A/storage/innobase/row/row0upd.cc:1910
|
#14 0x0000558f16040cb1 in row_upd_sec_step (node=node@entry=0x625000315408, thr=thr@entry=0x6250003c56f8) at /data/Server/10.8A/storage/innobase/row/row0upd.cc:2061
|
#15 0x0000558f16042d1e in row_upd (node=node@entry=0x625000315408, thr=thr@entry=0x6250003c56f8) at /data/Server/10.8A/storage/innobase/row/row0upd.cc:2785
|
#16 0x0000558f160436cf in row_upd_step (thr=thr@entry=0x6250003c56f8) at /data/Server/10.8A/storage/innobase/row/row0upd.cc:2900
|
#17 0x0000558f15f715c5 in row_update_for_mysql (prebuilt=0x6230001c1d88) at /data/Server/10.8A/storage/innobase/row/row0mysql.cc:1685
|
#18 0x0000558f15b7afe4 in ha_innobase::update_row (this=0x61d0009056b8, old_row=<optimized out>, new_row=<optimized out>) at /data/Server/10.8A/storage/innobase/handler/ha_innodb.cc:8595
|
#19 0x0000558f15222018 in handler::ha_update_row (this=0x61d0009056b8, old_data=old_data@entry=0x626000160578 "\200", <incomplete sequence \371>,
|
new_data=new_data@entry=0x62600015f138 "\200", <incomplete sequence \371>) at /data/Server/10.8A/sql/handler.cc:7674
|
#20 0x0000558f15a71f84 in ha_partition::update_row (this=0x61d0009042b8, old_data=<optimized out>, new_data=<optimized out>) at /data/Server/10.8A/sql/ha_partition.cc:4671
|
#21 0x0000558f15222018 in handler::ha_update_row (this=0x61d0009042b8, old_data=0x626000160578 "\200", <incomplete sequence \371>, new_data=0x62600015f138 "\200", <incomplete sequence \371>)
|
at /data/Server/10.8A/sql/handler.cc:7674
|
#22 0x0000558f14c964f1 in mysql_update (thd=thd@entry=0x62b00025a218, table_list=<optimized out>, fields=..., values=..., conds=<optimized out>, order_num=<optimized out>, order=<optimized out>,
|
limit=18446744073709551533, ignore=<optimized out>, found_return=<optimized out>, updated_return=<optimized out>) at /data/Server/10.8A/sql/sql_update.cc:1092
|
#23 0x0000558f14933662 in mysql_execute_command (thd=thd@entry=0x62b00025a218, is_called_from_prepared_stmt=is_called_from_prepared_stmt@entry=false) at /data/Server/10.8A/sql/sql_limit.h:85
|
#24 0x0000558f148f4cbd in mysql_parse (thd=thd@entry=0x62b00025a218, rawbuf=<optimized out>, length=<optimized out>, parser_state=parser_state@entry=0x465448fee130) at /data/Server/10.8A/sql/sql_parse.cc:8019
|
#25 0x0000558f14923457 in dispatch_command (command=command@entry=COM_QUERY, thd=thd@entry=0x62b00025a218,
|
packet=packet@entry=0x629000ff0219 "UPDATE `table100_innodb_key_pk_parts_2_int_autoinc` SET `col_char_255_ucs2_key` = CONVERT( 'some' USING LATIN1 ) WHERE `col_enum_utf8` IS NOT NULL /* E_R Thread4 QNO 509 CON_ID 22 */ ", packet_length=packet_length@entry=184, blocking=blocking@entry=true) at /data/Server/10.8A/sql/sql_class.h:1389
|
#26 0x0000558f1492a13e in do_command (thd=0x62b00025a218, blocking=blocking@entry=true) at /data/Server/10.8A/sql/sql_parse.cc:1407
|
#27 0x0000558f14d9e1f1 in do_handle_one_connection (connect=<optimized out>, connect@entry=0x608000009538, put_in_cache=put_in_cache@entry=true) at /data/Server/10.8A/sql/sql_connect.cc:1416
|
#28 0x0000558f14d9ed3a in handle_one_connection (arg=0x608000009538) at /data/Server/10.8A/sql/sql_connect.cc:1318
|
#29 0x00007eda5e3fa609 in start_thread (arg=<optimized out>) at pthread_create.c:477
|
#30 0x0000324177b9f293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
|
(rr) quit
|
|
RQG
|
====
|
# git clone https://github.com/mleich1/rqg --branch <pick the right branch> RQG
|
#
|
# GIT_SHOW: HEAD -> master, origin/master, origin/HEAD f5194fe110d92f13f5f9998db2b4d1c555115f8b 2023-02-24T20:13:56+01:00
|
# rqg.pl : Version 4.2.1 (2022-12)
|
#
|
# $RQG_HOME/rqg.pl \
|
# --grammar=conf/engines/many_indexes.yy \
|
# --gendata=conf/engines/many_indexes.zz \
|
# --mysqld=--transaction-isolation=REPEATABLE-READ \
|
# --validator=SelectStability \
|
# --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 \
|
# --mysqld=--lock-wait-timeout=86400 \
|
# --mysqld=--innodb-lock-wait-timeout=50 \
|
# --no_mask \
|
# --queries=10000000 \
|
# --seed=random \
|
# --reporters=Backtrace \
|
# --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 \
|
# --mysqld=--innodb_file_per_table=1 \
|
# --mysqld=--loose-innodb_read_only_compressed=OFF \
|
# --mysqld=--innodb_stats_persistent=on \
|
# --mysqld=--innodb_adaptive_hash_index=on \
|
# --mysqld=--log-bin \
|
# --mysqld=--log-bin \
|
# --mysqld=--sync-binlog=1 \
|
# --mysqld=--loose-innodb_evict_tables_on_commit_debug=off \
|
# --mysqld=--loose-max-statement-time=30 \
|
# --threads=9 \
|
# --mysqld=--innodb-use-native-aio=0 \
|
# --mysqld=--loose-gdb \
|
# --mysqld=--loose-debug-gdb \
|
# --rr=Extended \
|
# --rr_options=--chaos --wait \
|
# --mysqld=--innodb_undo_log_truncate=OFF \
|
# --mysqld=--loose_innodb_change_buffering=all \
|
# --mysqld=--innodb_undo_tablespaces=3 \
|
# --mysqld=--innodb_rollback_on_timeout=OFF \
|
# --mysqld=--innodb_page_size=16K \
|
# --mysqld=--innodb-buffer-pool-size=8M \
|
# <local settings>
|
|
The problem is quite good reproducible even with other RQG grammars.
|