Advertisement
Guest User

coreutils-bug?

a guest
Mar 7th, 2012
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 6.15 KB | None | 0 0
  1. ┌─[01:40:02]-[root@stavrovski]-[~]
  2. └─› strace du -csxh /tmp/another_test/*
  3. execve("/bin/du", ["du", "-csxh", "/tmp/another_test/file-1", "/tmp/another_test/file-10", "/tmp/another_test/file-11", "/tmp/another_test/file-12", "/tmp/another_test/file-13", "/tmp/another_test/file-14", "/tmp/another_test/file-15", "/tmp/another_test/file-16", "/tmp/another_test/file-17", "/tmp/another_test/file-18", "/tmp/another_test/file-19", "/tmp/another_test/file-2", "/tmp/another_test/file-20", "/tmp/another_test/file-3", ...], [/* 37 vars */]) = 0
  4. brk(0)                                  = 0x8062000
  5. mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x37fab000
  6. access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or directory)
  7. open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
  8. fstat64(3, {st_mode=S_IFREG|0644, st_size=28801, ...}) = 0
  9. mmap2(NULL, 28801, PROT_READ, MAP_PRIVATE, 3, 0) = 0x37fa3000
  10. close(3)                                = 0
  11. open("/lib/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
  12. read(3, "\177ELF\1\1\1\3\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\360\225\1\0004\0\0\0"..., 512) = 512
  13. fstat64(3, {st_mode=S_IFREG|0755, st_size=1954413, ...}) = 0
  14. mmap2(NULL, 1710756, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x37e01000
  15. mmap2(0x37f9d000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x19c) = 0x37f9d000
  16. mmap2(0x37fa0000, 10916, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x37fa0000
  17. close(3)                                = 0
  18. mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x37e00000
  19. set_thread_area({entry_number:-1 -> 6, base_addr:0x37e006c0, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0
  20. mprotect(0x37f9d000, 8192, PROT_READ)   = 0
  21. mprotect(0x8060000, 4096, PROT_READ)    = 0
  22. mprotect(0x37fcc000, 4096, PROT_READ)   = 0
  23. munmap(0x37fa3000, 28801)               = 0
  24. brk(0)                                  = 0x8062000
  25. brk(0x8083000)                          = 0x8083000
  26. open("/usr/lib/locale/locale-archive", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
  27. fstat64(3, {st_mode=S_IFREG|0644, st_size=2103536, ...}) = 0
  28. mmap2(NULL, 2097152, PROT_READ, MAP_PRIVATE, 3, 0) = 0x37c00000
  29. close(3)                                = 0
  30. fstatat64(AT_FDCWD, "/tmp/another_test/file-1", {st_mode=S_IFREG|0644, st_size=10485760, ...}, AT_SYMLINK_NOFOLLOW) = 0
  31. fstatat64(AT_FDCWD, "/tmp/another_test/file-10", {st_mode=S_IFREG|0644, st_size=10485760, ...}, AT_SYMLINK_NOFOLLOW) = 0
  32. fstatat64(AT_FDCWD, "/tmp/another_test/file-11", {st_mode=S_IFREG|0644, st_size=10485760, ...}, AT_SYMLINK_NOFOLLOW) = 0
  33. fstatat64(AT_FDCWD, "/tmp/another_test/file-12", {st_mode=S_IFREG|0644, st_size=10485760, ...}, AT_SYMLINK_NOFOLLOW) = 0
  34. fstatat64(AT_FDCWD, "/tmp/another_test/file-13", {st_mode=S_IFREG|0644, st_size=10485760, ...}, AT_SYMLINK_NOFOLLOW) = 0
  35. fstatat64(AT_FDCWD, "/tmp/another_test/file-14", {st_mode=S_IFREG|0644, st_size=10485760, ...}, AT_SYMLINK_NOFOLLOW) = 0
  36. fstatat64(AT_FDCWD, "/tmp/another_test/file-15", {st_mode=S_IFREG|0644, st_size=10485760, ...}, AT_SYMLINK_NOFOLLOW) = 0
  37. fstatat64(AT_FDCWD, "/tmp/another_test/file-16", {st_mode=S_IFREG|0644, st_size=10485760, ...}, AT_SYMLINK_NOFOLLOW) = 0
  38. fstatat64(AT_FDCWD, "/tmp/another_test/file-17", {st_mode=S_IFREG|0644, st_size=10485760, ...}, AT_SYMLINK_NOFOLLOW) = 0
  39. fstatat64(AT_FDCWD, "/tmp/another_test/file-18", {st_mode=S_IFREG|0644, st_size=10485760, ...}, AT_SYMLINK_NOFOLLOW) = 0
  40. fstatat64(AT_FDCWD, "/tmp/another_test/file-19", {st_mode=S_IFREG|0644, st_size=10485760, ...}, AT_SYMLINK_NOFOLLOW) = 0
  41. fstatat64(AT_FDCWD, "/tmp/another_test/file-2", {st_mode=S_IFREG|0644, st_size=10485760, ...}, AT_SYMLINK_NOFOLLOW) = 0
  42. fstatat64(AT_FDCWD, "/tmp/another_test/file-20", {st_mode=S_IFREG|0644, st_size=10485760, ...}, AT_SYMLINK_NOFOLLOW) = 0
  43. fstatat64(AT_FDCWD, "/tmp/another_test/file-3", {st_mode=S_IFREG|0644, st_size=10485760, ...}, AT_SYMLINK_NOFOLLOW) = 0
  44. fstatat64(AT_FDCWD, "/tmp/another_test/file-4", {st_mode=S_IFREG|0644, st_size=10485760, ...}, AT_SYMLINK_NOFOLLOW) = 0
  45. fstatat64(AT_FDCWD, "/tmp/another_test/file-5", {st_mode=S_IFREG|0644, st_size=10485760, ...}, AT_SYMLINK_NOFOLLOW) = 0
  46. fstatat64(AT_FDCWD, "/tmp/another_test/file-6", {st_mode=S_IFREG|0644, st_size=10485760, ...}, AT_SYMLINK_NOFOLLOW) = 0
  47. fstatat64(AT_FDCWD, "/tmp/another_test/file-7", {st_mode=S_IFREG|0644, st_size=10485760, ...}, AT_SYMLINK_NOFOLLOW) = 0
  48. fstatat64(AT_FDCWD, "/tmp/another_test/file-8", {st_mode=S_IFREG|0644, st_size=10485760, ...}, AT_SYMLINK_NOFOLLOW) = 0
  49. fstatat64(AT_FDCWD, "/tmp/another_test/file-9", {st_mode=S_IFREG|0644, st_size=10485760, ...}, AT_SYMLINK_NOFOLLOW) = 0
  50. open("/usr/share/locale/locale.alias", O_RDONLY|O_CLOEXEC) = 3
  51. fcntl64(3, F_GETFD)                     = 0
  52. fcntl64(3, F_SETFD, FD_CLOEXEC)         = 0
  53. fstat64(3, {st_mode=S_IFREG|0644, st_size=2570, ...}) = 0
  54. mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x37faa000
  55. read(3, "# Locale name alias data base.\n#"..., 4096) = 2570
  56. read(3, "", 4096)                       = 0
  57. close(3)                                = 0
  58. munmap(0x37faa000, 4096)                = 0
  59. open("/usr/share/locale/en_US.UTF-8/LC_MESSAGES/coreutils.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
  60. open("/usr/share/locale/en_US.utf8/LC_MESSAGES/coreutils.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
  61. open("/usr/share/locale/en_US/LC_MESSAGES/coreutils.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
  62. open("/usr/share/locale/en.UTF-8/LC_MESSAGES/coreutils.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
  63. open("/usr/share/locale/en.utf8/LC_MESSAGES/coreutils.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
  64. open("/usr/share/locale/en/LC_MESSAGES/coreutils.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
  65. fstat64(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 4), ...}) = 0
  66. mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x37faa000
  67. write(1, "0\ttotal\n", 80       total
  68. )               = 8
  69. close(1)                                = 0
  70. munmap(0x37faa000, 4096)                = 0
  71. close(2)                                = 0
  72. exit_group(0)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement