Uploaded image for project: 'MariaDB ColumnStore'
  1. MariaDB ColumnStore
  2. MCOL-1237

ColumnStore crash in prepared statement code

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Critical
    • Resolution: Cannot Reproduce
    • 1.0.11
    • Icebox
    • ?
    • None
    • CentOS Linux release 7.2.1511 (Core)
      Amazon EC2
    • 2018-07, 2018-08, 2018-09

    Description

      MariaDB Columstore crashes when running certain queries, and the stack trace points to prepared statement code:

      180224  3:25:10 [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.1.26-MariaDB
      key_buffer_size=536870912
      read_buffer_size=4194304
      max_used_connections=67
      max_threads=153
      thread_count=31
      It is possible that mysqld could use up to 
      key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 1780789 K  bytes of memory
      Hope that's ok; if not, decrease some variables in the equation.
       
      Thread pointer: 0x7f20656d8628
      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 = 0x7f0fdf953dd8 thread_stack 0x80000
      /usr/local/mariadb/columnstore/mysql//bin/mysqld(my_print_stacktrace+0x29)[0x7f2061eb37f9]
      /usr/local/mariadb/columnstore/mysql//bin/mysqld(handle_fatal_signal+0x305)[0x7f2061a7a925]
      /lib64/libpthread.so.0(+0xf100)[0x7f20610c3100]
      /usr/local/mariadb/columnstore/mysql//bin/mysqld(_ZN18Prepared_statement7executeEP6Stringb+0x49d)[0x7f206193985d]
      /usr/local/mariadb/columnstore/mysql//bin/mysqld(_ZN18Prepared_statement12execute_loopEP6StringbPhS2_+0xac)[0x7f2061939b3c]
      /usr/../mysqld(_Z22mysql_sql_stmt_executeP3THD+0xd6)[0x7f2061939fb6]
      /usr/../mysqld(_Z21mysql_execute_commandP3THD+0x46c3)[0x7f2061922823]
      /usr/../mysqld(_ZN13sp_instr_stmt9exec_coreEP3THDPj+0x35)[0x7f2061b77095]
      /usr/../mysqld(_ZN13sp_lex_keeper23reset_lex_and_exec_coreEP3THDPjbP8sp_instr+0x7d)[0x7f2061b7d65d]
      /usr/../mysqld(_ZN13sp_instr_stmt7executeEP3THDPj+0x204)[0x7f2061b7dc04]
      /usr/../mysqld(_ZN7sp_head7executeEP3THDb+0x767)[0x7f2061b79d87]
      /usr../mysqld(_ZN7sp_head17execute_procedureEP3THDP4ListI4ItemE+0x5a7)[0x7f2061b7b2e7]
      /usr/../mysqld(+0x423a1e)[0x7f2061917a1e]
      /usr/../mysqld(_Z21mysql_execute_commandP3THD+0x4099)[0x7f20619221f9]
      /usr/../mysqld(_Z11mysql_parseP3THDPcjP12Parser_state+0x2eb)[0x7f206192596b]
      /usr/../mysqld(_Z18idb_vtable_processP3THDyP9Statement+0xd7d)[0x7f20619271fd]
      /usr/../mysqld(_Z16dispatch_command19enum_server_commandP3THDPcj+0x1b39)[0x7f206192b619]
      /usr/../mysqld(_Z10do_commandP3THD+0xc9)[0x7f206192c4e9]
      /usr/../mysqld(_Z24do_handle_one_connectionP3THD+0x1c4)[0x7f20619e68b4]
      /usr/../mysqld(handle_one_connection+0x37)[0x7f20619e6947]
      /lib64/libpthread.so.0(+0x7dc5)[0x7f20610bbdc5]
      /lib64/libc.so.6(clone+0x6d)[0x7f205f2f328d]
       
      Trying to get some variables.
      Some pointers may be invalid and cause the dump to abort.
      Query (0x7f0f4c9cae70): is an invalid pointer
      Connection ID (thread ID): 152420
      Status: NOT_KILLED
       
      Optimizer switch: index_merge=off,index_merge_union=off,index_merge_sort_union=off,index_merge_intersection=off,index_merge_sort_intersection=off,engine_condition_pushdown=off,index_condition_pushdown=off,derived_merge=off,derived_with_keys=off,firstmatch=off,loosescan=off,materialization=off,in_to_exists=on,semijoin=off,partial_match_rowid_merge=off,partial_match_table_scan=off,subquery_cache=off,mrr=off,mrr_cost_based=off,mrr_sort_keys=off,outer_join_with_cache=off,semijoin_with_cache=off,join_cache_incremental=off,join_cache_hashed=off,join_cache_bka=off,optimize_join_buffer_size=off,table_elimination=off,extended_keys=off,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: INSERT ...
      

      Attachments

        Activity

          People

            LinuxJedi Andrew Hutchings (Inactive)
            ccalender Chris Calender (Inactive)
            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.