########### E:\buildbot\bbwin1\win-rqg-se\build\..\..\..\vardirs\10.0-2626\optim-crash-tests\trial3.log (STATUS_SERVER_CRASHED): last lines from the error log ###
|
Assertion failed: err_key < ha_alter_info->key_count, file E:\buildbot\bbwin1\win-rqg-se\build-debug\storage\xtradb\handler\handler0alter.cc, line 5115
|
R6010
|
- abort() has been called
|
160816 23:12:15 [ERROR] mysqld got exception 0x80000003 ;
|
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.
|
|
To report this bug, see https://mariadb.com/kb/en/reporting-bugs
|
|
We will try our best to scrape up some info that will hopefully help
|
diagnose the problem, but since we have already crashed,
|
something is definitely wrong and this may fail.
|
|
Server version: 10.0.27-MariaDB-debug
|
key_buffer_size=1048576
|
read_buffer_size=131072
|
max_used_connections=7
|
max_threads=501
|
thread_count=6
|
It is possible that mysqld could use up to
|
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 196095 K bytes of memory
|
Hope that's ok; if not, decrease some variables in the equation.
|
|
Thread pointer: 0x0x6e08df9778
|
Attempting backtrace. You can use the following information to find out
|
where mysqld died. If you see no messages after this, something went
|
terribly wrong...
|
mysqld.exe!my_sigabrt_handler()[my_thr_init.c:477]
|
mysqld.exe!raise()[winsig.c:594]
|
mysqld.exe!abort()[abort.c:82]
|
mysqld.exe!_wassert()[assert.c:380]
|
mysqld.exe!commit_try_rebuild()[handler0alter.cc:5115]
|
mysqld.exe!ha_innobase::commit_inplace_alter_table()[handler0alter.cc:5817]
|
mysqld.exe!handler::ha_commit_inplace_alter_table()[handler.cc:4191]
|
mysqld.exe!mysql_inplace_alter_table()[sql_table.cc:7122]
|
mysqld.exe!mysql_alter_table()[sql_table.cc:8885]
|
mysqld.exe!Sql_cmd_alter_table::execute()[sql_alter.cc:312]
|
mysqld.exe!mysql_execute_command()[sql_parse.cc:5115]
|
mysqld.exe!mysql_parse()[sql_parse.cc:6575]
|
mysqld.exe!dispatch_command()[sql_parse.cc:1312]
|
mysqld.exe!do_command()[sql_parse.cc:999]
|
mysqld.exe!threadpool_process_request()[threadpool_common.cc:239]
|
mysqld.exe!io_completion_callback()[threadpool_win.cc:568]
|
KERNEL32.DLL!VirtualUnlock()
|
ntdll.dll!RtlGetActiveActivationContext()
|
ntdll.dll!RtlFreeUnicodeString()
|
KERNEL32.DLL!BaseThreadInitThunk()
|
ntdll.dll!RtlUserThreadStart()
|
|
Trying to get some variables.
|
Some pointers may be invalid and cause the dump to abort.
|
Query (0x6e08e05f30): ALTER TABLE t1 DROP COLUMN col3 /* QUERY_NO 2056 CON_ID 12 */
|
Connection ID (thread ID): 12
|
Status: NOT_KILLED
|
- duplicates
-
MDEV-12827
Assertion failure when reporting duplicate key error in online table rebuild
-
-
Closed
{"report":{"fcp":800.5999999940395,"ttfb":216.09999999403954,"pageVisibility":"visible","entityId":57714,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":1,"journeyId":"207f6e60-72df-4df1-ad20-ef4180a361a2","navigationType":0,"readyForUser":877.7000000178814,"redirectCount":0,"resourceLoadedEnd":758.4000000059605,"resourceLoadedStart":222.40000000596046,"resourceTiming":[{"duration":20.900000005960464,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2bv2/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":222.40000000596046,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":222.40000000596046,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":243.30000001192093,"responseStart":0,"secureConnectionStart":0},{"duration":21.80000001192093,"initiatorType":"link","name":"https://jira.mariadb.org/s/7ebd35e77e471bc30ff0eba799ebc151-CDN/lu2bv2/820016/12ta74/2380add21a9a1006587582385952de73/_/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":222.59999999403954,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":222.59999999403954,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":244.40000000596046,"responseStart":0,"secureConnectionStart":0},{"duration":76,"initiatorType":"script","name":"https://jira.mariadb.org/s/e9b27a47da5fb0f74a35acd57e9847fb-CDN/lu2bv2/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":222.80000001192093,"connectEnd":222.80000001192093,"connectStart":222.80000001192093,"domainLookupEnd":222.80000001192093,"domainLookupStart":222.80000001192093,"fetchStart":222.80000001192093,"redirectEnd":0,"redirectStart":0,"requestStart":222.80000001192093,"responseEnd":298.80000001192093,"responseStart":298.80000001192093,"secureConnectionStart":222.80000001192093},{"duration":162.5,"initiatorType":"script","name":"https://jira.mariadb.org/s/c32eb0da7ad9831253f8397e6cc26afd-CDN/lu2bv2/820016/12ta74/2380add21a9a1006587582385952de73/_/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":223,"connectEnd":223,"connectStart":223,"domainLookupEnd":223,"domainLookupStart":223,"fetchStart":223,"redirectEnd":0,"redirectStart":0,"requestStart":223,"responseEnd":385.5,"responseStart":385.5,"secureConnectionStart":223},{"duration":166.19999998807907,"initiatorType":"script","name":"https://jira.mariadb.org/s/bc0bcb146314416123c992714ee00ff7-CDN/lu2bv2/820016/12ta74/c92c0caa9a024ae85b0ebdbed7fb4bd7/_/download/contextbatch/js/atl.global,-_super/batch.js?locale=en","startTime":223.30000001192093,"connectEnd":223.30000001192093,"connectStart":223.30000001192093,"domainLookupEnd":223.30000001192093,"domainLookupStart":223.30000001192093,"fetchStart":223.30000001192093,"redirectEnd":0,"redirectStart":0,"requestStart":223.30000001192093,"responseEnd":389.5,"responseStart":389.5,"secureConnectionStart":223.30000001192093},{"duration":166.40000000596046,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bv2/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-en/jira.webresources:calendar-en.js","startTime":223.59999999403954,"connectEnd":223.59999999403954,"connectStart":223.59999999403954,"domainLookupEnd":223.59999999403954,"domainLookupStart":223.59999999403954,"fetchStart":223.59999999403954,"redirectEnd":0,"redirectStart":0,"requestStart":223.59999999403954,"responseEnd":390,"responseStart":390,"secureConnectionStart":223.59999999403954},{"duration":167.09999999403954,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bv2/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-localisation-moment/jira.webresources:calendar-localisation-moment.js","startTime":223.7000000178814,"connectEnd":223.7000000178814,"connectStart":223.7000000178814,"domainLookupEnd":223.7000000178814,"domainLookupStart":223.7000000178814,"fetchStart":223.7000000178814,"redirectEnd":0,"redirectStart":0,"requestStart":223.7000000178814,"responseEnd":390.80000001192093,"responseStart":390.80000001192093,"secureConnectionStart":223.7000000178814},{"duration":216.30000001192093,"initiatorType":"link","name":"https://jira.mariadb.org/s/b04b06a02d1959df322d9cded3aeecc1-CDN/lu2bv2/820016/12ta74/a2ff6aa845ffc9a1d22fe23d9ee791fc/_/download/contextbatch/css/jira.global.look-and-feel,-_super/batch.css","startTime":223.90000000596046,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":223.90000000596046,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":440.2000000178814,"responseStart":0,"secureConnectionStart":0},{"duration":167.40000000596046,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":224,"connectEnd":224,"connectStart":224,"domainLookupEnd":224,"domainLookupStart":224,"fetchStart":224,"redirectEnd":0,"redirectStart":0,"requestStart":224,"responseEnd":391.40000000596046,"responseStart":391.40000000596046,"secureConnectionStart":224},{"duration":216.09999999403954,"initiatorType":"link","name":"https://jira.mariadb.org/s/3ac36323ba5e4eb0af2aa7ac7211b4bb-CDN/lu2bv2/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":224.2000000178814,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":224.2000000178814,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":440.30000001192093,"responseStart":0,"secureConnectionStart":0},{"duration":167.80000001192093,"initiatorType":"script","name":"https://jira.mariadb.org/s/719848dd97ebe0663199f49a3936487a-CDN/lu2bv2/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":224.40000000596046,"connectEnd":224.40000000596046,"connectStart":224.40000000596046,"domainLookupEnd":224.40000000596046,"domainLookupStart":224.40000000596046,"fetchStart":224.40000000596046,"redirectEnd":0,"redirectStart":0,"requestStart":224.40000000596046,"responseEnd":392.2000000178814,"responseStart":392.2000000178814,"secureConnectionStart":224.40000000596046},{"duration":394.7999999821186,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bv2/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-js/jira.webresources:bigpipe-js.js","startTime":225.30000001192093,"connectEnd":225.30000001192093,"connectStart":225.30000001192093,"domainLookupEnd":225.30000001192093,"domainLookupStart":225.30000001192093,"fetchStart":225.30000001192093,"redirectEnd":0,"redirectStart":0,"requestStart":225.30000001192093,"responseEnd":620.0999999940395,"responseStart":620.0999999940395,"secureConnectionStart":225.30000001192093},{"duration":528.5,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bv2/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-init/jira.webresources:bigpipe-init.js","startTime":229.90000000596046,"connectEnd":229.90000000596046,"connectStart":229.90000000596046,"domainLookupEnd":229.90000000596046,"domainLookupStart":229.90000000596046,"fetchStart":229.90000000596046,"redirectEnd":0,"redirectStart":0,"requestStart":229.90000000596046,"responseEnd":758.4000000059605,"responseStart":758.4000000059605,"secureConnectionStart":229.90000000596046},{"duration":168.80000001192093,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":451.59999999403954,"connectEnd":451.59999999403954,"connectStart":451.59999999403954,"domainLookupEnd":451.59999999403954,"domainLookupStart":451.59999999403954,"fetchStart":451.59999999403954,"redirectEnd":0,"redirectStart":0,"requestStart":451.59999999403954,"responseEnd":620.4000000059605,"responseStart":620.4000000059605,"secureConnectionStart":451.59999999403954},{"duration":246.90000000596046,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bv2/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","startTime":706,"connectEnd":706,"connectStart":706,"domainLookupEnd":706,"domainLookupStart":706,"fetchStart":706,"redirectEnd":0,"redirectStart":0,"requestStart":706,"responseEnd":952.9000000059605,"responseStart":952.9000000059605,"secureConnectionStart":706}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":44,"responseStart":216,"responseEnd":226,"domLoading":220,"domInteractive":938,"domContentLoadedEventStart":938,"domContentLoadedEventEnd":985,"domComplete":1347,"loadEventStart":1347,"loadEventEnd":1348,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":915.5999999940395},{"name":"bigPipe.sidebar-id.end","time":916.4000000059605},{"name":"bigPipe.activity-panel-pipe-id.start","time":916.5},{"name":"bigPipe.activity-panel-pipe-id.end","time":918.2000000178814},{"name":"activityTabFullyLoaded","time":1004}],"measures":[],"correlationId":"8ae3cd5a7646e6","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":101,"dbReadsTimeInMs":12,"dbConnsTimeInMs":20,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}
Got it locally, but in a long test:
perl ./runall.pl --no-mask --seed=1499017203 --threads=5 --duration=3600 --queries=100M --reporters=QueryTimeout,Backtrace,ErrorLog,Deadlock,Shutdown --redefine=conf/mariadb/redefine_random_keys.yy --redefine=conf/mariadb/redefine_set_session_vars.yy --validators=TransformerNoComparator --transformers=ConvertSubqueriesToViews,DisableOptimizations,EnableOptimizations,ExecuteAsCTE,ExecuteAsInsertSelect,ExecuteAsPreparedOnce,ExecuteAsSelectItem,ExecuteAsUnion,ExecuteAsUpdateDelete,ExecuteAsView,NullIf,OrderBy,StraightJoin,ExecuteAsExecuteImmediate --grammar=conf/runtime/alter_online.yy --gendata=conf/runtime/alter_online.zz --mtr-build-thread=150 --basedir1=/data/bld/10.0 --vardir1=/data/logs/analyze2
10.0 a02ba9c1c96f8245b2fd5c8b555c74204af421e3
mysqld: /data/src/10.0/storage/xtradb/handler/handler0alter.cc:5133: bool commit_try_rebuild(Alter_inplace_info*, ha_innobase_inplace_ctx*, TABLE*, const TABLE*, trx_t*, const char*): Assertion `err_key < ha_alter_info->key_count' failed.
170703 21:54:10 [ERROR] mysqld got signal 6 ;
# 2017-07-03T21:54:17 [1387] #6 0x00007fcfdc6cbe37 in __assert_fail_base () from /lib/x86_64-linux-gnu/libc.so.6
# 2017-07-03T21:54:17 [1387] #7 0x00007fcfdc6cbee2 in __assert_fail () from /lib/x86_64-linux-gnu/libc.so.6
# 2017-07-03T21:54:17 [1387] #8 0x0000000000b70a42 in commit_try_rebuild (ha_alter_info=0x7fcfde9572c0, ctx=0x7fcfb8822d18, altered_table=0x7fcfb889b070, old_table=0x7fcfb88ed470, trx=0x7fcfb9c90678, table_name=0x7fcfb805c175 "t1") at /data/src/10.0/storage/xtradb/handler/handler0alter.cc:5132
# 2017-07-03T21:54:17 [1387] #9 0x0000000000b6e592 in ha_innobase::commit_inplace_alter_table (this=0x7fcfab37a888, altered_table=0x7fcfb889b070, ha_alter_info=0x7fcfde9572c0, commit=true) at /data/src/10.0/storage/xtradb/handler/handler0alter.cc:5834
# 2017-07-03T21:54:17 [1387] #10 0x000000000084020f in handler::ha_commit_inplace_alter_table (this=0x7fcfab37a888, altered_table=0x7fcfb889b070, ha_alter_info=0x7fcfde9572c0, commit=true) at /data/src/10.0/sql/handler.cc:4199
# 2017-07-03T21:54:17 [1387] #11 0x00000000006ff451 in mysql_inplace_alter_table (thd=0x7fcfc2723070, table_list=0x7fcfb88211b0, table=0x7fcfb88ed470, altered_table=0x7fcfb889b070, ha_alter_info=0x7fcfde9572c0, inplace_supported=HA_ALTER_INPLACE_NO_LOCK_AFTER_PREPARE, target_mdl_request=0x7fcfde956d10, alter_ctx=0x7fcfde9578a0) at /data/src/10.0/sql/sql_table.cc:7145
# 2017-07-03T21:54:17 [1387] #12 0x000000000070386d in mysql_alter_table (thd=0x7fcfc2723070, new_db=0x7fcfb8821790 "test", new_name=0x0, create_info=0x7fcfde958540, table_list=0x7fcfb88211b0, alter_info=0x7fcfde9584b0, order_num=0, order=0x0, ignore=false) at /data/src/10.0/sql/sql_table.cc:8910
# 2017-07-03T21:54:17 [1387] #13 0x000000000076baaf in Sql_cmd_alter_table::execute (this=0x7fcfb8821878, thd=0x7fcfc2723070) at /data/src/10.0/sql/sql_alter.cc:312
# 2017-07-03T21:54:17 [1387] #14 0x00000000006529d3 in mysql_execute_command (thd=0x7fcfc2723070) at /data/src/10.0/sql/sql_parse.cc:5124
# 2017-07-03T21:54:17 [1387] #15 0x0000000000655e0a in mysql_parse (thd=0x7fcfc2723070, rawbuf=0x7fcfb8821088 "ALTER TABLE t1 ADD COLUMN extra INT /* QNO 7491 CON_ID 11 */", length=60, parser_state=0x7fcfde9596a0) at /data/src/10.0/sql/sql_parse.cc:6579
# 2017-07-03T21:54:17 [1387] #16 0x000000000064896a in dispatch_command (command=COM_QUERY, thd=0x7fcfc2723070, packet=0x7fcfc2729071 "ALTER TABLE t1 ADD COLUMN extra INT /* QNO 7491 CON_ID 11 */ ", packet_length=61) at /data/src/10.0/sql/sql_parse.cc:1309
# 2017-07-03T21:54:17 [1387] #17 0x0000000000647c2d in do_command (thd=0x7fcfc2723070) at /data/src/10.0/sql/sql_parse.cc:999
# 2017-07-03T21:54:17 [1387] #18 0x0000000000767202 in do_handle_one_connection (thd_arg=0x7fcfc2723070) at /data/src/10.0/sql/sql_connect.cc:1377
# 2017-07-03T21:54:17 [1387] #19 0x0000000000766f74 in handle_one_connection (arg=0x7fcfc2723070) at /data/src/10.0/sql/sql_connect.cc:1292
# 2017-07-03T21:54:17 [1387] #20 0x00007fcfde63d494 in start_thread (arg=0x7fcfde95a700) at pthread_create.c:333
# 2017-07-03T21:54:17 [1387] #21 0x00007fcfdc78893f in clone () from /lib/x86_64-linux-gnu/libc.so.6
Trying to get some variables.
Some pointers may be invalid and cause the dump to abort.
Query (0x7fcfb8821088): ALTER TABLE t1 ADD COLUMN extra INT /* QNO 7491 CON_ID 11 */
Connection ID (thread ID): 11
Status: NOT_KILLED