Starting from the revision 840f1310cb6ee15cffdac5a4d2a95551575b2c3b, the test "compound" fails in build-bot for bb-10.2-ext, with this output:
main.compound w2 [ fail ]
|
Test ended at 2017-09-23 16:35:33
|
|
CURRENT_TEST: main.compound
|
mysqltest: At line 127: query 'prepare stmt from "if fn(?) > 6 then
|
begin
|
declare a int;
|
set a=?*2;
|
insert t1 values(a+?);
|
end;
|
end if"' failed: 2013: Lost connection to MySQL server during query
|
|
The result from queries just before the failure was:
|
< snip >
|
executing: drop table t4
|
create table t1 (x int)|
|
create function fn(a int) returns int
|
begin
|
insert t1 values (a+7);
|
return a+8;
|
end|
|
reset master|
|
/**/ if fn(9) > 5 then
|
select 1;
|
end if|
|
1
|
1
|
prepare stmt from "if fn(?) > 6 then
|
begin
|
declare a int;
|
set a=?*2;
|
insert t1 values(a+?);
|
end;
|
end if"|
|
|
More results from queries before failure can be found in D:\winx64-debug\build\mysql-test\var\2\log\compound.log
|
|
|
Server [mysqld.1 - pid: 6604, winpid: 6604, exit: 65280] failed during test run
|
Server log from this test:
|
----------SERVER LOG START-----------
|
2017-09-23 16:35:27 2360 [Note] D:/winx64-debug/build/sql//Debug/mysqld.exe (mysqld 10.2.9-MariaDB-debug-log) starting as process 4540 ...
|
2017-09-23 16:35:27 2360 [Note] Plugin 'SEQUENCE' is disabled.
|
2017-09-23 16:35:27 2360 [Note] Plugin 'partition' is disabled.
|
2017-09-23 16:35:27 2360 [Note] Plugin 'InnoDB' is disabled.
|
2017-09-23 16:35:27 2360 [Note] Plugin 'INNODB_SYS_DATAFILES' is disabled.
|
2017-09-23 16:35:27 2360 [Note] Plugin 'INNODB_SYS_TABLESTATS' is disabled.
|
2017-09-23 16:35:27 2360 [Note] Plugin 'INNODB_LOCKS' is disabled.
|
2017-09-23 16:35:27 2360 [Note] Plugin 'INNODB_MUTEXES' is disabled.
|
2017-09-23 16:35:27 2360 [Note] Plugin 'INNODB_CMPMEM' is disabled.
|
2017-09-23 16:35:27 2360 [Note] Plugin 'INNODB_CMP_PER_INDEX' is disabled.
|
2017-09-23 16:35:27 2360 [Note] Plugin 'INNODB_CMP' is disabled.
|
2017-09-23 16:35:27 2360 [Note] Plugin 'INNODB_FT_DELETED' is disabled.
|
2017-09-23 16:35:27 2360 [Note] Plugin 'INNODB_CMP_RESET' is disabled.
|
2017-09-23 16:35:27 2360 [Note] Plugin 'INNODB_LOCK_WAITS' is disabled.
|
2017-09-23 16:35:27 2360 [Note] Plugin 'INNODB_TABLESPACES_ENCRYPTION' is disabled.
|
2017-09-23 16:35:27 2360 [Note] Plugin 'INNODB_BUFFER_PAGE_LRU' is disabled.
|
2017-09-23 16:35:27 2360 [Note] Plugin 'INNODB_SYS_FIELDS' is disabled.
|
2017-09-23 16:35:27 2360 [Note] Plugin 'INNODB_CMPMEM_RESET' is disabled.
|
2017-09-23 16:35:27 2360 [Note] Plugin 'FEEDBACK' is disabled.
|
2017-09-23 16:35:27 2360 [Note] Plugin 'INNODB_SYS_COLUMNS' is disabled.
|
2017-09-23 16:35:27 2360 [Note] Plugin 'INNODB_FT_INDEX_TABLE' is disabled.
|
2017-09-23 16:35:27 2360 [Note] Plugin 'INNODB_CMP_PER_INDEX_RESET' is disabled.
|
2017-09-23 16:35:27 2360 [Note] Plugin 'user_variables' is disabled.
|
2017-09-23 16:35:27 2360 [Note] Plugin 'INNODB_FT_INDEX_CACHE' is disabled.
|
2017-09-23 16:35:27 2360 [Note] Plugin 'INNODB_SYS_FOREIGN_COLS' is disabled.
|
2017-09-23 16:35:27 2360 [Note] Plugin 'INNODB_FT_BEING_DELETED' is disabled.
|
2017-09-23 16:35:27 2360 [Note] Plugin 'INNODB_BUFFER_POOL_STATS' is disabled.
|
2017-09-23 16:35:27 2360 [Note] Plugin 'INNODB_TRX' is disabled.
|
2017-09-23 16:35:27 2360 [Note] Plugin 'INNODB_SYS_FOREIGN' is disabled.
|
2017-09-23 16:35:27 2360 [Note] Plugin 'INNODB_SYS_TABLES' is disabled.
|
2017-09-23 16:35:27 2360 [Note] Plugin 'INNODB_FT_DEFAULT_STOPWORD' is disabled.
|
2017-09-23 16:35:27 2360 [Note] Plugin 'INNODB_FT_CONFIG' is disabled.
|
2017-09-23 16:35:27 2360 [Note] Plugin 'INNODB_BUFFER_PAGE' is disabled.
|
2017-09-23 16:35:27 2360 [Note] Plugin 'INNODB_SYS_TABLESPACES' is disabled.
|
2017-09-23 16:35:27 2360 [Note] Plugin 'INNODB_METRICS' is disabled.
|
2017-09-23 16:35:27 2360 [Note] Plugin 'INNODB_SYS_INDEXES' is disabled.
|
2017-09-23 16:35:27 2360 [Note] Plugin 'INNODB_SYS_VIRTUAL' is disabled.
|
2017-09-23 16:35:27 2360 [Note] Plugin 'INNODB_TABLESPACES_SCRUBBING' is disabled.
|
2017-09-23 16:35:27 2360 [Note] Plugin 'INNODB_SYS_SEMAPHORE_WAITS' is disabled.
|
2017-09-23 16:35:27 2360 [Warning] D:/winx64-debug/build/sql//Debug/mysqld.exe: unknown option '--loose-pam-debug'
|
2017-09-23 16:35:27 2360 [Note] Server socket created on IP: '::'.
|
2017-09-23 16:35:27 2360 [Note] Reading of all Master_info entries succeded
|
2017-09-23 16:35:27 2360 [Note] Added new Master_info '' to hash table
|
2017-09-23 16:35:27 2360 [Note] D:/winx64-debug/build/sql//Debug/mysqld.exe: ready for connections.
|
Version: '10.2.9-MariaDB-debug-log' socket: '' port: 16100 Source distribution
|
Assertion failed: pos < 0xFFFFFFFFL, file d:\winx64-debug\build\src\sql\sql_lex.h, line 3450
|
170923 16:35:27 [ERROR] mysqld got exception 0x80000003 ;
|
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.9-MariaDB-debug-log
|
key_buffer_size=1048576
|
read_buffer_size=131072
|
max_used_connections=2
|
max_threads=65537
|
thread_count=3
|
It is possible that mysqld could use up to
|
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 4229 K bytes of memory
|
Hope that's ok; if not, decrease some variables in the equation.
|
|
Thread pointer: 0xe3b482eed8
|
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!my_sigabrt_handler()[my_thr_init.c:488]
|
mysqld.exe!raise()[signal.cpp:516]
|
mysqld.exe!abort()[abort.cpp:71]
|
mysqld.exe!common_assert_to_stderr<wchar_t>()[assert.cpp:149]
|
mysqld.exe!_wassert()[assert.cpp:404]
|
mysqld.exe!LEX::add_placeholder()[sql_lex.h:3450]
|
mysqld.exe!MYSQLparse()[sql_yacc.yy:13935]
|
mysqld.exe!parse_sql()[sql_parse.cc:9928]
|
mysqld.exe!Prepared_statement::prepare()[sql_prepare.cc:3910]
|
mysqld.exe!mysql_sql_stmt_prepare()[sql_prepare.cc:2823]
|
mysqld.exe!mysql_execute_command()[sql_parse.cc:3712]
|
mysqld.exe!mysql_parse()[sql_parse.cc:7896]
|
mysqld.exe!dispatch_command()[sql_parse.cc:1814]
|
mysqld.exe!do_command()[sql_parse.cc:1369]
|
mysqld.exe!threadpool_process_request()[threadpool_common.cc:366]
|
mysqld.exe!tp_callback()[threadpool_common.cc:192]
|
mysqld.exe!tp_callback()[threadpool_win.cc:378]
|
mysqld.exe!work_callback()[threadpool_win.cc:452]
|
ntdll.dll!RtlFreeUnicodeString()
|
ntdll.dll!RtlFreeUnicodeString()
|
KERNEL32.DLL!BaseThreadInitThunk()
|
ntdll.dll!RtlUserThreadStart()
|
|
Trying to get some variables.
|
Some pointers may be invalid and cause the dump to abort.
|
Query (0xe3b49e8978): if fn(?) > 6 then
|
begin
|
declare a int;
|
set a=?*2;
|
insert t1 values(a+?);
|
end;
|
end if
|
Connection ID (thread ID): 5
|
Status: NOT_KILLED
|
{"report":{"fcp":847.6000001430511,"ttfb":229.5,"pageVisibility":"visible","entityId":63335,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":1,"journeyId":"c80d3bc5-5f17-4fc4-b010-f7150a2aeeb6","navigationType":0,"readyForUser":941.6000001430511,"redirectCount":0,"resourceLoadedEnd":986.8000001907349,"resourceLoadedStart":237.60000014305115,"resourceTiming":[{"duration":11.299999952316284,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":237.60000014305115,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":237.60000014305115,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":248.90000009536743,"responseStart":0,"secureConnectionStart":0},{"duration":11.600000143051147,"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":238,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":238,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":249.60000014305115,"responseStart":0,"secureConnectionStart":0},{"duration":183.20000004768372,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":238.20000004768372,"connectEnd":238.20000004768372,"connectStart":238.20000004768372,"domainLookupEnd":238.20000004768372,"domainLookupStart":238.20000004768372,"fetchStart":238.20000004768372,"redirectEnd":0,"redirectStart":0,"requestStart":238.20000004768372,"responseEnd":421.40000009536743,"responseStart":421.40000009536743,"secureConnectionStart":238.20000004768372},{"duration":170.70000004768372,"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":238.70000004768372,"connectEnd":238.70000004768372,"connectStart":238.70000004768372,"domainLookupEnd":238.70000004768372,"domainLookupStart":238.70000004768372,"fetchStart":238.70000004768372,"redirectEnd":0,"redirectStart":0,"requestStart":238.70000004768372,"responseEnd":409.40000009536743,"responseStart":409.40000009536743,"secureConnectionStart":238.70000004768372},{"duration":15.099999904632568,"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":238.90000009536743,"connectEnd":238.90000009536743,"connectStart":238.90000009536743,"domainLookupEnd":238.90000009536743,"domainLookupStart":238.90000009536743,"fetchStart":238.90000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":238.90000009536743,"responseEnd":254,"responseStart":254,"secureConnectionStart":238.90000009536743},{"duration":35.700000047683716,"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":239.10000014305115,"connectEnd":239.10000014305115,"connectStart":239.10000014305115,"domainLookupEnd":239.10000014305115,"domainLookupStart":239.10000014305115,"fetchStart":239.10000014305115,"redirectEnd":0,"redirectStart":0,"requestStart":239.10000014305115,"responseEnd":274.80000019073486,"responseStart":274.80000019073486,"secureConnectionStart":239.10000014305115},{"duration":183.90000009536743,"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":239.20000004768372,"connectEnd":239.20000004768372,"connectStart":239.20000004768372,"domainLookupEnd":239.20000004768372,"domainLookupStart":239.20000004768372,"fetchStart":239.20000004768372,"redirectEnd":0,"redirectStart":0,"requestStart":239.20000004768372,"responseEnd":423.10000014305115,"responseStart":423.10000014305115,"secureConnectionStart":239.20000004768372},{"duration":184.59999990463257,"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":239.40000009536743,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":239.40000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":424,"responseStart":0,"secureConnectionStart":0},{"duration":184.10000014305115,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":239.5,"connectEnd":239.5,"connectStart":239.5,"domainLookupEnd":239.5,"domainLookupStart":239.5,"fetchStart":239.5,"redirectEnd":0,"redirectStart":0,"requestStart":239.5,"responseEnd":423.60000014305115,"responseStart":423.60000014305115,"secureConnectionStart":239.5},{"duration":184.40000009536743,"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":239.70000004768372,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":239.70000004768372,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":424.10000014305115,"responseStart":0,"secureConnectionStart":0},{"duration":184.29999995231628,"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":239.80000019073486,"connectEnd":239.80000019073486,"connectStart":239.80000019073486,"domainLookupEnd":239.80000019073486,"domainLookupStart":239.80000019073486,"fetchStart":239.80000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":239.80000019073486,"responseEnd":424.10000014305115,"responseStart":424.10000014305115,"secureConnectionStart":239.80000019073486},{"duration":162.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":269.10000014305115,"connectEnd":269.10000014305115,"connectStart":269.10000014305115,"domainLookupEnd":269.10000014305115,"domainLookupStart":269.10000014305115,"fetchStart":269.10000014305115,"redirectEnd":0,"redirectStart":0,"requestStart":269.10000014305115,"responseEnd":431.60000014305115,"responseStart":431.60000014305115,"secureConnectionStart":269.10000014305115},{"duration":183.89999985694885,"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":269.10000014305115,"connectEnd":269.10000014305115,"connectStart":269.10000014305115,"domainLookupEnd":269.10000014305115,"domainLookupStart":269.10000014305115,"fetchStart":269.10000014305115,"redirectEnd":0,"redirectStart":0,"requestStart":269.10000014305115,"responseEnd":453,"responseStart":453,"secureConnectionStart":269.10000014305115},{"duration":164.5,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":648.2000000476837,"connectEnd":648.2000000476837,"connectStart":648.2000000476837,"domainLookupEnd":648.2000000476837,"domainLookupStart":648.2000000476837,"fetchStart":648.2000000476837,"redirectEnd":0,"redirectStart":0,"requestStart":648.2000000476837,"responseEnd":812.7000000476837,"responseStart":812.7000000476837,"secureConnectionStart":648.2000000476837},{"duration":201.29999995231628,"initiatorType":"script","name":"https://www.google-analytics.com/analytics.js","startTime":826.8000001907349,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":826.8000001907349,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1028.1000001430511,"responseStart":0,"secureConnectionStart":0},{"duration":139,"initiatorType":"link","name":"https://jira.mariadb.org/s/d5715adaadd168a9002b108b2b039b50-CDN/lu2cib/820016/12ta74/be4b45e9cec53099498fa61c8b7acba4/_/download/contextbatch/css/jira.project.sidebar,-_super,-project.issue.navigator,-jira.general,-jira.browse.project,-jira.view.issue,-jira.global,-atl.general,-com.atlassian.jira.projects.sidebar.init/batch.css?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&slack-enabled=true&whisper-enabled=true","startTime":847.7000000476837,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":847.7000000476837,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":986.7000000476837,"responseStart":0,"secureConnectionStart":0},{"duration":138.60000014305115,"initiatorType":"link","name":"https://jira.mariadb.org/s/50bc9be5bfead1a25e72c1a9338c94f6-CDN/lu2cib/820016/12ta74/e108c7645258ccb43280ed3404e3e949/_/download/contextbatch/css/com.atlassian.jira.plugins.jira-development-integration-plugin:0,-_super,-jira.view.issue,-jira.global,-jira.general,-jira.browse.project,-project.issue.navigator,-atl.general/batch.css?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&slack-enabled=true&whisper-enabled=true","startTime":848.2000000476837,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":848.2000000476837,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":986.8000001907349,"responseStart":0,"secureConnectionStart":0},{"duration":38.59999990463257,"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":849.1000001430511,"connectEnd":849.1000001430511,"connectStart":849.1000001430511,"domainLookupEnd":849.1000001430511,"domainLookupStart":849.1000001430511,"fetchStart":849.1000001430511,"redirectEnd":0,"redirectStart":0,"requestStart":849.1000001430511,"responseEnd":887.7000000476837,"responseStart":887.7000000476837,"secureConnectionStart":849.1000001430511},{"duration":46.89999985694885,"initiatorType":"script","name":"https://jira.mariadb.org/s/097ae97cb8fbec7d6ea4bbb1f26955b9-CDN/lu2cib/820016/12ta74/be4b45e9cec53099498fa61c8b7acba4/_/download/contextbatch/js/jira.project.sidebar,-_super,-project.issue.navigator,-jira.general,-jira.browse.project,-jira.view.issue,-jira.global,-atl.general,-com.atlassian.jira.projects.sidebar.init/batch.js?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&locale=en&slack-enabled=true&whisper-enabled=true","startTime":849.6000001430511,"connectEnd":849.6000001430511,"connectStart":849.6000001430511,"domainLookupEnd":849.6000001430511,"domainLookupStart":849.6000001430511,"fetchStart":849.6000001430511,"redirectEnd":0,"redirectStart":0,"requestStart":849.6000001430511,"responseEnd":896.5,"responseStart":896.5,"secureConnectionStart":849.6000001430511},{"duration":47.89999985694885,"initiatorType":"script","name":"https://jira.mariadb.org/s/e0bf5781d46ea69fb123572974cf39de-CDN/lu2cib/820016/12ta74/e108c7645258ccb43280ed3404e3e949/_/download/contextbatch/js/com.atlassian.jira.plugins.jira-development-integration-plugin:0,-_super,-jira.view.issue,-jira.global,-jira.general,-jira.browse.project,-project.issue.navigator,-atl.general/batch.js?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&locale=en&slack-enabled=true&whisper-enabled=true","startTime":850.1000001430511,"connectEnd":850.1000001430511,"connectStart":850.1000001430511,"domainLookupEnd":850.1000001430511,"domainLookupStart":850.1000001430511,"fetchStart":850.1000001430511,"redirectEnd":0,"redirectStart":0,"requestStart":850.1000001430511,"responseEnd":898,"responseStart":898,"secureConnectionStart":850.1000001430511},{"duration":77.90000009536743,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":1052.5,"connectEnd":1052.5,"connectStart":1052.5,"domainLookupEnd":1052.5,"domainLookupStart":1052.5,"fetchStart":1052.5,"redirectEnd":0,"redirectStart":0,"requestStart":1052.5,"responseEnd":1130.4000000953674,"responseStart":1130.4000000953674,"secureConnectionStart":1052.5}],"fetchStart":0,"domainLookupStart":2,"domainLookupEnd":6,"connectStart":6,"connectEnd":24,"secureConnectionStart":14,"requestStart":25,"responseStart":229,"responseEnd":268,"domLoading":232,"domInteractive":1074,"domContentLoadedEventStart":1074,"domContentLoadedEventEnd":1131,"domComplete":1175,"loadEventStart":1175,"loadEventEnd":1176,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1034.8000001907349},{"name":"bigPipe.sidebar-id.end","time":1035.5},{"name":"bigPipe.activity-panel-pipe-id.start","time":1035.7000000476837},{"name":"bigPipe.activity-panel-pipe-id.end","time":1037},{"name":"activityTabFullyLoaded","time":1150.6000001430511}],"measures":[],"correlationId":"2595713c0c0a97","effectiveType":"4g","downlink":9.8,"rtt":0,"serverDuration":106,"dbReadsTimeInMs":11,"dbConnsTimeInMs":21,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}
The problem is that the server tries to create an instance of Item_param with a wrong pos_in_query parameter, when parsing a compound statement with a placeholder in the if part, e.g.:
Here's the stack trace:
Item_param::Item_param (this=0x7ffe640156c0, thd=0x7ffe64000a98, pos_in_query_arg=3564209028)
The problem with a wrong pos_in_query is also repeatable in 10.2 and all earlier versions (with no crash however). 840f1310cb6ee15cffdac5a4d2a95551575b2c3b did not introduce the bug, it only revealed the bug by adding DBUG_ASSERT.