[Bug 8471] New: The file of DBCS file name contains DBCS second byte of x'5C' cause error.

2011-09-20 Thread samba-bugs
https://bugzilla.samba.org/show_bug.cgi?id=8471

   Summary: The file of DBCS file name contains DBCS second byte
of x'5C' cause error.
   Product: rsync
   Version: 3.0.8
  Platform: All
OS/Version: All
Status: NEW
  Severity: normal
  Priority: P5
 Component: core
AssignedTo: way...@samba.org
ReportedBy: sakai.take...@gmail.com
 QAContact: rsync...@samba.org


Created attachment 6918
  --> https://bugzilla.samba.org/attachment.cgi?id=6918
see description section

1) calling parameter is;
   rsync -a /cygdrive/d/tst/ /cygdrive/z/tst/
  where; d:\tst\DBCSDBCS.pdf 
 z:\tst\   <= on samba of Fedora 15(latest update by yumex)

2) test bed is;
   Windows 7 Ultimate Japanese version 32 bit.
   rsync is 3.0.8, suppose latest.

3) The error msg is;
   rsync: mkstemp "/cygdrive/z/tst/DBCSDBCS.pdf.JImXNd"  failed: No such file
or directory (2)

4) as above mentioned, the problem causes only the case of destination is samba
of Linux, Windows destination case, no error happened.

5) The file name of DBCS contains x'5C' or '/' in second byte of DBCS, the
error causes only this case.

6) attached file contains;
  a) DBCS files(two files of SBCS file name, dbcs-files.zip).
  b) above two file list(dbcsfile.dir)
  c) hex dump of dbcsfile.txt(hexdump.txt)
  d) test result screen shot.(screen-shot.pdf)
  e) test script(rsytst.bat)

Hope find the bug quickly and fix it.

Thank you very much in advance.

Takeshi Sakai from Fujisawa Japan

-- 
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html


[Bug 5478] rsync: writefd_unbuffered failed to write 4092 bytes [sender]: Broken pipe (32)

2011-09-20 Thread samba-bugs
https://bugzilla.samba.org/show_bug.cgi?id=5478

