[MCOL-1969] Ubuntu 18.04 crashes when multi-argument UDAF is called as a subquery. Created: 2018-11-26  Updated: 2018-11-28  Due: 2018-11-26  Resolved: 2018-11-28

Status: Closed
Project: MariaDB ColumnStore
Component/s: ExeMgr
Affects Version/s: 1.2.2
Fix Version/s: 1.2.2

Type: Bug Priority: Major
Reporter: David Hall (Inactive) Assignee: Daniel Lee (Inactive)
Resolution: Fixed Votes: 0
Labels: None

Sprint: 2018-20

 Description   

Regression testing has shown that the following query crashes ExeMgr:
select f, count from (select CCHAR9, regr_avgx(CDECIMAL9_2, length(CCHAR9)) f from datatypetestm1 group by 1) a group by f order by f desc;

The crash happens at tuppleaggregatestep.cpp:3800 with j being 1 but the array it's indexing having only one element and thus index is out of bounds.



 Comments   
Comment by Daniel Lee (Inactive) [ 2018-11-28 ]

Build verified: 1.2.2-1

ubuntu18.04 deb package
centos7 rpm packages

Generated at Thu Feb 08 02:32:43 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.