When I use .sh test from https://bugs.launchpad.net/percona-xtrabackup/+bug/1399471 and ignore_builtin_innodb
plugin_load_add=ha_innodb
in my.cnf - I get reliable crash :
InnoDB: Apply batch completed
2017-02-08 09:34:38 7f4f19145780 InnoDB: Assertion failure in thread 139977699907456 in file pars0pars.cc line 865
InnoDB: Failing assertion: sym_node->table != NULL
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.6/en/forcing-innodb-recovery.html
InnoDB: about forcing recovery.
170208 9:34:38 [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.1.21-MariaDB
key_buffer_size=0
read_buffer_size=131072
max_used_connections=0
max_threads=1
thread_count=0
It is possible that mysqld could use up to
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 5297 K bytes of memory
Hope that's ok; if not, decrease some variables in the equation.
Thread pointer: 0x0x0
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 = 0x0 thread_stack 0x48400
/farm/m0-bb-10.1-wlad-xtrabackup/build/extra/xtrabackup//xtrabackup(my_print_stacktrace+0x29)[0x55b98f6df519]
/farm/m0-bb-10.1-wlad-xtrabackup/build/extra/xtrabackup//xtrabackup(handle_fatal_signal+0x2f5)[0x55b98f2c9395]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x11390)[0x7f4f18d23390]
/lib/x86_64-linux-gnu/libc.so.6(gsignal+0x38)[0x7f4f171b7428]
/lib/x86_64-linux-gnu/libc.so.6(abort+0x16a)[0x7f4f171b902a]
mysys/stacktrace.c:268(my_print_stacktrace)[0x55b98f612ca6]
pars/pars0pars.cc:1282(pars_update_statement(upd_node_t*, sym_node_t*, void*))[0x55b98f614536]
xtradb/pars0grm.y:443(yyparse())[0x55b98f6a9bdb]
pars/pars0pars.cc:2247(pars_sql(pars_info_t*, char const*))[0x55b98f615be0]
que/que0que.cc:1260(que_eval_sql(pars_info_t*, char const*, unsigned long, trx_t*))[0x55b98f619163]
row/row0mysql.cc:4957(row_drop_table_for_mysql(char const*, trx_t*, bool, unsigned long, bool))[0x55b98f63e9c9]
row/row0mysql.cc:5211(row_mysql_drop_temp_tables())[0x55b98f6402b5]
log/log0recv.cc:3611(recv_recovery_rollback_active())[0x55b98f5efb3e]
srv/srv0start.cc:2715(innobase_start_or_create_for_mysql())[0x55b98f66a37c]
xtrabackup/xtrabackup.cc:1847(innodb_init())[0x55b98f08263a]
xtrabackup/xtrabackup.cc:6369(xtrabackup_prepare_func)[0x55b98f08edce]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0)[0x7f4f171a2830]
/farm/m0-bb-10.1-wlad-xtrabackup/build/extra/xtrabackup//xtrabackup(_start+0x29)[0x55b98f0a2959]
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.
inc/common.sh: line 102: 2296 Aborted "$@"
I couldn't reproduce the same with manual testing nor with 'identical' mtr tests (which i run with "-mysqld=ignore_builtin_innodb --mysqld=-plugin_load_add=ha_innodb" ) like below:
START TRANSACTION ;
CREATE TEMPORARY TABLE t(id INT ) ENGINE=InnoDB;
let $targetdir=$MYSQLTEST_VARDIR/tmp/backup;
exec $XTRABACKUP --defaults-file=$MYSQLTEST_VARDIR/my.cnf --backup --target-dir=$targetdir;
exec $XTRABACKUP --defaults-file=$MYSQLTEST_VARDIR/my.cnf --prepare --target-dir=$targetdir;
Thus I am still filing this bug to let developer review if XtraDB patches from https://bugs.launchpad.net/percona-xtrabackup/+bug/1399471 should be applied to ha_innodb as well.
1.sh.err 2017-02-08 10:35 36 kB Andrii Nikitin
{"report":{"fcp":2436.800000190735,"ttfb":782.9000000953674,"pageVisibility":"visible","entityId":60168,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"00f0058a-bda9-4d52-8316-9d0385000964","navigationType":0,"readyForUser":2577.5,"redirectCount":0,"resourceLoadedEnd":3217.1000003814697,"resourceLoadedStart":790.1000003814697,"resourceTiming":[{"duration":939.6999998092651,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":790.1000003814697,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":790.1000003814697,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1729.8000001907349,"responseStart":0,"secureConnectionStart":0},{"duration":940,"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":790.4000000953674,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":790.4000000953674,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1730.4000000953674,"responseStart":0,"secureConnectionStart":0},{"duration":950,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":790.6000003814697,"connectEnd":790.6000003814697,"connectStart":790.6000003814697,"domainLookupEnd":790.6000003814697,"domainLookupStart":790.6000003814697,"fetchStart":790.6000003814697,"redirectEnd":0,"redirectStart":0,"requestStart":790.6000003814697,"responseEnd":1740.6000003814697,"responseStart":1740.6000003814697,"secureConnectionStart":790.6000003814697},{"duration":1215.5999999046326,"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":790.7000002861023,"connectEnd":790.7000002861023,"connectStart":790.7000002861023,"domainLookupEnd":790.7000002861023,"domainLookupStart":790.7000002861023,"fetchStart":790.7000002861023,"redirectEnd":0,"redirectStart":0,"requestStart":790.7000002861023,"responseEnd":2006.3000001907349,"responseStart":2006.3000001907349,"secureConnectionStart":790.7000002861023},{"duration":1220.3999996185303,"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":791.1000003814697,"connectEnd":791.1000003814697,"connectStart":791.1000003814697,"domainLookupEnd":791.1000003814697,"domainLookupStart":791.1000003814697,"fetchStart":791.1000003814697,"redirectEnd":0,"redirectStart":0,"requestStart":791.1000003814697,"responseEnd":2011.5,"responseStart":2011.5,"secureConnectionStart":791.1000003814697},{"duration":1221,"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":791.2000002861023,"connectEnd":791.2000002861023,"connectStart":791.2000002861023,"domainLookupEnd":791.2000002861023,"domainLookupStart":791.2000002861023,"fetchStart":791.2000002861023,"redirectEnd":0,"redirectStart":0,"requestStart":791.2000002861023,"responseEnd":2012.2000002861023,"responseStart":2012.2000002861023,"secureConnectionStart":791.2000002861023},{"duration":1221.5,"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":791.4000000953674,"connectEnd":791.4000000953674,"connectStart":791.4000000953674,"domainLookupEnd":791.4000000953674,"domainLookupStart":791.4000000953674,"fetchStart":791.4000000953674,"redirectEnd":0,"redirectStart":0,"requestStart":791.4000000953674,"responseEnd":2012.9000000953674,"responseStart":2012.9000000953674,"secureConnectionStart":791.4000000953674},{"duration":1248.2000002861023,"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":791.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":791.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":2039.7000002861023,"responseStart":0,"secureConnectionStart":0},{"duration":1222,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":791.7000002861023,"connectEnd":791.7000002861023,"connectStart":791.7000002861023,"domainLookupEnd":791.7000002861023,"domainLookupStart":791.7000002861023,"fetchStart":791.7000002861023,"redirectEnd":0,"redirectStart":0,"requestStart":791.7000002861023,"responseEnd":2013.7000002861023,"responseStart":2013.7000002861023,"secureConnectionStart":791.7000002861023},{"duration":1248,"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":791.9000000953674,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":791.9000000953674,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":2039.9000000953674,"responseStart":0,"secureConnectionStart":0},{"duration":1222.3000001907349,"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":792,"connectEnd":792,"connectStart":792,"domainLookupEnd":792,"domainLookupStart":792,"fetchStart":792,"redirectEnd":0,"redirectStart":0,"requestStart":792,"responseEnd":2014.3000001907349,"responseStart":2014.3000001907349,"secureConnectionStart":792},{"duration":1657.9000000953674,"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":793.2000002861023,"connectEnd":793.2000002861023,"connectStart":793.2000002861023,"domainLookupEnd":793.2000002861023,"domainLookupStart":793.2000002861023,"fetchStart":793.2000002861023,"redirectEnd":0,"redirectStart":0,"requestStart":793.2000002861023,"responseEnd":2451.1000003814697,"responseStart":2451.1000003814697,"secureConnectionStart":793.2000002861023},{"duration":2398.5999999046326,"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":797.8000001907349,"connectEnd":797.8000001907349,"connectStart":797.8000001907349,"domainLookupEnd":797.8000001907349,"domainLookupStart":797.8000001907349,"fetchStart":797.8000001907349,"redirectEnd":0,"redirectStart":0,"requestStart":797.8000001907349,"responseEnd":3196.4000000953674,"responseStart":3196.4000000953674,"secureConnectionStart":797.8000001907349},{"duration":475,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":1972.3000001907349,"connectEnd":1972.3000001907349,"connectStart":1972.3000001907349,"domainLookupEnd":1972.3000001907349,"domainLookupStart":1972.3000001907349,"fetchStart":1972.3000001907349,"redirectEnd":0,"redirectStart":0,"requestStart":1972.3000001907349,"responseEnd":2447.300000190735,"responseStart":2447.300000190735,"secureConnectionStart":1972.3000001907349},{"duration":802.9000000953674,"initiatorType":"script","name":"https://www.google-analytics.com/analytics.js","startTime":2420.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":2420.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":3223.4000000953674,"responseStart":0,"secureConnectionStart":0},{"duration":743.7000002861023,"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":2473.4000000953674,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":2473.4000000953674,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":3217.1000003814697,"responseStart":0,"secureConnectionStart":0},{"duration":736.9000000953674,"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":2474.4000000953674,"connectEnd":2474.4000000953674,"connectStart":2474.4000000953674,"domainLookupEnd":2474.4000000953674,"domainLookupStart":2474.4000000953674,"fetchStart":2474.4000000953674,"redirectEnd":0,"redirectStart":0,"requestStart":2474.4000000953674,"responseEnd":3211.300000190735,"responseStart":3211.300000190735,"secureConnectionStart":2474.4000000953674},{"duration":738.4000000953674,"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":2475,"connectEnd":2475,"connectStart":2475,"domainLookupEnd":2475,"domainLookupStart":2475,"fetchStart":2475,"redirectEnd":0,"redirectStart":0,"requestStart":2475,"responseEnd":3213.4000000953674,"responseStart":3213.4000000953674,"secureConnectionStart":2475}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":601,"responseStart":783,"responseEnd":789,"domLoading":787,"domInteractive":3230,"domContentLoadedEventStart":3230,"domContentLoadedEventEnd":3305,"domComplete":3877,"loadEventStart":3878,"loadEventEnd":3878,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":3198.6000003814697},{"name":"bigPipe.sidebar-id.end","time":3199.5},{"name":"bigPipe.activity-panel-pipe-id.start","time":3199.7000002861023},{"name":"bigPipe.activity-panel-pipe-id.end","time":3201.2000002861023},{"name":"activityTabFullyLoaded","time":3341.4000000953674}],"measures":[],"correlationId":"8de4b72d2f7190","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":113,"dbReadsTimeInMs":24,"dbConnsTimeInMs":34,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}