--- Comment #9 from Eric Shubert  2011-09-20 14:42:37 UTC ---
(In reply to comment #8)
> By any chance do you consider these files "big" files?  I am asking
> because I saw similar timeout when sending big files (bug7757,
> bug7195).

Not really. Most problem files appear to be 20-30MB, but a few are <10M and
there's one which is only 25K. I'll keep this in mind though.

> Also in your next strace output, could you use "-tt" to
> show timestamps?  Thanks.

Here's one with timestamps:
1636  07:15:20.138388 select(1, [0], [], NULL, {60, 0}) = 1 (in [0], left {60,
0})
1636  07:15:20.138646 read(0, "\374\17\0\7", 4) = 4
1636  07:15:20.138883 select(1, [0], [], NULL, {60, 0}) = 1 (in [0], left {60,
0})
1636  07:15:20.139121 read(0,
"\211\313Wq\361\315ogBR\371\346\351\327\335\r@\20\373\276\303\372
1635  07:15:51.190750 <... select resumed> ) = 0 (Timeout)
1635  07:15:51.190975 select(4, [3], [], NULL, {60, 0} 
1636  07:16:20.139240 <... select resumed> ) = 0 (Timeout)
1636  07:16:20.139459 select(1, [0], [], NULL, {60, 0} 
1635  07:16:51.194224 <... select resumed> ) = 0 (Timeout)
1635  07:16:51.194447 select(4, [3], [], NULL, {60, 0} 

Thanks for having a look at this Tim.

I'm going to put a problem/test file on the target machine's hdd and continue
testing with a local2local transfer. I should have mentioned that the target in
this case is a pair of USB2 HDDs in a raid-1 configuration. I seem to recall
another posting of this error involved writing to a USB drive as well. I expect
at this point that USB might be a contributing factor. I'm stumped though as to
why it has worked fine for over year before coming across this problem.

-- 
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html


[Bug 5478] rsync: writefd_unbuffered failed to write 4092 bytes [sender]: Broken pipe (32)

2011-09-20 Thread samba-bugs
https://bugzilla.samba.org/show_bug.cgi?id=5478

--- Comment #10 from Eric Shubert  2011-09-20 15:39:39 UTC ---
(In reply to comment #9)
> 
> I'm going to put a problem/test file on the target machine's hdd and continue
> testing with a local2local transfer.

I'm holding off on the local test for the moment. After closer look at the
strace, the problem appears to be with the transport/ssh mechanism (input side
on the target).

Early on in the strace, after a series (10x) of 4092-byte reads, I see this:
1636  07:12:20.682841 select(1, [0], [], NULL, {60, 0}) = 1 (in [0], left {60,
0})
1636  07:12:20.683211 read(0, "\374\17\0\7", 4) = 4
1636  07:12:20.683964 select(1, [0], [], NULL, {60, 0}) = 1 (in [0], left {60,
0})
1636  07:12:20.684226 read(0,
"\222E\23\272R\224<\256\0I`\365\177\247\204\207Jf\370\277=\\q\24q\357\202\"z\307\207H"...,
4092) = 4092
1636  07:12:20.684653 select(1, [0], [], NULL, {60, 0}) = 1 (in [0], left {60,
0})
1636  07:12:20.685065 read(0, "\374\17\0\7", 4) = 4
1636  07:12:20.685291 select(1, [0], [], NULL, {60, 0}) = 1 (in [0], left {60,
0})
1636  07:12:20.685627 read(0,
"v5z\260\341\346\260\335w\22\311P\37|%:2N\2177\304\0264\215#\344\274P^\307u\313"...,
4092) = 1223
1636  07:12:20.685984 select(1, [0], [], NULL, {60, 0} 
1635  07:12:20.686201 <... getdents64 resumed> /* 2 entries */, 32768) = 48
1635  07:12:20.687710 getdents64(0, /* 0 entries */, 32768) = 0
1635  07:12:20.687953 close(0)  = 0

This looks like the same situation as the timeout, except that there is
"getdents64 resumed" instead of "select resumed" after the select statement.
Don't know if it's related or not.

I'll keep looking to see what I can tell from the strace.

-- 
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html


[Bug 8471] The file of DBCS file name contains DBCS second byte of x'5C' cause error.

2011-09-20 Thread samba-bugs
https://bugzilla.samba.org/show_bug.cgi?id=8471

sakai.take...@gmail.com changed:

   What|Removed |Added

   Platform|All |x86
 OS/Version|All |Windows 7

--- Comment #1 from sakai.take...@gmail.com 2011-09-21 02:00:30 UTC ---
Wayne, I performed further investigation this problem, found following;

1) Windows Copy command for the same file completed successfully, to samba
server.  samba info is below;
 [root@localhost monte]# smbclient -U samba -L localhost
 Enter samba's password: 
 Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.5.11-71.fc15]
Sharename   Type  Comment
-     ---
samba   Disk  share folder of leo server
monchan Disk  monchan's smb home
monte   Disk  
IPC$IPC   IPC Service (Samba Server Version 3.5.11-71.fc15)
 Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.5.11-71.fc15]
Server   Comment
----
LEOSVR   Samba Server Version 3.5.11-71.fc15
WorkgroupMaster
----
WORKGROUPLEOSVR
 [root@localhost monte]# 

2) From above condition, the problem source may be samba side, if so shall I
submit new bug file to samba ? And close this file ? Any how the bug detected
on rsync side, so I filed to rsync, is this correct ?

3) Originally I dug this bug with my NAS, sold by buffalo corp., I bought it
about 5 years ago, it seems using some linux, not known the kind of linux,
version of linux and the version of samba, the NAS name is
tera-station(TS-TGLB15), with this NAS, even the file copying by windows
command also causes file not found error, where the file is used same with
rsync operation. Then I began the investigation with latest rsync and samba. 

I give up for older version correction, though would like to fix on latest
version.

That's all my thought at this moment.

Takeshi Sakai

-- 
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html