Uploaded image for project: 'MariaDB ColumnStore'
  1. MariaDB ColumnStore
  2. MCOL-1969

Ubuntu 18.04 crashes when multi-argument UDAF is called as a subquery.

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 1.2.2
    • 1.2.2
    • ExeMgr
    • None
    • 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.

      Attachments

        Activity

          People

            dleeyh Daniel Lee (Inactive)
            David.Hall David Hall (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 1d Original Estimate - 1d
                1d
                Remaining:
                Remaining Estimate - 0d
                0d
                Logged:
                Time Spent - 1d 1h
                1d 1h

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.