Uploaded image for project: 'Percona XtraBackup'
  1. Percona XtraBackup
  2. PXB-1213

LP #1166888: XtraBackup segfaults after period of time

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: Low
    • Resolution: Invalid
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:

      Description

      **Reported in Launchpad by Justin La Sotten last update 17-04-2013 12:15:41

      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@backup_server "cd /var/lib/mysql/; tar izxf -"

      Segfault:
      Apr 8 19:17:23 db3 kernel: xtrabackup_51[12854]: segfault at 0000000000000084 rip 00000000004e59f5 rsp 0000000043debff0 error 4

      Strace:
      ...

      { SNIP }

      ...
      stat("/tmp/xtrabackup_suspended", 0x1e9e1140) = -1 ENOENT (No such file or directory)
      wait4(12189, 0x7fff4c2d1fc4, WNOHANG, NULL) = 0
      nanosleep(

      {0, 100000000}, NULL) = 0
      ... { END SNIP } ...

      stat("/tmp/xtrabackup_suspended", 0x1e9e1140) = -1 ENOENT (No such file or directory)
      wait4(12189, 0x7fff4c2d1fc4, WNOHANG, NULL) = 0
      nanosleep({0, 100000000}

      , NULL) = 0
      stat("/tmp/xtrabackup_suspended", 0x1e9e1140) = -1 ENOENT (No such file or directory)
      wait4(12189, 0x7fff4c2d1fc4, WNOHANG, NULL) = 0
      nanosleep(

      {0, 100000000}, NULL) = 0
      stat("/tmp/xtrabackup_suspended", 0x1e9e1140) = -1 ENOENT (No such file or directory)
      wait4(12189, 0x7fff4c2d1fc4, WNOHANG, NULL) = 0
      nanosleep({0, 100000000}

      , NULL) = 0
      stat("/tmp/xtrabackup_suspended", 0x1e9e1140) = -1 ENOENT (No such file or directory)
      wait4(12189, 0x7fff4c2d1fc4, WNOHANG, NULL) = 0
      nanosleep(

      {0, 100000000}

      , 0) = ? ERESTART_RESTARTBLOCK (To be restarted)
      — SIGCHLD (Child exited) @ 0 (0) —
      restart_syscall(<... resuming interrupted call ...>) = 0
      stat("/tmp/xtrabackup_suspended", 0x1e9e1140) = -1 ENOENT (No such file or directory)
      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/innobackupex line 381.
      ) = 88
      umask(0) = 022
      umask(022) = 0
      umask(066) = 022
      chmod("/tmp/X5QwfzQ7jU", 0600) = 0
      umask(022) = 066
      fstat(4,

      {st_mode=S_IFREG|0600, st_size=36, ...}) = 0
      stat("/tmp/X5QwfzQ7jU", {st_mode=S_IFREG|0600, st_size=36, ...}

      ) = 0
      stat("/tmp/X5QwfzQ7jU",

      {st_mode=S_IFREG|0600, st_size=36, ...}) = 0
      close(4) = 0
      umask(0) = 022
      umask(022) = 0
      umask(066) = 022
      chmod("/tmp/X5QwfzQ7jU", 0600) = 0
      umask(022) = 066
      lstat("/tmp/X5QwfzQ7jU", {st_mode=S_IFREG|0600, st_size=36, ...}

      ) = 0
      unlink("/tmp/X5QwfzQ7jU") = 0
      umask(0) = 022
      umask(022) = 0
      umask(066) = 022
      chmod("/tmp/miPIhpfqzr", 0600) = 0
      umask(022) = 066
      fstat(3,

      {st_mode=S_IFREG|0600, st_size=0, ...}) = 0
      stat("/tmp/miPIhpfqzr", {st_mode=S_IFREG|0600, st_size=0, ...}

      ) = 0
      stat("/tmp/miPIhpfqzr",

      {st_mode=S_IFREG|0600, st_size=0, ...}) = 0
      close(3) = 0
      umask(0) = 022
      umask(022) = 0
      umask(066) = 022
      chmod("/tmp/miPIhpfqzr", 0600) = 0
      umask(022) = 066
      lstat("/tmp/miPIhpfqzr", {st_mode=S_IFREG|0600, st_size=0, ...}

      ) = 0
      unlink("/tmp/miPIhpfqzr") = 0
      close(5) = 0
      exit_group(2) = ?

        Smart Checklist

          Attachments

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              lpjirasync lpjirasync (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: