Type:
Bug
Priority:
Critical
Resolution:
Fixed
Affects Version/s:
10.2(EOL) , 10.3(EOL) , 10.4(EOL) , 10.5 , 10.6
INSTALL SONAME 'ha_rocksdb';
CREATE TEMPORARY TABLE tmp_rocksdb_0 (a CHAR(0)) ENGINE=RocksDB;
Leads to:
10.6.0 8751aa7397b2e698fa0b46ec3e60abb9e2fd7e1b (Debug)
mysqld: /test/10.6_dbg/sql/sql_table.cc:11908: bool check_engine(THD*, const char*, const char*, HA_CREATE_INFO*): Assertion `*new_engine' failed.
10.6.0 8751aa7397b2e698fa0b46ec3e60abb9e2fd7e1b (Debug)
Core was generated by `/test/GAL_MD200421-mariadb-10.6.0-linux-x86_64-dbg/bin/mysqld --defaults-file=/'.
Program terminated with signal SIGABRT, Aborted.
#0 __pthread_kill (threadid=<optimized out>, signo=signo@entry=6)
at ../sysdeps/unix/sysv/linux/pthread_kill.c:56
[Current thread is 1 (Thread 0x14a5800aa700 (LWP 964701))]
(gdb) bt
#0 __pthread_kill (threadid=<optimized out>, signo=signo@entry=6) at ../sysdeps/unix/sysv/linux/pthread_kill.c:56
#1 0x0000557ef30ec70f in my_write_core (sig=sig@entry=6) at /test/10.6_dbg/mysys/stacktrace.c:424
#2 0x0000557ef2881c86 in handle_fatal_signal (sig=6) at /test/10.6_dbg/sql/signal_handler.cc:343
#3 <signal handler called>
#4 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
#5 0x000014a583805859 in __GI_abort () at abort.c:79
#6 0x000014a583805729 in __assert_fail_base (fmt=0x14a58399b588 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=0x557ef3275291 "*new_engine", file=0x557ef3272a70 "/test/10.6_dbg/sql/sql_table.cc", line=11908, function=<optimized out>) at assert.c:92
#7 0x000014a583816f36 in __GI___assert_fail (assertion=assertion@entry=0x557ef3275291 "*new_engine", file=file@entry=0x557ef3272a70 "/test/10.6_dbg/sql/sql_table.cc", line=line@entry=11908, function=function@entry=0x557ef3274008 "bool check_engine(THD*, const char*, const char*, HA_CREATE_INFO*)") at assert.c:101
#8 0x0000557ef268f042 in check_engine (thd=thd@entry=0x14a514000db8, db_name=<optimized out>, table_name=0x14a514013cb0 "tmp_rocksdb_0", create_info=create_info@entry=0x14a5800a8b50) at /test/10.6_dbg/sql/sql_table.cc:11908
#9 0x0000557ef2694775 in create_table_impl (thd=thd@entry=0x14a514000db8, orig_db=@0x14a514013d10: {str = 0x14a5140143c8 "test", length = 4}, orig_table_name=@0x14a514013d20: {str = 0x14a514013cb0 "tmp_rocksdb_0", length = 13}, db=@0x14a514013d10: {str = 0x14a5140143c8 "test", length = 4}, table_name=@0x14a514013d20: {str = 0x14a514013cb0 "tmp_rocksdb_0", length = 13}, path=path@entry=0x14a5800a8710 "/test/GAL_MD200421-mariadb-10.6.0-linux-x86_64-dbg/tmp1/#sql-temptable-eb728-c-6", options={m_options = DDL_options_st::OPT_NONE}, create_info=0x14a5800a8b50, alter_info=0x14a5800a8a60, create_table_mode=0, is_trans=0x14a5800a8987, key_info=0x14a5800a86f8, key_count=0x14a5800a86f4, frm=0x14a5800a8700) at /test/10.6_dbg/sql/sql_table.cc:5290
#10 0x0000557ef269504d in mysql_create_table_no_lock (thd=thd@entry=0x14a514000db8, db=db@entry=0x14a514013d10, table_name=table_name@entry=0x14a514013d20, create_info=create_info@entry=0x14a5800a8b50, alter_info=alter_info@entry=0x14a5800a8a60, is_trans=is_trans@entry=0x14a5800a8987, create_table_mode=0, table_list=0x14a514013cf8) at /test/10.6_dbg/sql/sql_table.cc:5445
#11 0x0000557ef26953ba in mysql_create_table (thd=thd@entry=0x14a514000db8, create_table=create_table@entry=0x14a514013cf8, create_info=create_info@entry=0x14a5800a8b50, alter_info=alter_info@entry=0x14a5800a8a60) at /test/10.6_dbg/sql/sql_table.cc:5549
#12 0x0000557ef2696da7 in Sql_cmd_create_table_like::execute (this=0x14a514013c88, thd=0x14a514000db8) at /test/10.6_dbg/sql/sql_table.cc:12247
#13 0x0000557ef25c4dbc in mysql_execute_command (thd=thd@entry=0x14a514000db8) at /test/10.6_dbg/sql/sql_parse.cc:5986
#14 0x0000557ef25ab3b8 in mysql_parse (thd=thd@entry=0x14a514000db8, rawbuf=rawbuf@entry=0x14a514013bb0 "CREATE TEMPORARY TABLE tmp_rocksdb_0 (a CHAR(0)) ENGINE=RocksDB", length=length@entry=63, parser_state=parser_state@entry=0x14a5800a9410) at /test/10.6_dbg/sql/sql_parse.cc:8017
#15 0x0000557ef25aad51 in wsrep_mysql_parse (thd=thd@entry=0x14a514000db8, rawbuf=0x14a514013bb0 "CREATE TEMPORARY TABLE tmp_rocksdb_0 (a CHAR(0)) ENGINE=RocksDB", length=63, parser_state=parser_state@entry=0x14a5800a9410) at /test/10.6_dbg/sql/sql_parse.cc:7831
#16 0x0000557ef25ba26b in dispatch_command (command=command@entry=COM_QUERY, thd=thd@entry=0x14a514000db8, packet=packet@entry=0x14a51400b369 "CREATE TEMPORARY TABLE tmp_rocksdb_0 (a CHAR(0)) ENGINE=RocksDB", packet_length=packet_length@entry=63, blocking=blocking@entry=true) at /test/10.6_dbg/sql/sql_class.h:1331
#17 0x0000557ef25bd653 in do_command (thd=0x14a514000db8, blocking=blocking@entry=true) at /test/10.6_dbg/sql/sql_parse.cc:1406
#18 0x0000557ef271826d in do_handle_one_connection (connect=<optimized out>, connect@entry=0x557ef5d429f8, put_in_cache=put_in_cache@entry=true) at /test/10.6_dbg/sql/sql_connect.cc:1410
#19 0x0000557ef2718875 in handle_one_connection (arg=arg@entry=0x557ef5d429f8) at /test/10.6_dbg/sql/sql_connect.cc:1312
#20 0x0000557ef2bc92f7 in pfs_spawn_thread (arg=0x557ef5dba448) at /test/10.6_dbg/storage/perfschema/pfs.cc:2201
#21 0x000014a583d13609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#22 0x000014a583902293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
Bug confirmed present in:
MariaDB: 10.2.38 (dbg), 10.3.29 (dbg), 10.4.19 (dbg), 10.5.10 (dbg), 10.6.0 (dbg)
Bug (or feature/syntax) confirmed not present in:
MariaDB: 10.2.38 (opt), 10.3.29 (opt), 10.4.19 (opt), 10.5.10 (opt), 10.6.0 (opt)
{"report":{"fcp":1227.5,"ttfb":285.39999997615814,"pageVisibility":"visible","entityId":99285,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":16,"apdex":0.5,"journeyId":"c0c97f0f-5944-4a7c-9ca0-61a676f4b5b2","navigationType":0,"readyForUser":1373.1000000238419,"redirectCount":0,"resourceLoadedEnd":545.6000000238419,"resourceLoadedStart":296.7999999523163,"resourceTiming":[{"duration":26.200000047683716,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2c13/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":296.7999999523163,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":296.7999999523163,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":323,"responseStart":0,"secureConnectionStart":0},{"duration":26.199999928474426,"initiatorType":"link","name":"https://jira.mariadb.org/s/7ebd35e77e471bc30ff0eba799ebc151-CDN/lu2c13/820016/12ta74/95aa13f12929b3b049c94507edd53ad5/_/download/contextbatch/css/jira.browse.project,project.issue.navigator,jira.view.issue,jira.general,jira.global,atl.general,-_super/batch.css?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&slack-enabled=true","startTime":297.10000002384186,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":297.10000002384186,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":323.2999999523163,"responseStart":0,"secureConnectionStart":0},{"duration":127.40000009536743,"initiatorType":"script","name":"https://jira.mariadb.org/s/f039d5244998df7871bdf8d04d738054-CDN/lu2c13/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":297.1999999284744,"connectEnd":297.1999999284744,"connectStart":297.1999999284744,"domainLookupEnd":297.1999999284744,"domainLookupStart":297.1999999284744,"fetchStart":297.1999999284744,"redirectEnd":0,"redirectStart":0,"requestStart":325.7999999523163,"responseEnd":424.60000002384186,"responseStart":337.5,"secureConnectionStart":297.1999999284744},{"duration":149.19999992847443,"initiatorType":"script","name":"https://jira.mariadb.org/s/957b47b56c7177fcef1264b18a57f656-CDN/lu2c13/820016/12ta74/95aa13f12929b3b049c94507edd53ad5/_/download/contextbatch/js/jira.browse.project,project.issue.navigator,jira.view.issue,jira.general,jira.global,atl.general,-_super/batch.js?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&locale=en&slack-enabled=true","startTime":297.5,"connectEnd":297.5,"connectStart":297.5,"domainLookupEnd":297.5,"domainLookupStart":297.5,"fetchStart":297.5,"redirectEnd":0,"redirectStart":0,"requestStart":326.5,"responseEnd":446.6999999284744,"responseStart":378.1999999284744,"secureConnectionStart":297.5},{"duration":158.60000002384186,"initiatorType":"script","name":"https://jira.mariadb.org/s/f90d53127c84ab3cf04911154c2dc429-CDN/lu2c13/820016/12ta74/c92c0caa9a024ae85b0ebdbed7fb4bd7/_/download/contextbatch/js/atl.global,-_super/batch.js?locale=en","startTime":298.39999997615814,"connectEnd":435.39999997615814,"connectStart":435.39999997615814,"domainLookupEnd":435.39999997615814,"domainLookupStart":435.39999997615814,"fetchStart":298.39999997615814,"redirectEnd":0,"redirectStart":0,"requestStart":436.7999999523163,"responseEnd":457,"responseStart":452.10000002384186,"secureConnectionStart":435.39999997615814},{"duration":157.89999997615814,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2c13/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-en/jira.webresources:calendar-en.js","startTime":299.10000002384186,"connectEnd":299.10000002384186,"connectStart":299.10000002384186,"domainLookupEnd":299.10000002384186,"domainLookupStart":299.10000002384186,"fetchStart":299.10000002384186,"redirectEnd":0,"redirectStart":0,"requestStart":437.2999999523163,"responseEnd":457,"responseStart":453.2999999523163,"secureConnectionStart":299.10000002384186},{"duration":108.70000004768372,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2c13/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-localisation-moment/jira.webresources:calendar-localisation-moment.js","startTime":299.39999997615814,"connectEnd":299.39999997615814,"connectStart":299.39999997615814,"domainLookupEnd":299.39999997615814,"domainLookupStart":299.39999997615814,"fetchStart":299.39999997615814,"redirectEnd":0,"redirectStart":0,"requestStart":330.60000002384186,"responseEnd":408.10000002384186,"responseStart":405.7999999523163,"secureConnectionStart":299.39999997615814},{"duration":31.199999928474426,"initiatorType":"link","name":"https://jira.mariadb.org/s/b04b06a02d1959df322d9cded3aeecc1-CDN/lu2c13/820016/12ta74/a2ff6aa845ffc9a1d22fe23d9ee791fc/_/download/contextbatch/css/jira.global.look-and-feel,-_super/batch.css","startTime":299.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":299.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":330.6999999284744,"responseStart":0,"secureConnectionStart":0},{"duration":158.20000004768372,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/f66960d7757d5f06891021cb34673e32/shortcuts.js?context=issuenavigation&context=issueaction","startTime":299.6999999284744,"connectEnd":299.6999999284744,"connectStart":299.6999999284744,"domainLookupEnd":299.6999999284744,"domainLookupStart":299.6999999284744,"fetchStart":299.6999999284744,"redirectEnd":0,"redirectStart":0,"requestStart":437.5,"responseEnd":457.89999997615814,"responseStart":455.6999999284744,"secureConnectionStart":299.6999999284744},{"duration":42.10000002384186,"initiatorType":"link","name":"https://jira.mariadb.org/s/3ac36323ba5e4eb0af2aa7ac7211b4bb-CDN/lu2c13/820016/12ta74/d176f0986478cc64f24226b3d20c140d/_/download/contextbatch/css/com.atlassian.jira.projects.sidebar.init,-_super,-project.issue.navigator,-jira.view.issue/batch.css?jira.create.linked.issue=true","startTime":299.89999997615814,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":299.89999997615814,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":342,"responseStart":0,"secureConnectionStart":0},{"duration":158.19999992847443,"initiatorType":"script","name":"https://jira.mariadb.org/s/552f3595a8d602946252d6b3195bcce6-CDN/lu2c13/820016/12ta74/d176f0986478cc64f24226b3d20c140d/_/download/contextbatch/js/com.atlassian.jira.projects.sidebar.init,-_super,-project.issue.navigator,-jira.view.issue/batch.js?jira.create.linked.issue=true&locale=en","startTime":300,"connectEnd":300,"connectStart":300,"domainLookupEnd":300,"domainLookupStart":300,"fetchStart":300,"redirectEnd":0,"redirectStart":0,"requestStart":437.89999997615814,"responseEnd":458.1999999284744,"responseStart":456.1999999284744,"secureConnectionStart":300},{"duration":154,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2c13/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-js/jira.webresources:bigpipe-js.js","startTime":304.60000002384186,"connectEnd":304.60000002384186,"connectStart":304.60000002384186,"domainLookupEnd":304.60000002384186,"domainLookupStart":304.60000002384186,"fetchStart":304.60000002384186,"redirectEnd":0,"redirectStart":0,"requestStart":441,"responseEnd":458.60000002384186,"responseStart":457.2999999523163,"secureConnectionStart":304.60000002384186},{"duration":240.80000007152557,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2c13/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-init/jira.webresources:bigpipe-init.js","startTime":304.7999999523163,"connectEnd":304.7999999523163,"connectStart":304.7999999523163,"domainLookupEnd":304.7999999523163,"domainLookupStart":304.7999999523163,"fetchStart":304.7999999523163,"redirectEnd":0,"redirectStart":0,"requestStart":531.2999999523163,"responseEnd":545.6000000238419,"responseStart":544.8999999761581,"secureConnectionStart":304.7999999523163},{"duration":254.20000004768372,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":788.7999999523163,"connectEnd":788.7999999523163,"connectStart":788.7999999523163,"domainLookupEnd":788.7999999523163,"domainLookupStart":788.7999999523163,"fetchStart":788.7999999523163,"redirectEnd":0,"redirectStart":0,"requestStart":936.8999999761581,"responseEnd":1043,"responseStart":1042.2999999523163,"secureConnectionStart":788.7999999523163},{"duration":419,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":1082,"connectEnd":1082,"connectStart":1082,"domainLookupEnd":1082,"domainLookupStart":1082,"fetchStart":1082,"redirectEnd":0,"redirectStart":0,"requestStart":1468.1999999284744,"responseEnd":1501,"responseStart":1500.1000000238419,"secureConnectionStart":1082},{"duration":285.10000002384186,"initiatorType":"script","name":"https://www.google-analytics.com/analytics.js","startTime":1220.1999999284744,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":1220.1999999284744,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1505.2999999523163,"responseStart":0,"secureConnectionStart":0}],"fetchStart":0,"domainLookupStart":37,"domainLookupEnd":101,"connectStart":101,"connectEnd":121,"secureConnectionStart":110,"requestStart":121,"responseStart":285,"responseEnd":304,"domLoading":290,"domInteractive":1455,"domContentLoadedEventStart":1455,"domContentLoadedEventEnd":1501,"domComplete":1878,"loadEventStart":1878,"loadEventEnd":1878,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1419.5},{"name":"bigPipe.sidebar-id.end","time":1420.1999999284744},{"name":"bigPipe.activity-panel-pipe-id.start","time":1420.5},{"name":"bigPipe.activity-panel-pipe-id.end","time":1421.2999999523163},{"name":"activityTabFullyLoaded","time":1514.1000000238419}],"measures":[],"correlationId":"2845df241fe6c5","effectiveType":"4g","downlink":9.7,"rtt":0,"serverDuration":96,"dbReadsTimeInMs":10,"dbConnsTimeInMs":17,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}