BackupPC-users

[BackupPC-users] rsync_bpc segfault with BackupPC 4.0.0alpha3

2014-06-19 00:33:39
Subject: [BackupPC-users] rsync_bpc segfault with BackupPC 4.0.0alpha3
From: Lasse R <lr AT ropelinen DOT org>
To: backuppc-users AT lists.sourceforge DOT net
Date: Thu, 19 Jun 2014 14:08:55 +1000 (EST)
Hi all,

Having used BackupPC 3 for years I've recently been trialling BackupPC 
4.0.0alpha3 and seem to keep hitting an issue with rsync_bpc segfaulting 
while backing up. BackupPC is running on a fresh up to date Centos 6.5 
x86_64 machine with base install. BackupPC is installed using instructions 
found in the readme. This is a fresh install and not an upgrade, starting 
off with an empty pool and the last run before triggering the problem on 
the machine managed to back up 5GB of data before the segfault.

The issue is not related to a specific host, but obviously manifests
itself more often for hosts that have more data to backup. I have
encountered the issue several times while backing up a small host (1GB) as 
well as a bigger one (1TB). The config file is left pretty much at default 
settings save from rsync excludes.

The segfault message is always similar. In dmesg I get:
rsync_bpc[23851]: segfault at 7ff491592aa8 ip 0000000000448203 sp
00007fff12fa0790 error 4 in rsync_bpc[400000+74000]

>>From another machine:
rsync_bpc[3361]: segfault at 7fbbe909eaa8 ip 0000000000448203 sp 
00007fff01c71e00 error 4 in rsync_bpc[400000+74000]


XferLog:

XferLOG file /data/BackupPC/pc/app01/XferLOG.0.z created 2014-06-19
10:39:30
Backup prep: type = full, case = 1, inPlace = 1, doDuplicate = 0,
newBkupNum = 0, newBkupIdx = 0, lastBkupNum = , lastBkupIdx =  (FillCycle
= 3, noFillCnt = )
Running: /usr/local/bin/rsync_bpc --bpc-top-dir /data/BackupPC
--bpc-host-name app01 --bpc-share-name / --bpc-bkup-num 0 --bpc-bkup-comp
4 --bpc-bkup-prevnum -1 --bpc-bkup-prevcomp -1 --bpc-bkup-inode0 1
--bpc-log-level 1 -e /usr/bin/ssh -l root --rsync-path=/usr/bin/rsync
--super --recursive --protect-args --numeric-ids --perms --owner --group
-D --times --links --hard-links --delete --partial --log-format=log: %o %i
%B %8U,%8G %9l %f%L --stats --checksum --exclude=/dev
--exclude=/lost+found --exclude=/media --exclude=/mnt --exclude=/proc
--exclude=/sys --exclude=/tmp --exclude=/home app01:/ /
full backup started for directory /
Xfer PIDs are now 23849
This is the rsync child about to exec /usr/local/bin/rsync_bpc

--- snip ---
(here is where the segfault occurs)
rsync_bpc: connection unexpectedly closed (308 bytes received so far)
[generator]
DoneGen: 0 errors, 523 filesExist, 139437 sizeExist, 72459 sizeExistComp,
509481 filesTotal, 14872527935 sizeTotal, 118 filesNew, 3595 sizeNew, 4389
sizeNewComp, 113016 inode
rsync error: error in rsync protocol data stream (code 12) at io.c(629)
[generator=3.0.9.3]
rsync_bpc exited with fatal status 12 (3072) (rsync error: error in rsync
protocol data stream (code 12) at io.c(629) [generator=3.0.9.3])
Xfer PIDs are now
Got fatal error during xfer (rsync error: error in rsync protocol data
stream (code 12) at io.c(629) [generator=3.0.9.3])
Backup aborted (rsync error: error in rsync protocol data stream (code 12)
at io.c(629) [generator=3.0.9.3])

---

Possible hardware and disk issues have been eliminated by having to swap
servers and filesystems (not due to BackuPC). Both servers have had fresh 
Centos 6.5 installed either with xfs or ext4 as the pool filesystem. I 
might have to try another distro to see if this is Centos specific.

Anyway, I'm wondering if anyone else has ran into this and any ideas how 
to further diagnose the problem?

Thank you for your time.

Cheers,
Lasse


------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

<Prev in Thread] Current Thread [Next in Thread>