Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-5104

crash in Item_field::used_tables with broken order by

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 10.0.4, 5.5.33, 5.3.12
    • 5.5.34, 10.0.6, 5.3.13
    • None
    • None

    Description

      Version: '10.0.4-MariaDB'  mariadb.org binary distribution
      [ERROR] mysqld got exception 0xc0000005 ;
       
      mysqld.exe!Item_field::used_tables()[item.cc:2670]
      mysqld.exe!Item_func::update_used_tables()[item_func.cc:447]
      mysqld.exe!st_select_lex::update_used_tables()[sql_lex.cc:3861]
      mysqld.exe!JOIN::optimize_inner()[sql_select.cc:1064]
      mysqld.exe!JOIN::optimize()[sql_select.cc:1010]
      mysqld.exe!st_select_lex_unit::optimize()[sql_union.cc:599]
      mysqld.exe!st_select_lex_unit::exec()[sql_union.cc:630]
      mysqld.exe!mysql_union()[sql_union.cc:38]
      mysqld.exe!handle_select()[sql_select.cc:349]
      mysqld.exe!execute_sqlcom_select()[sql_parse.cc:5123]
      mysqld.exe!mysql_execute_command()[sql_parse.cc:2518]
      mysqld.exe!mysql_parse()[sql_parse.cc:6269]
      mysqld.exe!dispatch_command()[sql_parse.cc:1280]
      mysqld.exe!do_command()[sql_parse.cc:989]
      mysqld.exe!threadpool_process_request()[threadpool_common.cc:232]
      mysqld.exe!io_completion_callback()[threadpool_win.cc:568]

      How to repeat:

      (select 1 order by x(y)) order by 1

      Attachments

        Activity

          sbester1 sbester1 created issue -
          elenst Elena Stepanova made changes -
          Field Original Value New Value
          Assignee Elena Stepanova [ elenst ]
          elenst Elena Stepanova made changes -
          Fix Version/s 10.0.6 [ 13202 ]
          Fix Version/s 5.5.34 [ 13700 ]
          Fix Version/s 5.3.13 [ 12602 ]
          Affects Version/s 5.3.12 [ 12000 ]
          Assignee Elena Stepanova [ elenst ] Timour Katchaounov [ timour ]
          elenst Elena Stepanova made changes -
          Priority Minor [ 4 ] Major [ 3 ]
          timour Timour Katchaounov (Inactive) made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          sanja Oleksandr Byelkin made changes -
          Assignee Timour Katchaounov [ timour ] Oleksandr Byelkin [ sanja ]
          sanja Oleksandr Byelkin made changes -
          Status In Progress [ 3 ] Stalled [ 10000 ]
          sanja Oleksandr Byelkin made changes -
          Status Stalled [ 10000 ] In Progress [ 3 ]
          sanja Oleksandr Byelkin made changes -
          Assignee Oleksandr Byelkin [ sanja ] Timour Katchaounov [ timour ]
          • approved by Sanja
          • pushed to 5.3
          timour Timour Katchaounov (Inactive) added a comment - approved by Sanja pushed to 5.3
          timour Timour Katchaounov (Inactive) made changes -
          Resolution Fixed [ 1 ]
          Status In Progress [ 3 ] Closed [ 6 ]
          serg Sergei Golubchik made changes -
          Workflow defaullt [ 29229 ] MariaDB v2 [ 42942 ]
          ratzpo Rasmus Johansson (Inactive) made changes -
          Workflow MariaDB v2 [ 42942 ] MariaDB v3 [ 61971 ]
          serg Sergei Golubchik made changes -
          Workflow MariaDB v3 [ 61971 ] MariaDB v4 [ 147098 ]

          People

            timour Timour Katchaounov (Inactive)
            sbester1 sbester1
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start 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.