#19 0x0000000000662985 in handle_select (thd=0x7efee9053060, lex=0x7efee90562d0, result=0x7efed904bc80, setup_tables_done_option=0) at 5.5/sql/sql_select.cc:319
#20 0x000000000063bfd8 in execute_sqlcom_select (thd=0x7efee9053060, all_tables=0x0) at 5.5/sql/sql_parse.cc:4689
#21 0x00000000006351ba in mysql_execute_command (thd=0x7efee9053060) at 5.5/sql/sql_parse.cc:2234
#22 0x000000000063e6d4 in mysql_parse (thd=0x7efee9053060, rawbuf=0x7efed904a078 "select (select 1, 2) in (select 3, 4)", length=37, parser_state=0x7eff0446f680) at 5.5/sql/sql_parse.cc:5800
#23 0x0000000000632701 in dispatch_command (command=COM_QUERY, thd=0x7efee9053060, packet=0x7efee910e061 "", packet_length=37) at 5.5/sql/sql_parse.cc:1079
#24 0x000000000063188d in do_command (thd=0x7efee9053060) at 5.5/sql/sql_parse.cc:793
#25 0x00000000007339de in do_handle_one_connection (thd_arg=0x7efee9053060) at 5.5/sql/sql_connect.cc:1266
#26 0x000000000073349d in handle_one_connection (arg=0x7efee9053060) at 5.5/sql/sql_connect.cc:1181
#27 0x00007eff040a5b50 in start_thread (arg=<optimized out>) at pthread_create.c:304
#28 0x00007eff0235c20d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
Attachments
Issue Links
duplicates
MDEV-11358Crash during SELECT (SELECT 1,2) NOT IN (SELECT 2,3);
The crash is caused by NULL pointer derefence,
which is caused by in Item_func_trig_cond::val_int()
which is caused by prior constructor Item_func_trig_cond(thd, col_item, get_cond_guard(i)) where the last parameter evaluates to NULL, because pushed_cond_guards is NULL.
This is so much I could find about it. Handing back to someone who knows the code better
Vladislav Vaintroub
added a comment - - edited The crash is caused by NULL pointer derefence,
which is caused by in Item_func_trig_cond::val_int()
which is caused by prior constructor Item_func_trig_cond(thd, col_item, get_cond_guard(i)) where the last parameter evaluates to NULL, because pushed_cond_guards is NULL.
This is so much I could find about it. Handing back to someone who knows the code better
People
Sergei Golubchik
Elena Stepanova
Votes:
0Vote for this issue
Watchers:
5Start watching this issue
Dates
Created:
Updated:
Resolved:
Git Integration
Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.
{"report":{"fcp":1434.0999999046326,"ttfb":225.89999961853027,"pageVisibility":"visible","entityId":49421,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"36fdf535-8f15-432e-8ee8-d3cecdde4bc8","navigationType":0,"readyForUser":1597.2999997138977,"redirectCount":0,"resourceLoadedEnd":1679.6999998092651,"resourceLoadedStart":240.19999980926514,"resourceTiming":[{"duration":27.800000190734863,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":240.19999980926514,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":240.19999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":268,"responseStart":0,"secureConnectionStart":0},{"duration":565.5999999046326,"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":240.59999990463257,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":240.59999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":806.1999998092651,"responseStart":0,"secureConnectionStart":0},{"duration":613.8000001907349,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":240.7999997138977,"connectEnd":240.7999997138977,"connectStart":240.7999997138977,"domainLookupEnd":240.7999997138977,"domainLookupStart":240.7999997138977,"fetchStart":240.7999997138977,"redirectEnd":0,"redirectStart":0,"requestStart":240.7999997138977,"responseEnd":854.5999999046326,"responseStart":854.5,"secureConnectionStart":240.7999997138977},{"duration":711.8000001907349,"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":240.89999961853027,"connectEnd":240.89999961853027,"connectStart":240.89999961853027,"domainLookupEnd":240.89999961853027,"domainLookupStart":240.89999961853027,"fetchStart":240.89999961853027,"redirectEnd":0,"redirectStart":0,"requestStart":240.89999961853027,"responseEnd":952.6999998092651,"responseStart":952.5999999046326,"secureConnectionStart":240.89999961853027},{"duration":715.6999998092651,"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":241.19999980926514,"connectEnd":241.19999980926514,"connectStart":241.19999980926514,"domainLookupEnd":241.19999980926514,"domainLookupStart":241.19999980926514,"fetchStart":241.19999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":241.19999980926514,"responseEnd":956.8999996185303,"responseStart":956.8999996185303,"secureConnectionStart":241.19999980926514},{"duration":716.3000001907349,"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":241.39999961853027,"connectEnd":241.39999961853027,"connectStart":241.39999961853027,"domainLookupEnd":241.39999961853027,"domainLookupStart":241.39999961853027,"fetchStart":241.39999961853027,"redirectEnd":0,"redirectStart":0,"requestStart":241.39999961853027,"responseEnd":957.6999998092651,"responseStart":957.5999999046326,"secureConnectionStart":241.39999961853027},{"duration":720.7999997138977,"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":241.59999990463257,"connectEnd":241.59999990463257,"connectStart":241.59999990463257,"domainLookupEnd":241.59999990463257,"domainLookupStart":241.59999990463257,"fetchStart":241.59999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":241.59999990463257,"responseEnd":962.3999996185303,"responseStart":962.3999996185303,"secureConnectionStart":241.59999990463257},{"duration":784.5999999046326,"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":241.7999997138977,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":241.7999997138977,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1026.3999996185303,"responseStart":0,"secureConnectionStart":0},{"duration":721.5,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":241.89999961853027,"connectEnd":241.89999961853027,"connectStart":241.89999961853027,"domainLookupEnd":241.89999961853027,"domainLookupStart":241.89999961853027,"fetchStart":241.89999961853027,"redirectEnd":0,"redirectStart":0,"requestStart":241.89999961853027,"responseEnd":963.3999996185303,"responseStart":963.3999996185303,"secureConnectionStart":241.89999961853027},{"duration":784.4000000953674,"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":242.19999980926514,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":242.19999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1026.5999999046326,"responseStart":0,"secureConnectionStart":0},{"duration":721.9000000953674,"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":242.2999997138977,"connectEnd":242.2999997138977,"connectStart":242.2999997138977,"domainLookupEnd":242.2999997138977,"domainLookupStart":242.2999997138977,"fetchStart":242.2999997138977,"redirectEnd":0,"redirectStart":0,"requestStart":242.2999997138977,"responseEnd":964.1999998092651,"responseStart":964.1999998092651,"secureConnectionStart":242.2999997138977},{"duration":1361.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":243.2999997138977,"connectEnd":243.2999997138977,"connectStart":243.2999997138977,"domainLookupEnd":243.2999997138977,"domainLookupStart":243.2999997138977,"fetchStart":243.2999997138977,"redirectEnd":0,"redirectStart":0,"requestStart":243.2999997138977,"responseEnd":1605.1999998092651,"responseStart":1605.1999998092651,"secureConnectionStart":243.2999997138977},{"duration":1436.4000000953674,"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":243.2999997138977,"connectEnd":243.2999997138977,"connectStart":243.2999997138977,"domainLookupEnd":243.2999997138977,"domainLookupStart":243.2999997138977,"fetchStart":243.2999997138977,"redirectEnd":0,"redirectStart":0,"requestStart":243.2999997138977,"responseEnd":1679.6999998092651,"responseStart":1679.6999998092651,"secureConnectionStart":243.2999997138977},{"duration":548.2000002861023,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":1039.2999997138977,"connectEnd":1039.2999997138977,"connectStart":1039.2999997138977,"domainLookupEnd":1039.2999997138977,"domainLookupStart":1039.2999997138977,"fetchStart":1039.2999997138977,"redirectEnd":0,"redirectStart":0,"requestStart":1039.2999997138977,"responseEnd":1587.5,"responseStart":1587.5,"secureConnectionStart":1039.2999997138977},{"duration":431.5,"initiatorType":"script","name":"https://www.google-analytics.com/analytics.js","startTime":1393.0999999046326,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":1393.0999999046326,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1824.5999999046326,"responseStart":0,"secureConnectionStart":0},{"duration":194.69999980926514,"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":1681.5,"connectEnd":1681.5,"connectStart":1681.5,"domainLookupEnd":1681.5,"domainLookupStart":1681.5,"fetchStart":1681.5,"redirectEnd":0,"redirectStart":0,"requestStart":1681.5,"responseEnd":1876.1999998092651,"responseStart":1876.1999998092651,"secureConnectionStart":1681.5}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":73,"responseStart":226,"responseEnd":230,"domLoading":238,"domInteractive":1852,"domContentLoadedEventStart":1852,"domContentLoadedEventEnd":1937,"domComplete":2404,"loadEventStart":2404,"loadEventEnd":2404,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1831.8999996185303},{"name":"bigPipe.sidebar-id.end","time":1832.6999998092651},{"name":"bigPipe.activity-panel-pipe-id.start","time":1832.8999996185303},{"name":"bigPipe.activity-panel-pipe-id.end","time":1834.0999999046326},{"name":"activityTabFullyLoaded","time":1975.8999996185303}],"measures":[],"correlationId":"c6bff3a028fa5","effectiveType":"4g","downlink":9.2,"rtt":0,"serverDuration":93,"dbReadsTimeInMs":10,"dbConnsTimeInMs":17,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}
OK to push!