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

Server crashes in JOIN::make_aggr_tables_info on SELECT ROW_NUMBER() OVER ()

    XMLWordPrintable

    Details

      Description

      select row_number() over ();
      

      10.2 0c15d1a6ff

      #3  <signal handler called>
      #4  JOIN::make_aggr_tables_info (this=this@entry=0x7fd497460498) at /data/src/10.2/sql/sql_select.cc:2698
      #5  0x00007fd4de6cdc59 in JOIN::optimize_inner (this=this@entry=0x7fd497460498) at /data/src/10.2/sql/sql_select.cc:1428
      #6  0x00007fd4de6d0c61 in JOIN::optimize (this=this@entry=0x7fd497460498) at /data/src/10.2/sql/sql_select.cc:1076
      #7  0x00007fd4de6d1607 in mysql_select (thd=thd@entry=0x7fd497416070, tables=0x0, wild_num=0, fields=..., conds=0x0, og_num=0, order=0x0, group=0x0, having=0x0, proc_param=0x0, select_options=2147748608, result=0x7fd497460478, unit=0x7fd497419b40, select_lex=0x7fd49741a278) at /data/src/10.2/sql/sql_select.cc:3555
      #8  0x00007fd4de6d18bf in handle_select (thd=thd@entry=0x7fd497416070, lex=lex@entry=0x7fd497419a78, result=result@entry=0x7fd497460478, setup_tables_done_option=setup_tables_done_option@entry=0) at /data/src/10.2/sql/sql_select.cc:373
      #9  0x00007fd4de662c83 in execute_sqlcom_select (thd=thd@entry=0x7fd497416070, all_tables=0x0) at /data/src/10.2/sql/sql_parse.cc:6353
      #10 0x00007fd4de66bb88 in mysql_execute_command (thd=thd@entry=0x7fd497416070) at /data/src/10.2/sql/sql_parse.cc:3377
      #11 0x00007fd4de675783 in mysql_parse (thd=thd@entry=0x7fd497416070, rawbuf=<optimized out>, length=<optimized out>, parser_state=parser_state@entry=0x7fd4df646910, is_com_multi=is_com_multi@entry=false, is_next_command=is_next_command@entry=false) at /data/src/10.2/sql/sql_parse.cc:7796
      #12 0x00007fd4de677a53 in dispatch_command (command=command@entry=COM_QUERY, thd=thd@entry=0x7fd497416070, packet=packet@entry=0x7fd497454071 "select row_number() over ()", packet_length=packet_length@entry=27, is_com_multi=is_com_multi@entry=false, is_next_command=is_next_command@entry=false) at /data/src/10.2/sql/sql_parse.cc:1806
      #13 0x00007fd4de67a585 in do_command (thd=0x7fd497416070) at /data/src/10.2/sql/sql_parse.cc:1366
      #14 0x00007fd4de7671a8 in do_handle_one_connection (connect=connect@entry=0x7fd4db85f6b0) at /data/src/10.2/sql/sql_connect.cc:1354
      #15 0x00007fd4de767391 in handle_one_connection (arg=0x7fd4db85f6b0) at /data/src/10.2/sql/sql_connect.cc:1260
      #16 0x00007fd4ddd870a4 in start_thread (arg=0x7fd4df648300) at pthread_create.c:309
      #17 0x00007fd4dc5a787d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              igor Igor Babaev
              Reporter:
              elenst Elena Stepanova
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Git Integration