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

spider_bg_direct_sql caused instance crashed

    XMLWordPrintable

Details

    Description

      I used spider_bg_direct_sql to query remote instance but caused instance crashed and checked the err log got the error :
      But it works to run on 10.1.12-MariaDB.
      How can I fix it?

      [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.3.9-MariaDB
      key_buffer_size=134217728
      read_buffer_size=4194304
      max_used_connections=2
      max_threads=502
      thread_count=24
      It is possible that mysqld could use up to
      key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 67996602 K bytes of memory
      Hope that's ok; if not, decrease some variables in the equation.

      Thread pointer: 0x7f3d8c0009a8
      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 = 0x7f3e315dae40 thread_stack 0x49000
      /usr/local/mariadb-10.3.9-linux-x86_64/bin/mysqld(my_print_stacktrace+0x2b)[0x5652c930858b]
      /usr/local/mariadb-10.3.9-linux-x86_64/bin/mysqld(handle_fatal_signal+0x537)[0x5652c8dee607]
      sigaction.c:0(__restore_rt)[0x7f3e313407e0]
      /lib64/libc.so.6(strnlen+0x21)[0x7f3e30250311]
      /usr/local/mariadb-10.3.9-linux-x86_64/bin/mysqld(my_vsnprintf_ex+0x2c1)[0x5652c939c371]
      /usr/local/mariadb-10.3.9-linux-x86_64/bin/mysqld(my_printf_error+0xb0)[0x5652c92ff200]
      /usr/local/mariadb-10.3.9-linux-x86_64/lib/plugin/ha_spider.so(_Z22spider_direct_sql_bodyP11st_udf_initP11st_udf_argsPcS3_c+0x85c)[0x7f3e1d23adac]
      /usr/local/mariadb-10.3.9-linux-x86_64/bin/mysqld(_ZN11udf_handler3addEPc+0x4c)[0x5652c8e94ddc]
      /usr/local/mariadb-10.3.9-linux-x86_64/bin/mysqld(_ZN12Item_udf_sum3addEv+0x1c)[0x5652c8e8eafc]
      /usr/local/mariadb-10.3.9-linux-x86_64/bin/mysqld(+0x627e28)[0x5652c8c59e28]
      /usr/local/mariadb-10.3.9-linux-x86_64/bin/mysqld(_Z14end_send_groupP4JOINP13st_join_tableb+0x2a3)[0x5652c8c78673]
      /usr/local/mariadb-10.3.9-linux-x86_64/bin/mysqld(_ZN4JOIN10exec_innerEv+0xbbc)[0x5652c8c8916c]
      sql/sql_udf.h:132(udf_handler::add(char*))[0x5652c8c8921c]
      sql/item_sum.cc:3253(Item_udf_sum::add())[0x5652c8c880aa]
      sql/sql_select.cc:24201(init_sum_functions)[0x5652c8c8942c]
      sql/sql_select.cc:20668(end_send_group(JOIN*, st_join_table*, bool))[0x5652c8b504f9]
      sql/sql_select.cc:18781(do_select)[0x5652c8c39a4c]
      sql/sql_select.cc:3823(JOIN::exec())[0x5652c8c3bfc9]
      sql/sql_select.cc:4229(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*))[0x5652c8c3e04a]
      sql/sql_select.cc:382(handle_select(THD*, LEX*, select_result*, unsigned long))[0x5652c8c3e7ce]
      sql/sql_parse.cc:6547(execute_sqlcom_select)[0x5652c8d04daf]
      sql/sql_parse.cc:3768(mysql_execute_command(THD*))[0x5652c8d04ed4]
      pthread_create.c:0(start_thread)[0x7f3e31338aa1]

      /lib64/libc.so.6(clone+0x6d)[0x7f3e302b7c4d]

      Trying to get some variables.
      Some pointers may be invalid and cause the dump to abort.
      Query (0x7f3d8c011630): is an invalid pointer
      Connection ID (thread ID): 96
      Status: NOT_KILLED

      Attachments

        Issue Links

          Activity

            People

              Kentoku Kentoku Shiba (Inactive)
              Vichoho Vic
              Votes:
              0 Vote for this issue
              Watchers:
              2 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.