When I try to run a simple backup on a Percona Server 8.4.2-2 using Xtrabackup 8.4.0-1, I am hitting a hard crash on Percona Server.
Command used:
xtrabackup --backup --target-dir=/backupdir
The backup fails with this error:
241203 15:45:32 version_check Connected to MySQL server
241203 15:45:32 version_check Executing a version check against the server...
241203 15:45:32 version_check Done.
2024-12-03T15:45:32.449340-00:00 0 [Note] [MY-011825] [Xtrabackup] Connecting to MySQL server host: localhost, user: mysqladm, password: set, port: not set, socket: /home/mysqladm/tmp/mysql.sock
2024-12-03T15:45:32.469364-00:00 0 [Note] [MY-011825] [Xtrabackup] Using server version 8.4.2-2
2024-12-03T15:45:32.482064-00:00 0 [Note] [MY-011825] [Xtrabackup] Executing LOCK TABLES FOR BACKUP ...
xtrabackup: Unknown error 1158
2024-12-03T15:45:32.714657-00:00 0 [ERROR] [MY-011825] [Xtrabackup] failed to execute query 'LOCK TABLES FOR BACKUP' : 2013 (HY000) Lost connection to MySQL server during query
In the mysqld.log I see the follow information:
what(): basic_string: construction from null is not valid
2024-12-03T15:41:56Z UTC - mysqld got signal 6 ;
Most likely, you have hit a bug, but this error can also be caused by malfunctioning hardware.
BuildID[sha1]=54e636f0b2e1352bcb36c593f0982176de3d55ef
Server Version: 8.4.2-2 Percona Server (GPL), Release 2, Revision d5292ef1
Thread pointer: 0x7f83f80c1500
Attempting backtrace. You can use the following information to find out
where mysqld died. If you see no messages after this, something went
terribly wrong...
stack_bottom = 7f84d0725b90 thread_stack 0x100000
#0 0xe25764 <unknown>
#1 0xe25d3b <unknown>
#2 0x7f84e9653d8f <unknown>
#3 0x7f84e96a054c <unknown>
#4 0x7f84e9653ce5 <unknown>
#5 0x7f84e96277f2 <unknown>
#6 0x7f84e99a1a20 <unknown>
#7 0x7f84e99ad39b <unknown>
#8 0x7f84e99ac368 <unknown>
#9 0x7f84e99acae9 <unknown>
#10 0x7f84e9819373 <unknown>
#11 0x7f84e9819a10 <unknown>
#12 0x7f84e99ad65b <unknown>
#13 0x7f84e99a42d2 <unknown>
#14 0x7f84d1d25254 <unknown>
#15 0x7f84d1d07591 <unknown>
#16 0x7f84d1d05db9 <unknown>
#17 0x7f84d1d0a792 <unknown>
#18 0x7f84d1cc4d3b <unknown>
#19 0xc61aed <unknown>
#20 0xe25deb <unknown>
#21 0xe28475 <unknown>
#22 0xcd09ca <unknown>
#23 0xcd4580 <unknown>
#24 0xcd67d5 <unknown>
#25 0xcd73f6 <unknown>
#26 0xe277c6 <unknown>
#27 0x1a07131 <unknown>
#28 0x7f84e969e801 <unknown>
#29 0x7f84e963e44f <unknown>
#30 0xffffffffffffffff <unknown>
Trying to get some variables.
Some pointers may be invalid and cause the dump to abort.
Query (7f83f819e760): LOCK TABLES FOR BACKUP
Connection ID (thread ID): 11
Status: NOT_KILLED
Please let me know if you need further details.
Thanks,
-Wayne