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

mariadb-backup segfault on 10.4.8 and 11.4.2 (11.4.7 is fine), under Alpine 3.20

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Incomplete
    • 10.11.8, 11.4.2
    • N/A
    • Backup
    • Alpine 3.20 / Alpine Edge

    Description

      So, first off compiling under Alpine using musl instead of libc requires a few trivial patches (attached).

      Secondly, running under 10.11.7 works 100%, no issues. It seems whatever changes were introduced in 10.11.8 break mariadb-backup. I'll try bisect and figure out which commit it was.

      Testing on 10.11.7 vs. 10.11.8 is probably the easiest. I've attached the patches for these, the MaraiDB patches are versioned, there is one LFS64 patch that changes between 10.11 and 11.4.

      Backtrace attached bt.txt.

      Possibly also related to this report against the official Alpine repo 11.4.2 ... https://lists.alpinelinux.org/~alpine/devel/%3CCAKzsc6fAuXaOX4ptx8MacfycGo3RjATcwyv6vEgKKOBdB%3DU9rw%40mail.gmail.com%3E

      Attachments

        1. bt.txt
          2 kB
          Nigel Kukard
        2. galera-fix_gcomm-test-check_evs2.patch
          0.4 kB
          Nigel Kukard
        3. galera-musl-page-size.patch
          0.6 kB
          Nigel Kukard
        4. galera-musl-sched_param.patch
          0.4 kB
          Nigel Kukard
        5. galera-musl-sys-poll-h.patch
          0.8 kB
          Nigel Kukard
        6. galera-musl-wordsize.patch
          0.4 kB
          Nigel Kukard
        7. galera-nk-use-std-regex-musl-bug.patch
          4 kB
          Nigel Kukard
        8. mariadb-10.11.7_lfs64.patch
          37 kB
          Nigel Kukard
        9. mariadb-11.4.2_disable-failing-test.patch
          2 kB
          Nigel Kukard
        10. mariadb-11.4.2_gcc13.patch
          1 kB
          Nigel Kukard
        11. mariadb-11.4.2_have_stacktrace.patch
          0.5 kB
          Nigel Kukard
        12. mariadb-11.4.2_lfs64.patch
          37 kB
          Nigel Kukard
        13. mariadb-11.4.2_nk-fix-poll-h.patch
          0.4 kB
          Nigel Kukard

        Activity

          People

            Unassigned Unassigned
            nkukard Nigel Kukard
            Votes:
            0 Vote for this issue
            Watchers:
            2 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.