CREATE TABLE t1 (i INT) ENGINE=CONNECT TABLE_TYPE=DOS FILE_NAME='t1.dos';
|
LOCK TABLE t1 WRITE;
|
DROP TABLE t1;
|
10.0/sql/handler.cc:2492: int handler::ha_close(): Assertion `m_lock_type == 2' failed.
|
140321 2:28:55 [ERROR] mysqld got signal 6 ;
|
#6 0x00007fa644b07621 in *__GI___assert_fail (assertion=0xfdc97e "m_lock_type == 2", file=<optimized out>, line=2492, function=0xfe0050 "int handler::ha_close()") at assert.c:81
|
#7 0x00000000008611f6 in handler::ha_close (this=0x7fa6184cea88) at 10.0/sql/handler.cc:2492
|
#8 0x000000000074d381 in closefrm (table=0x7fa6184dec70, free_share=true) at 10.0/sql/table.cc:2941
|
#9 0x000000000060f7a4 in intern_close_table (table=0x7fa6184dec70) at 10.0/sql/sql_base.cc:342
|
#10 0x00000000007ed858 in tc_release_table (table=0x7fa6184dec70) at 10.0/sql/table_cache.cc:409
|
#11 0x0000000000610d66 in close_thread_table (thd=0x7fa626bc8070, table_ptr=0x7fa626bc8130) at 10.0/sql/sql_base.cc:1054
|
#12 0x0000000000610770 in close_all_tables_for_name (thd=0x7fa626bc8070, share=0x7fa6184bd688, extra=HA_EXTRA_NOT_USED, skip_table=0x0) at 10.0/sql/sql_base.cc:846
|
#13 0x0000000000718407 in mysql_rm_table_no_locks (thd=0x7fa626bc8070, tables=0x7fa618413150, if_exists=false, drop_temporary=false, drop_view=false, dont_log_query=false, dont_free_locks=false) at 10.0/sql/sql_table.cc:2478
|
#14 0x0000000000717866 in mysql_rm_table (thd=0x7fa626bc8070, tables=0x7fa618413150, if_exists=0 '\000', drop_temporary=0 '\000') at 10.0/sql/sql_table.cc:2106
|
#15 0x000000000067606c in mysql_execute_command (thd=0x7fa626bc8070) at 10.0/sql/sql_parse.cc:3701
|
#16 0x000000000067d66b in mysql_parse (thd=0x7fa626bc8070, rawbuf=0x7fa618413088 "DROP TABLE t1", length=13, parser_state=0x7fa6469cd610) at 10.0/sql/sql_parse.cc:6447
|
#17 0x0000000000670438 in dispatch_command (command=COM_QUERY, thd=0x7fa626bc8070, packet=0x7fa626e9b071 "DROP TABLE t1", packet_length=13) at 10.0/sql/sql_parse.cc:1308
|
#18 0x000000000066f7da in do_command (thd=0x7fa626bc8070) at 10.0/sql/sql_parse.cc:1005
|
#19 0x0000000000789e72 in do_handle_one_connection (thd_arg=0x7fa626bc8070) at 10.0/sql/sql_connect.cc:1379
|
#20 0x0000000000789bc5 in handle_one_connection (arg=0x7fa626bc8070) at 10.0/sql/sql_connect.cc:1293
|
#21 0x0000000000a2f174 in pfs_spawn_thread (arg=0x7fa626bf13f0) at 10.0/storage/perfschema/pfs.cc:1853
|
#22 0x00007fa6466abb50 in start_thread (arg=<optimized out>) at pthread_create.c:304
|
#23 0x00007fa644bb6a7d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
|
revision-id: svoj@mariadb.org-20140320071113-ql1nx7dc9h22odx3
|
date: 2014-03-20 11:11:13 +0400
|
build-date: 2014-03-21 02:40:25 +0400
|
revno: 4071
|
branch-nick: 10.0
|
{"report":{"fcp":1019.8000001907349,"ttfb":250.7000002861023,"pageVisibility":"visible","entityId":33144,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"532c235c-dc01-411c-a423-9724384b087f","navigationType":0,"readyForUser":1118.5,"redirectCount":0,"resourceLoadedEnd":705.3000001907349,"resourceLoadedStart":255.80000019073486,"resourceTiming":[{"duration":27,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":255.80000019073486,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":255.80000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":282.80000019073486,"responseStart":0,"secureConnectionStart":0},{"duration":35.90000009536743,"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":256.09999990463257,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":256.09999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":292,"responseStart":0,"secureConnectionStart":0},{"duration":303.90000009536743,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":256.30000019073486,"connectEnd":256.30000019073486,"connectStart":256.30000019073486,"domainLookupEnd":256.30000019073486,"domainLookupStart":256.30000019073486,"fetchStart":256.30000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":294.40000009536743,"responseEnd":560.2000002861023,"responseStart":308.09999990463257,"secureConnectionStart":256.30000019073486},{"duration":444.5,"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":260.80000019073486,"connectEnd":260.80000019073486,"connectStart":260.80000019073486,"domainLookupEnd":260.80000019073486,"domainLookupStart":260.80000019073486,"fetchStart":260.80000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":297.5,"responseEnd":705.3000001907349,"responseStart":313.80000019073486,"secureConnectionStart":260.80000019073486},{"duration":64,"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":261.09999990463257,"connectEnd":261.09999990463257,"connectStart":261.09999990463257,"domainLookupEnd":261.09999990463257,"domainLookupStart":261.09999990463257,"fetchStart":261.09999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":298.90000009536743,"responseEnd":325.09999990463257,"responseStart":318.90000009536743,"secureConnectionStart":261.09999990463257},{"duration":63.90000009536743,"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":261.30000019073486,"connectEnd":261.30000019073486,"connectStart":261.30000019073486,"domainLookupEnd":261.30000019073486,"domainLookupStart":261.30000019073486,"fetchStart":261.30000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":300.5,"responseEnd":325.2000002861023,"responseStart":323,"secureConnectionStart":261.30000019073486},{"duration":65.2000002861023,"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":261.5,"connectEnd":261.5,"connectStart":261.5,"domainLookupEnd":261.5,"domainLookupStart":261.5,"fetchStart":261.5,"redirectEnd":0,"redirectStart":0,"requestStart":301.40000009536743,"responseEnd":326.7000002861023,"responseStart":325.7000002861023,"secureConnectionStart":261.5},{"duration":40.09999990463257,"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":261.7000002861023,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":261.7000002861023,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":301.80000019073486,"responseStart":0,"secureConnectionStart":0},{"duration":69.7999997138977,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":261.80000019073486,"connectEnd":261.80000019073486,"connectStart":261.80000019073486,"domainLookupEnd":261.80000019073486,"domainLookupStart":261.80000019073486,"fetchStart":261.80000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":307.30000019073486,"responseEnd":331.59999990463257,"responseStart":330.59999990463257,"secureConnectionStart":261.80000019073486},{"duration":41.5,"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":262,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":262,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":303.5,"responseStart":0,"secureConnectionStart":0},{"duration":93.69999980926514,"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":262.2000002861023,"connectEnd":262.2000002861023,"connectStart":262.2000002861023,"domainLookupEnd":262.2000002861023,"domainLookupStart":262.2000002861023,"fetchStart":262.2000002861023,"redirectEnd":0,"redirectStart":0,"requestStart":308,"responseEnd":355.90000009536743,"responseStart":332,"secureConnectionStart":262.2000002861023},{"duration":431.19999980926514,"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":268.2000002861023,"connectEnd":268.2000002861023,"connectStart":268.2000002861023,"domainLookupEnd":268.2000002861023,"domainLookupStart":268.2000002861023,"fetchStart":268.2000002861023,"redirectEnd":0,"redirectStart":0,"requestStart":371.40000009536743,"responseEnd":699.4000000953674,"responseStart":695.7000002861023,"secureConnectionStart":268.2000002861023},{"duration":436.59999990463257,"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":268.2000002861023,"connectEnd":268.2000002861023,"connectStart":268.2000002861023,"domainLookupEnd":268.2000002861023,"domainLookupStart":268.2000002861023,"fetchStart":268.2000002861023,"redirectEnd":0,"redirectStart":0,"requestStart":395.30000019073486,"responseEnd":704.8000001907349,"responseStart":701.7000002861023,"secureConnectionStart":268.2000002861023},{"duration":101.09999990463257,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":712.3000001907349,"connectEnd":712.3000001907349,"connectStart":712.3000001907349,"domainLookupEnd":712.3000001907349,"domainLookupStart":712.3000001907349,"fetchStart":712.3000001907349,"redirectEnd":0,"redirectStart":0,"requestStart":779.3000001907349,"responseEnd":813.4000000953674,"responseStart":811.9000000953674,"secureConnectionStart":712.3000001907349},{"duration":253.2999997138977,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":963.8000001907349,"connectEnd":963.8000001907349,"connectStart":963.8000001907349,"domainLookupEnd":963.8000001907349,"domainLookupStart":963.8000001907349,"fetchStart":963.8000001907349,"redirectEnd":0,"redirectStart":0,"requestStart":1183.7000002861023,"responseEnd":1217.0999999046326,"responseStart":1216.5999999046326,"secureConnectionStart":963.8000001907349},{"duration":268.3999996185303,"initiatorType":"script","name":"https://www.google-analytics.com/analytics.js","startTime":1012.2000002861023,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":1012.2000002861023,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1280.5999999046326,"responseStart":0,"secureConnectionStart":0}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":98,"responseStart":251,"responseEnd":267,"domLoading":254,"domInteractive":1218,"domContentLoadedEventStart":1218,"domContentLoadedEventEnd":1267,"domComplete":1738,"loadEventStart":1738,"loadEventEnd":1738,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1197.3000001907349},{"name":"bigPipe.sidebar-id.end","time":1198.3000001907349},{"name":"bigPipe.activity-panel-pipe-id.start","time":1198.5},{"name":"bigPipe.activity-panel-pipe-id.end","time":1199.4000000953674},{"name":"activityTabFullyLoaded","time":1289.0999999046326}],"measures":[],"correlationId":"1501a0f92f6674","effectiveType":"4g","downlink":9.6,"rtt":0,"serverDuration":84,"dbReadsTimeInMs":9,"dbConnsTimeInMs":17,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}
This was fixed by not returning an error code from external_lock (this command was not expected in that context)
However, this is just hiding another bug not related to CONNECT. When external_lock is called, the lock type is F_UNLCK indeed but later, when an error code is returned, a MariaDB DBUG_ASSERT test the lock type which, I don't know where, has been changed to F_RDLCK and then a signal is raised causing the server to crash. We have already discuss that matter with Sergei and I was expecting this was fix.