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

signal 6 crash with SELECT SQL

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Incomplete
    • Affects Version/s: 10.1.41
    • Fix Version/s: N/A
    • Component/s: OTHER
    • Environment:
      CentOS Linux release 7.3.1611 (Core)

      Description

      190829 20:54:49 [ERROR] mysqld got signal 6 ;
      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.1.25-MariaDB
      key_buffer_size=268435456
      read_buffer_size=1048576
      max_used_connections=1
      max_threads=100002
      thread_count=1
      It is possible that mysqld could use up to
      key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 207122510 K bytes of memory
      Hope that's ok; if not, decrease some variables in the equation.

      Thread pointer: 0x7f235e3c7008
      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 = 0x7f23723e1288 thread_stack 0x48400
      /opt/mariadb/bin/mysqld(my_print_stacktrace+0x2e)[0xc0e97e]
      /opt/mariadb/bin/mysqld(handle_fatal_signal+0x4bf)[0x76a89f]
      /lib64/libpthread.so.0(+0xf370)[0x7f23720be370]
      /lib64/libc.so.6(gsignal+0x37)[0x7f2370ed31d7]
      /lib64/libc.so.6(abort+0x148)[0x7f2370ed48c8]
      /opt/mariadb/bin/mysqld[0x902070]
      /opt/mariadb/bin/mysqld[0xa99427]
      /opt/mariadb/bin/mysqld[0xa5bb2d]
      /opt/mariadb/bin/mysqld[0xa5d1bb]
      /opt/mariadb/bin/mysqld[0xa43609]
      /opt/mariadb/bin/mysqld[0xa2263a]
      /opt/mariadb/bin/mysqld[0xa28fb8]
      /opt/mariadb/bin/mysqld[0xa29704]
      /opt/mariadb/bin/mysqld[0x907e11]
      /opt/mariadb/bin/mysqld(_ZN7handler27multi_range_read_info_constEjP15st_range_seq_ifPvjPjS3_P13Cost_estimate+0x91)[0x6d3471]
      /opt/mariadb/bin/mysqld(_ZN10DsMrr_impl16dsmrr_info_constEjP15st_range_seq_ifPvjPjS3_P13Cost_estimate+0x54)[0x6d4814]
      /opt/mariadb/bin/mysqld[0x876fcf]
      /opt/mariadb/bin/mysqld[0x87ae7a]
      /opt/mariadb/bin/mysqld(_ZN10SQL_SELECT17test_quick_selectEP3THD6BitmapILj64EEyybbb+0x78c)[0x8905ec]
      /opt/mariadb/bin/mysqld[0x604b3b]
      /opt/mariadb/bin/mysqld(_ZN4JOIN14optimize_innerEv+0x8ad)[0x605acd]
      /opt/mariadb/bin/mysqld(_ZN4JOIN14optimize_innerEv+0x11f)[0x60533f]
      /opt/mariadb/bin/mysqld(_Z12mysql_selectP3THDPPP4ItemP10TABLE_LISTjR4ListIS1_ES2_jP8st_orderSB_S2_SB_yP13select_resultP18st_select_lex_unitP13st_select_lex+0x246)[0x608e56]
      /opt/mariadb/bin/mysqld(_Z19mysql_explain_unionP3THDP18st_select_lex_unitP13select_result+0x123)[0x609813]
      /opt/mariadb/bin/mysqld[0x5af59c]
      /opt/mariadb/bin/mysqld(_Z21mysql_execute_commandP3THD+0x14b4)[0x5b3eb4]
      /opt/mariadb/bin/mysqld(_Z11mysql_parseP3THDPcjP12Parser_state+0x34e)[0x5bc08e]
      /opt/mariadb/bin/mysqld(_Z16dispatch_command19enum_server_commandP3THDPcj+0x239b)[0x5bf32b]
      /opt/mariadb/bin/mysqld(_Z10do_commandP3THD+0x157)[0x5bf5e7]
      /opt/mariadb/bin/mysqld(_Z24do_handle_one_connectionP3THD+0x183)[0x691283]
      /opt/mariadb/bin/mysqld(handle_one_connection+0x42)[0x691492]
      /lib64/libpthread.so.0(+0x7dc5)[0x7f23720b6dc5]
      /lib64/libc.so.6(clone+0x6d)[0x7f2370f9576d]

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

      Optimizer switch: index_merge=on,index_merge_union=on,index_merge_sort_union=on,index_merge_intersection=on,index_merge_sort_intersection=off,engine_condition_pushdown=off,index_condition_pushdown=on,derived_merge=on,derived_with_keys=on,firstmatch=on,loosescan=on,materialization=on,in_to_exists=on,semijoin=on,partial_match_rowid_merge=on,partial_match_table_scan=on,subquery_cache=on,mrr=off,mrr_cost_based=off,mrr_sort_keys=off,outer_join_with_cache=on,semijoin_with_cache=on,join_cache_incremental=on,join_cache_hashed=on,join_cache_bka=on,optimize_join_buffer_size=off,table_elimination=on,extended_keys=on,exists_to_in=on,orderby_uses_equalities=off

      The manual page at http://dev.mysql.com/doc/mysql/en/crashing.html contains
      information that should help you find out what is causing the crash.

      We think the query pointer is invalid, but we will try to print it anyway.
      Query: explain SELECT
      TT1.totalCallCnt
      , func_SEC_TO_TIME(TT1.avgDurTm) AS avgDurTm
      , TT2.maxOccupiedCount
      , TT2.avgOccupiedCount
      FROM (
      SELECT
      COUNT(callHst.call_id) AS totalCallCnt
      , func_IFNULL(ROUND(AVG(callHst.call_dur_tm),0),0) AS avgDurTm
      FROM call_hst callHst
      WHERE callHst.stt_ymd = '20190829'
      ) TT1,
      (
      SELECT
      cnnc_ymd
      , MAX(chnllHst.all_chnnl_cnt) AS realTotalPorts
      , MAX(chnllHst.usg_chnnl_cnt) AS maxOccupiedCount
      , MIN(chnllHst.usg_chnnl_cnt) AS minOccupiedCount
      , ROUND(AVG(chnllHst.usg_chnnl_cnt),0) AS avgOccupiedCount
      , ROUND(AVG(chnllHst.call_occp_rt),0) AS avgBusyRate
      FROM chnll_usage_hst chnllHst
      WHERE chnllHst.cnnc_ymd = '20190829'
      AND chnllHst.sys_id = 'ALL'
      GROUP BY chnllHst.cnnc_ymd
      ) TT2

      190829 20:54:50 mysqld_safe Number of processes running now: 0
      190829 20:54:50 mysqld_safe mysqld restarted

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            ossk_db ossk_db
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: