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

stop slave in 10.6.12 with tcmalloc added causes crash

    XMLWordPrintable

Details

    • Bug
    • Status: Open (View Workflow)
    • Major
    • Resolution: Unresolved
    • 10.6.12
    • None
    • None
    • None
    • Docker on Debian 11
      10.6.12-MariaDB-1:10.6.12+maria~ubu2004-log source revision: 4c79e15cc3716f69c044d4287ad2160da8101cdc

    Description

      After having memory issues we added tcmalloc to the official maradb 10.6.12 docker image and restarted a slave server with it. How we added tcmalloc:

      RUN apt-get update && apt-get -y install google-perftools
      ENV LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libtcmalloc.so.4
      

      Slave was running fine until we used "stop slave" to switch to a new master. This resulted in an immediate crash: "[ERROR] mysqld got signal 6 ;"
      We repeated it and everytime we use "stop slave" mariadb crashed.
      After that we used the image without tcmalloc added and "stop slave" worked again.
      Error Log is attached.

      Attachments

        Activity

          People

            Unassigned Unassigned
            brunobear Bruno Bear
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.