Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save EricCousineau-TRI/b34775b317c404a9e12479d87193edb7 to your computer and use it in GitHub Desktop.

Select an option

Save EricCousineau-TRI/b34775b317c404a9e12479d87193edb7 to your computer and use it in GitHub Desktop.
+ use_cmake=1
++ dirname ./repro.sh
+ cd .
+ [[ 1 -eq 1 ]]
+ ./tmp/build_cmake.sh
++ dirname ./tmp/build_cmake.sh
+ cd ./tmp
+ bazel build --compiler=gcc-5 -c dbg @vtk//:vtk
Loading:
Loading: 0 packages loaded
INFO: Analysed target @vtk//:vtk (0 packages loaded).
INFO: Found 1 target...
[0 / 1] [-----] BazelWorkspaceStatusAction stable-status.txt
[1 / 1] no action
Target @vtk//:vtk up-to-date (nothing to build)
INFO: Elapsed time: 8.142s, Critical Path: 0.01s
INFO: Build completed successfully, 1 total action
++ cd ../bazel-drake/external/vtk
++ pwd
+ prefix_dir=<drake>/review/drake/bazel-drake/external/vtk
+ test -d <drake>/review/drake/bazel-drake/external/vtk
+ rm -rf build
+ mkdir build
+ cd build
+ ln -s .. tmp
+ cmake .. -DCMAKE_PREFIX_PATH=<drake>/review/drake/bazel-drake/external/vtk -DCMAKE_BUILD_TYPE=Debug
-- The C compiler identification is GNU 5.4.0
-- The CXX compiler identification is GNU 5.4.0
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/g++
-- Check for working CXX compiler: /usr/bin/g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring done
-- Generating done
-- Build files have been written to: <drake>/review/drake/tmp/build
+ make -j
Scanning dependencies of target rgbd_ospray_minimal
Scanning dependencies of target OSPRayPathTracer
[ 25%] Building CXX object CMakeFiles/OSPRayPathTracer.dir/OSPRayPathTracer.cxx.o
[ 50%] Building CXX object CMakeFiles/rgbd_ospray_minimal.dir/rgbd_ospray_minimal.cxx.o
[ 75%] Linking CXX executable OSPRayPathTracer
[100%] Linking CXX executable rgbd_ospray_minimal
[100%] Built target OSPRayPathTracer
[100%] Built target rgbd_ospray_minimal
+ bin=tmp/build/rgbd_ospray_minimal
++ sysctl kernel.core_pattern
+ [[ kernel.core_pattern = /tmp/core_dump != \k\e\r\n\e\l\.\c\o\r\e\_\p\a\t\t\e\r\n\ \=\ \/\t\m\p\/\c\o\r\e\_\d\u\m\p ]]
+ ulimit -c unlimited
+ check_crash NoBodyTest
+ arg=NoBodyTest
+ echo -e '\n\n\n[ NoBodyTest ]'
[ NoBodyTest ]
+ rm -f /tmp/core_dump
+ set +e
+ set -e
++ seq 300
+ for i in '$(seq 300)'
+ echo '[ 1 ]'
[ 1 ]
+ tmp/build/rgbd_ospray_minimal NoBodyTest
Done
+ for i in '$(seq 300)'
+ echo '[ 2 ]'
[ 2 ]
+ tmp/build/rgbd_ospray_minimal NoBodyTest
Done
+ for i in '$(seq 300)'
+ echo '[ 3 ]'
[ 3 ]
+ tmp/build/rgbd_ospray_minimal NoBodyTest
Done
+ for i in '$(seq 300)'
+ echo '[ 4 ]'
[ 4 ]
+ tmp/build/rgbd_ospray_minimal NoBodyTest
Done
+ for i in '$(seq 300)'
+ echo '[ 5 ]'
[ 5 ]
+ tmp/build/rgbd_ospray_minimal NoBodyTest
Done
+ for i in '$(seq 300)'
+ echo '[ 6 ]'
[ 6 ]
+ tmp/build/rgbd_ospray_minimal NoBodyTest
Done
+ for i in '$(seq 300)'
+ echo '[ 7 ]'
[ 7 ]
+ tmp/build/rgbd_ospray_minimal NoBodyTest
Done
+ for i in '$(seq 300)'
+ echo '[ 8 ]'
[ 8 ]
+ tmp/build/rgbd_ospray_minimal NoBodyTest
Done
+ for i in '$(seq 300)'
+ echo '[ 9 ]'
[ 9 ]
+ tmp/build/rgbd_ospray_minimal NoBodyTest
Done
+ for i in '$(seq 300)'
+ echo '[ 10 ]'
[ 10 ]
+ tmp/build/rgbd_ospray_minimal NoBodyTest
Done
+ for i in '$(seq 300)'
+ echo '[ 11 ]'
[ 11 ]
+ tmp/build/rgbd_ospray_minimal NoBodyTest
Done
+ for i in '$(seq 300)'
+ echo '[ 12 ]'
[ 12 ]
+ tmp/build/rgbd_ospray_minimal NoBodyTest
Done
+ for i in '$(seq 300)'
+ echo '[ 13 ]'
[ 13 ]
+ tmp/build/rgbd_ospray_minimal NoBodyTest
Done
+ for i in '$(seq 300)'
+ echo '[ 14 ]'
[ 14 ]
+ tmp/build/rgbd_ospray_minimal NoBodyTest
Done
+ for i in '$(seq 300)'
+ echo '[ 15 ]'
[ 15 ]
+ tmp/build/rgbd_ospray_minimal NoBodyTest
Done
+ for i in '$(seq 300)'
+ echo '[ 16 ]'
[ 16 ]
+ tmp/build/rgbd_ospray_minimal NoBodyTest
./repro.sh: line 32: 46312 Segmentation fault (core dumped) ${bin} ${arg}
+ set -e
+ gdb -ex bt -ex q tmp/build/rgbd_ospray_minimal /tmp/core_dump
GNU gdb (Ubuntu 7.11.1-0ubuntu1~16.5) 7.11.1
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Invoked "set sysroot" to enable debugging locally
Registered GDB printers for Drake
Reading symbols from tmp/build/rgbd_ospray_minimal...done.
warning: core file may not match specified executable file.
<threads>
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
warning: the debug information found in "/lib64/ld-2.23.so" does not match "/lib64/ld-linux-x86-64.so.2" (CRC mismatch).
Core was generated by `tmp/build/rgbd_ospray_minimal NoBodyTest'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x00007f54437195b5 in std::__atomic_base<int>::load (__m=std::memory_order_seq_cst, this=0xffc000003f800880) at /usr/include/c++/5/bits/atomic_base.h:396
396 return __atomic_load_n(&_M_i, __m);
[Current thread is 1 (Thread 0x7f543833e700 (LWP 46378))]
#0 0x00007f54437195b5 in std::__atomic_base<int>::load (__m=std::memory_order_seq_cst, this=0xffc000003f800880) at /usr/include/c++/5/bits/atomic_base.h:396
#1 std::__atomic_base<int>::operator int (this=0xffc000003f800880) at /usr/include/c++/5/bits/atomic_base.h:259
#2 0x00007f5443719107 in ospcommon::tasking::detail::TaskSys::getNextActiveTask (this=0x7f544393ff40 <ospcommon::tasking::detail::TaskSys::global>)
at <proj>/vtk_ospray_build/ospray/components/ospcommon/tasking/detail/TaskSys.cpp:165
#3 0x00007f5443718f9f in ospcommon::tasking::detail::TaskSys::createWorkerThreads(int)::{lambda()#1}::operator()() const (__closure=0x1ade7a8)
at <proj>/vtk_ospray_build/ospray/components/ospcommon/tasking/detail/TaskSys.cpp:142
#4 0x00007f544371b2aa in std::_Bind_simple<ospcommon::tasking::detail::TaskSys::createWorkerThreads(int)::{lambda()#1} ()>::_M_invoke<>(std::_Index_tuple<>) (this=0x1ade7a8)
at /usr/include/c++/5/functional:1531
#5 0x00007f544371b200 in std::_Bind_simple<ospcommon::tasking::detail::TaskSys::createWorkerThreads(int)::{lambda()#1} ()>::operator()() (this=0x1ade7a8)
at /usr/include/c++/5/functional:1520
#6 0x00007f544371b190 in std::thread::_Impl<std::_Bind_simple<ospcommon::tasking::detail::TaskSys::createWorkerThreads(int)::{lambda()#1} ()> >::_M_run() (this=0x1ade790)
at /usr/include/c++/5/thread:115
#7 0x00007f544a4dec80 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#8 0x00007f544dbdc6ba in start_thread (arg=0x7f543833e700) at pthread_create.c:333
#9 0x00007f5449f4d41d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109
+ check_crash MeshTest
+ arg=MeshTest
+ echo -e '\n\n\n[ MeshTest ]'
[ MeshTest ]
+ rm -f /tmp/core_dump
+ set +e
+ set -e
++ seq 300
+ for i in '$(seq 300)'
+ echo '[ 1 ]'
[ 1 ]
+ tmp/build/rgbd_ospray_minimal MeshTest
Done
+ for i in '$(seq 300)'
+ echo '[ 2 ]'
[ 2 ]
+ tmp/build/rgbd_ospray_minimal MeshTest
Done
+ for i in '$(seq 300)'
+ echo '[ 3 ]'
[ 3 ]
+ tmp/build/rgbd_ospray_minimal MeshTest
./repro.sh: line 32: 46745 Segmentation fault (core dumped) ${bin} ${arg}
+ set -e
+ gdb -ex bt -ex q tmp/build/rgbd_ospray_minimal /tmp/core_dump
GNU gdb (Ubuntu 7.11.1-0ubuntu1~16.5) 7.11.1
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Invoked "set sysroot" to enable debugging locally
Registered GDB printers for Drake
Reading symbols from tmp/build/rgbd_ospray_minimal...done.
warning: core file may not match specified executable file.
<threads>
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
warning: the debug information found in "/lib64/ld-2.23.so" does not match "/lib64/ld-linux-x86-64.so.2" (CRC mismatch).
Core was generated by `tmp/build/rgbd_ospray_minimal MeshTest'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x00007ffc5231fac0 in ?? ()
[Current thread is 1 (Thread 0x7fe94690f7c0 (LWP 46745))]
#0 0x00007ffc5231fac0 in ?? ()
#1 0x00007fe943259e45 in vtkCollection::AddItem (this=0x7ffc5231fa70, a=0x2566200) at <proj>/vtk_ospray_build/vtk/Common/Core/vtkCollection.cxx:102
#2 0x00007fe944674d25 in vtkPropCollection::AddItem (this=0x7ffc5231fa70, a=0x2566200)
at <proj>/vtk_ospray_build/vtk/Rendering/Core/vtkPropCollection.h:87
#3 0x00007fe94467d175 in vtkActor::GetActors (this=0x2566200, ac=0x2a35db0) at <proj>/vtk_ospray_build/vtk/Rendering/Core/vtkActor.cxx:106
#4 0x00007fe94650531c in vtkOSPRayCameraNode::Render (this=0x2a354d0, prepass=true)
at <proj>/vtk_ospray_build/vtk/Rendering/OSPRay/vtkOSPRayCameraNode.cxx:105
#5 0x00007fe9422fa6bb in vtkViewNode::Apply (this=0x2a354d0, operation=3, prepass=true)
at <proj>/vtk_ospray_build/vtk/Rendering/SceneGraph/vtkViewNode.cxx:255
#6 0x00007fe9422fa2af in vtkViewNode::Traverse (this=0x2a354d0, operation=3) at <proj>/vtk_ospray_build/vtk/Rendering/SceneGraph/vtkViewNode.cxx:185
#7 0x00007fe94653ca2b in vtkOSPRayRendererNode::Traverse (this=0x2a34d20, operation=3)
at <proj>/vtk_ospray_build/vtk/Rendering/OSPRay/vtkOSPRayRendererNode.cxx:750
#8 0x00007fe9422fa286 in vtkViewNode::TraverseAllPasses (this=0x2a34d20) at <proj>/vtk_ospray_build/vtk/Rendering/SceneGraph/vtkViewNode.cxx:179
#9 0x00007fe946526cdf in vtkOSPRayPass::RenderInternal (this=0x24222f0, s=0x7ffc52320190)
at <proj>/vtk_ospray_build/vtk/Rendering/OSPRay/vtkOSPRayPass.cxx:202
#10 0x00007fe9465277b0 in vtkOSPRayPassInternals::Render (this=0x23bb5d0, s=0x7ffc52320190)
at <proj>/vtk_ospray_build/vtk/Rendering/OSPRay/vtkOSPRayPass.cxx:53
#11 0x00007fe9456b5db3 in vtkSequencePass::Render (this=0x23bb6b0, s=0x7ffc52320190)
at <proj>/vtk_osp+ use_cmake=1
++ dirname ./repro.sh
+ cd .
+ [[ 1 -eq 1 ]]
+ ./tmp/build_cmake.sh
++ dirname ./tmp/build_cmake.sh
+ cd ./tmp
+ bazel build --compiler=gcc-5 -c dbg @vtk//:vtk
Loading:
Loading: 0 packages loaded
INFO: Analysed target @vtk//:vtk (0 packages loaded).
INFO: Found 1 target...
[0 / 1] [-----] BazelWorkspaceStatusAction stable-status.txt
[1 / 1] no action
Target @vtk//:vtk up-to-date (nothing to build)
INFO: Elapsed time: 8.142s, Critical Path: 0.01s
INFO: Build completed successfully, 1 total action
++ cd ../bazel-drake/external/vtk
++ pwd
+ prefix_dir=<drake>/review/drake/bazel-drake/external/vtk
+ test -d <drake>/review/drake/bazel-drake/external/vtk
+ rm -rf build
+ mkdir build
+ cd build
+ ln -s .. tmp
+ cmake .. -DCMAKE_PREFIX_PATH=<drake>/review/drake/bazel-drake/external/vtk -DCMAKE_BUILD_TYPE=Debug
-- The C compiler identification is GNU 5.4.0
-- The CXX compiler identification is GNU 5.4.0
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/g++
-- Check for working CXX compiler: /usr/bin/g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring done
-- Generating done
-- Build files have been written to: <drake>/review/drake/tmp/build
+ make -j
Scanning dependencies of target rgbd_ospray_minimal
Scanning dependencies of target OSPRayPathTracer
[ 25%] Building CXX object CMakeFiles/OSPRayPathTracer.dir/OSPRayPathTracer.cxx.o
[ 50%] Building CXX object CMakeFiles/rgbd_ospray_minimal.dir/rgbd_ospray_minimal.cxx.o
[ 75%] Linking CXX executable OSPRayPathTracer
[100%] Linking CXX executable rgbd_ospray_minimal
[100%] Built target OSPRayPathTracer
[100%] Built target rgbd_ospray_minimal
+ bin=tmp/build/rgbd_ospray_minimal
++ sysctl kernel.core_pattern
+ [[ kernel.core_pattern = /tmp/core_dump != \k\e\r\n\e\l\.\c\o\r\e\_\p\a\t\t\e\r\n\ \=\ \/\t\m\p\/\c\o\r\e\_\d\u\m\p ]]
+ ulimit -c unlimited
+ check_crash NoBodyTest
+ arg=NoBodyTest
+ echo -e '\n\n\n[ NoBodyTest ]'
[ NoBodyTest ]
+ rm -f /tmp/core_dump
+ set +e
+ set -e
++ seq 300
+ for i in '$(seq 300)'
+ echo '[ 1 ]'
[ 1 ]
+ tmp/build/rgbd_ospray_minimal NoBodyTest
Done
+ for i in '$(seq 300)'
+ echo '[ 2 ]'
[ 2 ]
+ tmp/build/rgbd_ospray_minimal NoBodyTest
Done
+ for i in '$(seq 300)'
+ echo '[ 3 ]'
[ 3 ]
+ tmp/build/rgbd_ospray_minimal NoBodyTest
Done
+ for i in '$(seq 300)'
+ echo '[ 4 ]'
[ 4 ]
+ tmp/build/rgbd_ospray_minimal NoBodyTest
Done
+ for i in '$(seq 300)'
+ echo '[ 5 ]'
[ 5 ]
+ tmp/build/rgbd_ospray_minimal NoBodyTest
Done
+ for i in '$(seq 300)'
+ echo '[ 6 ]'
[ 6 ]
+ tmp/build/rgbd_ospray_minimal NoBodyTest
Done
+ for i in '$(seq 300)'
+ echo '[ 7 ]'
[ 7 ]
+ tmp/build/rgbd_ospray_minimal NoBodyTest
Done
+ for i in '$(seq 300)'
+ echo '[ 8 ]'
[ 8 ]
+ tmp/build/rgbd_ospray_minimal NoBodyTest
Done
+ for i in '$(seq 300)'
+ echo '[ 9 ]'
[ 9 ]
+ tmp/build/rgbd_ospray_minimal NoBodyTest
Done
+ for i in '$(seq 300)'
+ echo '[ 10 ]'
[ 10 ]
+ tmp/build/rgbd_ospray_minimal NoBodyTest
Done
+ for i in '$(seq 300)'
+ echo '[ 11 ]'
[ 11 ]
+ tmp/build/rgbd_ospray_minimal NoBodyTest
Done
+ for i in '$(seq 300)'
+ echo '[ 12 ]'
[ 12 ]
+ tmp/build/rgbd_ospray_minimal NoBodyTest
Done
+ for i in '$(seq 300)'
+ echo '[ 13 ]'
[ 13 ]
+ tmp/build/rgbd_ospray_minimal NoBodyTest
Done
+ for i in '$(seq 300)'
+ echo '[ 14 ]'
[ 14 ]
+ tmp/build/rgbd_ospray_minimal NoBodyTest
Done
+ for i in '$(seq 300)'
+ echo '[ 15 ]'
[ 15 ]
+ tmp/build/rgbd_ospray_minimal NoBodyTest
Done
+ for i in '$(seq 300)'
+ echo '[ 16 ]'
[ 16 ]
+ tmp/build/rgbd_ospray_minimal NoBodyTest
./repro.sh: line 32: 46312 Segmentation fault (core dumped) ${bin} ${arg}
+ set -e
+ gdb -ex bt -ex q tmp/build/rgbd_ospray_minimal /tmp/core_dump
GNU gdb (Ubuntu 7.11.1-0ubuntu1~16.5) 7.11.1
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Invoked "set sysroot" to enable debugging locally
Registered GDB printers for Drake
Reading symbols from tmp/build/rgbd_ospray_minimal...done.
warning: core file may not match specified executable file.
<threads>
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
warning: the debug information found in "/lib64/ld-2.23.so" does not match "/lib64/ld-linux-x86-64.so.2" (CRC mismatch).
Core was generated by `tmp/build/rgbd_ospray_minimal NoBodyTest'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x00007f54437195b5 in std::__atomic_base<int>::load (__m=std::memory_order_seq_cst, this=0xffc000003f800880) at /usr/include/c++/5/bits/atomic_base.h:396
396 return __atomic_load_n(&_M_i, __m);
[Current thread is 1 (Thread 0x7f543833e700 (LWP 46378))]
#0 0x00007f54437195b5 in std::__atomic_base<int>::load (__m=std::memory_order_seq_cst, this=0xffc000003f800880) at /usr/include/c++/5/bits/atomic_base.h:396
#1 std::__atomic_base<int>::operator int (this=0xffc000003f800880) at /usr/include/c++/5/bits/atomic_base.h:259
#2 0x00007f5443719107 in ospcommon::tasking::detail::TaskSys::getNextActiveTask (this=0x7f544393ff40 <ospcommon::tasking::detail::TaskSys::global>)
at <proj>/vtk_ospray_build/ospray/components/ospcommon/tasking/detail/TaskSys.cpp:165
#3 0x00007f5443718f9f in ospcommon::tasking::detail::TaskSys::createWorkerThreads(int)::{lambda()#1}::operator()() const (__closure=0x1ade7a8)
at <proj>/vtk_ospray_build/ospray/components/ospcommon/tasking/detail/TaskSys.cpp:142
#4 0x00007f544371b2aa in std::_Bind_simple<ospcommon::tasking::detail::TaskSys::createWorkerThreads(int)::{lambda()#1} ()>::_M_invoke<>(std::_Index_tuple<>) (this=0x1ade7a8)
at /usr/include/c++/5/functional:1531
#5 0x00007f544371b200 in std::_Bind_simple<ospcommon::tasking::detail::TaskSys::createWorkerThreads(int)::{lambda()#1} ()>::operator()() (this=0x1ade7a8)
at /usr/include/c++/5/functional:1520
#6 0x00007f544371b190 in std::thread::_Impl<std::_Bind_simple<ospcommon::tasking::detail::TaskSys::createWorkerThreads(int)::{lambda()#1} ()> >::_M_run() (this=0x1ade790)
at /usr/include/c++/5/thread:115
#7 0x00007f544a4dec80 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#8 0x00007f544dbdc6ba in start_thread (arg=0x7f543833e700) at pthread_create.c:333
#9 0x00007f5449f4d41d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109
+ check_crash MeshTest
+ arg=MeshTest
+ echo -e '\n\n\n[ MeshTest ]'
[ MeshTest ]
+ rm -f /tmp/core_dump
+ set +e
+ set -e
++ seq 300
+ for i in '$(seq 300)'
+ echo '[ 1 ]'
[ 1 ]
+ tmp/build/rgbd_ospray_minimal MeshTest
Done
+ for i in '$(seq 300)'
+ echo '[ 2 ]'
[ 2 ]
+ tmp/build/rgbd_ospray_minimal MeshTest
Done
+ for i in '$(seq 300)'
+ echo '[ 3 ]'
[ 3 ]
+ tmp/build/rgbd_ospray_minimal MeshTest
./repro.sh: line 32: 46745 Segmentation fault (core dumped) ${bin} ${arg}
+ set -e
+ gdb -ex bt -ex q tmp/build/rgbd_ospray_minimal /tmp/core_dump
GNU gdb (Ubuntu 7.11.1-0ubuntu1~16.5) 7.11.1
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Invoked "set sysroot" to enable debugging locally
Registered GDB printers for Drake
Reading symbols from tmp/build/rgbd_ospray_minimal...done.
warning: core file may not match specified executable file.
<threads>
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
warning: the debug information found in "/lib64/ld-2.23.so" does not match "/lib64/ld-linux-x86-64.so.2" (CRC mismatch).
Core was generated by `tmp/build/rgbd_ospray_minimal MeshTest'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x00007ffc5231fac0 in ?? ()
[Current thread is 1 (Thread 0x7fe94690f7c0 (LWP 46745))]
#0 0x00007ffc5231fac0 in ?? ()
#1 0x00007fe943259e45 in vtkCollection::AddItem (this=0x7ffc5231fa70, a=0x2566200) at <proj>/vtk_ospray_build/vtk/Common/Core/vtkCollection.cxx:102
#2 0x00007fe944674d25 in vtkPropCollection::AddItem (this=0x7ffc5231fa70, a=0x2566200)
at <proj>/vtk_ospray_build/vtk/Rendering/Core/vtkPropCollection.h:87
#3 0x00007fe94467d175 in vtkActor::GetActors (this=0x2566200, ac=0x2a35db0) at <proj>/vtk_ospray_build/vtk/Rendering/Core/vtkActor.cxx:106
#4 0x00007fe94650531c in vtkOSPRayCameraNode::Render (this=0x2a354d0, prepass=true)
at <proj>/vtk_ospray_build/vtk/Rendering/OSPRay/vtkOSPRayCameraNode.cxx:105
#5 0x00007fe9422fa6bb in vtkViewNode::Apply (this=0x2a354d0, operation=3, prepass=true)
at <proj>/vtk_ospray_build/vtk/Rendering/SceneGraph/vtkViewNode.cxx:255
#6 0x00007fe9422fa2af in vtkViewNode::Traverse (this=0x2a354d0, operation=3) at <proj>/vtk_ospray_build/vtk/Rendering/SceneGraph/vtkViewNode.cxx:185
#7 0x00007fe94653ca2b in vtkOSPRayRendererNode::Traverse (this=0x2a34d20, operation=3)
at <proj>/vtk_ospray_build/vtk/Rendering/OSPRay/vtkOSPRayRendererNode.cxx:750
#8 0x00007fe9422fa286 in vtkViewNode::TraverseAllPasses (this=0x2a34d20) at <proj>/vtk_ospray_build/vtk/Rendering/SceneGraph/vtkViewNode.cxx:179
#9 0x00007fe946526cdf in vtkOSPRayPass::RenderInternal (this=0x24222f0, s=0x7ffc52320190)
at <proj>/vtk_ospray_build/vtk/Rendering/OSPRay/vtkOSPRayPass.cxx:202
#10 0x00007fe9465277b0 in vtkOSPRayPassInternals::Render (this=0x23bb5d0, s=0x7ffc52320190)
at <proj>/vtk_ospray_build/vtk/Rendering/OSPRay/vtkOSPRayPass.cxx:53
#11 0x00007fe9456b5db3 in vtkSequencePass::Render (this=0x23bb6b0, s=0x7ffc52320190)
at <proj>/vtk_ospray_build/vtk/Rendering/OpenGL2/vtkSequencePass.cxx:70
#12 0x00007fe94556116e in vtkCameraPass::Render (this=0x23bb620, s=0x7ffc52320190)
at <proj>/vtk_ospray_build/vtk/Rendering/OpenGL2/vtkCameraPass.cxx:226
#13 0x00007fe946526c7d in vtkOSPRayPass::Render (this=0x24222f0, s=0x7ffc52320190) at <proj>/vtk_ospray_build/vtk/Rendering/OSPRay/vtkOSPRayPass.cxx:192
#14 0x00007fe94565863c in vtkOpenGLRenderer::DeviceRender (this=0x241f950) at <proj>/vtk_ospray_build/vtk/Rendering/OpenGL2/vtkOpenGLRenderer.cxx:156
#15 0x00007fe9447a806b in vtkRenderer::Render (this=0x241f950) at <proj>/vtk_ospray_build/vtk/Rendering/Core/vtkRenderer.cxx:351
#16 0x00007fe9447a5878 in vtkRendererCollection::Render (this=0x2420e20) at <proj>/vtk_ospray_build/vtk/Rendering/Core/vtkRendererCollection.cxx:51
#17 0x00007fe9447c4555 in vtkRenderWindow::DoStereoRender (this=0x241fc80) at <proj>/vtk_ospray_build/vtk/Rendering/Core/vtkRenderWindow.cxx:789
#18 0x00007fe9447c4430 in vtkRenderWindow::DoFDRender (this=0x241fc80) at <proj>/vtk_ospray_build/vtk/Rendering/Core/vtkRenderWindow.cxx:758
#19 0x00007fe9447c3dcc in vtkRenderWindow::DoAARender (this=0x241fc80) at <proj>/vtk_ospray_build/vtk/Rendering/Core/vtkRenderWindow.cxx:637
#20 0x00007fe9447c3289 in vtkRenderWindow::Render (this=0x241fc80) at <proj>/vtk_ospray_build/vtk/Rendering/Core/vtkRenderWindow.cxx:450
#21 0x00007fe945708cdc in vtkXOpenGLRenderWindow::Render (this=0x241fc80)
at <proj>/vtk_ospray_build/vtk/Rendering/OpenGL2/vtkXOpenGLRenderWindow.cxx:1571
#22 0x00000000004058ba in tmp::RgbdRendererOSPRay::RenderColorImage (this=0x241e9c0, color_image_out=0x7ffc52320b50)
at <drake>/review/drake/tmp/rgbd_ospray_minimal.cxx:164
#23 0x000000000040485a in tmp::MeshTest () at <drake>/review/drake/tmp/rgbd_ospray_minimal.cxx:254
#24 0x00000000004049af in main (argc=2, argv=0x7ffc52320ce8) at <drake>/review/drake/tmp/rgbd_ospray_minimal.cxx:265
ray_build/vtk/Rendering/OpenGL2/vtkSequencePass.cxx:70
#12 0x00007fe94556116e in vtkCameraPass::Render (this=0x23bb620, s=0x7ffc52320190)
at <proj>/vtk_ospray_build/vtk/Rendering/OpenGL2/vtkCameraPass.cxx:226
#13 0x00007fe946526c7d in vtkOSPRayPass::Render (this=0x24222f0, s=0x7ffc52320190) at <proj>/vtk_ospray_build/vtk/Rendering/OSPRay/vtkOSPRayPass.cxx:192
#14 0x00007fe94565863c in vtkOpenGLRenderer::DeviceRender (this=0x241f950) at <proj>/vtk_ospray_build/vtk/Rendering/OpenGL2/vtkOpenGLRenderer.cxx:156
#15 0x00007fe9447a806b in vtkRenderer::Render (this=0x241f950) at <proj>/vtk_ospray_build/vtk/Rendering/Core/vtkRenderer.cxx:351
#16 0x00007fe9447a5878 in vtkRendererCollection::Render (this=0x2420e20) at <proj>/vtk_ospray_build/vtk/Rendering/Core/vtkRendererCollection.cxx:51
#17 0x00007fe9447c4555 in vtkRenderWindow::DoStereoRender (this=0x241fc80) at <proj>/vtk_ospray_build/vtk/Rendering/Core/vtkRenderWindow.cxx:789
#18 0x00007fe9447c4430 in vtkRenderWindow::DoFDRender (this=0x241fc80) at <proj>/vtk_ospray_build/vtk/Rendering/Core/vtkRenderWindow.cxx:758
#19 0x00007fe9447c3dcc in vtkRenderWindow::DoAARender (this=0x241fc80) at <proj>/vtk_ospray_build/vtk/Rendering/Core/vtkRenderWindow.cxx:637
#20 0x00007fe9447c3289 in vtkRenderWindow::Render (this=0x241fc80) at <proj>/vtk_ospray_build/vtk/Rendering/Core/vtkRenderWindow.cxx:450
#21 0x00007fe945708cdc in vtkXOpenGLRenderWindow::Render (this=0x241fc80)
at <proj>/vtk_ospray_build/vtk/Rendering/OpenGL2/vtkXOpenGLRenderWindow.cxx:1571
#22 0x00000000004058ba in tmp::RgbdRendererOSPRay::RenderColorImage (this=0x241e9c0, color_image_out=0x7ffc52320b50)
at <drake>/review/drake/tmp/rgbd_ospray_minimal.cxx:164
#23 0x000000000040485a in tmp::MeshTest () at <drake>/review/drake/tmp/rgbd_ospray_minimal.cxx:254
#24 0x00000000004049af in main (argc=2, argv=0x7ffc52320ce8) at <drake>/review/drake/tmp/rgbd_ospray_minimal.cxx:265
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment