Xbcloud - segfault a the end of upload

Hi,
I have some time Segment faults issue at the end of my xbcloud upload .

I have issue only with percona-xtrabackup-24-2.4.24 (xbcloud Ver 2.4.24 for Linux (x86_64) (revision id: b4ee263))
I don’t have issue with percona-xtrabackup-24-2.4.23 (xbcloud Ver 2.4.23 for Linux (x86_64) (revision id: 3320f39)

In the log of Xbcloud, said :
xbcloud: Upload completed.

In the log of Xtrabackup , said :
completed OK!

But i have after in my terminal :
Segmentation fault

In dmesg i have :
xbcloud[2681]: segfault at 28 ip 00007fb9435ffb40 sp 00007ffdf9f951d8 error 4 in libnss3.so[7fb943594000+135000]

My server is old centos6 :
Linux mysql-server02 2.6.32-754.35.1.el6.x86_64 #1 SMP Sat Nov 7 12:42:14 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

My Xtrabackup command :
xtrabackup --check-privileges --backup --compress --read-buffer-size=102400000 --compress-threads=1 --stream=xbstream --user=root --parallel=10 | xbcloud put --swift-container=mysql-server02 --swift-user=backup --swift-auth-url=*** --swift-auth-version=3 --swift-password=‘*****’ --swift-project=backup --parallel=10 --swift-project-domain=default --swift-domain=default --swift-region=**** 2022-01-31/09:51:22*

I didn’t found any topic with this issue. I’m alone with this issue ?

Thanks

1 Like

Unfortunately CentOS 6 is no longer supported for xtrabackup 2.4. Since the segfault seems to be coming from an underlying library ( libnss3) I would check if your OS has an updated version of this library. I google’d “libnss3 segfault” and several centos6 related pages came up.

2 Likes

Hi Matthewb,

Thanks for your help.

I checked and i have same issue in CentOS Linux release 7.9.2009 (Core)
Mysql : Percona-Server-server-55-5.5.62-rel38.14.el7.x86_64

I updated version of NSS and Curl too :
libcurl-7.29.0-59.el7_9.1.x86_64
curl-7.29.0-59.el7_9.1.x86_64
nss-3.67.0-4.el7_9.x86_64

xbcloud Ver 2.4.24 for Linux (x86_64) (revision id: b4ee263)

But i have same issue :
[13150110.538073] xbcloud[3746]: segfault at 28 ip 00007fc2051299d0 sp 00007fffd21f9f18 error 4 in libnss3.so[7fc2050b6000+12c000]
[13150298.182254] xbcloud[8128]: segfault at 28 ip 00007fb65f84d810 sp 00007ffe55522ac8 error 4 in libnss3.so[7fb65f7d6000+130000]

If i use xbcloud Ver 2.4.23 i don’t have any issue, but i need new feature --max-retries :frowning:

1 Like

Hi,
Have some new, i have No issue with another server .
Linux Version is same CentOS Linux release 7.9.2009 (Core)
Curl have same version too :
curl-7.29.0-59.el7_9.1.x86_64
libcurl-7.29.0-59.el7_9.1.x86_64
nss-3.67.0-4.el7_9.x86_64

But I running in version mysql Percona-Server-server-57-5.7.36-39.1.el7.x86_64

So to recap same version of Linux (7.9 centos) same Curl,NSS,LibCurl version, but different Percona version:

Percona-Server-server-57-5.7.36-39.1.el7.x86_64 == OK
Percona-Server-server-55-5.5.62-rel38.14.el7.x86_64 == xbcloud[2681]: segfault in … libnss3.so

1 Like

Percona Server 5.5 is not supported any more. You will need to upgrade.

2 Likes

My bad, but in the [Doc] look like ok with 5.5 ? (Percona XtraBackup 2.4.24 - Percona XtraBackup) :

1 Like

5.5 is EOL and unsupported

1 Like

Thanks Matthewb, never see it before :slight_smile:

1 Like