[MacPorts] #50350: rsync crashes: malloc error: "pointer being freed was not allocated"
MacPorts
noreply at macports.org
Tue Jan 19 07:08:19 PST 2016
#50350: rsync crashes: malloc error: "pointer being freed was not allocated"
---------------------+--------------------------------
Reporter: me@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.3.4
Resolution: | Keywords:
Port: rsync |
---------------------+--------------------------------
Comment (by cameron.layne@…):
I have the same problem.
For me, it appears when I add the 'X' rsync option to copy extended
attributes.
{{{
# Successful case
# -------------------
$ rsync -aP remoteserver:/sample-data .
receiving incremental file list
sample-data/
sample-data/foo.txt
7 100% 6.84kB/s 0:00:00 (xfr#1, to-chk=2/4)
sample-data/hello.txt
14 100% 13.67kB/s 0:00:00 (xfr#2, to-chk=1/4)
sample-data/mydate.txt
29 100% 28.32kB/s 0:00:00 (xfr#3, to-chk=0/4)
# Now the error
# -------------------
$ rsync -aXP remoteserver:/sample-data .
receiving incremental file list
sample-data/
sample-data/foo.txt
7 100% 6.84kB/s 0:00:00 (xfr#1, to-chk=2/4)
sample-data/hello.txt
14 100% 13.67kB/s 0:00:00 (xfr#2, to-chk=1/4)
rsync(2689,0x7fff7bbac300) malloc: *** error for object 0x7fa300600070:
pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
rsync: connection unexpectedly closed (157 bytes received so far)
[generator]
rsync error: error in rsync protocol data stream (code 12) at io.c(226)
[generator=3.1.2]
}}}
{{{
$ port installed rsync
The following ports are currently installed:
rsync @3.1.1_0
rsync @3.1.2_0 (active)
$ rsync --version
rsync version 3.1.2 protocol version 31
}}}
--
Ticket URL: <https://trac.macports.org/ticket/50350#comment:2>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list