[MDEV-17921] Galera SST successfully finishing with error "Error in `mariabackup': double free or corruption (out)" Created: 2018-12-06  Updated: 2023-03-06  Resolved: 2022-02-18

Status: Closed
Project: MariaDB Server
Component/s: Backup, Galera SST
Affects Version/s: 10.2.16
Fix Version/s: 10.2.44

Type: Bug Priority: Minor
Reporter: Marko Assignee: Julius Goryavsky
Resolution: Cannot Reproduce Votes: 0
Labels: galera
Environment:

Ubuntu 14.04


Issue Links:
Relates
relates to MDEV-23943 innodb double free on shutdown after ... Closed
relates to MDEV-27524 Incorrect binlogs after Galera SST us... Closed

 Description   

Hello,

Galera SST is successfully finishing with error below using mariabackup:

/var/lib/mysql# service mysql start
 * Starting MariaDB database server mysqld                                                                                                                                                                                                                                      *** Error in `mariabackup': double free or corruption (out): 0x000055fed20f4920 ***

Can't find anything in the logs.
I can easily reproduce issue in local testing environment.

Don't know if this is a bug or something is wrong with my local environment.

Regards,
Marko



 Comments   
Comment by Julius Goryavsky [ 2022-02-18 ]

This never happened again - probably the cause has already been fixed some time ago. In addition, MDEV-27524 added changes so that in the event of a failure in the called utilities, SST would never succeed (when we got rc != 0) - this will allow us to catch a similar situation in the future to find the cause.

Comment by Daniel Black [ 2023-03-06 ]

I suspect it is MDEV-23943, that the beginning of the sst, the innodb memory allocation, ran out of memory and the reuse of innodb code by mariabackup causes the same error.

Generated at Thu Feb 08 08:40:09 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.