Received: from mail-ej1-f43.google.com (mail-ej1-f43.google.com [209.85.218.43]) by gbr-app-1.alpinelinux.org (Postfix) with ESMTPS id 353E52235D3 for <~alpine/devel@lists.alpinelinux.org>; Tue, 4 Jun 2024 07:24:58 +0000 (UTC) Received: by mail-ej1-f43.google.com with SMTP id a640c23a62f3a-a68e9b84d0eso118882466b.1 for <~alpine/devel@lists.alpinelinux.org>; Tue, 04 Jun 2024 00:24:58 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717485897; x=1718090697; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=ReFs3ow25yvEM4jiDeIxMovLgYtXs5A7r5VNGfV45s4=; b=EGqnitJxnyrKCz78vJS0N5cpaVrpta+eDD6KUQE+YqgpCfWk96XBrqXjH7g9Q/QLGh Py1cbBPGBrgxvE+fDogi+qK2D9BzzV5y7AmRea69NGiCCg56miXCKaLtY82MJjC6N0yb EVEZa4WbcqsXgL2phzkHzvTmGlVUnfdLD4YbjmxsUqRXPFbkSErY8G63F/BktUhU/BDs Njw7s5jqinBRgCU+ZzmbN5mzhhaFcg3KQmiY4smFVguKbnp5yKyzPiMhOU/4lhQtxL+l n/7YDZFDDGoR8Z5BxBXcNNmXRYv2Ms667mTodTENsqEbZVu3oobvqEFei4zxC8A2QWQX SChQ== X-Gm-Message-State: AOJu0YxUWIQu8NZF73oHU5+D+/j/BnKKOV5w+y4RFnefVH2UVQ+qMhCr v+tBibdbKVXgB9nt6HCF/w1ULoZnQm39KMSeFJ7/7PhQxhf5eDf0igvW2ppMlijEuRx2akaci4P Bn31jKSE+RWDCb5F8o601zUWuQIvULZR9 X-Google-Smtp-Source: AGHT+IHXmpHWHihnj7YdGi6PEXEJqLVo66TxEwnKF2BHDa5pTHfgJ3MwX+CHxKqsbVi+EORMc0eC8s2b/FMdx1drfo0= X-Received: by 2002:a50:cc9a:0:b0:579:e27a:ff6a with SMTP id 4fb4d7f45d1cf-57a363ffbd8mr9551967a12.28.1717485897183; Tue, 04 Jun 2024 00:24:57 -0700 (PDT) MIME-Version: 1.0 From: Hans Harder Date: Tue, 4 Jun 2024 09:24:45 +0200 Message-ID: Subject: Get "segmentation fault" with mariabackup on Alpine 3.20 amd64 version To: "~alpine/devel@lists.alpinelinux.org" <~alpine/devel@lists.alpinelinux.org> Content-Type: text/plain; charset="UTF-8" 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/ Result: [00] 2024-06-04 08:58:55 Connecting to MariaDB server host: localhost, user: root, password: set, port: not set, socket: not set [00] 2024-06-04 08:58:55 Using server version 10.11.8-MariaDB mariabackup based on MariaDB server 10.11.8-MariaDB Linux (x86_64) [00] 2024-06-04 08:58:55 uses posix_fadvise(). [00] 2024-06-04 08:58:55 cd to /var/lib/mysql/ [00] 2024-06-04 08:58:55 open files limit requested 0, set to 1024 [00] 2024-06-04 08:58:55 mariabackup: using the following InnoDB configuration: .. [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 strace mariabackup --backup -u root -p --targetdir=/root/backup/ writev(2, [{iov_base="[00] 2024-06-04 09:20:42 Acquiri"..., iov_len=51}, {iov_base=NULL, iov_len=0}], 2[00] 2024-06-04 09:20:42 Acquiring BACKUP LOCKS... ) = 51 poll([{fd=6, events=POLLIN|POLLPRI}], 1, 0) = 0 (Timeout) sendto(6, "\36\0\0\0\3SET SESSION wsrep_sync_wait"..., 34, 0, NULL, 0) = 34 recvfrom(6, "\7\0\0\1\0\0\0\2\0\0\0", 16384, 0, NULL, NULL) = 11 poll([{fd=6, events=POLLIN|POLLPRI}], 1, 0) = 0 (Timeout) sendto(6, "\23\0\0\0\3BACKUP STAGE START", 23, 0, NULL, 0) = 23 recvfrom(6, "\7\0\0\1\0\0\0\2\0\0\0", 16384, 0, NULL, NULL) = 11 futex(0x7f1cbac41904, FUTEX_WAKE_PRIVATE, 1) = 1 nanosleep({tv_sec=0, tv_nsec=1000000}, [00] 2024-06-04 09:20:42 Copying ./mysql/transaction_registry.ibd to /root/xtrabackup_backupfiles/mysql/transaction_registry.ibd 0x7ffd2c488300) = 0 nanosleep({tv_sec=0, tv_nsec=1000000}, 0x7ffd2c488300) = 0 nanosleep({tv_sec=0, tv_nsec=1000000}, 0x7ffd2c488300) = 0 nanosleep({tv_sec=0, tv_nsec=1000000}, 0x7ffd2c488300) = 0 nanosleep({tv_sec=0, tv_nsec=1000000}, ) = ? +++ killed by SIGSEGV +++ Segmentation fault Did this in a lxc container on WSL and on RH8.9 both got the Segmentation fault Did this also on 3.19 amd64 backup went ok Did this also on 3.20 arm64 backup went ok