[Bug 1528921] Re: rsync hangs on select(5, [], [4], [], {60, 0}

Rolf Leggewie 1528921 at bugs.launchpad.net
Thu Aug 25 14:36:06 UTC 2016


I believe I am seeing the same thing in a Xenial live CD.  I am rsyncing
some files and it seems to hang at very long filenames (see also bug
853243).

Here is my strace

[pid  6718] open("@home/.ecryptfs/leggewie/.Private/ECRYPTFS_FNEK_ENCRYPTED.FWaB.wglBSBqL-S0.GolcOiWlN9QsFFhUYxIOE8BunOtEkZy9GYiELzwV---/ECRYPTFS_FNEK_ENCRYPTED.FWaB.wglBSBqL-S0.GolcOiWlN9QsFFhUYxISb08KdmZleYyQQ1I95Yia---/ECRYPTFS_FNEK_ENCRYPTED.FXaB.wglBSBqL-S0.GolcOiWlN9QsFFhUYxIYNK1A5XdKl-lyemTrjUWJJGGQlgIy34eRr2x1j.TO0A-/ECRYPTFS_FNEK_ENCRYPTED.FWaB.wglBSBqL-S0.GolcOiWlN9QsFFhUYxI3NSHFt8OM6gX7ukm8DHAOE--/ECRYPTFS_FNEK_ENCRYPTED.FWaB.wglBSBqL-S0.GolcOiWlN9QsFFhUYxIPBMMS43iVqSCxqg7UMcDek--/ECRYPTFS_FNEK_ENCRYPTED.FYaB.wglBSBqL-S0.GolcOiWlN9QsFFhUYxIwyvVprx9USwuR1ZKdjg9COGVtAWJlxBGiAyA2e7BSu1yVD-TA1R4VNVEoD.nsWwR/ECRYPTFS_FNEK_ENCRYPTED.FWaB.wglBSBqL-S0.GolcOiWlN9QsFFhUYxIK6Ea9AYOxoE5onGKlG8ti---/ECRYPTFS_FNEK_ENCRYPTED.FWaB.wglBSBqL-S0.GolcOiWlN9QsFFhUYxIZxxEdH0i.fdcVkoJ7fTSo---", O_RDONLY) = 3
[pid  6718] fstat(3, {st_mode=S_IFREG|0644, st_size=12288, ...}) = 0
[pid  6718] write(1, "@home/.ecryptfs/leggewie/.Privat"..., 774) = 774
[pid  6718] read(3, 0x5613ff3fb9f0, 12288) = -1 EIO (Input/output error)
[pid  6718] select(6, [5], [4], [5], {60, 0}) = 1 (in [5], left {59, 999996})
[pid  6718] read(5, "eYyQQ1I95Yia---/ECRYPTFS_FNEK_EN"..., 76) = 76
[pid  6718] select(5, [], [4], [], {60, 0} <unfinished ...>
[pid  6719] <... select resumed> )      = 0 (Timeout)
[pid  6719] select(2, [], [1], [], {60, 0} <unfinished ...>
[pid  6720] <... select resumed> )      = 0 (Timeout)
[pid  6720] select(5, [], [4], [], {60, 0} <unfinished ...>
[pid  6718] <... select resumed> )      = 0 (Timeout)


** Changed in: rsync (Ubuntu)
   Importance: Undecided => Medium

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to rsync in Ubuntu.
https://bugs.launchpad.net/bugs/1528921

Title:
  rsync hangs on select(5, [], [4], [], {60, 0}

Status in rsync package in Ubuntu:
  Confirmed

Bug description:
  In the last few months my home directory backup stopped completing.
  I've been able to reproduce the problem on a single subdirectory
  although I had to add the --debug=all flag to reproduce it on that
  smaller directory.  Specifically, this command never completes:

  rsync --debug=all -avz /tmp/html2 /tmp/rsynctest/

  The html2 directory is a copy of
  gnuradio-3.7.8.1/build/docs/doxygen/html .

  When I strace the command, I see this:
  write(1, "sender finished /tmp/html2/atsc_"..., 58sender finished /tmp/html2/atsc__interleaver_8h__incl.md5
  ) = 58
  write(1, "send_files(338, /tmp/html2/atsc_"..., 59send_files(338, /tmp/html2/atsc__interleaver_8h__incl.png)
  ) = 59
  open("html2/atsc__interleaver_8h__incl.png", O_RDONLY|O_LARGEFILE) = 3
  fstat64(3, {st_mode=S_IFREG|0664, st_size=264657, ...}) = 0
  write(1, "html2/atsc__interleaver_8h__incl"..., 37html2/atsc__interleaver_8h__incl.png
  ) = 37
  read(3, "\211PNG\r\n\32\n\0\0\0\rIHDR\0\0\n\253\0\0\2\233\10\6\0\0\0h\242\""..., 262144) = 262144
  select(6, [5], [4], [5], {60, 0})       = 2 (in [5], out [4], left {59, 999996})
  read(5, "\0\0\0\0\0\0\0\1\0\240\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\1\0\240\0\0\0"..., 95) = 95
  write(4, "r\311\0\7\177\377\232\237\264\272e\300\300\240\316\264&\314\301\252*\37\256y\225g\373^\315j\370\350"..., 51574) = 51574
  select(5, [], [4], [], {60, 0})         = 1 (out [4], left {59, 999997})
  write(4, "\7\320\0\7\177\377\234|\7X\223Y\273\255c\27\25f\306\212\202\214#E\272\212t\1\225A\fU"..., 53259) = 53259
  select(5, [], [4], [], {60, 0}

  The select command times out over and over.  I get the same behavior
  when trying to back up my entire home directory but I don't need the
  --debug=all flag in that case.


  lsb_release -rd
  Description:    Ubuntu 14.04.3 LTS
  Release:        14.04

  apt-cache policy rsync
  rsync:
    Installed: 3.1.0-2ubuntu0.1
    Candidate: 3.1.0-2ubuntu0.1
    Version table:
   *** 3.1.0-2ubuntu0.1 0
          500 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/main i386 Packages
          500 http://security.ubuntu.com/ubuntu/ trusty-security/main i386 Packages
          100 /var/lib/dpkg/status
       3.1.0-2 0
          500 http://us.archive.ubuntu.com/ubuntu/ trusty/main i386 Packages

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: rsync 3.1.0-2ubuntu0.1
  ProcVersionSignature: Ubuntu 3.13.0-74.118-generic 3.13.11-ckt30
  Uname: Linux 3.13.0-74-generic i686
  NonfreeKernelModules: nvidia
  ApportVersion: 2.14.1-0ubuntu3.19
  Architecture: i386
  CurrentDesktop: KDE
  Date: Wed Dec 23 09:44:17 2015
  EcryptfsInUse: Yes
  InstallationDate: Installed on 2010-09-18 (1922 days ago)
  InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Beta i386 (20100901.1)
  SourcePackage: rsync
  UpgradeStatus: Upgraded to trusty on 2014-12-27 (361 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rsync/+bug/1528921/+subscriptions



More information about the foundations-bugs mailing list