# ATTENTION: run with --mysqld=--debug-sync-timeout=2
|
|
--source include/have_innodb.inc
|
--source include/have_debug_sync.inc
|
|
--connect (con1,localhost,root,,)
|
CREATE TEMPORARY SEQUENCE f ENGINE=InnoDB;
|
--disconnect con1
|
--connection default
|
--sleep 3
|
SELECT 'Still alive' AS `Heartbeat`;
|
10.3 86b941703529
|
mysqld: /data/src/10.3/sql/debug_sync.cc:1540: void debug_sync(THD*, const char*, size_t): Assertion `ds_control' failed.
|
170607 15:51:15 [ERROR] mysqld got signal 6 ;
|
|
#3 <signal handler called>
|
#4 0x00007fa92c852fcf in raise () from /lib/x86_64-linux-gnu/libc.so.6
|
#5 0x00007fa92c8543fa in abort () from /lib/x86_64-linux-gnu/libc.so.6
|
#6 0x00007fa92c84be37 in __assert_fail_base () from /lib/x86_64-linux-gnu/libc.so.6
|
#7 0x00007fa92c84bee2 in __assert_fail () from /lib/x86_64-linux-gnu/libc.so.6
|
#8 0x000055f2f4d01b41 in debug_sync (thd=0x7fa8d8000b00, sync_point_name=0x55f2f59ec939 "after_trx_committed_in_memory", name_len=29) at /data/src/10.3/sql/debug_sync.cc:1540
|
#9 0x000055f2f5491e9e in trx_commit_in_memory (trx=0x7fa92678f8c8, mtr=0x7fa92443ee80, serialised=false) at /data/src/10.3/storage/innobase/trx/trx0trx.cc:1776
|
#10 0x000055f2f54929af in trx_commit_low (trx=0x7fa92678f8c8, mtr=0x7fa92443ee80) at /data/src/10.3/storage/innobase/trx/trx0trx.cc:2002
|
#11 0x000055f2f5492a70 in trx_commit (trx=0x7fa92678f8c8) at /data/src/10.3/storage/innobase/trx/trx0trx.cc:2026
|
#12 0x000055f2f5486703 in trx_rollback_finish (trx=0x7fa92678f8c8) at /data/src/10.3/storage/innobase/trx/trx0roll.cc:1152
|
#13 0x000055f2f5483ae9 in trx_rollback_to_savepoint_low (trx=0x7fa92678f8c8, savept=0x0) at /data/src/10.3/storage/innobase/trx/trx0roll.cc:126
|
#14 0x000055f2f5483e28 in trx_rollback_for_mysql_low (trx=0x7fa92678f8c8) at /data/src/10.3/storage/innobase/trx/trx0roll.cc:180
|
#15 0x000055f2f5484112 in trx_rollback_low (trx=0x7fa92678f8c8) at /data/src/10.3/storage/innobase/trx/trx0roll.cc:212
|
#16 0x000055f2f5484449 in trx_rollback_for_mysql (trx=0x7fa92678f8c8) at /data/src/10.3/storage/innobase/trx/trx0roll.cc:288
|
#17 0x000055f2f528ca60 in innobase_rollback_trx (trx=0x7fa92678f8c8) at /data/src/10.3/storage/innobase/handler/ha_innodb.cc:4871
|
#18 0x000055f2f528d609 in innobase_close_connection (hton=0x55f2f857ba00, thd=0x7fa8d8000b00) at /data/src/10.3/storage/innobase/handler/ha_innodb.cc:5244
|
#19 0x000055f2f4f80bee in closecon_handlerton (thd=0x7fa8d8000b00, plugin=0x7fa92443fcf8, unused=0x0) at /data/src/10.3/sql/handler.cc:775
|
#20 0x000055f2f4cec478 in plugin_foreach_with_mask (thd=0x7fa8d8000b00, func=0x55f2f4f80b73 <closecon_handlerton(THD*, plugin_ref, void*)>, type=1, state_mask=4294967287, arg=0x0) at /data/src/10.3/sql/sql_plugin.cc:2381
|
#21 0x000055f2f4f80c3c in ha_close_connection (thd=0x7fa8d8000b00) at /data/src/10.3/sql/handler.cc:788
|
#22 0x000055f2f4c7d177 in THD::free_connection (this=0x7fa8d8000b00) at /data/src/10.3/sql/sql_class.cc:1557
|
#23 0x000055f2f4be77aa in unlink_thd (thd=0x7fa8d8000b00) at /data/src/10.3/sql/mysqld.cc:2898
|
#24 0x000055f2f4be7c27 in one_thread_per_connection_end (thd=0x7fa8d8000b00, put_in_cache=true) at /data/src/10.3/sql/mysqld.cc:3039
|
#25 0x000055f2f4e184dd in do_handle_one_connection (connect=0x55f2f8b6fa90) at /data/src/10.3/sql/sql_connect.cc:1373
|
#26 0x000055f2f4e18181 in handle_one_connection (arg=0x55f2f8b6fa90) at /data/src/10.3/sql/sql_connect.cc:1260
|
#27 0x000055f2f5274a8d in pfs_spawn_thread (arg=0x55f2f8acf7e0) at /data/src/10.3/storage/perfschema/pfs.cc:1862
|
#28 0x00007fa92e585494 in start_thread (arg=0x7fa924440700) at pthread_create.c:333
|
#29 0x00007fa92c90893f in clone () from /lib/x86_64-linux-gnu/libc.so.6
|
- relates to
-
MDEV-13016
Testing SEQUENCE object phase 2
-
-
Closed
{"report":{"fcp":1736.8999998569489,"ttfb":677.3999998569489,"pageVisibility":"visible","entityId":61711,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"072839a1-22f3-4ece-abf2-7239fc66e620","navigationType":0,"readyForUser":1917.5999999046326,"redirectCount":0,"resourceLoadedEnd":1960.8999998569489,"resourceLoadedStart":683.6999998092651,"resourceTiming":[{"duration":368.40000009536743,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":683.6999998092651,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":683.6999998092651,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1052.0999999046326,"responseStart":0,"secureConnectionStart":0},{"duration":368.5,"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":684,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":684,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1052.5,"responseStart":0,"secureConnectionStart":0},{"duration":377.5,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":684.0999999046326,"connectEnd":684.0999999046326,"connectStart":684.0999999046326,"domainLookupEnd":684.0999999046326,"domainLookupStart":684.0999999046326,"fetchStart":684.0999999046326,"redirectEnd":0,"redirectStart":0,"requestStart":684.0999999046326,"responseEnd":1061.5999999046326,"responseStart":1061.5999999046326,"secureConnectionStart":684.0999999046326},{"duration":424.2000000476837,"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":684.2999999523163,"connectEnd":684.2999999523163,"connectStart":684.2999999523163,"domainLookupEnd":684.2999999523163,"domainLookupStart":684.2999999523163,"fetchStart":684.2999999523163,"redirectEnd":0,"redirectStart":0,"requestStart":684.2999999523163,"responseEnd":1108.5,"responseStart":1108.5,"secureConnectionStart":684.2999999523163},{"duration":428.2000000476837,"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":684.5999999046326,"connectEnd":684.5999999046326,"connectStart":684.5999999046326,"domainLookupEnd":684.5999999046326,"domainLookupStart":684.5999999046326,"fetchStart":684.5999999046326,"redirectEnd":0,"redirectStart":0,"requestStart":684.5999999046326,"responseEnd":1112.7999999523163,"responseStart":1112.7999999523163,"secureConnectionStart":684.5999999046326},{"duration":428.39999985694885,"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":684.7999999523163,"connectEnd":684.7999999523163,"connectStart":684.7999999523163,"domainLookupEnd":684.7999999523163,"domainLookupStart":684.7999999523163,"fetchStart":684.7999999523163,"redirectEnd":0,"redirectStart":0,"requestStart":684.7999999523163,"responseEnd":1113.1999998092651,"responseStart":1113.1999998092651,"secureConnectionStart":684.7999999523163},{"duration":428.59999990463257,"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":685,"connectEnd":685,"connectStart":685,"domainLookupEnd":685,"domainLookupStart":685,"fetchStart":685,"redirectEnd":0,"redirectStart":0,"requestStart":685,"responseEnd":1113.5999999046326,"responseStart":1113.5999999046326,"secureConnectionStart":685},{"duration":532.8000001907349,"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":685.1999998092651,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":685.1999998092651,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1218,"responseStart":0,"secureConnectionStart":0},{"duration":428.7999999523163,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":685.3999998569489,"connectEnd":685.3999998569489,"connectStart":685.3999998569489,"domainLookupEnd":685.3999998569489,"domainLookupStart":685.3999998569489,"fetchStart":685.3999998569489,"redirectEnd":0,"redirectStart":0,"requestStart":685.3999998569489,"responseEnd":1114.1999998092651,"responseStart":1114.1999998092651,"secureConnectionStart":685.3999998569489},{"duration":532.5999999046326,"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":685.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":685.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1218.0999999046326,"responseStart":0,"secureConnectionStart":0},{"duration":429.2999999523163,"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":685.5999999046326,"connectEnd":685.5999999046326,"connectStart":685.5999999046326,"domainLookupEnd":685.5999999046326,"domainLookupStart":685.5999999046326,"fetchStart":685.5999999046326,"redirectEnd":0,"redirectStart":0,"requestStart":685.5999999046326,"responseEnd":1114.8999998569489,"responseStart":1114.8999998569489,"secureConnectionStart":685.5999999046326},{"duration":890.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":686.5,"connectEnd":686.5,"connectStart":686.5,"domainLookupEnd":686.5,"domainLookupStart":686.5,"fetchStart":686.5,"redirectEnd":0,"redirectStart":0,"requestStart":686.5,"responseEnd":1576.5999999046326,"responseStart":1576.5999999046326,"secureConnectionStart":686.5},{"duration":967,"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":686.5999999046326,"connectEnd":686.5999999046326,"connectStart":686.5999999046326,"domainLookupEnd":686.5999999046326,"domainLookupStart":686.5999999046326,"fetchStart":686.5999999046326,"redirectEnd":0,"redirectStart":0,"requestStart":686.5999999046326,"responseEnd":1653.5999999046326,"responseStart":1653.5999999046326,"secureConnectionStart":686.5999999046326},{"duration":305.7000000476837,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":1271.2999999523163,"connectEnd":1271.2999999523163,"connectStart":1271.2999999523163,"domainLookupEnd":1271.2999999523163,"domainLookupStart":1271.2999999523163,"fetchStart":1271.2999999523163,"redirectEnd":0,"redirectStart":0,"requestStart":1271.2999999523163,"responseEnd":1577,"responseStart":1577,"secureConnectionStart":1271.2999999523163},{"duration":125.60000014305115,"initiatorType":"link","name":"https://jira.mariadb.org/s/d5715adaadd168a9002b108b2b039b50-CDN/lu2cib/820016/12ta74/be4b45e9cec53099498fa61c8b7acba4/_/download/contextbatch/css/jira.project.sidebar,-_super,-project.issue.navigator,-jira.general,-jira.browse.project,-jira.view.issue,-jira.global,-atl.general,-com.atlassian.jira.projects.sidebar.init/batch.css?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&slack-enabled=true&whisper-enabled=true","startTime":1603.3999998569489,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":1603.3999998569489,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1729,"responseStart":0,"secureConnectionStart":0},{"duration":351.10000014305115,"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":1604.3999998569489,"connectEnd":1604.3999998569489,"connectStart":1604.3999998569489,"domainLookupEnd":1604.3999998569489,"domainLookupStart":1604.3999998569489,"fetchStart":1604.3999998569489,"redirectEnd":0,"redirectStart":0,"requestStart":1604.3999998569489,"responseEnd":1955.5,"responseStart":1955.5,"secureConnectionStart":1604.3999998569489},{"duration":356.09999990463257,"initiatorType":"script","name":"https://jira.mariadb.org/s/097ae97cb8fbec7d6ea4bbb1f26955b9-CDN/lu2cib/820016/12ta74/be4b45e9cec53099498fa61c8b7acba4/_/download/contextbatch/js/jira.project.sidebar,-_super,-project.issue.navigator,-jira.general,-jira.browse.project,-jira.view.issue,-jira.global,-atl.general,-com.atlassian.jira.projects.sidebar.init/batch.js?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&locale=en&slack-enabled=true&whisper-enabled=true","startTime":1604.7999999523163,"connectEnd":1604.7999999523163,"connectStart":1604.7999999523163,"domainLookupEnd":1604.7999999523163,"domainLookupStart":1604.7999999523163,"fetchStart":1604.7999999523163,"redirectEnd":0,"redirectStart":0,"requestStart":1604.7999999523163,"responseEnd":1960.8999998569489,"responseStart":1960.8999998569489,"secureConnectionStart":1604.7999999523163}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":517,"responseStart":677,"responseEnd":680,"domLoading":681,"domInteractive":1988,"domContentLoadedEventStart":1988,"domContentLoadedEventEnd":2041,"domComplete":2440,"loadEventStart":2441,"loadEventEnd":2441,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1943.8999998569489},{"name":"bigPipe.sidebar-id.end","time":1961.0999999046326},{"name":"bigPipe.activity-panel-pipe-id.start","time":1961.5},{"name":"bigPipe.activity-panel-pipe-id.end","time":1962.5},{"name":"activityTabFullyLoaded","time":2058.699999809265}],"measures":[],"correlationId":"f6b8ddff95ae57","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":93,"dbReadsTimeInMs":14,"dbConnsTimeInMs":23,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}
This doesn't fail anymore in latest 10.3.
I am adding the test case to sql_sequence test suit, just in case.