--source include/have_partition.inc
|
|
CREATE TABLE t1 (a INT, KEY(a)) PARTITION BY HASH(a);
|
HANDLER t1 OPEN h;
|
HANDLER h READ a NEXT;
|
HANDLER h READ a NEXT;
|
|
# Cleanup
|
HANDLER h CLOSE;
|
DROP TABLE t1;
|
10.3 f6d0d309
|
mysqld: /data/src/10.3/sql/ha_partition.cc:7278: int ha_partition::handle_unordered_next(uchar*, bool): Assertion `0' failed.
|
190728 1:47:00 [ERROR] mysqld got signal 6 ;
|
|
#6 0x00007f66e6e6de67 in __assert_fail_base (fmt=<optimized out>, assertion=assertion@entry=0x56038105c669 "0", file=file@entry=0x56038105bc38 "/data/src/10.3/sql/ha_partition.cc", line=line@entry=7278, function=function@entry=0x560381060440 <ha_partition::handle_unordered_next(unsigned char*, bool)::__PRETTY_FUNCTION__> "int ha_partition::handle_unordered_next(uchar*, bool)") at assert.c:92
|
#7 0x00007f66e6e6df12 in __GI___assert_fail (assertion=0x56038105c669 "0", file=0x56038105bc38 "/data/src/10.3/sql/ha_partition.cc", line=7278, function=0x560381060440 <ha_partition::handle_unordered_next(unsigned char*, bool)::__PRETTY_FUNCTION__> "int ha_partition::handle_unordered_next(uchar*, bool)") at assert.c:101
|
#8 0x0000560380c091d5 in ha_partition::handle_unordered_next (this=0x7f66d0095ab8, buf=0x7f66d0006b00 "\377", is_next_same=false) at /data/src/10.3/sql/ha_partition.cc:7278
|
#9 0x0000560380c049c3 in ha_partition::index_next (this=0x7f66d0095ab8, buf=0x7f66d0006b00 "\377") at /data/src/10.3/sql/ha_partition.cc:5831
|
#10 0x00005603804a4fcb in handler::ha_index_next (this=0x7f66d0095ab8, buf=0x7f66d0006b00 "\377") at /data/src/10.3/sql/handler.cc:2947
|
#11 0x000056038015f424 in mysql_ha_read (thd=0x7f66d0000b00, tables=0x7f66d0012980, mode=RNEXT, keyname=0x7f66d0012fc8 "a", key_expr=0xa5a5a5a5a5a5a5a5, ha_rkey_mode=HA_READ_KEY_EXACT, cond=0x0, select_limit_cnt=1, offset_limit_cnt=0) at /data/src/10.3/sql/sql_handler.cc:892
|
#12 0x00005603801a8390 in mysql_execute_command (thd=0x7f66d0000b00) at /data/src/10.3/sql/sql_parse.cc:5493
|
#13 0x00005603801af3f0 in mysql_parse (thd=0x7f66d0000b00, rawbuf=0x7f66d0012818 "HANDLER h READ a NEXT", length=21, parser_state=0x7f66e106c5f0, is_com_multi=false, is_next_command=false) at /data/src/10.3/sql/sql_parse.cc:7829
|
#14 0x000056038019cfee in dispatch_command (command=COM_QUERY, thd=0x7f66d0000b00, packet=0x7f66d0008c71 "", packet_length=21, is_com_multi=false, is_next_command=false) at /data/src/10.3/sql/sql_parse.cc:1856
|
#15 0x000056038019ba11 in do_command (thd=0x7f66d0000b00) at /data/src/10.3/sql/sql_parse.cc:1401
|
#16 0x00005603803050a2 in do_handle_one_connection (connect=0x560383a4a120) at /data/src/10.3/sql/sql_connect.cc:1403
|
#17 0x0000560380304e04 in handle_one_connection (arg=0x560383a4a120) at /data/src/10.3/sql/sql_connect.cc:1308
|
#18 0x0000560380be02a8 in pfs_spawn_thread (arg=0x560383a650a0) at /data/src/10.3/storage/perfschema/pfs.cc:1862
|
#19 0x00007f66e89e24a4 in start_thread (arg=0x7f66e106d700) at pthread_create.c:456
|
#20 0x00007f66e6f2ad0f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:97
|
No obvious effect on a non-debug build.
The test case is not applicable to 10.2 (HANDLER doesn't work with partitioning).
Reproducible on previous 10.3.x releases.
- relates to
-
MDEV-23167
Server crashes upon HANDLER READ from partitioned table
-
-
Confirmed
{"report":{"fcp":806.4000000953674,"ttfb":204.5,"pageVisibility":"visible","entityId":77858,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":1,"journeyId":"f229caab-8d2c-44e0-8d75-13b0e625513c","navigationType":0,"readyForUser":886.9000000953674,"redirectCount":0,"resourceLoadedEnd":544.3000001907349,"resourceLoadedStart":209.70000004768372,"resourceTiming":[{"duration":11.299999952316284,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2bu7/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":209.70000004768372,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":209.70000004768372,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":221,"responseStart":0,"secureConnectionStart":0},{"duration":12.200000047683716,"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":210,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":210,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":222.20000004768372,"responseStart":0,"secureConnectionStart":0},{"duration":204.39999985694885,"initiatorType":"script","name":"https://jira.mariadb.org/s/fbf975c0cce4b1abf04784eeae9ba1f4-CDN/lu2bu7/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":210.10000014305115,"connectEnd":210.10000014305115,"connectStart":210.10000014305115,"domainLookupEnd":210.10000014305115,"domainLookupStart":210.10000014305115,"fetchStart":210.10000014305115,"redirectEnd":0,"redirectStart":0,"requestStart":228.60000014305115,"responseEnd":414.5,"responseStart":247.60000014305115,"secureConnectionStart":210.10000014305115},{"duration":334.10000014305115,"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":210.20000004768372,"connectEnd":210.20000004768372,"connectStart":210.20000004768372,"domainLookupEnd":210.20000004768372,"domainLookupStart":210.20000004768372,"fetchStart":210.20000004768372,"redirectEnd":0,"redirectStart":0,"requestStart":228.80000019073486,"responseEnd":544.3000001907349,"responseStart":254.30000019073486,"secureConnectionStart":210.20000004768372},{"duration":50.299999952316284,"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":210.40000009536743,"connectEnd":210.40000009536743,"connectStart":210.40000009536743,"domainLookupEnd":210.40000009536743,"domainLookupStart":210.40000009536743,"fetchStart":210.40000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":228.80000019073486,"responseEnd":260.7000000476837,"responseStart":258.10000014305115,"secureConnectionStart":210.40000009536743},{"duration":51.40000009536743,"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":210.40000009536743,"connectEnd":210.40000009536743,"connectStart":210.40000009536743,"domainLookupEnd":210.40000009536743,"domainLookupStart":210.40000009536743,"fetchStart":210.40000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":229,"responseEnd":261.80000019073486,"responseStart":259.2000000476837,"secureConnectionStart":210.40000009536743},{"duration":16.200000047683716,"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":210.60000014305115,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":210.60000014305115,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":226.80000019073486,"responseStart":0,"secureConnectionStart":0},{"duration":50.39999985694885,"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":210.60000014305115,"connectEnd":210.60000014305115,"connectStart":210.60000014305115,"domainLookupEnd":210.60000014305115,"domainLookupStart":210.60000014305115,"fetchStart":210.60000014305115,"redirectEnd":0,"redirectStart":0,"requestStart":229.20000004768372,"responseEnd":261,"responseStart":258.60000014305115,"secureConnectionStart":210.60000014305115},{"duration":17.5,"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":210.80000019073486,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":210.80000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":228.30000019073486,"responseStart":0,"secureConnectionStart":0},{"duration":97.29999995231628,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":210.80000019073486,"connectEnd":210.80000019073486,"connectStart":210.80000019073486,"domainLookupEnd":210.80000019073486,"domainLookupStart":210.80000019073486,"fetchStart":210.80000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":233.90000009536743,"responseEnd":308.10000014305115,"responseStart":306.5,"secureConnectionStart":210.80000019073486},{"duration":52.5,"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":210.90000009536743,"connectEnd":210.90000009536743,"connectStart":210.90000009536743,"domainLookupEnd":210.90000009536743,"domainLookupStart":210.90000009536743,"fetchStart":210.90000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":234.20000004768372,"responseEnd":263.40000009536743,"responseStart":262.5,"secureConnectionStart":210.90000009536743},{"duration":276.5,"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":211.70000004768372,"connectEnd":211.70000004768372,"connectStart":211.70000004768372,"domainLookupEnd":211.70000004768372,"domainLookupStart":211.70000004768372,"fetchStart":211.70000004768372,"redirectEnd":0,"redirectStart":0,"requestStart":262.30000019073486,"responseEnd":488.2000000476837,"responseStart":480.10000014305115,"secureConnectionStart":211.70000004768372},{"duration":273,"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":216,"connectEnd":216,"connectStart":216,"domainLookupEnd":216,"domainLookupStart":216,"fetchStart":216,"redirectEnd":0,"redirectStart":0,"requestStart":288.10000014305115,"responseEnd":489,"responseStart":483,"secureConnectionStart":216},{"duration":108.90000009536743,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":560.2000000476837,"connectEnd":560.2000000476837,"connectStart":560.2000000476837,"domainLookupEnd":560.2000000476837,"domainLookupStart":560.2000000476837,"fetchStart":560.2000000476837,"redirectEnd":0,"redirectStart":0,"requestStart":639.2000000476837,"responseEnd":669.1000001430511,"responseStart":668.5,"secureConnectionStart":560.2000000476837}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":65,"responseStart":205,"responseEnd":210,"domLoading":208,"domInteractive":945,"domContentLoadedEventStart":945,"domContentLoadedEventEnd":992,"domComplete":1938,"loadEventStart":1938,"loadEventEnd":1939,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":924.7000000476837},{"name":"bigPipe.sidebar-id.end","time":925.5},{"name":"bigPipe.activity-panel-pipe-id.start","time":925.6000001430511},{"name":"bigPipe.activity-panel-pipe-id.end","time":928.1000001430511},{"name":"activityTabFullyLoaded","time":1000}],"measures":[],"correlationId":"59193e22fda272","effectiveType":"4g","downlink":9,"rtt":0,"serverDuration":62,"dbReadsTimeInMs":9,"dbConnsTimeInMs":16,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}