If you create a ENGINE=Connect Table_Type=ODBC Table, and try to save it to a Non-Existant Database, the Server Crashes.
For example, the following query causes the Server to Crash, whenever the Database ("db_name_non_existant") in which the created Connect ODBC Table to be saved does not exists:
CREATE OR REPLACE TABLE db_name_non_existant.tb_name_new
|
ENGINE=CONNECT
|
TABLE_TYPE=ODBC
|
CONNECTION='dsn_name'
|
OPTION_LIST='UseDSN=Yes,User=user_name,Password=*******************'
|
TABNAME='db_name.schema_name.tb_name';
|
The Error Log Backtrace is the following:
180918 15:30:56 [ERROR] mysqld got exception 0xc0000005 ;
|
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.3.9-MariaDB
|
key_buffer_size=65536
|
read_buffer_size=262144
|
max_used_connections=12
|
max_threads=65537
|
thread_count=4
|
It is possible that mysqld could use up to
|
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 1560 K bytes of memory
|
Hope that's ok; if not, decrease some variables in the equation.
|
|
Thread pointer: 0x4f324d018
|
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!TABLE_SHARE::init_from_sql_statement_string()[table.cc:2810]
|
ha_connect.dll!?Val@FILTER@@QEAAAEAPEAVVALUE@@H@Z()
|
ha_connect.dll!?Val@FILTER@@QEAAAEAPEAVVALUE@@H@Z()
|
mysqld.exe!create_table_impl()[sql_table.cc:4942]
|
mysqld.exe!mysql_create_table_no_lock()[sql_table.cc:5096]
|
mysqld.exe!mysql_create_table()[sql_table.cc:5188]
|
mysqld.exe!mysql_execute_command()[sql_parse.cc:4282]
|
mysqld.exe!mysql_parse()[sql_parse.cc:8093]
|
mysqld.exe!dispatch_command()[sql_parse.cc:1852]
|
mysqld.exe!do_command()[sql_parse.cc:1394]
|
mysqld.exe!threadpool_process_request()[threadpool_common.cc:358]
|
mysqld.exe!tp_callback()[threadpool_common.cc:186]
|
ntdll.dll!RtlDllShutdownInProgress()
|
ntdll.dll!DbgUiRemoteBreakin()
|
kernel32.dll!BaseThreadInitThunk()
|
ntdll.dll!RtlUserThreadStart()
|
|
Trying to get some variables.
|
Some pointers may be invalid and cause the dump to abort.
|
Query (0x3915a46a0): CREATE OR REPLACE TABLE MasterDataTurbine.vCountry_CONNECT ENGINE = CONNECT TABLE_TYPE = ODBC CONNECTION = 'SQLServerParallelDataWarehouse' OPTION_LIST='UseDSN=Yes,User=TableauAPS_Prod,Password=*********************' TABNAME = "MasterDataTurbine.General.vCountry"
|
Connection ID (thread ID): 490
|
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,split_materialized=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.
|
- relates to
-
MDEV-22435
Assisted discovery of table with application period fails, server crashes
-
-
Confirmed
{"report":{"fcp":1505.5,"ttfb":712.7000007629395,"pageVisibility":"visible","entityId":69847,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"207a94e0-87e5-468f-af83-126a4e43271f","navigationType":0,"readyForUser":1597.2000007629395,"redirectCount":0,"resourceLoadedEnd":1825.1000003814697,"resourceLoadedStart":720.4000005722046,"resourceTiming":[{"duration":254.80000019073486,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":720.4000005722046,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":720.4000005722046,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":975.2000007629395,"responseStart":0,"secureConnectionStart":0},{"duration":255,"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":720.7000007629395,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":720.7000007629395,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":975.7000007629395,"responseStart":0,"secureConnectionStart":0},{"duration":321.6000003814697,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":720.8000001907349,"connectEnd":720.8000001907349,"connectStart":720.8000001907349,"domainLookupEnd":720.8000001907349,"domainLookupStart":720.8000001907349,"fetchStart":720.8000001907349,"redirectEnd":0,"redirectStart":0,"requestStart":720.8000001907349,"responseEnd":1042.4000005722046,"responseStart":1042.4000005722046,"secureConnectionStart":720.8000001907349},{"duration":393.9000005722046,"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":721,"connectEnd":721,"connectStart":721,"domainLookupEnd":721,"domainLookupStart":721,"fetchStart":721,"redirectEnd":0,"redirectStart":0,"requestStart":721,"responseEnd":1114.9000005722046,"responseStart":1114.9000005722046,"secureConnectionStart":721},{"duration":397.5,"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":721.3000001907349,"connectEnd":721.3000001907349,"connectStart":721.3000001907349,"domainLookupEnd":721.3000001907349,"domainLookupStart":721.3000001907349,"fetchStart":721.3000001907349,"redirectEnd":0,"redirectStart":0,"requestStart":721.3000001907349,"responseEnd":1118.8000001907349,"responseStart":1118.8000001907349,"secureConnectionStart":721.3000001907349},{"duration":397.70000076293945,"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":721.5,"connectEnd":721.5,"connectStart":721.5,"domainLookupEnd":721.5,"domainLookupStart":721.5,"fetchStart":721.5,"redirectEnd":0,"redirectStart":0,"requestStart":721.5,"responseEnd":1119.2000007629395,"responseStart":1119.2000007629395,"secureConnectionStart":721.5},{"duration":398,"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":721.7000007629395,"connectEnd":721.7000007629395,"connectStart":721.7000007629395,"domainLookupEnd":721.7000007629395,"domainLookupStart":721.7000007629395,"fetchStart":721.7000007629395,"redirectEnd":0,"redirectStart":0,"requestStart":721.7000007629395,"responseEnd":1119.7000007629395,"responseStart":1119.7000007629395,"secureConnectionStart":721.7000007629395},{"duration":467.30000019073486,"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":721.9000005722046,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":721.9000005722046,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1189.2000007629395,"responseStart":0,"secureConnectionStart":0},{"duration":398.20000076293945,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":722,"connectEnd":722,"connectStart":722,"domainLookupEnd":722,"domainLookupStart":722,"fetchStart":722,"redirectEnd":0,"redirectStart":0,"requestStart":722,"responseEnd":1120.2000007629395,"responseStart":1120.2000007629395,"secureConnectionStart":722},{"duration":467.0999994277954,"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":722.2000007629395,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":722.2000007629395,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1189.3000001907349,"responseStart":0,"secureConnectionStart":0},{"duration":398.5,"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":722.3000001907349,"connectEnd":722.3000001907349,"connectStart":722.3000001907349,"domainLookupEnd":722.3000001907349,"domainLookupStart":722.3000001907349,"fetchStart":722.3000001907349,"redirectEnd":0,"redirectStart":0,"requestStart":722.3000001907349,"responseEnd":1120.8000001907349,"responseStart":1120.8000001907349,"secureConnectionStart":722.3000001907349},{"duration":838.2999992370605,"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":723.2000007629395,"connectEnd":723.2000007629395,"connectStart":723.2000007629395,"domainLookupEnd":723.2000007629395,"domainLookupStart":723.2000007629395,"fetchStart":723.2000007629395,"redirectEnd":0,"redirectStart":0,"requestStart":723.2000007629395,"responseEnd":1561.5,"responseStart":1561.5,"secureConnectionStart":723.2000007629395},{"duration":1101.8999996185303,"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":723.2000007629395,"connectEnd":723.2000007629395,"connectStart":723.2000007629395,"domainLookupEnd":723.2000007629395,"domainLookupStart":723.2000007629395,"fetchStart":723.2000007629395,"redirectEnd":0,"redirectStart":0,"requestStart":723.2000007629395,"responseEnd":1825.1000003814697,"responseStart":1825.1000003814697,"secureConnectionStart":723.2000007629395},{"duration":385.80000019073486,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":1202.3000001907349,"connectEnd":1202.3000001907349,"connectStart":1202.3000001907349,"domainLookupEnd":1202.3000001907349,"domainLookupStart":1202.3000001907349,"fetchStart":1202.3000001907349,"redirectEnd":0,"redirectStart":0,"requestStart":1202.3000001907349,"responseEnd":1588.1000003814697,"responseStart":1588.1000003814697,"secureConnectionStart":1202.3000001907349}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":544,"responseStart":713,"responseEnd":714,"domLoading":717,"domInteractive":1845,"domContentLoadedEventStart":1845,"domContentLoadedEventEnd":1886,"domComplete":3468,"loadEventStart":3468,"loadEventEnd":3470,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1829.3000001907349},{"name":"bigPipe.sidebar-id.end","time":1830},{"name":"bigPipe.activity-panel-pipe-id.start","time":1830.1000003814697},{"name":"bigPipe.activity-panel-pipe-id.end","time":1832.4000005722046},{"name":"activityTabFullyLoaded","time":1893.2000007629395}],"measures":[],"correlationId":"7b1710a879773","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":103,"dbReadsTimeInMs":16,"dbConnsTimeInMs":26,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}