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

Galera node startup fails with " free(): invalid pointer"

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Critical
    • Resolution: Cannot Reproduce
    • 10.4.8
    • N/A
    • Galera

    Description

      After an upgrade from MariaDB 10.3.16 to 10.4.8 nodes fail with the following backtrace:

      > *** Error in `mysqld': free(): invalid pointer: 0x00007f9703fff500 ***
      > ======= Backtrace: =========
      > /lib64/libc.so.6(+0x81609)[0x7f99d6186609]
      > /usr/lib64/galera-4/libgalera_smm.so(gcache::MemStore::discard(gcache::BufferHeader*)+0x1b)[0x7f998b65418b]
      > /usr/lib64/galera-4/libgalera_smm.so(gcache::GCache::free_common(gcache::BufferHeader*)+0x5e)[0x7f998b651c0e]
      > /usr/lib64/galera-4/libgalera_smm.so(gcache::GCache::seqno_release(long)+0x122)[0x7f998b63b852]
      > /usr/lib64/galera-4/libgalera_smm.so(galera::ServiceThd::thd_func(void*)+0x14b)[0x7f998b7509db]
      > /lib64/libpthread.so.0(+0x7dd5)[0x7f99d7e61dd5]
      > /lib64/libc.so.6(clone+0x6d)[0x7f99d620302d]
      

      The only similar report that I could find so far is:

      https://github.com/codership/galera/issues/419

      in which the problem was caused by two different node instances running on the same machine where accidentally configured to use the same datadir. This can most certainly be ruled out as a possible cause in this case though.

      Attachments

        Activity

          People

            Yurchenko Alexey
            hholzgra Hartmut Holzgraefe
            Votes:
            1 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.