A user saw the following server crash in auth_pam when connecting to MariaDB server using SQLyog, which is linked with MariaDB Connector/C:
160711 14:39:55 [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 http://kb.askmonty.org/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.10-MariaDB-log
|
key_buffer_size=134217728
|
read_buffer_size=131072
|
max_used_connections=6
|
max_threads=502
|
thread_count=5
|
It is possible that mysqld could use up to
|
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 1233659 K bytes of memory
|
Hope that's ok; if not, decrease some variables in the equation.
|
|
Thread pointer: 0x0x7f6580f3d008
|
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 = 0x7f72ba5f4d30 thread_stack 0x48000
|
mysys/stacktrace.c:247(my_print_stacktrace)[0x7f72c0a7536e]
|
sql/signal_handler.cc:160(handle_fatal_signal)[0x7f72c05a36ad]
|
/lib64/libpthread.so.0(+0xf100)[0x7f72bfbc5100]
|
/usr/lib64/security/pam_securid.so(+0x12d83)[0x7f72ba41fd83]
|
/usr/lib64/security/pam_securid.so(+0x13f24)[0x7f72ba420f24]
|
/usr/lib64/security/pam_securid.so(+0x15160)[0x7f72ba422160]
|
/usr/lib64/security/pam_securid.so(pam_sm_authenticate+0x3bd)[0x7f72ba421e46]
|
/lib64/libpam.so.0(+0x2f6a)[0x7f72b0aadf6a]
|
/lib64/libpam.so.0(pam_authenticate+0x30)[0x7f72b0aad830]
|
/usr/lib64/mysql/plugin/auth_pam.so(+0xf1e)[0x7f72b0cbaf1e]
|
sql/sql_acl.cc:12263(do_auth_once)[0x7f72c03b8341]
|
sql/sql_acl.cc:12374(acl_authenticate(THD*, unsigned int))[0x7f72c03daf5d]
|
sql/sql_connect.cc:1024(check_connection)[0x7f72c04f08df]
|
sql/sql_connect.cc:1092(login_connection(THD*))[0x7f72c04f2275]
|
sql/sql_connect.cc:1270(thd_prepare_connection(THD*))[0x7f72c04f2be9]
|
sql/sql_connect.cc:1340(do_handle_one_connection(THD*))[0x7f72c04f2db0]
|
sql/sql_connect.cc:1263(handle_one_connection)[0x7f72c04f2fb0]
|
/lib64/libpthread.so.0(+0x7dc5)[0x7f72bfbbddc5]
|
/lib64/libc.so.6(clone+0x6d)[0x7f72bdfdf28d]
|
|
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): 19
|
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=on,mrr_cost_based=on,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=on,table_elimination=on,extended_keys=on,exists_to_in=on
|
RSA SecurID implements multi-factor authentication. The crash seems to occur when SQLyog attempts to automatically reconnect with the user's previously-entered PIN, which was only intended for 1 use.
This might indicate a bug in the RSA SecurID PAM module. This one looks similar:
https://www.redhat.com/archives/pam-list/2015-April/msg00003.html
- relates to
-
MDEV-15473
Isolate/sandbox PAM modules, so that they can't crash the server
-
-
Closed
{"report":{"fcp":889.9000000953674,"ttfb":245.19999980926514,"pageVisibility":"visible","entityId":57390,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":1,"journeyId":"838cc0ac-4596-493d-8d2f-f9183b311e65","navigationType":0,"readyForUser":977.5,"redirectCount":0,"resourceLoadedEnd":587,"resourceLoadedStart":255.19999980926514,"resourceTiming":[{"duration":9.5,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":255.19999980926514,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":255.19999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":264.69999980926514,"responseStart":0,"secureConnectionStart":0},{"duration":9.5,"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":255.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":255.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":265,"responseStart":0,"secureConnectionStart":0},{"duration":180.39999961853027,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":255.80000019073486,"connectEnd":266.69999980926514,"connectStart":266.69999980926514,"domainLookupEnd":266.69999980926514,"domainLookupStart":266.69999980926514,"fetchStart":255.80000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":267.09999990463257,"responseEnd":436.19999980926514,"responseStart":281,"secureConnectionStart":266.69999980926514},{"duration":317.40000009536743,"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":256.40000009536743,"connectEnd":256.40000009536743,"connectStart":256.40000009536743,"domainLookupEnd":256.40000009536743,"domainLookupStart":256.40000009536743,"fetchStart":256.40000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":268.90000009536743,"responseEnd":573.8000001907349,"responseStart":284.80000019073486,"secureConnectionStart":256.40000009536743},{"duration":33.30000019073486,"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":256.59999990463257,"connectEnd":256.59999990463257,"connectStart":256.59999990463257,"domainLookupEnd":256.59999990463257,"domainLookupStart":256.59999990463257,"fetchStart":256.59999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":270.69999980926514,"responseEnd":289.90000009536743,"responseStart":287.19999980926514,"secureConnectionStart":256.59999990463257},{"duration":33.60000038146973,"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":256.69999980926514,"connectEnd":256.69999980926514,"connectStart":256.69999980926514,"domainLookupEnd":256.69999980926514,"domainLookupStart":256.69999980926514,"fetchStart":256.69999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":272.5,"responseEnd":290.30000019073486,"responseStart":287.90000009536743,"secureConnectionStart":256.69999980926514},{"duration":35.40000009536743,"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":256.90000009536743,"connectEnd":256.90000009536743,"connectStart":256.90000009536743,"domainLookupEnd":256.90000009536743,"domainLookupStart":256.90000009536743,"fetchStart":256.90000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":272.69999980926514,"responseEnd":292.30000019073486,"responseStart":290.5,"secureConnectionStart":256.90000009536743},{"duration":14.099999904632568,"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":257.09999990463257,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":257.09999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":271.19999980926514,"responseStart":0,"secureConnectionStart":0},{"duration":38.299999713897705,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":257.30000019073486,"connectEnd":257.30000019073486,"connectStart":257.30000019073486,"domainLookupEnd":257.30000019073486,"domainLookupStart":257.30000019073486,"fetchStart":257.30000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":274.09999990463257,"responseEnd":295.59999990463257,"responseStart":293.5,"secureConnectionStart":257.30000019073486},{"duration":14,"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":257.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":257.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":271.5,"responseStart":0,"secureConnectionStart":0},{"duration":53.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":257.59999990463257,"connectEnd":257.59999990463257,"connectStart":257.59999990463257,"domainLookupEnd":257.59999990463257,"domainLookupStart":257.59999990463257,"fetchStart":257.59999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":277,"responseEnd":311.09999990463257,"responseStart":296,"secureConnectionStart":257.59999990463257},{"duration":320.5,"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":262.90000009536743,"connectEnd":262.90000009536743,"connectStart":262.90000009536743,"domainLookupEnd":262.90000009536743,"domainLookupStart":262.90000009536743,"fetchStart":262.90000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":292.59999990463257,"responseEnd":583.4000000953674,"responseStart":578.5,"secureConnectionStart":262.90000009536743},{"duration":324.09999990463257,"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":262.90000009536743,"connectEnd":262.90000009536743,"connectStart":262.90000009536743,"domainLookupEnd":262.90000009536743,"domainLookupStart":262.90000009536743,"fetchStart":262.90000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":314.59999990463257,"responseEnd":587,"responseStart":580.9000000953674,"secureConnectionStart":262.90000009536743},{"duration":76.10000038146973,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":591.6999998092651,"connectEnd":591.6999998092651,"connectStart":591.6999998092651,"domainLookupEnd":591.6999998092651,"domainLookupStart":591.6999998092651,"fetchStart":591.6999998092651,"redirectEnd":0,"redirectStart":0,"requestStart":633.9000000953674,"responseEnd":667.8000001907349,"responseStart":666.8000001907349,"secureConnectionStart":591.6999998092651},{"duration":261.5,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":808.9000000953674,"connectEnd":808.9000000953674,"connectStart":808.9000000953674,"domainLookupEnd":808.9000000953674,"domainLookupStart":808.9000000953674,"fetchStart":808.9000000953674,"redirectEnd":0,"redirectStart":0,"requestStart":1035.0999999046326,"responseEnd":1070.4000000953674,"responseStart":1069.5999999046326,"secureConnectionStart":808.9000000953674}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":67,"responseStart":245,"responseEnd":263,"domLoading":249,"domInteractive":1048,"domContentLoadedEventStart":1048,"domContentLoadedEventEnd":1101,"domComplete":1433,"loadEventStart":1433,"loadEventEnd":1433,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1025.6999998092651},{"name":"bigPipe.sidebar-id.end","time":1026.5},{"name":"bigPipe.activity-panel-pipe-id.start","time":1026.6999998092651},{"name":"bigPipe.activity-panel-pipe-id.end","time":1028.1999998092651},{"name":"activityTabFullyLoaded","time":1121.6999998092651}],"measures":[],"correlationId":"6fd759ad4d2d2e","effectiveType":"4g","downlink":9.4,"rtt":0,"serverDuration":103,"dbReadsTimeInMs":12,"dbConnsTimeInMs":22,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}
RSA was not very helpful: