Details
Description
INSTALL SONAME 'ha_rocksdb'; |
SET max_statement_time=1; |
SET GLOBAL rocksdb_compact_cf=''; |
Leads to:
10.9.0 5be92887c2caacb45af87b1131db952ce627e83a (Debug) |
mysqld: /test/10.9_dbg/storage/rocksdb/ha_rocksdb.cc:13780: void myrocks::Rdb_manual_compaction_thread::clear_manual_compaction_request(int, bool): Assertion `0' failed.
|
10.9.0 5be92887c2caacb45af87b1131db952ce627e83a (Debug) |
Core was generated by `/test/MD160322-mariadb-10.9.0-linux-x86_64-dbg/bin/mysqld --no-defaults --core-'.
|
Program terminated with signal SIGABRT, Aborted.
|
#0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
|
[Current thread is 1 (Thread 0x14fc940f5700 (LWP 1725919))]
|
(gdb) bt
|
#0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
|
#1 0x000014fc9f755859 in __GI_abort () at abort.c:79
|
#2 0x000014fc9f755729 in __assert_fail_base (fmt=0x14fc9f8eb588 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=0x14fc7b4df83f "0", file=0x14fc7b4b9538 "/test/10.9_dbg/storage/rocksdb/ha_rocksdb.cc", line=13780, function=<optimized out>) at assert.c:92
|
#3 0x000014fc9f767006 in __GI___assert_fail (assertion=assertion@entry=0x14fc7b4df83f "0", file=file@entry=0x14fc7b4b9538 "/test/10.9_dbg/storage/rocksdb/ha_rocksdb.cc", line=line@entry=13780, function=function@entry=0x14fc7b4bb1f0 "void myrocks::Rdb_manual_compaction_thread::clear_manual_compaction_request(int, bool)") at assert.c:101
|
#4 0x000014fc7b12fcc0 in myrocks::Rdb_manual_compaction_thread::clear_manual_compaction_request (this=this@entry=0x14fc7b5d1040 <myrocks::rdb_mc_thread>, mc_id=mc_id@entry=1, init_only=init_only@entry=true) at /test/10.9_dbg/storage/rocksdb/ha_rocksdb.cc:13780
|
#5 0x000014fc7b1377be in myrocks::rocksdb_compact_column_family (thd=0x14fbfc000db8, var=<optimized out>, var_ptr=<optimized out>, value=<optimized out>) at /test/10.9_dbg/storage/rocksdb/ha_rocksdb.cc:2215
|
#6 0x000055c63f555bee in sys_var_pluginvar::do_check (this=0x14fbfc07dd00, thd=0x14fbfc000db8, var=0x14fbfc013f20) at /test/10.9_dbg/sql/sql_plugin.cc:3549
|
#7 0x000055c63f4352c3 in sys_var::check (this=0x14fbfc07dd00, thd=thd@entry=0x14fbfc000db8, var=var@entry=0x14fbfc013f20) at /test/10.9_dbg/sql/set_var.cc:246
|
#8 0x000055c63f436316 in set_var::check (this=0x14fbfc013f20, thd=0x14fbfc000db8) at /test/10.9_dbg/sql/set_var.cc:810
|
#9 0x000055c63f436a26 in sql_set_variables (thd=thd@entry=0x14fbfc000db8, var_list=var_list@entry=0x14fbfc0060e0, free=free@entry=true) at /test/10.9_dbg/sql/set_var.cc:738
|
#10 0x000055c63f53e05f in mysql_execute_command (thd=thd@entry=0x14fbfc000db8, is_called_from_prepared_stmt=is_called_from_prepared_stmt@entry=false) at /test/10.9_dbg/sql/sql_parse.cc:5033
|
#11 0x000055c63f527437 in mysql_parse (thd=thd@entry=0x14fbfc000db8, rawbuf=<optimized out>, length=<optimized out>, parser_state=parser_state@entry=0x14fc940f4400) at /test/10.9_dbg/sql/sql_parse.cc:8027
|
#12 0x000055c63f5360d3 in dispatch_command (command=command@entry=COM_QUERY, thd=thd@entry=0x14fbfc000db8, packet=packet@entry=0x14fbfc00b889 "SET GLOBAL rocksdb_compact_cf=''", packet_length=packet_length@entry=32, blocking=blocking@entry=true) at /test/10.9_dbg/sql/sql_class.h:1362
|
#13 0x000055c63f53951a in do_command (thd=0x14fbfc000db8, blocking=blocking@entry=true) at /test/10.9_dbg/sql/sql_parse.cc:1402
|
#14 0x000055c63f6b4228 in do_handle_one_connection (connect=<optimized out>, connect@entry=0x55c642f723e8, put_in_cache=put_in_cache@entry=true) at /test/10.9_dbg/sql/sql_connect.cc:1418
|
#15 0x000055c63f6b482d in handle_one_connection (arg=arg@entry=0x55c642f723e8) at /test/10.9_dbg/sql/sql_connect.cc:1312
|
#16 0x000055c63fb3af23 in pfs_spawn_thread (arg=0x55c642e85978) at /test/10.9_dbg/storage/perfschema/pfs.cc:2201
|
#17 0x000014fc9fc66609 in start_thread (arg=<optimized out>) at pthread_create.c:477
|
#18 0x000014fc9f852163 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
|
10.6.8 b2c81e06b042025663ea01fa98dac0ff536c7706 (Debug) |
Core was generated by `/test/MD160322-mariadb-10.6.8-linux-x86_64-dbg/bin/mysqld --no-defaults --core-'.
|
Program terminated with signal SIGABRT, Aborted.
|
#0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
|
[Current thread is 1 (Thread 0x1506500e9700 (LWP 1725862))]
|
(gdb) bt
|
#0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
|
#1 0x000015065b54a859 in __GI_abort () at abort.c:79
|
#2 0x000055d120b67173 in safe_mutex_lock (mp=mp@entry=0x150636dc9188 <myrocks::rdb_mc_thread+296>, my_flags=my_flags@entry=0, file=file@entry=0x150636cb1538 "/test/10.6_dbg/storage/rocksdb/ha_rocksdb.cc", line=line@entry=13809) at /test/10.6_dbg/mysys/thr_mutex.c:245
|
#3 0x000015063692be72 in inline_mysql_mutex_lock (src_line=13809, src_file=0x150636cb1538 "/test/10.6_dbg/storage/rocksdb/ha_rocksdb.cc", that=0x150636dc9188 <myrocks::rdb_mc_thread+296>) at /test/10.6_dbg/include/mysql/psi/mysql_thread.h:750
|
#4 myrocks::Rdb_manual_compaction_thread::request_manual_compaction (this=this@entry=0x150636dc9060 <myrocks::rdb_mc_thread>, cf=cf@entry=0x1505b0224900, start=start@entry=0x0, limit=limit@entry=0x0, concurrency=0) at /test/10.6_dbg/storage/rocksdb/ha_rocksdb.cc:13809
|
#5 0x000015063692e74f in myrocks::rocksdb_compact_column_family (thd=0x1505b0000db8, var=<optimized out>, var_ptr=<optimized out>, value=<optimized out>) at /test/10.6_dbg/storage/rocksdb/ha_rocksdb.cc:2190
|
#6 0x000055d1200398f2 in sys_var_pluginvar::do_check (this=0x1505b007e718, thd=0x1505b0000db8, var=0x1505b00140f0) at /test/10.6_dbg/sql/sql_plugin.cc:3550
|
#7 0x000055d11ff327cf in sys_var::check (this=0x1505b007e718, thd=thd@entry=0x1505b0000db8, var=var@entry=0x1505b00140f0) at /test/10.6_dbg/sql/set_var.cc:246
|
#8 0x000055d11ff33822 in set_var::check (this=0x1505b00140f0, thd=0x1505b0000db8) at /test/10.6_dbg/sql/set_var.cc:810
|
#9 0x000055d11ff33f32 in sql_set_variables (thd=thd@entry=0x1505b0000db8, var_list=var_list@entry=0x1505b0006028, free=free@entry=true) at /test/10.6_dbg/sql/set_var.cc:738
|
#10 0x000055d120034e6b in mysql_execute_command (thd=thd@entry=0x1505b0000db8, is_called_from_prepared_stmt=is_called_from_prepared_stmt@entry=false) at /test/10.6_dbg/sql/sql_parse.cc:5035
|
#11 0x000055d12001e222 in mysql_parse (thd=thd@entry=0x1505b0000db8, rawbuf=<optimized out>, length=<optimized out>, parser_state=parser_state@entry=0x1506500e8400) at /test/10.6_dbg/sql/sql_parse.cc:8029
|
#12 0x000055d12002cee7 in dispatch_command (command=command@entry=COM_QUERY, thd=thd@entry=0x1505b0000db8, packet=packet@entry=0x1505b000b769 "SET GLOBAL rocksdb_compact_cf=''", packet_length=packet_length@entry=32, blocking=blocking@entry=true) at /test/10.6_dbg/sql/sql_class.h:1358
|
#13 0x000055d120030328 in do_command (thd=0x1505b0000db8, blocking=blocking@entry=true) at /test/10.6_dbg/sql/sql_parse.cc:1404
|
#14 0x000055d120194e3e in do_handle_one_connection (connect=<optimized out>, connect@entry=0x55d1233b7228, put_in_cache=put_in_cache@entry=true) at /test/10.6_dbg/sql/sql_connect.cc:1418
|
#15 0x000055d120195443 in handle_one_connection (arg=arg@entry=0x55d1233b7228) at /test/10.6_dbg/sql/sql_connect.cc:1312
|
#16 0x000055d120644329 in pfs_spawn_thread (arg=0x55d1232c4818) at /test/10.6_dbg/storage/perfschema/pfs.cc:2201
|
#17 0x000015065ba5b609 in start_thread (arg=<optimized out>) at pthread_create.c:477
|
#18 0x000015065b647163 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
|
Bug confirmed present in:
MariaDB: 10.2.44 (dbg), 10.3.35 (dbg), 10.4.25 (dbg), 10.5.16 (dbg), 10.6.8 (dbg), 10.7.4 (dbg), 10.8.3 (dbg), 10.9.0 (dbg)
Bug (or feature/syntax) confirmed not present in:
MariaDB: 10.2.44 (opt), 10.3.35 (opt), 10.4.25 (opt), 10.5.16 (opt), 10.6.8 (opt), 10.7.4 (opt), 10.8.3 (opt), 10.9.0 (opt)
MySQL: 5.5.62 (dbg), 5.5.62 (opt), 5.6.51 (dbg), 5.6.51 (opt), 5.7.37 (dbg), 5.7.37 (opt), 8.0.28 (dbg), 8.0.28 (opt)