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

MariaDB galera crush while LOAD DATA LOCAL INFILE

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Incomplete
    • 10.2.25, 10.2.38
    • N/A
    • Galera
    • CentOS 7, 2xMaster-Master servers + 1 garbd

    Description

      This bug is very similar to https://jira.mariadb.org/browse/MDEV-17243, but I didn't expect it in version 10.2.25.

      2021-02-12 11:36:41 140042572732160 [ERROR] WSREP: FSM: no such a transition ABORTING -> REPLICATING
      210212 11:36:41 [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.2.25-MariaDB-log
      key_buffer_size=268435456
      read_buffer_size=131072
      max_used_connections=1179
      max_threads=1202
      thread_count=182
      It is possible that mysqld could use up to
      key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 2903301 K  bytes of memory
      Hope that's ok; if not, decrease some variables in the equation.
       
      Thread pointer: 0x7f5ca439c4c8
      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 = 0x7f5e33cd0d70 thread_stack 0x49000
      /usr/sbin/mysqld(my_print_stacktrace+0x2e)[0x561988cdb11e]
      /usr/sbin/mysqld(handle_fatal_signal+0x30d)[0x56198875bd1d]
      /lib64/libpthread.so.0(+0xf5e0)[0x7f709bb675e0]
      /lib64/libc.so.6(gsignal+0x37)[0x7f709a0741f7]
      /lib64/libc.so.6(abort+0x148)[0x7f709a0758e8]
      /usr/lib64/galera/libgalera_smm.so(_ZN6galera3FSMINS_9TrxHandle5StateENS1_10TransitionENS_10EmptyGuardENS_11EmptyActionEE8shift_toES2_+0x17c)[0x7f7096c9035c]
      /usr/lib64/galera/libgalera_smm.so(_ZN6galera13ReplicatorSMM9replicateEPNS_9TrxHandleEP14wsrep_trx_meta+0x171)[0x7f7096c86bf1]
      /usr/lib64/galera/libgalera_smm.so(galera_pre_commit+0xaa)[0x7f7096c9784a]
      /usr/sbin/mysqld(wsrep_run_wsrep_commit+0x74a)[0x5619886ececa]
      /usr/sbin/mysqld(+0x60edc8)[0x5619886eddc8]
      /usr/sbin/mysqld(_Z15ha_commit_transP3THDb+0x1a0)[0x56198875f1f0]
      /usr/sbin/mysqld(_Z17trans_commit_stmtP3THD+0x57)[0x5619886a37d7]
      /usr/sbin/mysqld(_Z21mysql_execute_commandP3THD+0x7d5)[0x5619885c0cc5]
      /usr/sbin/mysqld(_Z11mysql_parseP3THDPcjP12Parser_statebb+0x2de)[0x5619885c90fe]
      /usr/sbin/mysqld(+0x4ea9af)[0x5619885c99af]
      /usr/sbin/mysqld(_Z16dispatch_command19enum_server_commandP3THDPcjbb+0x10a5)[0x5619885cb185]
      /usr/sbin/mysqld(_Z10do_commandP3THD+0x165)[0x5619885cce25]
      /usr/sbin/mysqld(_Z24do_handle_one_connectionP7CONNECT+0x1aa)[0x561988695c9a]
      /usr/sbin/mysqld(handle_one_connection+0x3d)[0x561988695dbd]
      /lib64/libpthread.so.0(+0x7e25)[0x7f709bb5fe25]
      /lib64/libc.so.6(clone+0x6d)[0x7f709a13734d]
       
      Trying to get some variables.
      Some pointers may be invalid and cause the dump to abort.
      Query (0x7f5ca4104d40): LOAD DATA LOCAL INFILE '/var/www/vhost/inom.int.autoopt.ru/releases/20210204081603/www/protected/config/../../../tmp/3b0dc23c437509d19a77763b84f97756/price_awk.txt' INTO TABLE `price_berg_procenka` CHARACTER SET utf8 FIELDS TERMINATED BY '\t' LINES TERMINATED BY '\r\n' (art_search, name_tov,
      Connection ID (thread ID): 595053953
      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=off,derived_with_keys=off,firstmatch=on,loosescan=on,materialization=on,in_to_exists=on,semijoin=on,par
       
      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.
      Writing a core file...
      Working directory at /home/mysql
      Resource Limits:
      Limit                     Soft Limit           Hard Limit           Units
      Max cpu time              unlimited            unlimited            seconds
      Max file size             unlimited            unlimited            bytes
      Max data size             unlimited            unlimited            bytes
      Max stack size            8388608              unlimited            bytes
      Max core file size        0                    unlimited            bytes
      Max resident set          unlimited            unlimited            bytes
      Max processes             773671               773671               processes
      Max open files            16364                16364                files
      Max locked memory         65536                65536                bytes
      Max address space         unlimited            unlimited            bytes
      Max file locks            unlimited            unlimited            locks
      Max pending signals       773671               773671               signals
      Max msgqueue size         819200               819200               bytes
      Max nice priority         0                    0
      Max realtime priority     0                    0
      Max realtime timeout      unlimited            unlimited            us
      Core pattern: core
      

      Attachments

        Activity

          People

            allen.lee@mariadb.com Allen Lee (Inactive)
            Middlegear Sergey Sokolov
            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.