XtraBackup segfaults after period of time
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona XtraBackup moved to https://jira.percona.com/projects/PXB |
Invalid
|
Undecided
|
Unassigned | ||
2.0 |
Fix Released
|
High
|
Alexey Kopytov | ||
2.1 |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Version:
XtraBackup 2.0.6-x86_64.
Description:
I have a large 64-bit mysql 5.0.77 instance, 700+GB.
When innobackupex is run, it begins to perform the backup. It will run for quite some time (transfers ~60GB) and then segfaults.
Command Invocation:
innobackupex --stream=tar ./ | gzip | ssh backup@
Segfault:
Apr 8 19:17:23 db3 kernel: xtrabackup_
Strace:
... { SNIP } ...
stat("/
wait4(12189, 0x7fff4c2d1fc4, WNOHANG, NULL) = 0
nanosleep({0, 100000000}, NULL) = 0
... { END SNIP } ...
stat("/
wait4(12189, 0x7fff4c2d1fc4, WNOHANG, NULL) = 0
nanosleep({0, 100000000}, NULL) = 0
stat("/
wait4(12189, 0x7fff4c2d1fc4, WNOHANG, NULL) = 0
nanosleep({0, 100000000}, NULL) = 0
stat("/
wait4(12189, 0x7fff4c2d1fc4, WNOHANG, NULL) = 0
nanosleep({0, 100000000}, NULL) = 0
stat("/
wait4(12189, 0x7fff4c2d1fc4, WNOHANG, NULL) = 0
nanosleep({0, 100000000}, 0) = ? ERESTART_
--- SIGCHLD (Child exited) @ 0 (0) ---
restart_
stat("/
wait4(12189, [{WIFSIGNALED(s) && WTERMSIG(s) == SIGSEGV}], WNOHANG, NULL) = 12189
write(2, "innobackupex: Error: ibbackup ch"..., 88innobackupex: Error: ibbackup child process has died at /usr/bin/
) = 88
umask(0) = 022
umask(022) = 0
umask(066) = 022
chmod("
umask(022) = 066
fstat(4, {st_mode=
stat("/
stat("/
close(4) = 0
umask(0) = 022
umask(022) = 0
umask(066) = 022
chmod("
umask(022) = 066
lstat("
unlink(
umask(0) = 022
umask(022) = 0
umask(066) = 022
chmod("
umask(022) = 066
fstat(3, {st_mode=
stat("/
stat("/
close(3) = 0
umask(0) = 022
umask(022) = 0
umask(066) = 022
chmod("
umask(022) = 066
lstat("
unlink(
close(5) = 0
exit_group(2) = ?
Related branches
- Laurynas Biveinis (community): Approve
- Registry Administrators: Pending requested
-
Diff: 24 lines (+7/-0)1 file modifiedsrc/xtrabackup.cc (+7/-0)
- Alexey Kopytov (community): Approve
- Laurynas Biveinis (community): Needs Fixing
- Diff: 0 lines
The strace output is from the innobackupex process, which doesn't provide any useful info. It is waiting for xtrabackup_ suspended file to be created by the xtrabackup_51 process, but then terminates because that process has died.
It is unclear what could be the reason of segfault in xtrabackup_51. Is there anything that might be relevant in the xtrabackup log, or it just crashes silently? Can you provide the part of the log before the crash occurs?