Skip to content

Commit

Permalink
does *not* fail for torch==1.5.1
Browse files Browse the repository at this point in the history
  • Loading branch information
EricCousineau-TRI committed Jul 18, 2020
1 parent 86e3cee commit 9732ec0
Show file tree
Hide file tree
Showing 5 changed files with 47 additions and 35 deletions.
2 changes: 1 addition & 1 deletion tmp/repro.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ cd $(dirname $0)

if [[ ! -d ./venv ]]; then
python3 -m virtualenv -p python3 ./venv --system-site-packages
./venv/bin/pip install torch==1.4.0
./venv/bin/pip install torch==1.5.1
fi

python=${PWD}/venv/bin/python
Expand Down
37 changes: 20 additions & 17 deletions tmp/strace_first.raw.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,30 @@ openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libexpat.so.1", O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libz.so.1", O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libm.so.6", O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "${venv}/lib/python3.6/lib-dynload/_opcode.cpython-36m-x86_64-linux-gnu.so", O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "${venv}/lib/python3.6/lib-dynload/_ctypes.cpython-36m-x86_64-linux-gnu.so", O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "/usr/lib/x86_64-linux-gnu/libffi.so.6", O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "${venv}/lib/python3.6/site-packages/torch/lib/libtorch_global_deps.so", O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "${venv}/lib/python3.6/site-packages/torch/lib/libnvToolsExt-3965bdd0.so.1", O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "${venv}/lib/python3.6/site-packages/torch/lib/libcudart-<num>.so.10.2", O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "/lib/x86_64-linux-gnu/librt.so.1", O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "${venv}/lib/python3.6/site-packages/torch/lib/libgomp-7c85b1e2.so.1", O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "/usr/lib/x86_64-linux-gnu/libstdc++.so.6", O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libgcc_s.so.1", O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "${venv}/lib/python3.6/site-packages/torch/_C.cpython-36m-x86_64-linux-gnu.so", O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "${venv}/lib/python3.6/site-packages/torch/lib/libtorch_python.so", O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "${venv}/lib/python3.6/site-packages/torch/lib/libshm.so", O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "${venv}/lib/python3.6/site-packages/torch/lib/libtorch.so", O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "${venv}/lib/python3.6/site-packages/torch/lib/libtorch_cpu.so", O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "${venv}/lib/python3.6/site-packages/torch/lib/libtorch_cuda.so", O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "${venv}/lib/python3.6/site-packages/torch/lib/libc10_cuda.so", O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "${venv}/lib/python3.6/site-packages/torch/lib/libc10.so", O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "/usr/lib/python3/dist-packages/numpy/core/multiarray.cpython-36m-x86_64-linux-gnu.so", O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "/usr/lib/x86_64-linux-gnu/libblas.so.3", O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "/usr/lib/python3/dist-packages/numpy/core/umath.cpython-36m-x86_64-linux-gnu.so", O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "${venv}/lib/python3.6/lib-dynload/_ctypes.cpython-36m-x86_64-linux-gnu.so", O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "/usr/lib/x86_64-linux-gnu/libffi.so.6", O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "${venv}/lib/python3.6/lib-dynload/_bz2.cpython-36m-x86_64-linux-gnu.so", O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libbz2.so.1.0", O_RDONLY|O_CLOEXEC) = 3
Expand All @@ -36,24 +53,10 @@ openat(AT_FDCWD, "/usr/lib/python3/dist-packages/numpy/linalg/lapack_lite.cpytho
openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "/usr/lib/x86_64-linux-gnu/liblapack.so.3", O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "/usr/lib/x86_64-linux-gnu/libgfortran.so.4", O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libgcc_s.so.1", O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "/usr/lib/x86_64-linux-gnu/libquadmath.so.0", O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "/usr/lib/python3/dist-packages/numpy/linalg/_umath_linalg.cpython-36m-x86_64-linux-gnu.so", O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "/usr/lib/python3/dist-packages/numpy/fft/fftpack_lite.cpython-36m-x86_64-linux-gnu.so", O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "/usr/lib/python3/dist-packages/numpy/random/mtrand.cpython-36m-x86_64-linux-gnu.so", O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "${venv}/lib/python3.6/site-packages/torch/_C.cpython-36m-x86_64-linux-gnu.so", O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "${venv}/lib/python3.6/site-packages/torch/lib/libshm.so", O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "${venv}/lib/python3.6/site-packages/torch/lib/libtorch_python.so", O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "/usr/lib/x86_64-linux-gnu/libstdc++.so.6", O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "${venv}/lib/python3.6/site-packages/torch/lib/libtorch.so", O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "/lib/x86_64-linux-gnu/librt.so.1", O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "${venv}/lib/python3.6/site-packages/torch/lib/libc10_cuda.so", O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "${venv}/lib/python3.6/site-packages/torch/lib/libc10.so", O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "${venv}/lib/python3.6/site-packages/torch/lib/libnvToolsExt-3965bdd0.so.1", O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "${venv}/lib/python3.6/site-packages/torch/lib/libcudart-1b201d85.so.10.1", O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "${venv}/lib/python3.6/site-packages/torch/lib/libgomp-7c85b1e2.so.1", O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "${venv}/lib/python3.6/lib-dynload/_multiprocessing.cpython-36m-x86_64-linux-gnu.so", O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "${venv}/lib/python3.6/lib-dynload/_ssl.cpython-36m-x86_64-linux-gnu.so", O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
Expand Down
5 changes: 4 additions & 1 deletion tmp/strace_first.sorted.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,14 @@ openat(AT_FDCWD, "${venv}/lib/python3.6/lib-dynload/_ssl.cpython-36m-x86_64-linu
openat(AT_FDCWD, "${venv}/lib/python3.6/site-packages/torch/_C.cpython-36m-x86_64-linux-gnu.so", O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "${venv}/lib/python3.6/site-packages/torch/lib/libc10.so", O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "${venv}/lib/python3.6/site-packages/torch/lib/libc10_cuda.so", O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "${venv}/lib/python3.6/site-packages/torch/lib/libcudart-1b201d85.so.10.1", O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "${venv}/lib/python3.6/site-packages/torch/lib/libcudart-<num>.so.10.2", O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "${venv}/lib/python3.6/site-packages/torch/lib/libgomp-7c85b1e2.so.1", O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "${venv}/lib/python3.6/site-packages/torch/lib/libnvToolsExt-3965bdd0.so.1", O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "${venv}/lib/python3.6/site-packages/torch/lib/libshm.so", O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "${venv}/lib/python3.6/site-packages/torch/lib/libtorch.so", O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "${venv}/lib/python3.6/site-packages/torch/lib/libtorch_cpu.so", O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "${venv}/lib/python3.6/site-packages/torch/lib/libtorch_cuda.so", O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "${venv}/lib/python3.6/site-packages/torch/lib/libtorch_global_deps.so", O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "${venv}/lib/python3.6/site-packages/torch/lib/libtorch_python.so", O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
Expand Down
33 changes: 18 additions & 15 deletions tmp/strace_last.raw.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,28 @@ openat(AT_FDCWD, "/usr/lib/x86_64-linux-gnu/libstdc++.so.6", O_RDONLY|O_CLOEXEC)
openat(AT_FDCWD, "${bazel_bin}/tmp/repro_issue12073.runfiles/drake/tmp/../_solib_k8/_U_S_Stmp_Ccc_Uregex___Utmp/libcc_regex.so", O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "/usr/lib/x86_64-linux-gnu/libpython3.6m.so.1.0", O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libgcc_s.so.1", O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "${venv}/lib/python3.6/lib-dynload/_ctypes.cpython-36m-x86_64-linux-gnu.so", O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "/usr/lib/x86_64-linux-gnu/libffi.so.6", O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "${venv}/lib/python3.6/site-packages/torch/lib/libtorch_global_deps.so", O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "${venv}/lib/python3.6/site-packages/torch/lib/libnvToolsExt-3965bdd0.so.1", O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "${venv}/lib/python3.6/site-packages/torch/lib/libcudart-<num>.so.10.2", O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "/lib/x86_64-linux-gnu/librt.so.1", O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "${venv}/lib/python3.6/site-packages/torch/lib/libgomp-7c85b1e2.so.1", O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "${venv}/lib/python3.6/site-packages/torch/_C.cpython-36m-x86_64-linux-gnu.so", O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "${venv}/lib/python3.6/site-packages/torch/lib/libtorch_python.so", O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "${venv}/lib/python3.6/site-packages/torch/lib/libshm.so", O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "${venv}/lib/python3.6/site-packages/torch/lib/libtorch.so", O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "${venv}/lib/python3.6/site-packages/torch/lib/libtorch_cpu.so", O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "${venv}/lib/python3.6/site-packages/torch/lib/libtorch_cuda.so", O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "${venv}/lib/python3.6/site-packages/torch/lib/libc10_cuda.so", O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "${venv}/lib/python3.6/site-packages/torch/lib/libc10.so", O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "/usr/lib/python3/dist-packages/numpy/core/multiarray.cpython-36m-x86_64-linux-gnu.so", O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "/usr/lib/x86_64-linux-gnu/libblas.so.3", O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "/usr/lib/python3/dist-packages/numpy/core/umath.cpython-36m-x86_64-linux-gnu.so", O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "${venv}/lib/python3.6/lib-dynload/_ctypes.cpython-36m-x86_64-linux-gnu.so", O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "/usr/lib/x86_64-linux-gnu/libffi.so.6", O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "${venv}/lib/python3.6/lib-dynload/_bz2.cpython-36m-x86_64-linux-gnu.so", O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libbz2.so.1.0", O_RDONLY|O_CLOEXEC) = 3
Expand All @@ -46,18 +61,6 @@ openat(AT_FDCWD, "/usr/lib/x86_64-linux-gnu/libquadmath.so.0", O_RDONLY|O_CLOEXE
openat(AT_FDCWD, "/usr/lib/python3/dist-packages/numpy/linalg/_umath_linalg.cpython-36m-x86_64-linux-gnu.so", O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "/usr/lib/python3/dist-packages/numpy/fft/fftpack_lite.cpython-36m-x86_64-linux-gnu.so", O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "/usr/lib/python3/dist-packages/numpy/random/mtrand.cpython-36m-x86_64-linux-gnu.so", O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "${venv}/lib/python3.6/site-packages/torch/_C.cpython-36m-x86_64-linux-gnu.so", O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "${venv}/lib/python3.6/site-packages/torch/lib/libshm.so", O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "${venv}/lib/python3.6/site-packages/torch/lib/libtorch_python.so", O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "${venv}/lib/python3.6/site-packages/torch/lib/libtorch.so", O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "/lib/x86_64-linux-gnu/librt.so.1", O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "${venv}/lib/python3.6/site-packages/torch/lib/libc10_cuda.so", O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "${venv}/lib/python3.6/site-packages/torch/lib/libc10.so", O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "${venv}/lib/python3.6/site-packages/torch/lib/libnvToolsExt-3965bdd0.so.1", O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "${venv}/lib/python3.6/site-packages/torch/lib/libcudart-1b201d85.so.10.1", O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "${venv}/lib/python3.6/site-packages/torch/lib/libgomp-7c85b1e2.so.1", O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "${venv}/lib/python3.6/lib-dynload/_multiprocessing.cpython-36m-x86_64-linux-gnu.so", O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "${venv}/lib/python3.6/lib-dynload/_ssl.cpython-36m-x86_64-linux-gnu.so", O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
Expand Down
5 changes: 4 additions & 1 deletion tmp/strace_last.sorted.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,14 @@ openat(AT_FDCWD, "${venv}/lib/python3.6/lib-dynload/_ssl.cpython-36m-x86_64-linu
openat(AT_FDCWD, "${venv}/lib/python3.6/site-packages/torch/_C.cpython-36m-x86_64-linux-gnu.so", O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "${venv}/lib/python3.6/site-packages/torch/lib/libc10.so", O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "${venv}/lib/python3.6/site-packages/torch/lib/libc10_cuda.so", O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "${venv}/lib/python3.6/site-packages/torch/lib/libcudart-1b201d85.so.10.1", O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "${venv}/lib/python3.6/site-packages/torch/lib/libcudart-<num>.so.10.2", O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "${venv}/lib/python3.6/site-packages/torch/lib/libgomp-7c85b1e2.so.1", O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "${venv}/lib/python3.6/site-packages/torch/lib/libnvToolsExt-3965bdd0.so.1", O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "${venv}/lib/python3.6/site-packages/torch/lib/libshm.so", O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "${venv}/lib/python3.6/site-packages/torch/lib/libtorch.so", O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "${venv}/lib/python3.6/site-packages/torch/lib/libtorch_cpu.so", O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "${venv}/lib/python3.6/site-packages/torch/lib/libtorch_cuda.so", O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "${venv}/lib/python3.6/site-packages/torch/lib/libtorch_global_deps.so", O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "${venv}/lib/python3.6/site-packages/torch/lib/libtorch_python.so", O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
Expand Down

0 comments on commit 9732ec0

Please sign in to comment.