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

mysqldump --all-databases causes segmentation fault

    XMLWordPrintable

Details

    Description

      I am running a mysql 8.0.15 docker container. I have a separate container running Alpine Linux 3.9, in which I install both mariadb-client and mariadb-connector-c.

      In the server I set up an empty databases `tester`. I then run:

      • `mysqldump -h mysql -uuser -pabcdefg --databases tester` - this works
      • `mysqldump -h mysql -uuser -pabcdefg --all-databases` - this crashes with a segmentation fault

      / # mysqldump -h mysql -uuser -pabcdefg --verbose --all-databases
      -- Connecting to mysql...
      -- MySQL dump 10.17  Distrib 10.3.13-MariaDB, for Linux (x86_64)
      --
      -- Host: mysql    Database:
      -- ------------------------------------------------------
      -- Server version	8.0.14
       
      /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
      /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
      /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
      /*!40101 SET NAMES utf8mb4 */;
      /*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
      /*!40103 SET TIME_ZONE='+00:00' */;
      /*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
      /*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
      /*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
      /*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
      Segmentation fault
      

      Unsure if the `mariadb-connector-c` install is affecting it somehow (although I need it for the caching_sha2_password plugin); it is an issue with the Alpine package, or something else.

      FYI, the Alpine package source is here https://git.alpinelinux.org/aports/tree/main/mariadb?h=master

      Attachments

        Activity

          People

            holyfoot Alexey Botchkov
            deitcher Avi Deitcher
            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.