Only present in bb-10.10-MDEV-16329.
INSTALL SONAME 'ha_rocksdb.so';
|
CREATE TABLE t (a INT) ENGINE=RocksDB;
|
Leads to:
10.10.0 7a41e4fbc62c5e917d9cb4dc045e21c983d4e73f (Optimized)
|
Core was generated by `/test/MDEV-16329_bb-10.10-MDEV-16329_MD240822-mariadb-10.10.0-linux-x86_64-opt/'.
|
Program terminated with signal SIGSEGV, Segmentation fault.
|
#0 __gnu_cxx::__atomic_add (__val=1, __mem=0x646e6f636d)
|
at /usr/include/c++/9/ext/atomicity.h:96
|
96 __atomic_add(__mem, __val);
|
[Current thread is 1 (Thread 0x14d573b67700 (LWP 3480764))]
|
(gdb) bt
|
#0 __gnu_cxx::__atomic_add (__val=1, __mem=0x646e6f636d) at /usr/include/c++/9/ext/atomicity.h:96
|
#1 __gnu_cxx::__atomic_add_dispatch (__val=1, __mem=0x646e6f636d) at /usr/include/c++/9/ext/atomicity.h:96
|
#2 std::_Sp_counted_base<(__gnu_cxx::_Lock_policy)2>::_M_add_ref_copy (this=0x646e6f6365) at /usr/include/c++/9/bits/shared_ptr_base.h:139
|
#3 std::__shared_count<(__gnu_cxx::_Lock_policy)2>::operator= (__r=<optimized out>, this=0x14d56026b600) at /usr/include/c++/9/bits/shared_ptr_base.h:747
|
#4 std::__shared_ptr<myrocks::Rdb_key_def, (__gnu_cxx::_Lock_policy)2>::operator= (this=0x14d56026b5f8) at /usr/include/c++/9/bits/shared_ptr_base.h:1080
|
#5 std::shared_ptr<myrocks::Rdb_key_def>::operator= (this=0x14d56026b5f8) at /usr/include/c++/9/bits/shared_ptr.h:103
|
#6 myrocks::ha_rocksdb::create_table (this=0x14d56026b040, table_name=<optimized out>, table_arg=0x14d573b627e0, auto_increment_value=<optimized out>) at /test/bb-10.10-MDEV-16329_opt/storage/rocksdb/ha_rocksdb.cc:7772
|
#7 0x000014d573630361 in myrocks::ha_rocksdb::create (this=0x14d56026b040, name=0x14d573b63c70 "./test/t", table_arg=0x14d573b627e0, create_info=0x14d573b64230) at /test/bb-10.10-MDEV-16329_opt/storage/rocksdb/ha_rocksdb.cc:7914
|
#8 0x0000556d983947eb in handler::ha_create (this=0x14d56026b040, name=0x14d573b63c70 "./test/t", form=form@entry=0x14d573b627e0, info_arg=info_arg@entry=0x14d573b64230) at /test/preview-10.10-ddl_dbg/sql/handler.cc:5448
|
#9 0x0000556d983953ae in ha_create_table (thd=thd@entry=0x14d560000db8, path=<optimized out>, db=0x14d560014540 "test", table_name=0x14d560013e20 "t", create_info=create_info@entry=0x14d573b64230, frm=frm@entry=0x14d573b63c60, skip_frm_file=false) at /test/preview-10.10-ddl_dbg/sql/handler.cc:5917
|
#10 0x0000556d9817ea05 in create_table_impl (thd=thd@entry=0x14d560000db8, orig_db=@0x14d560013e58: {str = 0x14d560014540 "test", length = 4}, orig_table_name=@0x14d560013e68: {str = 0x14d560013e20 "t", length = 1}, db=@0x14d560013e58: {str = 0x14d560014540 "test", length = 4}, table_name=@0x14d560013e68: {str = 0x14d560013e20 "t", length = 1}, path=@0x14d573b63c50: {str = 0x14d573b63c70 "./test/t", length = 8}, options=<optimized out>, create_info=0x14d573b64230, alter_info=0x14d573b64050, create_table_mode=0, is_trans=0x14d573b63f50, key_info=0x14d573b63c48, key_count=0x14d573b63c44, frm=0x14d573b63c60) at /test/preview-10.10-ddl_dbg/sql/sql_table.cc:4929
|
#11 0x0000556d9817ee4d in mysql_create_table_no_lock (thd=thd@entry=0x14d560000db8, orig_db=orig_db@entry=0x14d560013e58, orig_table_name=orig_table_name@entry=0x14d560013e68, db=0x14d560013e58, table_name=0x14d560013e68, create_info=create_info@entry=0x14d573b64230, alter_info=0x14d573b64050, is_trans=0x14d573b63f50, create_table_mode=0, table_list=0x14d560013e58, frm=0x14d573b63c60) at /test/preview-10.10-ddl_dbg/sql/sql_table.cc:5056
|
#12 0x0000556d981817b2 in mysql_create_table (alter_info=0x14d573b64050, create_info=0x14d573b64230, create_table=<optimized out>, thd=0x14d560000db8) at /test/preview-10.10-ddl_dbg/sql/sql_table.cc:5183
|
#13 Sql_cmd_create_table_like::execute (this=<optimized out>, thd=0x14d560000db8) at /test/preview-10.10-ddl_dbg/sql/sql_table.cc:12935
|
#14 0x0000556d980aaa4d in mysql_execute_command (thd=thd@entry=0x14d560000db8, is_called_from_prepared_stmt=is_called_from_prepared_stmt@entry=false) at /test/preview-10.10-ddl_dbg/sql/sql_parse.cc:5996
|
#15 0x0000556d980930cd in mysql_parse (thd=thd@entry=0x14d560000db8, rawbuf=<optimized out>, length=<optimized out>, parser_state=parser_state@entry=0x14d573b66470) at /test/preview-10.10-ddl_dbg/sql/sql_parse.cc:8038
|
#16 0x0000556d980a06b0 in dispatch_command (command=command@entry=COM_QUERY, thd=thd@entry=0x14d560000db8, packet=packet@entry=0x14d56000b7f9 "CREATE TABLE t (a INT) ENGINE=RocksDB", packet_length=packet_length@entry=37, blocking=blocking@entry=true) at /test/preview-10.10-ddl_dbg/sql/sql_class.h:1365
|
#17 0x0000556d980a2dc1 in do_command (thd=0x14d560000db8, blocking=blocking@entry=true) at /test/preview-10.10-ddl_dbg/sql/sql_parse.cc:1407
|
#18 0x0000556d982057ba in do_handle_one_connection (connect=<optimized out>, connect@entry=0x556d9bfb8468, put_in_cache=put_in_cache@entry=true) at /test/preview-10.10-ddl_dbg/sql/sql_connect.cc:1418
|
#19 0x0000556d98205cc3 in handle_one_connection (arg=0x556d9bfb8468) at /test/preview-10.10-ddl_dbg/sql/sql_connect.cc:1312
|
#20 0x000014d5bca20609 in start_thread (arg=<optimized out>) at pthread_create.c:477
|
#21 0x000014d5bc60c133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
|
On debug we get:
10.10.0 7a41e4fbc62c5e917d9cb4dc045e21c983d4e73f (Debug)
|
10.10.0-dbg>INSTALL SONAME 'ha_rocksdb.so';
|
ERROR 1126 (HY000): Can't open shared library '/test/MDEV-16329_bb-10.10-MDEV-16329_MD240822-mariadb-10.10.0-linux-x86_64-dbg/lib/plugin/ha_rocksdb.so' (errno: 2, undefined symbol: opt_debug_sync_timeout)
|
- relates to
-
MDEV-29394
SIGSEGV in myrocks::ha_rocksdb::check_keyread_allowed on CREATE TABLE ... KEY
-
-
Closed
{"report":{"fcp":1446.8000001907349,"ttfb":630,"pageVisibility":"visible","entityId":114213,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"5bdbee60-d825-4f41-acd0-73a4655489bb","navigationType":0,"readyForUser":1584.0999999046326,"redirectCount":0,"resourceLoadedEnd":1610.5999999046326,"resourceLoadedStart":648.1999998092651,"resourceTiming":[{"duration":273.1000003814697,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":648.1999998092651,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":648.1999998092651,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":921.3000001907349,"responseStart":0,"secureConnectionStart":0},{"duration":273.09999990463257,"initiatorType":"link","name":"https://jira.mariadb.org/s/7ebd35e77e471bc30ff0eba799ebc151-CDN/lu2cib/820016/12ta74/494e4c556ecbb29f90a3d3b4f09cb99c/_/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&whisper-enabled=true","startTime":648.5999999046326,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":648.5999999046326,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":921.6999998092651,"responseStart":0,"secureConnectionStart":0},{"duration":282.19999980926514,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":648.8000001907349,"connectEnd":648.8000001907349,"connectStart":648.8000001907349,"domainLookupEnd":648.8000001907349,"domainLookupStart":648.8000001907349,"fetchStart":648.8000001907349,"redirectEnd":0,"redirectStart":0,"requestStart":648.8000001907349,"responseEnd":931,"responseStart":931,"secureConnectionStart":648.8000001907349},{"duration":428.40000009536743,"initiatorType":"script","name":"https://jira.mariadb.org/s/2d8175ec2fa4c816e8023260bd8c1786-CDN/lu2cib/820016/12ta74/494e4c556ecbb29f90a3d3b4f09cb99c/_/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&whisper-enabled=true","startTime":649.6999998092651,"connectEnd":649.6999998092651,"connectStart":649.6999998092651,"domainLookupEnd":649.6999998092651,"domainLookupStart":649.6999998092651,"fetchStart":649.6999998092651,"redirectEnd":0,"redirectStart":0,"requestStart":649.6999998092651,"responseEnd":1078.0999999046326,"responseStart":1078.0999999046326,"secureConnectionStart":649.6999998092651},{"duration":431.80000019073486,"initiatorType":"script","name":"https://jira.mariadb.org/s/a9324d6758d385eb45c462685ad88f1d-CDN/lu2cib/820016/12ta74/c92c0caa9a024ae85b0ebdbed7fb4bd7/_/download/contextbatch/js/atl.global,-_super/batch.js?locale=en","startTime":650,"connectEnd":650,"connectStart":650,"domainLookupEnd":650,"domainLookupStart":650,"fetchStart":650,"redirectEnd":0,"redirectStart":0,"requestStart":650,"responseEnd":1081.8000001907349,"responseStart":1081.8000001907349,"secureConnectionStart":650},{"duration":432.5,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-en/jira.webresources:calendar-en.js","startTime":650.1999998092651,"connectEnd":650.1999998092651,"connectStart":650.1999998092651,"domainLookupEnd":650.1999998092651,"domainLookupStart":650.1999998092651,"fetchStart":650.1999998092651,"redirectEnd":0,"redirectStart":0,"requestStart":650.1999998092651,"responseEnd":1082.6999998092651,"responseStart":1082.6999998092651,"secureConnectionStart":650.1999998092651},{"duration":432.7999997138977,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-localisation-moment/jira.webresources:calendar-localisation-moment.js","startTime":650.3000001907349,"connectEnd":650.3000001907349,"connectStart":650.3000001907349,"domainLookupEnd":650.3000001907349,"domainLookupStart":650.3000001907349,"fetchStart":650.3000001907349,"redirectEnd":0,"redirectStart":0,"requestStart":650.3000001907349,"responseEnd":1083.0999999046326,"responseStart":1083.0999999046326,"secureConnectionStart":650.3000001907349},{"duration":434.2000002861023,"initiatorType":"link","name":"https://jira.mariadb.org/s/b04b06a02d1959df322d9cded3aeecc1-CDN/lu2cib/820016/12ta74/a2ff6aa845ffc9a1d22fe23d9ee791fc/_/download/contextbatch/css/jira.global.look-and-feel,-_super/batch.css","startTime":650.5999999046326,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":650.5999999046326,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1084.8000001907349,"responseStart":0,"secureConnectionStart":0},{"duration":432.80000019073486,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":650.6999998092651,"connectEnd":650.6999998092651,"connectStart":650.6999998092651,"domainLookupEnd":650.6999998092651,"domainLookupStart":650.6999998092651,"fetchStart":650.6999998092651,"redirectEnd":0,"redirectStart":0,"requestStart":650.6999998092651,"responseEnd":1083.5,"responseStart":1083.5,"secureConnectionStart":650.6999998092651},{"duration":434.09999990463257,"initiatorType":"link","name":"https://jira.mariadb.org/s/3ac36323ba5e4eb0af2aa7ac7211b4bb-CDN/lu2cib/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":650.9000000953674,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":650.9000000953674,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1085,"responseStart":0,"secureConnectionStart":0},{"duration":433.09999990463257,"initiatorType":"script","name":"https://jira.mariadb.org/s/5d5e8fe91fbc506585e83ea3b62ccc4b-CDN/lu2cib/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":651.0999999046326,"connectEnd":651.0999999046326,"connectStart":651.0999999046326,"domainLookupEnd":651.0999999046326,"domainLookupStart":651.0999999046326,"fetchStart":651.0999999046326,"redirectEnd":0,"redirectStart":0,"requestStart":651.0999999046326,"responseEnd":1084.1999998092651,"responseStart":1084.1999998092651,"secureConnectionStart":651.0999999046326},{"duration":826.0999999046326,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-js/jira.webresources:bigpipe-js.js","startTime":652.8000001907349,"connectEnd":652.8000001907349,"connectStart":652.8000001907349,"domainLookupEnd":652.8000001907349,"domainLookupStart":652.8000001907349,"fetchStart":652.8000001907349,"redirectEnd":0,"redirectStart":0,"requestStart":652.8000001907349,"responseEnd":1478.9000000953674,"responseStart":1478.9000000953674,"secureConnectionStart":652.8000001907349},{"duration":836.9000000953674,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-init/jira.webresources:bigpipe-init.js","startTime":652.9000000953674,"connectEnd":652.9000000953674,"connectStart":652.9000000953674,"domainLookupEnd":652.9000000953674,"domainLookupStart":652.9000000953674,"fetchStart":652.9000000953674,"redirectEnd":0,"redirectStart":0,"requestStart":652.9000000953674,"responseEnd":1489.8000001907349,"responseStart":1489.8000001907349,"secureConnectionStart":652.9000000953674},{"duration":221,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":1096.5999999046326,"connectEnd":1096.5999999046326,"connectStart":1096.5999999046326,"domainLookupEnd":1096.5999999046326,"domainLookupStart":1096.5999999046326,"fetchStart":1096.5999999046326,"redirectEnd":0,"redirectStart":0,"requestStart":1096.5999999046326,"responseEnd":1317.5999999046326,"responseStart":1317.5999999046326,"secureConnectionStart":1096.5999999046326},{"duration":232,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/e65b778d185daf5aee24936755b43da6/_/download/contextbatch/js/browser-metrics-plugin.contrib,-_super,-project.issue.navigator,-jira.view.issue,-atl.general/batch.js?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&slack-enabled=true&whisper-enabled=true","startTime":1378.5999999046326,"connectEnd":1378.5999999046326,"connectStart":1378.5999999046326,"domainLookupEnd":1378.5999999046326,"domainLookupStart":1378.5999999046326,"fetchStart":1378.5999999046326,"redirectEnd":0,"redirectStart":0,"requestStart":1378.5999999046326,"responseEnd":1610.5999999046326,"responseStart":1610.5999999046326,"secureConnectionStart":1378.5999999046326},{"duration":200.2999997138977,"initiatorType":"script","name":"https://www.google-analytics.com/analytics.js","startTime":1439.3000001907349,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":1439.3000001907349,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1639.5999999046326,"responseStart":0,"secureConnectionStart":0}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":87,"responseStart":630,"responseEnd":649,"domLoading":634,"domInteractive":1671,"domContentLoadedEventStart":1671,"domContentLoadedEventEnd":1722,"domComplete":1966,"loadEventStart":1966,"loadEventEnd":1966,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1641.3000001907349},{"name":"bigPipe.sidebar-id.end","time":1642.0999999046326},{"name":"bigPipe.activity-panel-pipe-id.start","time":1642.3000001907349},{"name":"bigPipe.activity-panel-pipe-id.end","time":1643.1999998092651},{"name":"activityTabFullyLoaded","time":1760}],"measures":[],"correlationId":"bc57fb9f84a01e","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":452,"dbReadsTimeInMs":11,"dbConnsTimeInMs":19,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}
Given the oddity of the errors, I decided to rebuild the branch & retest. The rebuild branch did not show the same issues, so I discarded the runs.
It looks like the 4 builds (2 branches, opt+dbg) collided (same temporary dir use during untar) with the builds of one branch being affected.
Apologies for the false alarm.