How to repeat:
1. Start server with --sql_mode='STRICT_TRANS_TABLES'
2. Execute the following commands:
MariaDB [test]> create table t1(a TEXT not null) ROW_FORMAT=DYNAMIC;
|
Query OK, 0 rows affected (0.02 sec)
|
|
MariaDB [test]> create index idx1 on t1(a(3073));
|
ERROR 2013 (HY000): Lost connection to MySQL server during query
|
Stacktrace:
2017-02-04 21:32:18 140557726610176 [Note] InnoDB: Online DDL : Start applying row log
|
2017-02-04 21:32:18 140557726610176 [Note] InnoDB: Online DDL : End of applying row log
|
2017-02-04 21:32:18 140557726610176 [Note] InnoDB: Online DDL : Completed
|
mysqld: /home/nirbhay/project/git-repo/mariadb/10.2/sql/sql_error.cc:380: void Diagnostics_area::set_ok_status(ulonglong, ulonglong, const char*): Assertion `!is_set() || (m_status == DA_OK_BULK && is_bulk_op())' failed.
|
170204 21:32:18 [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.
|
|
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.2.4-MariaDB-debug
|
key_buffer_size=134217728
|
read_buffer_size=131072
|
max_used_connections=1
|
max_threads=153
|
thread_count=7
|
It is possible that mysqld could use up to
|
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 467287 K bytes of memory
|
Hope that's ok; if not, decrease some variables in the equation.
|
|
Thread pointer: 0x0x7fd604417070
|
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...
|
stack_bottom = 0x7fd6255d6a80 thread_stack 0x48c00
|
./bin/mysqld(my_print_stacktrace+0x38)[0x558e471ce1cb]
|
addr2line: './bin/mysqld': No such file
|
./bin/mysqld(handle_fatal_signal+0x3a3)[0x558e46a3b896]
|
/lib/x86_64-linux-gnu/libpthread.so.0(+0x11390)[0x7fd62390b390]
|
/lib/x86_64-linux-gnu/libc.so.6(gsignal+0x38)[0x7fd622cc5428]
|
/lib/x86_64-linux-gnu/libc.so.6(abort+0x16a)[0x7fd622cc702a]
|
/lib/x86_64-linux-gnu/libc.so.6(+0x2dbd7)[0x7fd622cbdbd7]
|
/lib/x86_64-linux-gnu/libc.so.6(+0x2dc82)[0x7fd622cbdc82]
|
./bin/mysqld(_ZN16Diagnostics_area13set_ok_statusEyyPKc+0x89)[0x558e467a7961]
|
./bin/mysqld(_Z5my_okP3THDyyPKc+0x4e)[0x558e4675cd0d]
|
./bin/mysqld(_Z17mysql_alter_tableP3THDPcS1_P14HA_CREATE_INFOP10TABLE_LISTP10Alter_infojP8st_orderb+0x2931)[0x558e468a5893]
|
./bin/mysqld(_Z21mysql_execute_commandP3THD+0x2f9a)[0x558e467d5366]
|
./bin/mysqld(_Z11mysql_parseP3THDPcjP12Parser_statebb+0x29d)[0x558e467e184b]
|
./bin/mysqld(_Z16dispatch_command19enum_server_commandP3THDPcjbb+0xf2f)[0x558e467cf6a1]
|
./bin/mysqld(_Z10do_commandP3THD+0x712)[0x558e467ce092]
|
./bin/mysqld(_Z24do_handle_one_connectionP7CONNECT+0x1ca)[0x558e469165b1]
|
./bin/mysqld(handle_one_connection+0x30)[0x558e46916331]
|
/lib/x86_64-linux-gnu/libpthread.so.0(+0x76ba)[0x7fd6239016ba]
|
/lib/x86_64-linux-gnu/libc.so.6(clone+0x6d)[0x7fd622d9682d]
|
|
Trying to get some variables.
|
Some pointers may be invalid and cause the dump to abort.
|
Query (0x7fd604461088): create index idx1 on t1(a(3073))
|
Connection ID (thread ID): 7
|
Status: NOT_KILLED
|
|
Optimizer switch: index_merge=on,index_merge_union=on,index_merge_sort_union=on,index_merge_intersection=on,index_merge_sort_intersection=off,engine_condition_pushdown=off,index_condition_pushdown=on,derived_merge=on,derived_with_keys=on,firstmatch=on,loosescan=on,materialization=on,in_to_exists=on,semijoin=on,partial_match_rowid_merge=on,partial_match_table_scan=on,subquery_cache=on,mrr=off,mrr_cost_based=off,mrr_sort_keys=off,outer_join_with_cache=on,semijoin_with_cache=on,join_cache_incremental=on,join_cache_hashed=on,join_cache_bka=on,optimize_join_buffer_size=off,table_elimination=on,extended_keys=on,exists_to_in=on,orderby_uses_equalities=on,condition_pushdown_for_derived=on
|
|
The manual page at http://dev.mysql.com/doc/mysql/en/crashing.html contains
|
information that should help you find out what is causing the crash.
|
Aborted (core dumped)
|
- relates to
-
MDEV-7635
update defaults and simplify mysqld config parameters
-
-
Closed
{"report":{"fcp":904.5,"ttfb":286.7000000476837,"pageVisibility":"visible","entityId":60115,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"2f45b432-be71-45d6-bfc6-5c7708d800c7","navigationType":0,"readyForUser":1011.2000000476837,"redirectCount":0,"resourceLoadedEnd":962.5,"resourceLoadedStart":292.60000002384186,"resourceTiming":[{"duration":73.79999995231628,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":292.60000002384186,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":292.60000002384186,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":366.39999997615814,"responseStart":0,"secureConnectionStart":0},{"duration":73.89999997615814,"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":292.8000000715256,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":292.8000000715256,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":366.7000000476837,"responseStart":0,"secureConnectionStart":0},{"duration":129.80000007152557,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":293,"connectEnd":293,"connectStart":293,"domainLookupEnd":293,"domainLookupStart":293,"fetchStart":293,"redirectEnd":0,"redirectStart":0,"requestStart":293,"responseEnd":422.8000000715256,"responseStart":422.8000000715256,"secureConnectionStart":293},{"duration":240.19999992847443,"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":293.2000000476837,"connectEnd":293.2000000476837,"connectStart":293.2000000476837,"domainLookupEnd":293.2000000476837,"domainLookupStart":293.2000000476837,"fetchStart":293.2000000476837,"redirectEnd":0,"redirectStart":0,"requestStart":293.2000000476837,"responseEnd":533.3999999761581,"responseStart":533.3999999761581,"secureConnectionStart":293.2000000476837},{"duration":243.90000009536743,"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":293.39999997615814,"connectEnd":293.39999997615814,"connectStart":293.39999997615814,"domainLookupEnd":293.39999997615814,"domainLookupStart":293.39999997615814,"fetchStart":293.39999997615814,"redirectEnd":0,"redirectStart":0,"requestStart":293.39999997615814,"responseEnd":537.3000000715256,"responseStart":537.3000000715256,"secureConnectionStart":293.39999997615814},{"duration":244.39999997615814,"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":293.7000000476837,"connectEnd":293.7000000476837,"connectStart":293.7000000476837,"domainLookupEnd":293.7000000476837,"domainLookupStart":293.7000000476837,"fetchStart":293.7000000476837,"redirectEnd":0,"redirectStart":0,"requestStart":293.7000000476837,"responseEnd":538.1000000238419,"responseStart":538.1000000238419,"secureConnectionStart":293.7000000476837},{"duration":244.80000007152557,"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":293.89999997615814,"connectEnd":293.89999997615814,"connectStart":293.89999997615814,"domainLookupEnd":293.89999997615814,"domainLookupStart":293.89999997615814,"fetchStart":293.89999997615814,"redirectEnd":0,"redirectStart":0,"requestStart":293.89999997615814,"responseEnd":538.7000000476837,"responseStart":538.7000000476837,"secureConnectionStart":293.89999997615814},{"duration":279.60000002384186,"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":294,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":294,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":573.6000000238419,"responseStart":0,"secureConnectionStart":0},{"duration":245.10000002384186,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":294.10000002384186,"connectEnd":294.10000002384186,"connectStart":294.10000002384186,"domainLookupEnd":294.10000002384186,"domainLookupStart":294.10000002384186,"fetchStart":294.10000002384186,"redirectEnd":0,"redirectStart":0,"requestStart":294.10000002384186,"responseEnd":539.2000000476837,"responseStart":539.2000000476837,"secureConnectionStart":294.10000002384186},{"duration":279.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":294.3000000715256,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":294.3000000715256,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":573.8000000715256,"responseStart":0,"secureConnectionStart":0},{"duration":245.40000009536743,"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":294.39999997615814,"connectEnd":294.39999997615814,"connectStart":294.39999997615814,"domainLookupEnd":294.39999997615814,"domainLookupStart":294.39999997615814,"fetchStart":294.39999997615814,"redirectEnd":0,"redirectStart":0,"requestStart":294.39999997615814,"responseEnd":539.8000000715256,"responseStart":539.8000000715256,"secureConnectionStart":294.39999997615814},{"duration":613.8999999761581,"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":295.3000000715256,"connectEnd":295.3000000715256,"connectStart":295.3000000715256,"domainLookupEnd":295.3000000715256,"domainLookupStart":295.3000000715256,"fetchStart":295.3000000715256,"redirectEnd":0,"redirectStart":0,"requestStart":295.3000000715256,"responseEnd":909.2000000476837,"responseStart":909.2000000476837,"secureConnectionStart":295.3000000715256},{"duration":662.6999999284744,"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":299.8000000715256,"connectEnd":299.8000000715256,"connectStart":299.8000000715256,"domainLookupEnd":299.8000000715256,"domainLookupStart":299.8000000715256,"fetchStart":299.8000000715256,"redirectEnd":0,"redirectStart":0,"requestStart":299.8000000715256,"responseEnd":962.5,"responseStart":962.5,"secureConnectionStart":299.8000000715256},{"duration":323.7999999523163,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":585.8000000715256,"connectEnd":585.8000000715256,"connectStart":585.8000000715256,"domainLookupEnd":585.8000000715256,"domainLookupStart":585.8000000715256,"fetchStart":585.8000000715256,"redirectEnd":0,"redirectStart":0,"requestStart":585.8000000715256,"responseEnd":909.6000000238419,"responseStart":909.6000000238419,"secureConnectionStart":585.8000000715256}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":119,"responseStart":287,"responseEnd":292,"domLoading":290,"domInteractive":1219,"domContentLoadedEventStart":1219,"domContentLoadedEventEnd":1278,"domComplete":1610,"loadEventStart":1610,"loadEventEnd":1611,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1148},{"name":"bigPipe.sidebar-id.end","time":1148.8000000715256},{"name":"bigPipe.activity-panel-pipe-id.start","time":1148.8999999761581},{"name":"bigPipe.activity-panel-pipe-id.end","time":1150.5},{"name":"activityTabFullyLoaded","time":1293}],"measures":[],"correlationId":"e0b2640479ff47","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":100,"dbReadsTimeInMs":21,"dbConnsTimeInMs":30,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}