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

Crash in MariaDB 10.2.12 on query using VIEW and WITH RECURSIVE

    XMLWordPrintable

Details

    Description

      171222 16:39:49 [ERROR] mysqld got signal 11 ;
      This could be because you hit a bug. It is also possible that this binary
      or one of the libraries it was linked against is corrupt, improperly built,
      or misconfigured. This error can also be caused by malfunctioning hardware.
       
      To report this bug, see https://mariadb.com/kb/en/reporting-bugs
       
      We will try our best to scrape up some info that will hopefully help
      diagnose the problem, but since we have already crashed, 
      something is definitely wrong and this may fail.
       
      Server version: 10.2.12-MariaDB-log
      key_buffer_size=67108864
      read_buffer_size=131072
      max_used_connections=278
      max_threads=2002
      thread_count=284
      It is possible that mysqld could use up to 
      key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 4465362 K  bytes of memory
      Hope that's ok; if not, decrease some variables in the equation.
       
      Thread pointer: 0x55c509602008
      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 = 0x7efc135ffd30 thread_stack 0x40000
      (my_addr_resolve failure: fork)
      /usr/sbin/mysqld(my_print_stacktrace+0x2e) [0x55c2ca94b01e]
      /usr/sbin/mysqld(handle_fatal_signal+0x30d) [0x55c2ca3e095d]
      /lib64/libpthread.so.0(+0xf5e0) [0x7f10af1635e0]
      /usr/sbin/mysqld(SQL_SELECT::cleanup()+0x17) [0x55c2ca4ebc47]
      /usr/sbin/mysqld(st_join_table::cleanup()+0x2e) [0x55c2ca25cc3e]
      /usr/sbin/mysqld(JOIN::cleanup(bool)+0x368) [0x55c2ca25d2a8]
      /usr/sbin/mysqld(JOIN::destroy()+0x46) [0x55c2ca25d716]
      /usr/sbin/mysqld(st_select_lex::cleanup()+0x60) [0x55c2ca2b53d0]
      /usr/sbin/mysqld(subselect_single_select_engine::prepare(THD*)+0x44) [0x55c2ca490304]
      /usr/sbin/mysqld(Item_subselect::fix_fields(THD*, Item**)+0xd4) [0x55c2ca48fd34]
      /usr/sbin/mysqld(Item_in_subselect::fix_fields(THD*, Item**)+0x81) [0x55c2ca490051]
      /usr/sbin/mysqld(Item_cond::fix_fields(THD*, Item**)+0x108) [0x55c2ca413b98]
      /usr/sbin/mysqld(setup_conds(THD*, TABLE_LIST*, List<TABLE_LIST>&, Item**)+0x18b) [0x55c2ca1d4d9b]
      /usr/sbin/mysqld(JOIN::prepare(TABLE_LIST*, unsigned int, Item*, unsigned int, st_order*, bool, st_order*, Item*, st_order*, st_select_lex*, st_select_lex_unit*)+0x46a) [0x55c2ca26644a]
      /usr/sbin/mysqld(st_select_lex_unit::prepare_join(THD*, st_select_lex*, select_result*, unsigned long, bool)+0xf0) [0x55c2ca2b2f70]
      /usr/sbin/mysqld(st_select_lex_unit::prepare(THD*, select_result*, unsigned long)+0x4cb) [0x55c2ca2b5b1b]
      /usr/sbin/mysqld(mysql_derived_prepare(THD*, LEX*, TABLE_LIST*)+0x2c4) [0x55c2ca1f2a44]
      /usr/sbin/mysqld(mysql_handle_single_derived(LEX*, TABLE_LIST*, unsigned int)+0xe4) [0x55c2ca1f37e4]
      /usr/sbin/mysqld(st_select_lex::handle_derived(LEX*, unsigned int)+0x47) [0x55c2ca2096e7]
      /usr/sbin/mysqld(TABLE_LIST::handle_derived(LEX*, unsigned int)+0x57) [0x55c2ca2ce617]
      /usr/sbin/mysqld(st_select_lex::handle_derived(LEX*, unsigned int)+0x47) [0x55c2ca2096e7]
      /usr/sbin/mysqld(TABLE_LIST::handle_derived(LEX*, unsigned int)+0x57) [0x55c2ca2ce617]
      /usr/sbin/mysqld(st_select_lex::handle_derived(LEX*, unsigned int)+0x47) [0x55c2ca2096e7]
      /usr/sbin/mysqld(TABLE_LIST::handle_derived(LEX*, unsigned int)+0x57) [0x55c2ca2ce617]
      /usr/sbin/mysqld(st_select_lex::handle_derived(LEX*, unsigned int)+0x47) [0x55c2ca2096e7]
      /usr/sbin/mysqld(TABLE_LIST::handle_derived(LEX*, unsigned int)+0x57) [0x55c2ca2ce617]
      /usr/sbin/mysqld(st_select_lex::handle_derived(LEX*, unsigned int)+0x47) [0x55c2ca2096e7]
      /usr/sbin/mysqld(TABLE_LIST::handle_derived(LEX*, unsigned int)+0x57) [0x55c2ca2ce617]
      /usr/sbin/mysqld(st_select_lex::handle_derived(LEX*, unsigned int)+0x47) [0x55c2ca2096e7]
      /usr/sbin/mysqld(JOIN::prepare(TABLE_LIST*, unsigned int, Item*, unsigned int, st_order*, bool, st_order*, Item*, st_order*, st_select_lex*, st_select_lex_unit*)+0xca) [0x55c2ca2660aa]
      /usr/sbin/mysqld(mysql_select(THD*, TABLE_LIST*, unsigned int, List<Item>&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*)+0x91a) [0x55c2ca2758aa]
      /usr/sbin/mysqld(handle_select(THD*, LEX*, select_result*, unsigned long)+0x15e) [0x55c2ca275b1e]
      /usr/sbin/mysqld(+0x484129) [0x55c2ca13f129]
      /usr/sbin/mysqld(mysql_execute_command(THD*)+0x6eaa) [0x55c2ca224d8a]
      /usr/sbin/mysqld(Prepared_statement::execute(String*, bool)+0x4de) [0x55c2ca239f0e]
      /usr/sbin/mysqld(+0x57f09f) [0x55c2ca23a09f]
      /usr/sbin/mysqld(+0x57fde7) [0x55c2ca23ade7]
      /usr/sbin/mysqld(mysqld_stmt_execute(THD*, char*, unsigned int)+0x27) [0x55c2ca23ae77]
      /usr/sbin/mysqld(dispatch_command(enum_server_command, THD*, char*, unsigned int, bool, bool)+0x14c5) [0x55c2ca229565]
      /usr/sbin/mysqld(do_command(THD*)+0x149) [0x55c2ca22ad79]
      /usr/sbin/mysqld(do_handle_one_connection(CONNECT*)+0x1aa) [0x55c2ca2f0e5a]
      /usr/sbin/mysqld(handle_one_connection+0x3d) [0x55c2ca2f0f7d]
      /lib64/libpthread.so.0(+0x7e25) [0x7f10af15be25]
      /lib64/libc.so.6(clone+0x6d) [0x7f10ad7ae34d]
       
      Trying to get some variables.
      Some pointers may be invalid and cause the dump to abort.
      Query (0x55c56c9d36b0): select ........
      Connection ID (thread ID): 640379
      Status: NOT_KILLED
      

      Attachments

        Issue Links

          Activity

            People

              igor Igor Babaev
              ccalender Chris Calender (Inactive)
              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.