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

mariadb server crashed on 2 instances at the same time (buffer overflow detected)

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Incomplete
    • 10.4.13
    • N/A
    • Galera
    • None
    • CentOS Linux release 8.1.1911
      MariaDb 10.4.13-MariaDB, for Linux on x86_64
      Galera cluster

    Description

      We have a Galera cluster with 3 nodes on CentOS 8.1, MariaDB 10.4.13, Galera 4

      2 of the 3 nodes crashed at one second interval. Here is the logged information :

      mysqld: /home/buildbot/buildbot/padding_for_CPACK_RPM_BUILD_SOURCE_DIRS_PREFIX/mariadb-10.4.13/wsrep-lib/src/transaction.cpp:419: int wsrep::transaction::before_commit(): Assertion `state() == s_executing || state() == s_prepared || state() == s_committing || state() == s_must_abort || state() == s_replaying' failed.
      200612  2:24:00 [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.4.13-MariaDB
      key_buffer_size=134217728
      read_buffer_size=131072
      max_used_connections=7
      max_threads=4002
      thread_count=15
      It is possible that mysqld could use up to 
      key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 8938292 K  bytes of memory
      Hope that's ok; if not, decrease some variables in the equation.
       
      Thread pointer: 0x7f0cf4000c08
      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 = 0x7f0d07ffdcc8 thread_stack 0x49000
      *** buffer overflow detected ***: /usr/sbin/mysqld terminated
      

      Attachments

        Issue Links

          Activity

            mgasco To further analyze this we need more information. Can you provide full stack trace, error logs and node configuration. You better try this with more recent version of MariaDB server and Galera libary.

            jplindst Jan Lindström (Inactive) added a comment - mgasco To further analyze this we need more information. Can you provide full stack trace, error logs and node configuration. You better try this with more recent version of MariaDB server and Galera libary.
            mgasco Maurice Gasco added a comment -

            @Jan Lindström, I cannot provide the requested information as we stopped using Galera because of too many problems like this one. We switched to standard MariaDB replication.

            mgasco Maurice Gasco added a comment - @Jan Lindström, I cannot provide the requested information as we stopped using Galera because of too many problems like this one. We switched to standard MariaDB replication.

            People

              jplindst Jan Lindström (Inactive)
              mgasco Maurice Gasco
              Votes:
              0 Vote for this issue
              Watchers:
              4 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.