Posted to tcl by sebres at Fri Sep 09 13:55:35 GMT 2022view raw

  1. $ strace ./j/bin/java -version
  2. execve("./j/bin/java", ["./j/bin/java", "-version"], 0x7ffeb2783d38 /* 22 vars */) = 0
  3. brk(NULL) = 0x558802d25000
  4. readlink("/proc/self/exe", "/tmp/j/bin/java", 4096) = 15
  5. access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
  6. openat(AT_FDCWD, "/tmp/j/bin/../lib/amd64/jli/tls/haswell/x86_64/libpthread.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
  7. stat("/tmp/j/bin/../lib/amd64/jli/tls/haswell/x86_64", 0x7ffe3fe2c0b0) = -1 ENOENT (No such file or directory)
  8. openat(AT_FDCWD, "/tmp/j/bin/../lib/amd64/jli/tls/haswell/libpthread.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
  9. stat("/tmp/j/bin/../lib/amd64/jli/tls/haswell", 0x7ffe3fe2c0b0) = -1 ENOENT (No such file or directory)
  10. openat(AT_FDCWD, "/tmp/j/bin/../lib/amd64/jli/tls/x86_64/libpthread.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
  11. stat("/tmp/j/bin/../lib/amd64/jli/tls/x86_64", 0x7ffe3fe2c0b0) = -1 ENOENT (No such file or directory)
  12. openat(AT_FDCWD, "/tmp/j/bin/../lib/amd64/jli/tls/libpthread.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
  13. stat("/tmp/j/bin/../lib/amd64/jli/tls", 0x7ffe3fe2c0b0) = -1 ENOENT (No such file or directory)
  14. openat(AT_FDCWD, "/tmp/j/bin/../lib/amd64/jli/haswell/x86_64/libpthread.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
  15. stat("/tmp/j/bin/../lib/amd64/jli/haswell/x86_64", 0x7ffe3fe2c0b0) = -1 ENOENT (No such file or directory)
  16. openat(AT_FDCWD, "/tmp/j/bin/../lib/amd64/jli/haswell/libpthread.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
  17. stat("/tmp/j/bin/../lib/amd64/jli/haswell", 0x7ffe3fe2c0b0) = -1 ENOENT (No such file or directory)
  18. openat(AT_FDCWD, "/tmp/j/bin/../lib/amd64/jli/x86_64/libpthread.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
  19. stat("/tmp/j/bin/../lib/amd64/jli/x86_64", 0x7ffe3fe2c0b0) = -1 ENOENT (No such file or directory)
  20. openat(AT_FDCWD, "/tmp/j/bin/../lib/amd64/jli/libpthread.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
  21. stat("/tmp/j/bin/../lib/amd64/jli", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
  22. openat(AT_FDCWD, "/tmp/j/bin/../lib/amd64/tls/haswell/x86_64/libpthread.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
  23. stat("/tmp/j/bin/../lib/amd64/tls/haswell/x86_64", 0x7ffe3fe2c0b0) = -1 ENOENT (No such file or directory)
  24. openat(AT_FDCWD, "/tmp/j/bin/../lib/amd64/tls/haswell/libpthread.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
  25. stat("/tmp/j/bin/../lib/amd64/tls/haswell", 0x7ffe3fe2c0b0) = -1 ENOENT (No such file or directory)
  26. openat(AT_FDCWD, "/tmp/j/bin/../lib/amd64/tls/x86_64/libpthread.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
  27. stat("/tmp/j/bin/../lib/amd64/tls/x86_64", 0x7ffe3fe2c0b0) = -1 ENOENT (No such file or directory)
  28. openat(AT_FDCWD, "/tmp/j/bin/../lib/amd64/tls/libpthread.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
  29. stat("/tmp/j/bin/../lib/amd64/tls", 0x7ffe3fe2c0b0) = -1 ENOENT (No such file or directory)
  30. openat(AT_FDCWD, "/tmp/j/bin/../lib/amd64/haswell/x86_64/libpthread.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
  31. stat("/tmp/j/bin/../lib/amd64/haswell/x86_64", 0x7ffe3fe2c0b0) = -1 ENOENT (No such file or directory)
  32. openat(AT_FDCWD, "/tmp/j/bin/../lib/amd64/haswell/libpthread.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
  33. stat("/tmp/j/bin/../lib/amd64/haswell", 0x7ffe3fe2c0b0) = -1 ENOENT (No such file or directory)
  34. openat(AT_FDCWD, "/tmp/j/bin/../lib/amd64/x86_64/libpthread.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
  35. stat("/tmp/j/bin/../lib/amd64/x86_64", 0x7ffe3fe2c0b0) = -1 ENOENT (No such file or directory)
  36. openat(AT_FDCWD, "/tmp/j/bin/../lib/amd64/libpthread.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
  37. stat("/tmp/j/bin/../lib/amd64", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
  38. openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
  39. fstat(3, {st_mode=S_IFREG|0644, st_size=84145, ...}) = 0
  40. mmap(NULL, 84145, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f8680e77000
  41. close(3) = 0
  42. openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libpthread.so.0", O_RDONLY|O_CLOEXEC) = 3
  43. read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0 |\0\0\0\0\0\0"..., 832) = 832
  44. fstat(3, {st_mode=S_IFREG|0755, st_size=149520, ...}) = 0
  45. mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8680e75000
  46. mmap(NULL, 136304, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f8680e53000
  47. mmap(0x7f8680e5a000, 65536, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x7000) = 0x7f8680e5a000
  48. mmap(0x7f8680e6a000, 20480, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x17000) = 0x7f8680e6a000
  49. mmap(0x7f8680e6f000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1b000) = 0x7f8680e6f000
  50. mmap(0x7f8680e71000, 13424, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f8680e71000
  51. close(3) = 0
  52. openat(AT_FDCWD, "/tmp/j/bin/../lib/amd64/jli/libjli.so", O_RDONLY|O_CLOEXEC) = 3
  53. read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0 #\0\0\0\0\0\0"..., 832) = 832
  54. fstat(3, {st_mode=S_IFREG|0755, st_size=108616, ...}) = 0
  55. mmap(NULL, 2192272, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f8680c3b000
  56. mprotect(0x7f8680c52000, 2093056, PROT_NONE) = 0
  57. mmap(0x7f8680e51000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x16000) = 0x7f8680e51000
  58. close(3) = 0
  59. openat(AT_FDCWD, "/tmp/j/bin/../lib/amd64/jli/libdl.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
  60. openat(AT_FDCWD, "/tmp/j/bin/../lib/amd64/libdl.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
  61. openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libdl.so.2", O_RDONLY|O_CLOEXEC) = 3
  62. read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0000\21\0\0\0\0\0\0"..., 832) = 832
  63. fstat(3, {st_mode=S_IFREG|0644, st_size=18688, ...}) = 0
  64. mmap(NULL, 20752, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f8680c35000
  65. mmap(0x7f8680c36000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1000) = 0x7f8680c36000
  66. mmap(0x7f8680c38000, 4096, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3000) = 0x7f8680c38000
  67. mmap(0x7f8680c39000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3000) = 0x7f8680c39000
  68. close(3) = 0
  69. openat(AT_FDCWD, "/tmp/j/bin/../lib/amd64/jli/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
  70. openat(AT_FDCWD, "/tmp/j/bin/../lib/amd64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
  71. openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
  72. read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0@n\2\0\0\0\0\0"..., 832) = 832
  73. fstat(3, {st_mode=S_IFREG|0755, st_size=1839792, ...}) = 0
  74. mmap(NULL, 1852680, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f8680a70000
  75. mprotect(0x7f8680a95000, 1662976, PROT_NONE) = 0
  76. mmap(0x7f8680a95000, 1355776, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x25000) = 0x7f8680a95000
  77. mmap(0x7f8680be0000, 303104, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x170000) = 0x7f8680be0000
  78. mmap(0x7f8680c2b000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1ba000) = 0x7f8680c2b000
  79. mmap(0x7f8680c31000, 13576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f8680c31000
  80. close(3) = 0
  81. mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8680a6e000
  82. arch_prctl(ARCH_SET_FS, 0x7f8680a6eb80) = 0
  83. mprotect(0x7f8680c2b000, 12288, PROT_READ) = 0
  84. mprotect(0x7f8680c39000, 4096, PROT_READ) = 0
  85. mprotect(0x7f8680e6f000, 4096, PROT_READ) = 0
  86. mprotect(0x7f8680e51000, 4096, PROT_READ) = 0
  87. mprotect(0x558801e00000, 4096, PROT_READ) = 0
  88. mprotect(0x7f8680eb6000, 4096, PROT_READ) = 0
  89. munmap(0x7f8680e77000, 84145) = 0
  90. set_tid_address(0x7f8680a6ee50) = 1246406
  91. set_robust_list(0x7f8680a6ee60, 24) = 0
  92. rt_sigaction(SIGRTMIN, {sa_handler=0x7f8680e5a690, sa_mask=[], sa_flags=SA_RESTORER|SA_SIGINFO, sa_restorer=0x7f8680e67140}, NULL, 8) = 0
  93. rt_sigaction(SIGRT_1, {sa_handler=0x7f8680e5a730, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f8680e67140}, NULL, 8) = 0
  94. rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0
  95. prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0
  96. brk(NULL) = 0x558802d25000
  97. brk(0x558802d46000) = 0x558802d46000
  98. readlink("/proc/self/exe", "/tmp/j/bin/java", 4096) = 15
  99. access("/tmp/j/lib/amd64/libjava.so", F_OK) = 0
  100. openat(AT_FDCWD, "/tmp/j/lib/amd64/jvm.cfg", O_RDONLY) = 3
  101. fstat(3, {st_mode=S_IFREG|0644, st_size=627, ...}) = 0
  102. read(3, "# Copyright (c) 2003, 2013, Orac"..., 4096) = 627
  103. read(3, "", 4096) = 0
  104. close(3) = 0
  105. stat("/tmp/j/lib/amd64/server/libjvm.so", {st_mode=S_IFREG|0755, st_size=17119512, ...}) = 0
  106. futex(0x7f8680c3a0c8, FUTEX_WAKE_PRIVATE, 2147483647) = 0
  107. openat(AT_FDCWD, "/tmp/j/lib/amd64/server/libjvm.so", O_RDONLY|O_CLOEXEC) = 3
  108. read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\0\352\37\0\0\0\0\0"..., 832) = 832
  109. fstat(3, {st_mode=S_IFREG|0755, st_size=17119512, ...}) = 0
  110. mmap(NULL, 16748320, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f867fa75000
  111. mprotect(0x7f868076d000, 2093056, PROT_NONE) = 0
  112. mmap(0x7f868096c000, 815104, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xcf7000) = 0x7f868096c000
  113. mmap(0x7f8680a33000, 241440, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f8680a33000
  114. close(3) = 0
  115. openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
  116. fstat(3, {st_mode=S_IFREG|0644, st_size=84145, ...}) = 0
  117. mmap(NULL, 84145, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f8680e77000
  118. close(3) = 0
  119. openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libm.so.6", O_RDONLY|O_CLOEXEC) = 3
  120. read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\0\362\0\0\0\0\0\0"..., 832) = 832
  121. fstat(3, {st_mode=S_IFREG|0644, st_size=1321344, ...}) = 0
  122. mmap(NULL, 1323280, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f867f931000
  123. mmap(0x7f867f940000, 630784, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xf000) = 0x7f867f940000
  124. mmap(0x7f867f9da000, 626688, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xa9000) = 0x7f867f9da000
  125. mmap(0x7f867fa73000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x141000) = 0x7f867fa73000
  126. close(3) = 0
  127. mprotect(0x7f867fa73000, 4096, PROT_READ) = 0
  128. mprotect(0x7f868096c000, 614400, PROT_READ) = 0
  129. getpid() = 1246406
  130. munmap(0x7f8680e77000, 84145) = 0
  131. getpid() = 1246406
  132. mmap(NULL, 1052672, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f867f830000
  133. mprotect(0x7f867f831000, 1048576, PROT_READ|PROT_WRITE) = 0
  134. clone(child_stack=0x7f867f92ffb0, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, parent_tid=[1246407], tls=0x7f867f930700, child_tidptr=0x7f867f9309d0) = 1246407
  135. futex(0x7f867f9309d0, FUTEX_WAIT, 1246407, NULLjava version "1.8.0_341"
  136. Java(TM) SE Runtime Environment (build 1.8.0_341-b10)
  137. Java HotSpot(TM) 64-Bit Server VM (build 25.341-b10, mixed mode)
  138. ) = 0
  139. exit_group(0) = ?
  140. +++ exited with 0 +++
  141.