Further debugging with `strace` shows it literally creates the pipe
right before it tries to write into it:
write(1, "Registering (mktemp) temporary f"..., 82) = 82
write(13, "DEBUG 1\n. Registering (mktemp) t"..., 93) = 93
lstat("/tmp/duplicity-iMtvLG-tempdir/mktemp-Z8PNlG-2", 0x7ffd210b6cc0) = -1
ENOENT (No such file or directory)
futex(0x7f4cce376f38, FUTEX_WAKE_PRIVATE, 2147483647) = 0
lstat("/var/backups/wilx/backup.amber2/duplicity-inc.20180824T154037Z.to.20180825T014020Z.manifest",
{st_mode=S_IFREG|0755, st_size=214, ...}) = 0
openat(AT_FDCWD,
"/var/backups/wilx/backup.amber2/duplicity-inc.20180824T154037Z.to.20180825T014020Z.manifest",
O_RDONLY) = 9
fstat(9, {st_mode=S_IFREG|0755, st_size=214, ...}) = 0
futex(0x7f4cce376f38, FUTEX_WAKE_PRIVATE, 2147483647) = 0
futex(0x7f4cce376f38, FUTEX_WAKE_PRIVATE, 2147483647) = 0
futex(0x7f4cce376f38, FUTEX_WAKE_PRIVATE, 2147483647) = 0
fstat(9, {st_mode=S_IFREG|0755, st_size=214, ...}) = 0
flistxattr(9, NULL, 0) = -1 ENODATA (No data available)
openat(AT_FDCWD, "/tmp/duplicity-iMtvLG-tempdir/mktemp-Z8PNlG-2",
O_WRONLY|O_CREAT|O_EXCL, 0755) = 10
futex(0x7f4cce376f38, FUTEX_WAKE_PRIVATE, 2147483647) = 0
futex(0x7f4cce376f38, FUTEX_WAKE_PRIVATE, 2147483647) = 0
ioctl(10, BTRFS_IOC_CLONE or FICLONE, 9) = -1 EXDEV (Invalid cross-device link)
It creates the pipe descriptor pair here:
pipe2([19, 20], O_CLOEXEC) = 0
fcntl(20, F_SETPIPE_SZ, 1048576) = 1048576
fstat(9, {st_mode=S_IFREG|0755, st_size=214, ...}) = 0
And immediately tries to write into it. Who is supposed to be reading
the other end?
splice(9, [0], 20, NULL, 1048576, SPLICE_F_MORE) = 214
splice(19, NULL, 10, [0], 214, SPLICE_F_MORE) = 214
splice(9, [214], 20, NULL, 1048576, SPLICE_F_MORE
The two commented chunks above are adjacent in the `strace` log. I have
not left out anything. These are literally the last 6 lines of the
`strace` log of the stuck process.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1778638
Title:
duplicity stuck in splice() call on Bionic
To manage notifications about this bug go to:
https://bugs.launchpad.net/duplicity/+bug/1778638/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs