New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't do backup, burp quits with SIGSEGV #612
Comments
Given that it's a gentoo and librsync is mentioned in the stacktrace: have you tried rebuilding librsync and burp? I assume it worked for the full backup because it did not have to check for differences in the very first backup, but if librsync got updated, compiler changed or certain make.conf settings were modified, it is possible that they are no longer compatible because burp was built against a different version. I do have a (gentoo) burp 2.1.12 with net-libs/librsync-2.0.0-r1 running against a (non-gentoo) burp 2.1.8 server without problems. |
I have never tried librsync-2.x.x. |
I'm running burp on many hosts, most of them are Gentoo, sometimes Debian. I never had such problem like that. It didn't looks like problem when burp is build against different version of librsync. I rebuild both packages to have debugging symbols and segfault still exists. I can see one difference, this problematic client is on x86, all other of my hosts are x86_64. |
Burp doesn't use librsync to do signatures/patches on the first backup, it only uses it on files that have changed. I cannot tell whether the problem is with burp or librsync 2, or with the linking when you build. What is the output of 'ldd /usr/sbin/burp' when you think you are using librsync2? If the problem is with librsync 2, maybe the problem will show up if you run the librsync 2 tests.
|
I don't know exact parameters used by burp when use librsync, I generated SIGNATURE, DELTA and got new file using rdiff without segfault. I tried both md4 and blake2 hash algorithms. |
Found it, this is bug in librsync: |
Cool, thanks for the update. |
Hi!
Client - burp-2.1.18 (also with 2.1.12 I'm getting segfault) - x86
server - burp-2.1.12 - amd64
protocol - 1
First full backup finished without problem but problem happens when I do next backup.
Last lines in log are:
The text was updated successfully, but these errors were encountered: