phylanx icon indicating copy to clipboard operation
phylanx copied to clipboard

tests.unit.primatives.broadcast test fails on release, relwithdebinfo builds

Open khuck opened this issue 6 years ago • 0 comments

Here's the backtrace from gdb:

[Switching to Thread 0x7fffe6da8700 (LWP 51454)]
Catchpoint 1 (exception thrown), __cxxabiv1::__cxa_throw (obj=obj@entry=0x11da740, 
    tinfo=0x7ffff38bfa48 <typeinfo for std::invalid_argument>, 
    dest=0x7ffff35ef200 <std::invalid_argument::~invalid_argument()>)
    at ../../../../gcc-7.1.0/libstdc++-v3/libsupc++/eh_throw.cc:75
75	../../../../gcc-7.1.0/libstdc++-v3/libsupc++/eh_throw.cc: No such file or directory.
Missing separate debuginfos, use: debuginfo-install blas-3.4.2-8.el7.x86_64 hwloc-libs-1.11.8-4.el7.x86_64 infinipath-psm-3.3-26_g604758e_open.2.el7.x86_64 lapack-3.4.2-8.el7.x86_64 libfabric-1.6.1-2.el7.x86_64 libgfortran-4.8.5-36.el7.x86_64 libibverbs-17.2-3.el7.x86_64 libicu-50.1.2-17.el7.x86_64 libnl3-3.2.28-4.el7.x86_64 libpsm2-10.3.58-1.el7.x86_64 librdmacm-17.2-3.el7.x86_64 libtool-ltdl-2.4.2-22.el7_3.x86_64 libuuid-2.23.2-59.el7.x86_64 numactl-libs-2.0.9-7.el7.x86_64
(gdb) bt
#0  __cxxabiv1::__cxa_throw (obj=obj@entry=0x11da740, 
    tinfo=0x7ffff38bfa48 <typeinfo for std::invalid_argument>, 
    dest=0x7ffff35ef200 <std::invalid_argument::~invalid_argument()>)
    at ../../../../gcc-7.1.0/libstdc++-v3/libsupc++/eh_throw.cc:75
#1  0x00007ffff795f1ba in Column<unsigned long> (matrix=..., this=<optimized out>)
    at /var/lib/buildbot/slaves/phylanx/x86_64-gcc7-relwithdebinfo/build/tools/buildbot/src/blaze-head/blaze/math/views/column/Dense.h:2792
#2  column<blaze::PageSlice<blaze::CustomTensor<double, true, true, blaze::DynamicTensor<double> > >, false>
    (index=<optimized out>, matrix=<optimized out>)
    at /var/lib/buildbot/slaves/phylanx/x86_64-gcc7-relwithdebinfo/build/tools/buildbot/src/blaze-head/blaze/math/views/Column.h:341
#3  phylanx::execution_tree::extract_value_tensor<double>(phylanx::ir::node_data<double>::storage3d_type&, phylanx::ir::node_data<double>&&, unsigned long, unsigned long, unsigned long, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) (result=..., 
    rhs=rhs@entry=<unknown type in /var/lib/buildbot/slaves/phylanx/x86_64-gcc7-relwithdebinfo/build/tools/buildbot/build-delphi-x86_64-Linux-gcc/phylanx-RelWithDebInfo/lib/libhpx_phylanx.so.0, CU 0x404a3ee, DIE 0x44d86dc>, pages=pages@entry=16, rows=rows@entry=16, columns=columns@entry=16, name=..., codename=...)
    at /var/lib/buildbot/slaves/phylanx/x86_64-gcc7-relwithdebinfo/build/src/execution_tree/primitives/node_data_helpers3d.cpp:185
#4  0x00007ffff795f520 in phylanx::execution_tree::extract_value_tensor<double>(phylanx::ir::node_data<double>&&, unsigned long, unsigned long, unsigned long, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) (
    arg=arg@entry=<unknown type in /var/lib/buildbot/slaves/phylanx/x86_64-gcc7-relwithdebinfo/build/tools/buildbot/build-delphi-x86_64-Linux-gcc/phylanx-RelWithDebInfo/lib/libhpx_phylanx.so.0, CU 0x404a3ee, DIE 0x44e23ae>, pages=pages@entry=16, rows=rows@entry=16, columns=columns@entry=16, name=..., codename=...)
    at /var/lib/buildbot/slaves/phylanx/x86_64-gcc7-relwithdebinfo/build/src/execution_tree/primitives/node_data_helpers3d.cpp:253
#5  0x00007ffff795f673 in phylanx::execution_tree::extract_value_tensor<double>(phylanx::execution_tree::primitive_argument_type&&, unsigned long, unsigned long, unsigned long, std::__cxx11::basic_string<char, std::char_---Type <return> to continue, or q <return> to quit---
traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) (
    val=val@entry=<unknown type in /var/lib/buildbot/slaves/phylanx/x86_64-gcc7-relwithdebinfo/build/tools/buildbot/build-delphi-x86_64-Linux-gcc/phylanx-RelWithDebInfo/lib/libhpx_phylanx.so.0, CU 0x404a3ee, DIE 0x44f563e>, pages=pages@entry=16, rows=rows@entry=16, columns=columns@entry=16, name=..., codename=...)
    at /var/lib/buildbot/slaves/phylanx/x86_64-gcc7-relwithdebinfo/build/src/execution_tree/primitives/node_data_helpers3d.cpp:275
#6  0x000000000040f908 in test_broadcast_to_tensor ()
    at /var/lib/buildbot/slaves/phylanx/x86_64-gcc7-relwithdebinfo/build/tests/unit/execution_tree/primitives/broadcast.cpp:290
#7  0x00000000004098a8 in main (argc=<optimized out>, argv=<optimized out>)
    at /var/lib/buildbot/slaves/phylanx/x86_64-gcc7-relwithdebinfo/build/tests/unit/execution_tree/primitives/broadcast.cpp:402
(gdb) list
2787	   : DataType( args... )  // Base class initialization
2788	   , matrix_ ( matrix  )  // The matrix containing the column
2789	{
2790	   if( !Contains_v< TypeList<RCAs...>, Unchecked > ) {
2791	      if( matrix_.columns() <= column() ) {
2792	         BLAZE_THROW_INVALID_ARGUMENT( "Invalid column access index" );
2793	      }
2794	   }
2795	   else {
2796	      BLAZE_USER_ASSERT( column() < matrix_.columns(), "Invalid column access index" );

khuck avatar Feb 25 '19 22:02 khuck