[MDEV-14453] mariabackup coredump for 10.2.10 Created: 2017-11-21  Updated: 2019-12-11  Resolved: 2018-01-27

Status: Closed
Project: MariaDB Server
Component/s: Backup
Affects Version/s: 10.2.10
Fix Version/s: N/A

Type: Bug Priority: Major
Reporter: TAO ZHOU Assignee: Unassigned
Resolution: Incomplete Votes: 0
Labels: None
Environment:

FreeBSD 11.1


Issue Links:
Relates
relates to MDEV-21293 mariabackup crashes when not using fu... Open

 Description   

the tool mariabackup coredump during sst. And it happens everytime.

error log:

WSREP_SST: [ERROR] mariabackup finished with error: 139.  Check /var/mysql-data//innobackup.backup.log (20171121 14:53:51.N)
WSREP_SST: [ERROR] Cleanup after exit with status:22 (20171121 14:53:51.N)

then in the data directory I can see a file called mariabackup.core.

gdb backtrace:

Loaded symbols for /libexec/ld-elf.so.1
#0  0x0000000000c491f2 in my_realpath ()
(gdb) bt
#0  0x0000000000c491f2 in my_realpath ()
#1  0x000000000055f954 in main ()
(gdb)

Then I copied mariabackup from 10.2.7 and it worked again.

What has been changed to this mariabackup tool at 10.2.10?



 Comments   
Comment by Andrii Nikitin (Inactive) [ 2017-11-27 ]

laocius Does `mariabackup --help` show any output or is it crashing as well?
MariaDB doesn't provide official FreeBSD 11 binaries at the moment, so it may be related to the way you installed it.
Could you confirm exact steps used?

Comment by TAO ZHOU [ 2019-01-02 ]

In my case mariabackup always crashes, unless run with full path.

# mariabackup --help
Segmentation fault (core dumped)

If I run with /usr/local/bin/mariabackup, everything works.

Comment by Elena Stepanova [ 2019-01-02 ]

Did you run which mariabackup?

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