-
Task
-
-
Major
-
Resolution:
Duplicate
-
-
-
Running a program that inserts lots of data in parallel. Data is array inserts with 100 elements per array. Table structure:
CREATE TABLE `cdr` (
|
`calldate` datetime NOT NULL default '0000-00-00 00:00:00',
|
`clid` varchar(80) NOT NULL default '',
|
`src` varchar(80) NOT NULL default '',
|
`dst` varchar(80) NOT NULL default '',
|
`dcontext` varchar(80) NOT NULL default '',
|
`channel` varchar(80) NOT NULL default '',
|
`dstchannel` varchar(80) NOT NULL default '',
|
`lastapp` varchar(80) NOT NULL default '',
|
`lastdata` varchar(80) NOT NULL default '',
|
`duration` int(11) NOT NULL default '0',
|
`billsec` int(11) NOT NULL default '0',
|
`disposition` varchar(45) NOT NULL default '',
|
`amaflags` int(11) NOT NULL default '0',
|
`accountcode` varchar(20) NOT NULL default '',
|
`userfield` varchar(255) NOT NULL default '',
|
`uniqueid` VARCHAR(32) NOT NULL default '',
|
`linkedid` VARCHAR(32) NOT NULL default '',
|
`sequence` VARCHAR(32) NOT NULL default '',
|
`peeraccount` VARCHAR(32) NOT NULL default ''
|
) ENGINE=RocksDB;
|
After inserting several hundred arrays of data (maybe 700k rows in total) MariaDB crashes. In the error log I get:
2017-11-07 10:01:21 140336996464384 [ERROR] Invalid (old?) table or database name '.rocksdb'
|
171107 10:02:52 [ERROR] mysqld got signal 11 ;
|
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.10-MariaDB-log
|
key_buffer_size=134217728
|
read_buffer_size=131072
|
max_used_connections=12
|
max_threads=153
|
thread_count=19
|
It is possible that mysqld could use up to
|
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 467220 K bytes of memory
|
Hope that's ok; if not, decrease some variables in the equation.
|
|
Thread pointer: 0x7fa2500009a8
|
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 = 0x7fa2cc076e50 thread_stack 0x49000
|
/disk2/local/mariadb-10.2.10-linux-systemd-x86_64/bin/mysqld(my_print_stacktrace+0x2e)[0x55931c69787e]
|
/disk2/local/mariadb-10.2.10-linux-systemd-x86_64/bin/mysqld(handle_fatal_signal+0x30d)[0x55931c1172ed]
|
/lib64/libpthread.so.0(+0xf5e0)[0x7fa2d27765e0]
|
/disk2/local/mariadb-10.2.10-linux-systemd-x86_64/bin/mysqld(_ZN13MYSQL_BIN_LOG13mark_xid_doneEmb+0xa0)[0x55931c1f6390]
|
/disk2/local/mariadb-10.2.10-linux-systemd-x86_64/bin/mysqld(binlog_background_thread+0x303)[0x55931c1f6993]
|
/lib64/libpthread.so.0(+0x7e25)[0x7fa2d276ee25]
|
/lib64/libc.so.6(clone+0x6d)[0x7fa2d1e8734d]
|
|
Trying to get some variables.
|
Some pointers may be invalid and cause the dump to abort.
|
Query (0x0): is an invalid pointer
|
Connection ID (thread ID): 6
|
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.
|
|
We think the query pointer is invalid, but we will try to print it anyway.
|
Query:
|
|
171107 10:02:52 mysqld_safe Number of processes running now: 0
|
- duplicates
-
MDEV-14290
Mariadb 10.2 RocksDB crash on binlog switch to new file
-
-
Closed
Transition |
Time In Source Status |
Execution Times |
Open |
|
Closed |
|
15d 13h 45m
|
1
|
{"report":{"fcp":959.6000000238419,"ttfb":330.8000000715256,"pageVisibility":"visible","entityId":64169,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"82ef8beb-aa93-4ace-8db5-ba382ada8e1a","navigationType":0,"readyForUser":1062.4000000953674,"redirectCount":0,"resourceLoadedEnd":1254.1000000238419,"resourceLoadedStart":352.7000000476837,"resourceTiming":[{"duration":184.79999995231628,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2bu7/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":352.7000000476837,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":352.7000000476837,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":537.5,"responseStart":0,"secureConnectionStart":0},{"duration":184.5,"initiatorType":"link","name":"https://jira.mariadb.org/s/7ebd35e77e471bc30ff0eba799ebc151-CDN/lu2bu7/820016/12ta74/8679b4946efa1a0bb029a3a22206fb5d/_/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":353,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":353,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":537.5,"responseStart":0,"secureConnectionStart":0},{"duration":201.60000002384186,"initiatorType":"script","name":"https://jira.mariadb.org/s/fbf975c0cce4b1abf04784eeae9ba1f4-CDN/lu2bu7/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":353.2000000476837,"connectEnd":353.2000000476837,"connectStart":353.2000000476837,"domainLookupEnd":353.2000000476837,"domainLookupStart":353.2000000476837,"fetchStart":353.2000000476837,"redirectEnd":0,"redirectStart":0,"requestStart":353.2000000476837,"responseEnd":554.8000000715256,"responseStart":554.8000000715256,"secureConnectionStart":353.2000000476837},{"duration":291.39999997615814,"initiatorType":"script","name":"https://jira.mariadb.org/s/94c15bff32baef80f4096a08aceae8bc-CDN/lu2bu7/820016/12ta74/c92c0caa9a024ae85b0ebdbed7fb4bd7/_/download/contextbatch/js/atl.global,-_super/batch.js?locale=en","startTime":353.7000000476837,"connectEnd":353.7000000476837,"connectStart":353.7000000476837,"domainLookupEnd":353.7000000476837,"domainLookupStart":353.7000000476837,"fetchStart":353.7000000476837,"redirectEnd":0,"redirectStart":0,"requestStart":353.7000000476837,"responseEnd":645.1000000238419,"responseStart":645.1000000238419,"secureConnectionStart":353.7000000476837},{"duration":287.5,"initiatorType":"script","name":"https://jira.mariadb.org/s/099b33461394b8015fc36c0a4b96e19f-CDN/lu2bu7/820016/12ta74/8679b4946efa1a0bb029a3a22206fb5d/_/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":353.7000000476837,"connectEnd":353.7000000476837,"connectStart":353.7000000476837,"domainLookupEnd":353.7000000476837,"domainLookupStart":353.7000000476837,"fetchStart":353.7000000476837,"redirectEnd":0,"redirectStart":0,"requestStart":353.7000000476837,"responseEnd":641.2000000476837,"responseStart":641.2000000476837,"secureConnectionStart":353.7000000476837},{"duration":291.6999999284744,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bu7/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-en/jira.webresources:calendar-en.js","startTime":353.90000009536743,"connectEnd":353.90000009536743,"connectStart":353.90000009536743,"domainLookupEnd":353.90000009536743,"domainLookupStart":353.90000009536743,"fetchStart":353.90000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":353.90000009536743,"responseEnd":645.6000000238419,"responseStart":645.6000000238419,"secureConnectionStart":353.90000009536743},{"duration":292.09999990463257,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bu7/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-localisation-moment/jira.webresources:calendar-localisation-moment.js","startTime":353.90000009536743,"connectEnd":353.90000009536743,"connectStart":353.90000009536743,"domainLookupEnd":353.90000009536743,"domainLookupStart":353.90000009536743,"fetchStart":353.90000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":353.90000009536743,"responseEnd":646,"responseStart":646,"secureConnectionStart":353.90000009536743},{"duration":292.09999990463257,"initiatorType":"link","name":"https://jira.mariadb.org/s/b04b06a02d1959df322d9cded3aeecc1-CDN/lu2bu7/820016/12ta74/a2ff6aa845ffc9a1d22fe23d9ee791fc/_/download/contextbatch/css/jira.global.look-and-feel,-_super/batch.css","startTime":354.40000009536743,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":354.40000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":646.5,"responseStart":0,"secureConnectionStart":0},{"duration":291.90000009536743,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":354.5,"connectEnd":354.5,"connectStart":354.5,"domainLookupEnd":354.5,"domainLookupStart":354.5,"fetchStart":354.5,"redirectEnd":0,"redirectStart":0,"requestStart":354.5,"responseEnd":646.4000000953674,"responseStart":646.4000000953674,"secureConnectionStart":354.5},{"duration":292.2000000476837,"initiatorType":"link","name":"https://jira.mariadb.org/s/3ac36323ba5e4eb0af2aa7ac7211b4bb-CDN/lu2bu7/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":354.60000002384186,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":354.60000002384186,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":646.8000000715256,"responseStart":0,"secureConnectionStart":0},{"duration":292.2000000476837,"initiatorType":"script","name":"https://jira.mariadb.org/s/3339d87fa2538a859872f2df449bf8d0-CDN/lu2bu7/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":354.7000000476837,"connectEnd":354.7000000476837,"connectStart":354.7000000476837,"domainLookupEnd":354.7000000476837,"domainLookupStart":354.7000000476837,"fetchStart":354.7000000476837,"redirectEnd":0,"redirectStart":0,"requestStart":354.7000000476837,"responseEnd":646.9000000953674,"responseStart":646.9000000953674,"secureConnectionStart":354.7000000476837},{"duration":521.8999999761581,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bu7/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-js/jira.webresources:bigpipe-js.js","startTime":404.2000000476837,"connectEnd":404.2000000476837,"connectStart":404.2000000476837,"domainLookupEnd":404.2000000476837,"domainLookupStart":404.2000000476837,"fetchStart":404.2000000476837,"redirectEnd":0,"redirectStart":0,"requestStart":404.2000000476837,"responseEnd":926.1000000238419,"responseStart":926.1000000238419,"secureConnectionStart":404.2000000476837},{"duration":844.6000000238419,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bu7/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-init/jira.webresources:bigpipe-init.js","startTime":409.5,"connectEnd":409.5,"connectStart":409.5,"domainLookupEnd":409.5,"domainLookupStart":409.5,"fetchStart":409.5,"redirectEnd":0,"redirectStart":0,"requestStart":409.5,"responseEnd":1254.1000000238419,"responseStart":1254.1000000238419,"secureConnectionStart":409.5},{"duration":219.60000002384186,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":711.6000000238419,"connectEnd":711.6000000238419,"connectStart":711.6000000238419,"domainLookupEnd":711.6000000238419,"domainLookupStart":711.6000000238419,"fetchStart":711.6000000238419,"redirectEnd":0,"redirectStart":0,"requestStart":711.6000000238419,"responseEnd":931.2000000476837,"responseStart":931.2000000476837,"secureConnectionStart":711.6000000238419},{"duration":350.90000009536743,"initiatorType":"script","name":"https://www.google-analytics.com/analytics.js","startTime":952.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":952.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1303.4000000953674,"responseStart":0,"secureConnectionStart":0}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":158,"responseStart":330,"responseEnd":409,"domLoading":334,"domInteractive":1310,"domContentLoadedEventStart":1310,"domContentLoadedEventEnd":1352,"domComplete":1656,"loadEventStart":1656,"loadEventEnd":1656,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1257.9000000953674},{"name":"bigPipe.sidebar-id.end","time":1258.8000000715256},{"name":"bigPipe.activity-panel-pipe-id.start","time":1259},{"name":"bigPipe.activity-panel-pipe-id.end","time":1259.8000000715256},{"name":"activityTabFullyLoaded","time":1365.1000000238419}],"measures":[],"correlationId":"8b584c6de09baa","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":92,"dbReadsTimeInMs":12,"dbConnsTimeInMs":21,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}