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

Crash in st_select_lex::cleanup() in stored procedure from the package

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Critical
    • Resolution: Not a Bug
    • N/A
    • N/A
    • Stored routines
    • None
    • bb-10.2-compatibility build 18009

    Description

      We have the following crash (build 18009) boted in the error log:

      Thread pointer: 0x7f8bf00009a8
      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...
      stack_bottom = 0x7f8d46328d70 thread_stack 0x40000
      (my_addr_resolve failure: fork)
      /usr/sbin/mysqld(my_print_stacktrace+0x2e) [0x55fae7caeb5e]
      /usr/sbin/mysqld(handle_fatal_signal+0x355) [0x55fae773ffc5]
      /lib64/libpthread.so.0(+0xf5e0) [0x7fa262e4c5e0]
      /usr/sbin/mysqld(st_select_lex::cleanup()+0x20) [0x55fae7613a70]
      /usr/sbin/mysqld(st_select_lex_unit::cleanup()+0x40) [0x55fae7613bd0]
      /usr/sbin/mysqld(mysql_execute_command(THD*)+0x742) [0x55fae757cae2]
      /usr/sbin/mysqld(sp_instr_stmt::exec_core(THD*, unsigned int*)+0x36) [0x55fae74f5cf6]
      /usr/sbin/mysqld(sp_lex_keeper::reset_lex_and_exec_core(THD*, unsigned int*, bool, sp_instr*)+0x99) [0x55fae74fd959]
      /usr/sbin/mysqld(sp_instr_stmt::execute(THD*, unsigned int*)+0x205) [0x55fae74fdf55]
      /usr/sbin/mysqld(sp_head::execute(THD*, bool)+0x816) [0x55fae74f99c6]
      /usr/sbin/mysqld(sp_head::execute_procedure(THD*, List<Item>*)+0x72d) [0x55fae74faaed]
      /usr/sbin/mysqld(+0x55d86b) [0x55fae757586b]
      /usr/sbin/mysqld(+0x55f596) [0x55fae7577596]
      /usr/sbin/mysqld(Sql_cmd_call::execute(THD*)+0x90) [0x55fae7577d90]
      /usr/sbin/mysqld(mysql_execute_command(THD*)+0x13fe) [0x55fae757d79e]
      /usr/sbin/mysqld(mysql_parse(THD*, char*, unsigned int, Parser_state*, bool, bool)+0x2fe) [0x55fae758554e]
      /usr/sbin/mysqld(dispatch_command(enum_server_command, THD*, char*, unsigned int, bool, bool)+0x20d0) [0x55fae7588640]
      /usr/sbin/mysqld(do_command(THD*)+0x149) [0x55fae7589249]
      /usr/sbin/mysqld(do_handle_one_connection(CONNECT*)+0x1aa) [0x55fae764f89a]
      /usr/sbin/mysqld(handle_one_connection+0x3d) [0x55fae764f9bd]
      /lib64/libpthread.so.0(+0x7e25) [0x7fa262e44e25]
      /lib64/libc.so.6(clone+0x6d) [0x7fa26149734d]
       
      Trying to get some variables.
      Some pointers may be invalid and cause the dump to abort.
      Query (0x7f8bf0817508): SOME_PKG.SOME_SP( NAME_CONST('pP1',_utf8mb4'AU' COLLATE 'utf8mb4_bin'), NAME_CONST('pP2',TIMESTAMP'2017-11-30 00:00:00'))
      Connection ID (thread ID): 4317
      Status: NOT_KILLED
      

      Attachments

        Issue Links

          Activity

            People

              bar Alexander Barkov
              valerii Valerii Kravchuk
              Votes:
              0 Vote for this issue
              Watchers:
              5 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.