-
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
{"report":{"fcp":831.6000003814697,"ttfb":186.10000038146973,"pageVisibility":"visible","entityId":64169,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":1,"journeyId":"b7dc1832-8069-437e-962f-3a630abb9aca","navigationType":0,"readyForUser":905.8000001907349,"redirectCount":0,"resourceLoadedEnd":563.6999998092651,"resourceLoadedStart":191.5,"resourceTiming":[{"duration":176.9000005722046,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2bu7/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":191.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":191.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":368.4000005722046,"responseStart":0,"secureConnectionStart":0},{"duration":176.69999980926514,"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":191.80000019073486,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":191.80000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":368.5,"responseStart":0,"secureConnectionStart":0},{"duration":185.5,"initiatorType":"script","name":"https://jira.mariadb.org/s/fbf975c0cce4b1abf04784eeae9ba1f4-CDN/lu2bu7/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":192,"connectEnd":192,"connectStart":192,"domainLookupEnd":192,"domainLookupStart":192,"fetchStart":192,"redirectEnd":0,"redirectStart":0,"requestStart":192,"responseEnd":377.5,"responseStart":377.5,"secureConnectionStart":192},{"duration":211.19999980926514,"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":192,"connectEnd":192,"connectStart":192,"domainLookupEnd":192,"domainLookupStart":192,"fetchStart":192,"redirectEnd":0,"redirectStart":0,"requestStart":192,"responseEnd":403.19999980926514,"responseStart":403.19999980926514,"secureConnectionStart":192},{"duration":215,"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":192.10000038146973,"connectEnd":192.10000038146973,"connectStart":192.10000038146973,"domainLookupEnd":192.10000038146973,"domainLookupStart":192.10000038146973,"fetchStart":192.10000038146973,"redirectEnd":0,"redirectStart":0,"requestStart":192.10000038146973,"responseEnd":407.1000003814697,"responseStart":407.1000003814697,"secureConnectionStart":192.10000038146973},{"duration":215.30000019073486,"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":192.19999980926514,"connectEnd":192.19999980926514,"connectStart":192.19999980926514,"domainLookupEnd":192.19999980926514,"domainLookupStart":192.19999980926514,"fetchStart":192.19999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":192.19999980926514,"responseEnd":407.5,"responseStart":407.5,"secureConnectionStart":192.19999980926514},{"duration":215.60000038146973,"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":192.30000019073486,"connectEnd":192.30000019073486,"connectStart":192.30000019073486,"domainLookupEnd":192.30000019073486,"domainLookupStart":192.30000019073486,"fetchStart":192.30000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":192.30000019073486,"responseEnd":407.9000005722046,"responseStart":407.9000005722046,"secureConnectionStart":192.30000019073486},{"duration":216.0999994277954,"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":192.4000005722046,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":192.4000005722046,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":408.5,"responseStart":0,"secureConnectionStart":0},{"duration":216,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":192.4000005722046,"connectEnd":192.4000005722046,"connectStart":192.4000005722046,"domainLookupEnd":192.4000005722046,"domainLookupStart":192.4000005722046,"fetchStart":192.4000005722046,"redirectEnd":0,"redirectStart":0,"requestStart":192.4000005722046,"responseEnd":408.4000005722046,"responseStart":408.4000005722046,"secureConnectionStart":192.4000005722046},{"duration":216.19999980926514,"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":192.60000038146973,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":192.60000038146973,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":408.80000019073486,"responseStart":0,"secureConnectionStart":0},{"duration":216.30000019073486,"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":192.69999980926514,"connectEnd":192.69999980926514,"connectStart":192.69999980926514,"domainLookupEnd":192.69999980926514,"domainLookupStart":192.69999980926514,"fetchStart":192.69999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":192.69999980926514,"responseEnd":409,"responseStart":409,"secureConnectionStart":192.69999980926514},{"duration":330.0999994277954,"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":197.9000005722046,"connectEnd":197.9000005722046,"connectStart":197.9000005722046,"domainLookupEnd":197.9000005722046,"domainLookupStart":197.9000005722046,"fetchStart":197.9000005722046,"redirectEnd":0,"redirectStart":0,"requestStart":197.9000005722046,"responseEnd":528,"responseStart":528,"secureConnectionStart":197.9000005722046},{"duration":365.69999980926514,"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":198,"connectEnd":198,"connectStart":198,"domainLookupEnd":198,"domainLookupStart":198,"fetchStart":198,"redirectEnd":0,"redirectStart":0,"requestStart":198,"responseEnd":563.6999998092651,"responseStart":563.6999998092651,"secureConnectionStart":198},{"duration":281.80000019073486,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":604.5,"connectEnd":604.5,"connectStart":604.5,"domainLookupEnd":604.5,"domainLookupStart":604.5,"fetchStart":604.5,"redirectEnd":0,"redirectStart":0,"requestStart":604.5,"responseEnd":886.3000001907349,"responseStart":886.3000001907349,"secureConnectionStart":604.5},{"duration":161,"initiatorType":"script","name":"https://www.google-analytics.com/analytics.js","startTime":810.4000005722046,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":810.4000005722046,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":971.4000005722046,"responseStart":0,"secureConnectionStart":0}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":16,"responseStart":186,"responseEnd":191,"domLoading":189,"domInteractive":973,"domContentLoadedEventStart":973,"domContentLoadedEventEnd":1015,"domComplete":1699,"loadEventStart":1699,"loadEventEnd":1700,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":955.8000001907349},{"name":"bigPipe.sidebar-id.end","time":956.5},{"name":"bigPipe.activity-panel-pipe-id.start","time":956.6999998092651},{"name":"bigPipe.activity-panel-pipe-id.end","time":959},{"name":"activityTabFullyLoaded","time":1025.3000001907349}],"measures":[],"correlationId":"65426f1d9d65e4","effectiveType":"4g","downlink":9.2,"rtt":0,"serverDuration":88,"dbReadsTimeInMs":10,"dbConnsTimeInMs":19,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}