http://buildbot.askmonty.org/buildbot/builders/kvm-fulltest2-big/builds/154/steps/test_1/logs/stdio
innodb.innodb_defrag_concurrent 'xtradb' w1 [ fail ]
|
Test ended at 2016-11-22 05:19:14
|
|
CURRENT_TEST: innodb.innodb_defrag_concurrent
|
mysqltest: At line 85: query 'reap' failed: 2013: Lost connection to MySQL server during query
|
|
The result from queries just before the failure was:
|
< snip >
|
select count(stat_value) > 0 from mysql.innodb_index_stats where table_name like '%t1%' and stat_name in ('n_pages_freed');
|
count(stat_value) > 0
|
0
|
select count(stat_value) > 0 from mysql.innodb_index_stats where table_name like '%t1%' and stat_name in ('n_page_split');
|
count(stat_value) > 0
|
1
|
select count(stat_value) > 0 from mysql.innodb_index_stats where table_name like '%t1%' and stat_name in ('n_leaf_pages_defrag');
|
count(stat_value) > 0
|
1
|
connection con1;
|
optimize table t1;;
|
connection default;
|
INSERT INTO t1 VALUES (400000, REPEAT('A', 256),300000);;
|
connection con2;
|
INSERT INTO t1 VALUES (500000, REPEAT('A', 256),400000);;
|
connection con3;
|
DELETE FROM t1 where a between 1 and 100;;
|
connection con4;
|
UPDATE t1 SET c = c + 1 where c between 2000 and 8000;;
|
connection con1;
|
Version: '10.2.3-MariaDB-debug-log' socket: '/mnt/buildbot/build/mariadb-10.2.3/mysql-test/var/tmp/1/mysqld.1.sock' port: 16000 Source distribution
|
########################################
|
DEADLOCK of threads detected!
|
rw-lock 0xb0cd5854 --Thread 2848327488 has waited at btr0cur.cc line 6332 for 0.00 seconds the semaphore:
|
S-lock on RW-latch at 0xb0cd5854 created in file buf0buf.cc line 1504
|
a writer (thread id 2792340288) has reserved it in mode exclusive
|
number of readers 0, waiters flag 1, lock_word: dfffffe4
|
Last time read locked in file btr0cur.cc line 6332
|
Last time write locked in file /home/buildbot/buildbot/build/mariadb-10.2.3/storage/innobase/btr/btr0cur.cc line 1915
|
Locked: thread 2792340288 file btr0cur.cc line 1915 X-LOCK
|
rw-lock 0xb0cf892c --Thread 2792340288 has waited at btr0cur.cc line 1915 for 0.00 seconds the semaphore:
|
X-lock (wait_ex) on RW-latch at 0xb0cf892c created in file buf0buf.cc line 1504
|
a writer (thread id 2792340288) has reserved it in mode wait exclusive
|
number of readers 1, waiters flag 0, lock_word: efffffff
|
Last time read locked in file btr0cur.cc line 6332
|
Last time write locked in file /home/buildbot/buildbot/build/mariadb-10.2.3/storage/innobase/btr/btr0btr.cc line 174
|
Locked: thread 2848327488 file btr0cur.cc line 6332 S-LOCK
|
Locked: thread 2848327488 file btr0cur.cc line 6332 S-LOCK
|
2016-11-22 5:19:04 2792340288 [ERROR] [FATAL] InnoDB: ######################################## Deadlock Detected!
|
2016-11-22 05:19:04 0xa66fbb40 InnoDB: Assertion failure in thread 2792340288 in file ut0ut.cc line 949
|
InnoDB: We intentionally generate a memory trap.
|
InnoDB: Submit a detailed bug report to http://bugs.mysql.com.
|
InnoDB: If you get repeated assertion failures or crashes, even
|
InnoDB: immediately after the mysqld startup, there may be
|
InnoDB: corruption in the InnoDB tablespace. Please refer to
|
InnoDB: http://dev.mysql.com/doc/refman/5.7/en/forcing-innodb-recovery.html
|
InnoDB: about forcing recovery.
|
161122 5:19:04 [ERROR] mysqld got signal 6 ;
|
This could be because you hit a bug. It is also possible that this binary
|
or one of the libraries it was linked against is corrupt, improperly built,
|
or misconfigured. This error can also be caused by malfunctioning hardware.
|
According to cross-reference, it only started happening on 10.2 tree recently (this was the first occurrence: http://buildbot.askmonty.org/buildbot/builders/kvm-fulltest2-big/builds/118)
But it happened before on development trees – bb-10.2-jan-wlad, bb-10.2-svoj, bb-10.2-jan.
{"report":{"fcp":1310.0999999046326,"ttfb":376.30000019073486,"pageVisibility":"visible","entityId":59026,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"b23cfdcb-ea9b-4ae6-8797-6f57ce7561ba","navigationType":0,"readyForUser":1420.5,"redirectCount":0,"resourceLoadedEnd":1001.5999999046326,"resourceLoadedStart":387.69999980926514,"resourceTiming":[{"duration":106,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":387.69999980926514,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":387.69999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":493.69999980926514,"responseStart":0,"secureConnectionStart":0},{"duration":106,"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":388,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":388,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":494,"responseStart":0,"secureConnectionStart":0},{"duration":448.30000019073486,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":388.19999980926514,"connectEnd":388.19999980926514,"connectStart":388.19999980926514,"domainLookupEnd":388.19999980926514,"domainLookupStart":388.19999980926514,"fetchStart":388.19999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":496.30000019073486,"responseEnd":836.5,"responseStart":526.9000000953674,"secureConnectionStart":388.19999980926514},{"duration":594.2999997138977,"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":388.30000019073486,"connectEnd":388.30000019073486,"connectStart":388.30000019073486,"domainLookupEnd":388.30000019073486,"domainLookupStart":388.30000019073486,"fetchStart":388.30000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":497.5,"responseEnd":982.5999999046326,"responseStart":527.5,"secureConnectionStart":388.30000019073486},{"duration":137.59999990463257,"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":388.59999990463257,"connectEnd":388.59999990463257,"connectStart":388.59999990463257,"domainLookupEnd":388.59999990463257,"domainLookupStart":388.59999990463257,"fetchStart":388.59999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":498.09999990463257,"responseEnd":526.1999998092651,"responseStart":514,"secureConnectionStart":388.59999990463257},{"duration":141,"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":388.80000019073486,"connectEnd":388.80000019073486,"connectStart":388.80000019073486,"domainLookupEnd":388.80000019073486,"domainLookupStart":388.80000019073486,"fetchStart":388.80000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":498.69999980926514,"responseEnd":529.8000001907349,"responseStart":524.8000001907349,"secureConnectionStart":388.80000019073486},{"duration":144.40000009536743,"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":389,"connectEnd":389,"connectStart":389,"domainLookupEnd":389,"domainLookupStart":389,"fetchStart":389,"redirectEnd":0,"redirectStart":0,"requestStart":499.69999980926514,"responseEnd":533.4000000953674,"responseStart":531.5999999046326,"secureConnectionStart":389},{"duration":110.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":389.09999990463257,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":389.09999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":499.19999980926514,"responseStart":0,"secureConnectionStart":0},{"duration":153.39999961853027,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":389.30000019073486,"connectEnd":389.30000019073486,"connectStart":389.30000019073486,"domainLookupEnd":389.30000019073486,"domainLookupStart":389.30000019073486,"fetchStart":389.30000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":505.19999980926514,"responseEnd":542.6999998092651,"responseStart":537,"secureConnectionStart":389.30000019073486},{"duration":111,"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":389.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":389.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":500.5,"responseStart":0,"secureConnectionStart":0},{"duration":153.80000019073486,"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":389.69999980926514,"connectEnd":389.69999980926514,"connectStart":389.69999980926514,"domainLookupEnd":389.69999980926514,"domainLookupStart":389.69999980926514,"fetchStart":389.69999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":507.5,"responseEnd":543.5,"responseStart":537.6999998092651,"secureConnectionStart":389.69999980926514},{"duration":596.6000003814697,"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":402.19999980926514,"connectEnd":402.19999980926514,"connectStart":402.19999980926514,"domainLookupEnd":402.19999980926514,"domainLookupStart":402.19999980926514,"fetchStart":402.19999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":684.5,"responseEnd":998.8000001907349,"responseStart":984.8000001907349,"secureConnectionStart":402.19999980926514},{"duration":599.4000000953674,"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":402.19999980926514,"connectEnd":402.19999980926514,"connectStart":402.19999980926514,"domainLookupEnd":402.19999980926514,"domainLookupStart":402.19999980926514,"fetchStart":402.19999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":765.9000000953674,"responseEnd":1001.5999999046326,"responseStart":992.0999999046326,"secureConnectionStart":402.19999980926514},{"duration":269.90000009536743,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":989.1999998092651,"connectEnd":989.1999998092651,"connectStart":989.1999998092651,"domainLookupEnd":989.1999998092651,"domainLookupStart":989.1999998092651,"fetchStart":989.1999998092651,"redirectEnd":0,"redirectStart":0,"requestStart":1224.1999998092651,"responseEnd":1259.0999999046326,"responseStart":1257.8000001907349,"secureConnectionStart":989.1999998092651}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":175,"responseStart":377,"responseEnd":401,"domLoading":380,"domInteractive":1498,"domContentLoadedEventStart":1498,"domContentLoadedEventEnd":1555,"domComplete":2717,"loadEventStart":2717,"loadEventEnd":2717,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1467.8000001907349},{"name":"bigPipe.sidebar-id.end","time":1468.5999999046326},{"name":"bigPipe.activity-panel-pipe-id.start","time":1468.8000001907349},{"name":"bigPipe.activity-panel-pipe-id.end","time":1470.3000001907349},{"name":"activityTabFullyLoaded","time":1572.3000001907349}],"measures":[],"correlationId":"bbe2de522d4d93","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":107,"dbReadsTimeInMs":18,"dbConnsTimeInMs":27,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}
BTR_INTENTION_BOTH is not available outside of btr0cur.cc but this seams to work fine with X-lock on dict_index_t::lock. I will see if gis is supported (do not very well know this code).