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

Get "segmentation fault" with mariabackup on Alpine 3.20 amd64

    XMLWordPrintable

Details

    • Bug
    • Status: Open (View Workflow)
    • Major
    • Resolution: Unresolved
    • 10.11.8
    • None
    • Backup
    • None
    • Using server version 10.11.8-MariaDB
      mariabackup based on MariaDB server 10.11.8-MariaDB Linux (x86_64)
      Alpine 3.20 amd64

    Description

      To reproduce

      Did a fresh alpine container install on 3.20 with amd64
      after the initial setup-alpine I did:

      mkdir /root/backup
      apk add mariadb mariadb-backup mariadb-client mariadb-openrc
      /etc/init.d/mariadb setup
      /etc/init.d/mariadb start
      mariabackup --backup -u root -p --targetdir=/root/backup/

      [00] 2024-06-04 08:58:55 Stop scanning aria tables.
      [00] 2024-06-04 08:58:55 Copying ./mysql/transaction_registry.ibd to /root/xtrabackup_backupfiles/mysql/transaction_registry.ibd
      Segmentation fault

      with gdb -ex r --args mariabackup --backup -u root -p --targetdir=/root/backup/
      GNU gdb (GDB) 14.2
      Copyright (C) 2023 Free Software Foundation, Inc.
      License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
      This is free software: you are free to change and redistribute it.
      There is NO WARRANTY, to the extent permitted by law.
      Type "show copying" and "show warranty" for details.
      This GDB was configured as "x86_64-alpine-linux-musl".
      ..
      [00] 2024-06-04 14:00:15 BACKUP STAGE START
      [00] 2024-06-04 14:00:15 Acquiring BACKUP LOCKS...
      [00] 2024-06-04 14:00:15 Copying /var/lib/mysql//aria_log_control to /root/xtrabackup_backupfiles/aria_log_control
      [00] 2024-06-04 14:00:15 ...done
      [00] 2024-06-04 14:00:15 Loading aria_log_control.
      [00] 2024-06-04 14:00:15 aria_log_control: last_log_number: 1
      [00] 2024-06-04 14:00:15 Start scanning aria tables.
      [00] 2024-06-04 14:00:15 Start scanning aria log files.
      [00] 2024-06-04 14:00:15 Found 1 aria log files, minimum log number 1, maximum log number 1
      [00] 2024-06-04 14:00:15 Stop scanning aria tables.
      [00] 2024-06-04 14:00:15 Copying ./mysql/transaction_registry.ibd to /root/xtrabackup_backupfiles/mysql/transaction_registry.ibd

      Thread 5 "mariabackup" received signal SIGSEGV, Segmentation fault.
      [Switching to LWP 605]
      0x000055555586459c in ?? ()
      (gdb) bt full
      #0 0x000055555586459c in ?? ()
      No symbol table info available.
      #1 0x0000555555864c1c in xb_fil_cur_read(xb_fil_cur_t*, CorruptedPages&) ()
      No symbol table info available.
      #2 0x000055555584f1b5 in ?? ()
      No symbol table info available.
      #3 0x000055555585e3c4 in InnodbDataCopier::copy_job(fil_node_t*, unsigned int) ()
      No symbol table info available.
      #4 0x000055555587df29 in ThreadPool::thread_func(unsigned int) ()
      No symbol table info available.
      #5 0x00007ffff77dc4bf in ?? () from /usr/lib/libstdc++.so.6
      No symbol table info available.
      #6 0x00007ffff7fb8349 in start (p=0x7ffff6c95a30) at src/thread/pthread_create.c:207
      args = 0x7ffff6c95a30
      state = <optimized out>
      #7 0x00007ffff7fba95f in __clone () at src/thread/x86_64/clone.s:22
      No locals.
      Backtrace stopped: frame did not save the PC

      Attachments

        Activity

          People

            Unassigned Unassigned
            HansH111 Hans Harder
            Votes:
            1 Vote for this issue
            Watchers:
            4 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.