Re: Segmentation fault
Brought to you by:
thesun
From: Shachar S. <rsy...@sh...> - 2005-12-07 05:50:36
|
al...@ki... wrote: >I'm receiving this error on both SuSe9.3 and SuSe10. > >The following steps were performed on both: >1) configure/make/make install argtable-2.4.tar >2) configure/make/make install rsyncrypto-0.16 > >if I type rsyncrypto --help: >*** glibc detected *** double free or corruption (!prev): 0x08059700 *** >Aborted > > >if I run rsyncrypto <src> <dst> <key> <master key> ....: >Segmentation fault > > It's a known bug in argtable, when the error buffer is too small (for example, because you did not provide four mandatory arguments). If you apply the attached patch to argtable, the problem is solved. As a side note, I'll mention that this problem does not affect normal operation. I should note that there is a fairly known Israeli joke. One kid did not talk. The kid was already 4, and not a single word. Not "gogo", nothing. Then, one morning, during breakfast, he looks up and says "Mom, the hot chocolate isn't hot enough". The suprised mom is all over the place. She says to him: "Why didn't you talk until now?", to which he says "So far, everything was ok". I have to say that I was not even aware that Suse, Fedora etc. had the patched gzip capable of running rsyncrypto. As such, they were not particularily in my testing focus. For Debian, I'm the argtable package maintiner, and I made sure that the attached patch went into the official argtable package. It's great to see that people use rsyncrypto, and that people use it on platforms different than the ones I though they would. Maybe I should introduce the occasional proble just so I hear from people `-). Shachar -- Shachar Shemesh Lingnu Open Source Consulting ltd. Have you backed up today's work? http://www.lingnu.com/backup.html |