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

MariaDB keeps crashing on a simple query

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Critical
    • Resolution: Duplicate
    • 10.3.10
    • N/A
    • Partitioning
    • None

    Description

      MariaDB keeps crashing on a simple query :
      SELECT tb3.ID FROM tb3 INNER JOIN tb1 on(tb1.ID = tb3.ID) WHERE `CDate` >= '2018-08-03' AND `RID` = 1234 AND `UID` = 123

      But if i remove `CDate` condition from the query it execute successfully.

      This is the error when MariaDB crashes :

      181101 20:32:46 [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.

      Server version: 10.3.10-MariaDB-1:10.3.10+maria~stretch
      key_buffer_size=134217728
      read_buffer_size=8388608
      max_used_connections=1
      max_threads=153
      thread_count=7
      It is possible that mysqld could use up to
      key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 6401350 K bytes of memory
      Hope that's ok; if not, decrease some variables in the equation.

      Thread pointer: 0x7f71e80009a8
      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 = 0x7f7ad00b2cf8 thread_stack 0x30000
      /usr/sbin/mysqld(my_print_stacktrace+0x2e)[0x564b08a038fe]
      /usr/sbin/mysqld(handle_fatal_signal+0x41f)[0x564b084b447f]
      /lib/x86_64-linux-gnu/libpthread.so.0(+0x110c0)[0x7f7ad85d90c0]
      /usr/sbin/mysqld(+0x8d269d)[0x564b0863969d]
      /usr/sbin/mysqld(+0x8d2fe7)[0x564b08639fe7]
      /usr/sbin/mysqld(_ZN10DsMrr_impl10dsmrr_initEP7handlerP15st_range_seq_ifPvjjP17st_handler_buffer+0x4a3)[0x564b083e1b73]
      /usr/sbin/mysqld(+0x8c4338)[0x564b0862b338]
      /usr/sbin/mysqld(+0xc5bfc6)[0x564b089c2fc6]
      /usr/sbin/mysqld(_ZN18QUICK_RANGE_SELECT5resetEv+0xe4)[0x564b085af124]
      /usr/sbin/mysqld(_ZN26QUICK_ROR_INTERSECT_SELECT5resetEv+0x39)[0x564b085ae6d9]
      /usr/sbin/mysqld(_Z21join_init_read_recordP13st_join_table+0x44)[0x564b0831dc94]
      /usr/sbin/mysqld(_Z10sub_selectP4JOINP13st_join_tableb+0x118)[0x564b0830f928]
      /usr/sbin/mysqld(_ZN4JOIN10exec_innerEv+0xa49)[0x564b0832e849]
      /usr/sbin/mysqld(_ZN4JOIN4execEv+0x33)[0x564b0832ea83]
      /usr/sbin/mysqld(_Z12mysql_selectP3THDP10TABLE_LISTjR4ListI4ItemEPS4_jP8st_orderS9_S7_S9_yP13select_resultP18st_select_lex_unitP13st_select_lex+0xef)[0x564b0832ebcf]
      /usr/sbin/mysqld(_Z13handle_selectP3THDP3LEXP13select_resultm+0xf8)[0x564b0832f4f8]
      /usr/sbin/mysqld(+0x48a89b)[0x564b081f189b]
      /usr/sbin/mysqld(_Z21mysql_execute_commandP3THD+0x6ca5)[0x564b082dcf85]
      /usr/sbin/mysqld(_Z11mysql_parseP3THDPcjP12Parser_statebb+0x21a)[0x564b082df11a]
      /usr/sbin/mysqld(_Z16dispatch_command19enum_server_commandP3THDPcjbb+0x1c81)[0x564b082e1b21]
      /usr/sbin/mysqld(_Z10do_commandP3THD+0x131)[0x564b082e2801]
      /usr/sbin/mysqld(_Z24do_handle_one_connectionP7CONNECT+0x25a)[0x564b083b2f9a]
      /usr/sbin/mysqld(handle_one_connection+0x3d)[0x564b083b311d]
      /lib/x86_64-linux-gnu/libpthread.so.0(+0x7494)[0x7f7ad85cf494]
      /lib/x86_64-linux-gnu/libc.so.6(clone+0x3f)[0x7f7ad6b29acf]

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              yalpour-k Kazem Yalpour
              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.