broken pipe

Robert DuToit rdutoit at capecod.net
Wed Feb 20 01:25:20 GMT 2008


Hi Matt,
I got some more verbosity on the broken pipe (see below.)  We ran the  
compiled rsync on three machines. The leopard one worked, the Tiger  
PPC Mac worked but this one, the Tiger Intel Mac, generates this error  
on the same folder. I compiled the rsync3.0pre9 on my Tiger PPC  
partition. Would one need to compile on an intel for it to work on  
intel?

this didn't work on the intel

patch -p1 <patches/flags.diff
patch -p1 <patches/crtimes.diff
./configure
make

so I went to ADC site and found article about universal binaries.  
Sounded good so I tried this

patch -p1 <patches/flags.diff
patch -p1 <patches/crtimes.diff
./configure
CFLAGS="-isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch ppc -arch  
i386" LDFLAGS="-Wl,-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk -arch  
ppc -arch i386" make



it compiled and works on everything except the intel...

Not sure if this is rsync problem or an issue with the Tiger intel  
Mac.Rob

here is the report on the session:

iMacJAM:~ jam$ /Users/jam/Desktop/rsync -aAX --fileflags --crtimes - 
vvvv --progress '/Users/jam/Docs-jam' /Users/jam/Desktop/BupDest
cmd=<NULL> machine=<NULL> user=<NULL> path=/Users/jam/Desktop/BupDest
cmd[0]=. cmd[1]=/Users/jam/Desktop/BupDest
note: iconv_open("US-ASCII", "US-ASCII") succeeded.
(Client) Protocol versions: remote=30, negotiated=30
(Server) Protocol versions: remote=30, negotiated=30
sending incremental file list
[sender] make_file(Docs-jam,*,2)
[sender] expand rsync_acl to 12000 bytes, did move
[sender] expand rsync_acl to 12000 bytes, did move
[sender] expand item_list to 1200 bytes, did move
[sender] expand rsync_xa to 0 bytes, did move
[sender] flist start=1, used=1, low=0, high=0
[sender] i=1 /Users/jam Docs-jam/ mode=040755 len=748 uid=501 gid=20  
flags=5
send_file_list done
[sender] make_file(Docs-jam/.DS_Store,*,2)
[sender] expand rsync_xa to 100 bytes, did move
[sender] expand rsync_xa to 20 bytes, did move
[sender] make_file(Docs-jam/A & J Mal Info.xls,*,2)
[sender] expand rsync_xa to 100 bytes, did move
[sender] expand rsync_xa to 20 bytes, did move
[sender] make_file(Docs-jam/CME,*,2)
[sender] make_file(Docs-jam/Cookbook:Recipe,*,2)
[sender] expand rsync_xa to 100 bytes, did move
[sender] expand rsync_xa to 20 bytes, did move
[sender] make_file(Docs-jam/Crohn's Dx,*,2)
[sender] make_file(Docs-jam/Gorman 2002 10 11,*,2)
[sender] expand rsync_xa to 100 bytes, did move
[sender] expand rsync_xa to 40 bytes, did move
[sender] make_file(Docs-jam/JAM Pers,*,2)
[sender] expand rsync_xa to 100 bytes, did move
[sender] expand rsync_xa to 20 bytes, did move
[sender] make_file(Docs-jam/JAM Pers-nsg,*,2)
[sender] expand rsync_xa to 100 bytes, did move
[sender] expand rsync_xa to 20 bytes, did move
[sender] make_file(Docs-jam/KHM Exp,*,2)
[sender] expand rsync_xa to 100 bytes, did move
[sender] expand rsync_xa to 20 bytes, did move
[sender] make_file(Docs-jam/McNaughton.doc,*,2)
[sender] expand rsync_xa to 100 bytes, did move
[sender] expand rsync_xa to 40 bytes, did move
[sender] make_file(Docs-jam/NPANYS-TI,*,2)
[sender] make_file(Docs-jam/Paper,*,2)
[sender] expand rsync_xa to 100 bytes, did move
[sender] expand rsync_xa to 40 bytes, did move
[sender] make_file(Docs-jam/Retrospect_bups,*,2)
[sender] make_file(Docs-jam/Robin's Nest 2005-06,*,2)
[sender] make_file(Docs-jam/Scrapbook stuff.doc,*,2)
[sender] expand rsync_xa to 100 bytes, did move
[sender] expand rsync_xa to 40 bytes, did move
[sender] make_file(Docs-jam/SMM,*,2)
[sender] make_file(Docs-jam/Wedding Pix,*,2)
[sender] make_file(Docs-jam/Weinstein 03 02 18,*,2)
[sender] expand rsync_xa to 100 bytes, did move
[sender] expand rsync_xa to 40 bytes, did move
[sender] make_file(Docs-jam/Word 5.1ADocs,*,2)
[sender] expand rsync_xa to 100 bytes, did move
[sender] expand rsync_xa to 20 bytes, did move
[sender] make_file(Docs-jam/Word 98.docs,*,2)
[sender] expand rsync_xa to 100 bytes, did move
[sender] expand rsync_xa to 20 bytes, did move
[sender] flist start=3, used=20, low=0, high=19
[sender] i=3 /Users/jam Docs-jam/.DS_Store mode=0100755 len=6148  
uid=501 gid=20 flags=0
[sender] i=4 /Users/jam Docs-jam/A & J Mal Info.xls mode=0100644  
len=24576 uid=501 gid=20 flags=0
[sender] i=5 /Users/jam Docs-jam/Gorman 2002 10 11 mode=0100644  
len=20992 uid=501 gid=20 flags=0
[sender] i=6 /Users/jam Docs-jam/KHM Exp mode=0100644 len=16896  
uid=501 gid=20 flags=0
[sender] i=7 /Users/jam Docs-jam/McNaughton.doc mode=0100644 len=22016  
uid=501 gid=20 flags=0
[sender] i=8 /Users/jam Docs-jam/Paper mode=0100644 len=74752 uid=501  
gid=20 flags=0
[sender] i=9 /Users/jam Docs-jam/Scrapbook stuff.doc mode=0100644  
len=20992 uid=501 gid=20 flags=0
[sender] i=10 /Users/jam Docs-jam/Weinstein 03 02 18 mode=0100644  
len=20480 uid=501 gid=20 flags=0
[sender] i=11 /Users/jam Docs-jam/CME/ mode=040755 len=340 uid=501  
gid=20 flags=4
[sender] i=12 /Users/jam Docs-jam/Cookbook:Recipe/ mode=040755 len=340  
uid=501 gid=20 flags=4
[sender] i=13 /Users/jam Docs-jam/Crohn's Dx/ mode=040755 len=340  
uid=501 gid=20 flags=4
[sender] i=14 /Users/jam Docs-jam/JAM Pers-nsg/ mode=040777 len=442  
uid=501 gid=20 flags=4
[sender] i=15 /Users/jam Docs-jam/JAM Pers/ mode=040777 len=306  
uid=501 gid=20 flags=4
[sender] i=16 /Users/jam Docs-jam/NPANYS-TI/ mode=040755 len=136  
uid=501 gid=20 flags=4
[sender] i=17 /Users/jam Docs-jam/Retrospect_bups/ mode=040755 len=170  
uid=501 gid=20 flags=4
[sender] i=18 /Users/jam Docs-jam/Robin's Nest 2005-06/ mode=040755  
len=408 uid=501 gid=20 flags=4
[sender] i=19 /Users/jam Docs-jam/SMM/ mode=040755 len=374 uid=501  
gid=20 flags=4
[sender] i=20 /Users/jam Docs-jam/Wedding Pix/ mode=040755 len=238  
uid=501 gid=20 flags=4
[sender] i=21 /Users/jam Docs-jam/Word 5.1ADocs/ mode=040755 len=1802  
uid=501 gid=20 flags=4
[sender] i=22 /Users/jam Docs-jam/Word 98.docs/ mode=040755 len=3706  
uid=501 gid=20 flags=4
file list sent
send_files starting
[sender] make_file(Docs-jam/CME/.DS_Store,*,2)
[sender] expand rsync_xa to 100 bytes, did move
[sender] make_file(Docs-jam/CME/CME 2001,*,2)
[sender] expand rsync_xa to 100 bytes, did move
[sender] expand rsync_xa to 40 bytes, did move
[sender] make_file(Docs-jam/CME/CME 2002,*,2)
[sender] expand rsync_xa to 100 bytes, did move
[sender] expand rsync_xa to 40 bytes, did move
[sender] make_file(Docs-jam/CME/CME 2003,*,2)
[sender] expand rsync_xa to 100 bytes, did move
[sender] expand rsync_xa to 40 bytes, did move
[sender] make_file(Docs-jam/CME/CME 2004,*,2)
[sender] expand rsync_xa to 100 bytes, did move
[sender] expand rsync_xa to 40 bytes, did move
[sender] make_file(Docs-jam/CME/CME 2005,*,2)
[sender] expand rsync_xa to 100 bytes, did move
[sender] expand rsync_xa to 40 bytes, did move
[sender] make_file(Docs-jam/CME/CME 2006.doc,*,2)
[sender] expand rsync_xa to 100 bytes, did move
[sender] expand rsync_xa to 40 bytes, did move
[sender] make_file(Docs-jam/CME/CME 2007.doc,*,2)
[sender] expand rsync_xa to 100 bytes, did move
[sender] expand rsync_xa to 40 bytes, did move
[sender] flist start=24, used=8, low=0, high=7
[sender] i=24 /Users/jam Docs-jam/CME/.DS_Store mode=0100755 len=6148  
uid=501 gid=20 flags=0
[sender] i=25 /Users/jam Docs-jam/CME/CME 2001 mode=0100644 len=21504  
uid=501 gid=20 flags=0
[sender] i=26 /Users/jam Docs-jam/CME/CME 2002 mode=0100644 len=22528  
uid=501 gid=20 flags=0
[sender] i=27 /Users/jam Docs-jam/CME/CME 2003 mode=0100644 len=22528  
uid=501 gid=20 flags=0
[sender] i=28 /Users/jam Docs-jam/CME/CME 2004 mode=0100644 len=19968  
uid=501 gid=20 flags=0
[sender] i=29 /Users/jam Docs-jam/CME/CME 2005 mode=0100644 len=19456  
uid=501 gid=20 flags=0
[sender] i=30 /Users/jam Docs-jam/CME/CME 2006.doc mode=0100644  
len=19968 uid=501 gid=20 flags=0
[sender] i=31 /Users/jam Docs-jam/CME/CME 2007.doc mode=0100644  
len=20480 uid=501 gid=20 flags=0
[sender] make_file(Docs-jam/Cookbook:Recipe/Amy's Recipes 2.4,*,2)
[sender] expand rsync_xa to 100 bytes, did move
[sender] expand rsync_xa to 20 bytes, did move
[sender] make_file(Docs-jam/Cookbook:Recipe/Grandma's recipes,*,2)
[sender] expand rsync_xa to 100 bytes, did move
[sender] expand rsync_xa to 20 bytes, did move
[sender] make_file(Docs-jam/Cookbook:Recipe/L Scott Cookbook 
\#306\#222,*,2)
[sender] expand rsync_xa to 100 bytes, did move
[sender] expand rsync_xa to 20 bytes, did move
[sender] make_file(Docs-jam/Cookbook:Recipe/Ma Painter\#342\#200\#231s  
Cook Book.sit,*,2)
[sender] expand rsync_xa to 100 bytes, did move
[sender] expand rsync_xa to 20 bytes, did move
[sender] make_file(Docs-jam/Cookbook:Recipe/Online Cookbook - L  
Scott,*,2)
[sender] expand rsync_xa to 100 bytes, did move
[sender] expand rsync_xa to 40 bytes, did move
[sender] make_file(Docs-jam/Cookbook:Recipe/Online Cookbook - L scott+ 
+,*,2)
[sender] expand rsync_xa to 100 bytes, did move
[sender] expand rsync_xa to 40 bytes, did move
[sender] make_file(Docs-jam/Cookbook:Recipe/Online Cookbook  
\#306\#222,*,2)
[sender] expand rsync_xa to 100 bytes, did move
[sender] expand rsync_xa to 20 bytes, did move
[sender] make_file(Docs-jam/Cookbook:Recipe/The Computer Cookbook 
\#342\#204\#242 2.4.1,*,2)
[sender] expand rsync_xa to 100 bytes, did move
[sender] expand rsync_xa to 20 bytes, did move
[sender] flist start=33, used=8, low=0, high=7
[sender] i=33 /Users/jam Docs-jam/Cookbook:Recipe/Ma Painter 
\#342\#200\#231s Cook Book.sit mode=0100755 len=858503 uid=501 gid=20  
flags=0
[sender] i=34 /Users/jam Docs-jam/Cookbook:Recipe/Online Cookbook - L  
Scott mode=0100755 len=46240 uid=501 gid=20 flags=0
[sender] i=35 /Users/jam Docs-jam/Cookbook:Recipe/Online Cookbook - L  
scott++ mode=0100755 len=73728 uid=501 gid=20 flags=0
[sender] i=36 /Users/jam Docs-jam/Cookbook:Recipe/Amy's Recipes 2.4/  
mode=040755 len=204 uid=501 gid=20 flags=4
[sender] i=37 /Users/jam Docs-jam/Cookbook:Recipe/Grandma's recipes/  
mode=040755 len=170 uid=501 gid=20 flags=4
[sender] i=38 /Users/jam Docs-jam/Cookbook:Recipe/L Scott Cookbook 
\#306\#222/ mode=040755 len=714 uid=501 gid=20 flags=4
[sender] i=39 /Users/jam Docs-jam/Cookbook:Recipe/Online Cookbook  
\#306\#222/ mode=040755 len=136 uid=501 gid=20 flags=4
[sender] i=40 /Users/jam Docs-jam/Cookbook:Recipe/The Computer Cookbook 
\#342\#204\#242 2.4.1/ mode=040755 len=238 uid=501 gid=20 flags=4
[sender] make_file(Docs-jam/Cookbook:Recipe/Amy's Recipes 2.4/About  
Amy's Recipes 2.4,*,2)
[sender] expand rsync_xa to 100 bytes, did move
[sender] expand rsync_xa to 40 bytes, did move
[sender] make_file(Docs-jam/Cookbook:Recipe/Amy's Recipes 2.4/Amy's  
Recipes2.4,*,2)
[sender] expand rsync_xa to 100 bytes, did move
[sender] expand rsync_xa to 40 bytes, did move
[sender] make_file(Docs-jam/Cookbook:Recipe/Amy's Recipes 2.4/Help  
File For Amy's Recipes,*,2)
[sender] expand rsync_xa to 100 bytes, did move
[sender] expand rsync_xa to 40 bytes, did move
[sender] make_file(Docs-jam/Cookbook:Recipe/Amy's Recipes 2.4/ 
Registration Form,*,2)
[sender] expand rsync_xa to 100 bytes, did move
[sender] expand rsync_xa to 40 bytes, did move
[sender] flist start=42, used=4, low=0, high=3
[sender] i=42 /Users/jam Docs-jam/Cookbook:Recipe/Amy's Recipes 2.4/ 
About Amy's Recipes 2.4 mode=0100755 len=1352 uid=501 gid=20 flags=0
[sender] i=43 /Users/jam Docs-jam/Cookbook:Recipe/Amy's Recipes 2.4/ 
Amy's Recipes2.4 mode=0100755 len=374144 uid=501 gid=20 flags=0
[sender] i=44 /Users/jam Docs-jam/Cookbook:Recipe/Amy's Recipes 2.4/ 
Help File For Amy's Recipes mode=0100755 len=46592 uid=501 gid=20  
flags=0
[sender] i=45 /Users/jam Docs-jam/Cookbook:Recipe/Amy's Recipes 2.4/ 
Registration Form mode=0100755 len=2331 uid=501 gid=20 flags=0
[sender] make_file(Docs-jam/Cookbook:Recipe/Grandma's recipes/Grandma  
Scott's Recipes 1,*,2)
[sender] expand rsync_xa to 100 bytes, did move
[sender] expand rsync_xa to 40 bytes, did move
[sender] make_file(Docs-jam/Cookbook:Recipe/Grandma's recipes/Icon 
\#015,*,2)
[sender] expand rsync_xa to 100 bytes, did move
[sender] expand rsync_xa to 40 bytes, did move
[sender] make_file(Docs-jam/Cookbook:Recipe/Grandma's recipes/Online  
Cookbook - L Scott,*,2)
Segmentation fault
iMacJAM:~ jam$ rsync: writefd_unbuffered failed to write 82 bytes  
[generator]: Broken pipe (32)
_exit_cleanup(code=12, file=io.c, line=1500): entered
rsync error: error in rsync protocol data stream (code 12) at  
io.c(1500) [generator=3.0.0pre9]
_exit_cleanup(code=12, file=io.c, line=1500): about to call exit(12)




On Feb 19, 2008, at 2:10 PM, Matt McCutchen wrote:

> On Tue, 2008-02-19 at 14:03 -0500, Robert DuToit wrote:
>>   I have a client and we are trying to create a backup for several
>> folders on OSX 10.4.11 with rsync 3.0.0pre9. One folder copies fine
>> but the other three generate this error and I am stumped.
>>
>> using:
>>
>>  rsync -aHAX --fileflags --crtimes -v
>>
>> we get;
>>
>> sending incremental file list
>> rsync: writefd_unbuffered failed to write 82 bytes [generator]:  
>> Broken
>> pipe (32)
>> rsync error: error in rsync protocol data stream (code 12) at
>> io.c(1500) [generator=3.0.0pre9]
>
> This means the sender process (to which the generator is writing via  
> the
> pipe in question) exited unexpectedly.  Look for an error message from
> the sender or an indication that it crashed (e.g., "Bus error").   
> Also,
> you might try adding some more -v options.
>
> Matt
>



More information about the rsync mailing list