Advertisement
heisenbug

spmat_test_fails

Aug 13th, 2021
1,535
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CMake 13.04 KB | None | 0 0
  1. (base) [heisenbug@fedora build]$ bin/mlpack_test
  2. mlpack version: mlpack git-626bbc6d1
  3. armadillo version: 10.2.0 (Cicada Swarm)
  4.  
  5. warning: SpMat::load(): unsupported file type
  6.  
  7. warning: SpMat::load(): couldn't load from the given stream
  8. [FATAL] Loading from 'test_sparse_file.tsv' failed.
  9.  
  10. [FATAL] [bt]: (1) /home/heisenbug/mlpack/branches/mlpack/src/mlpack/core/data/load_impl.hpp:85 bool mlpack::data::Load<arma::SpMat<double> >(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, arma::SpMat<double>&, bool, bool, mlpack::data::FileType):
  11. [FATAL] [bt]: (2) /home/heisenbug/mlpack/branches/mlpack/src/mlpack/tests/catch.hpp:14316 Catch::TestInvokerAsFunction::invoke() const:
  12. [FATAL] [bt]: (3) /home/heisenbug/mlpack/branches/mlpack/src/mlpack/tests/catch.hpp:14155 Catch::TestCase::invoke() const:
  13. [FATAL] [bt]: (4) /home/heisenbug/mlpack/branches/mlpack/src/mlpack/tests/catch.hpp:13014 Catch::RunContext::invokeActiveTestCase():
  14. [FATAL] [bt]: (5) /home/heisenbug/mlpack/branches/mlpack/src/mlpack/tests/catch.hpp:12963 Catch::RunContext::runCurrentTest(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&):
  15. [FATAL] [bt]: (6) /home/heisenbug/mlpack/branches/mlpack/src/mlpack/tests/catch.hpp:12732 Catch::RunContext::runTest(Catch::TestCase const&):
  16. [FATAL] [bt]: (7) /home/heisenbug/mlpack/branches/mlpack/src/mlpack/tests/catch.hpp:13528 Catch::Session::runInternal():
  17. [FATAL] [bt]: (8) /home/heisenbug/mlpack/branches/mlpack/src/mlpack/tests/catch.hpp:13500 Catch::Session::run():
  18. [FATAL] [bt]: (9) /home/heisenbug/mlpack/branches/mlpack/src/mlpack/tests/catch.hpp:13222 int Catch::Session::run<char>(int, char const* const*):
  19. [FATAL] [bt]: (10) /home/heisenbug/mlpack/branches/mlpack/src/mlpack/tests/main.cpp:19 main:
  20.  
  21. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  22. mlpack_test is a Catch v2.13.6 host application.
  23. Run with -? for options
  24.  
  25. -------------------------------------------------------------------------------
  26. LoadSparseTSVTest
  27. -------------------------------------------------------------------------------
  28. /home/heisenbug/mlpack/branches/mlpack/src/mlpack/tests/load_save_test.cpp:130
  29. ...............................................................................
  30.  
  31. /home/heisenbug/mlpack/branches/mlpack/src/mlpack/tests/load_save_test.cpp:147: FAILED:
  32.   REQUIRE( data::Load( "test_sparse_file.tsv", test, true, false) == true )
  33. due to unexpected exception with message:
  34.   fatal error; see Log::Fatal output
  35.  
  36.  
  37. warning: SpMat::load(): unsupported file type
  38.  
  39. warning: SpMat::load(): couldn't load from the given stream
  40. [FATAL] Loading from 'test_sparse_file.txt' failed.
  41.  
  42. [FATAL] [bt]: (1) /home/heisenbug/mlpack/branches/mlpack/src/mlpack/core/data/load_impl.hpp:85 bool mlpack::data::Load<arma::SpMat<double> >(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, arma::SpMat<double>&, bool, bool, mlpack::data::FileType):
  43. [FATAL] [bt]: (2) /home/heisenbug/mlpack/branches/mlpack/src/mlpack/tests/catch.hpp:14316 Catch::TestInvokerAsFunction::invoke() const:
  44. [FATAL] [bt]: (3) /home/heisenbug/mlpack/branches/mlpack/src/mlpack/tests/catch.hpp:14155 Catch::TestCase::invoke() const:
  45. [FATAL] [bt]: (4) /home/heisenbug/mlpack/branches/mlpack/src/mlpack/tests/catch.hpp:13014 Catch::RunContext::invokeActiveTestCase():
  46. [FATAL] [bt]: (5) /home/heisenbug/mlpack/branches/mlpack/src/mlpack/tests/catch.hpp:12963 Catch::RunContext::runCurrentTest(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&):
  47. [FATAL] [bt]: (6) /home/heisenbug/mlpack/branches/mlpack/src/mlpack/tests/catch.hpp:12732 Catch::RunContext::runTest(Catch::TestCase const&):
  48. [FATAL] [bt]: (7) /home/heisenbug/mlpack/branches/mlpack/src/mlpack/tests/catch.hpp:13528 Catch::Session::runInternal():
  49. [FATAL] [bt]: (8) /home/heisenbug/mlpack/branches/mlpack/src/mlpack/tests/catch.hpp:13500 Catch::Session::run():
  50. [FATAL] [bt]: (9) /home/heisenbug/mlpack/branches/mlpack/src/mlpack/tests/catch.hpp:13222 int Catch::Session::run<char>(int, char const* const*):
  51. [FATAL] [bt]: (10) /home/heisenbug/mlpack/branches/mlpack/src/mlpack/tests/main.cpp:19 main:
  52. -------------------------------------------------------------------------------
  53. LoadSparseTXTTest
  54. -------------------------------------------------------------------------------
  55. /home/heisenbug/mlpack/branches/mlpack/src/mlpack/tests/load_save_test.cpp:170
  56. ...............................................................................
  57.  
  58. /home/heisenbug/mlpack/branches/mlpack/src/mlpack/tests/load_save_test.cpp:187: FAILED:
  59.   REQUIRE( data::Load("test_sparse_file.txt", test, true, false) == true )
  60. due to unexpected exception with message:
  61.   fatal error; see Log::Fatal output
  62.  
  63.  
  64. warning: SpMat::load(): unsupported file type
  65.  
  66. warning: SpMat::load(): couldn't load from the given stream
  67. [FATAL] Loading from 'test_sparse_file.tsv' failed.
  68.  
  69. [FATAL] [bt]: (1) /home/heisenbug/mlpack/branches/mlpack/src/mlpack/core/data/load_impl.hpp:85 bool mlpack::data::Load<arma::SpMat<double> >(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, arma::SpMat<double>&, bool, bool, mlpack::data::FileType):
  70. [FATAL] [bt]: (2) /home/heisenbug/mlpack/branches/mlpack/src/mlpack/tests/catch.hpp:14316 Catch::TestInvokerAsFunction::invoke() const:
  71. [FATAL] [bt]: (3) /home/heisenbug/mlpack/branches/mlpack/src/mlpack/tests/catch.hpp:14155 Catch::TestCase::invoke() const:
  72. [FATAL] [bt]: (4) /home/heisenbug/mlpack/branches/mlpack/src/mlpack/tests/catch.hpp:13014 Catch::RunContext::invokeActiveTestCase():
  73. [FATAL] [bt]: (5) /home/heisenbug/mlpack/branches/mlpack/src/mlpack/tests/catch.hpp:12963 Catch::RunContext::runCurrentTest(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&):
  74. [FATAL] [bt]: (6) /home/heisenbug/mlpack/branches/mlpack/src/mlpack/tests/catch.hpp:12732 Catch::RunContext::runTest(Catch::TestCase const&):
  75. [FATAL] [bt]: (7) /home/heisenbug/mlpack/branches/mlpack/src/mlpack/tests/catch.hpp:13528 Catch::Session::runInternal():
  76. [FATAL] [bt]: (8) /home/heisenbug/mlpack/branches/mlpack/src/mlpack/tests/catch.hpp:13500 Catch::Session::run():
  77. [FATAL] [bt]: (9) /home/heisenbug/mlpack/branches/mlpack/src/mlpack/tests/catch.hpp:13222 int Catch::Session::run<char>(int, char const* const*):
  78. [FATAL] [bt]: (10) /home/heisenbug/mlpack/branches/mlpack/src/mlpack/tests/main.cpp:19 main:
  79. -------------------------------------------------------------------------------
  80. SaveSparseTSVTest
  81. -------------------------------------------------------------------------------
  82. /home/heisenbug/mlpack/branches/mlpack/src/mlpack/tests/load_save_test.cpp:313
  83. ...............................................................................
  84.  
  85. /home/heisenbug/mlpack/branches/mlpack/src/mlpack/tests/load_save_test.cpp:324: FAILED:
  86.   REQUIRE( data::Load("test_sparse_file.tsv", test2, true, false) == true )
  87. due to unexpected exception with message:
  88.   fatal error; see Log::Fatal output
  89.  
  90.  
  91. warning: SpMat::load(): unsupported file type
  92.  
  93. warning: SpMat::load(): couldn't load from the given stream
  94. [FATAL] Loading from 'test_sparse_file.txt' failed.
  95.  
  96. [FATAL] [bt]: (1) /home/heisenbug/mlpack/branches/mlpack/src/mlpack/core/data/load_impl.hpp:85 bool mlpack::data::Load<arma::SpMat<double> >(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, arma::SpMat<double>&, bool, bool, mlpack::data::FileType):
  97. [FATAL] [bt]: (2) /home/heisenbug/mlpack/branches/mlpack/src/mlpack/tests/catch.hpp:14316 Catch::TestInvokerAsFunction::invoke() const:
  98. [FATAL] [bt]: (3) /home/heisenbug/mlpack/branches/mlpack/src/mlpack/tests/catch.hpp:14155 Catch::TestCase::invoke() const:
  99. [FATAL] [bt]: (4) /home/heisenbug/mlpack/branches/mlpack/src/mlpack/tests/catch.hpp:13014 Catch::RunContext::invokeActiveTestCase():
  100. [FATAL] [bt]: (5) /home/heisenbug/mlpack/branches/mlpack/src/mlpack/tests/catch.hpp:12963 Catch::RunContext::runCurrentTest(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&):
  101. [FATAL] [bt]: (6) /home/heisenbug/mlpack/branches/mlpack/src/mlpack/tests/catch.hpp:12732 Catch::RunContext::runTest(Catch::TestCase const&):
  102. [FATAL] [bt]: (7) /home/heisenbug/mlpack/branches/mlpack/src/mlpack/tests/catch.hpp:13528 Catch::Session::runInternal():
  103. [FATAL] [bt]: (8) /home/heisenbug/mlpack/branches/mlpack/src/mlpack/tests/catch.hpp:13500 Catch::Session::run():
  104. [FATAL] [bt]: (9) /home/heisenbug/mlpack/branches/mlpack/src/mlpack/tests/catch.hpp:13222 int Catch::Session::run<char>(int, char const* const*):
  105. [FATAL] [bt]: (10) /home/heisenbug/mlpack/branches/mlpack/src/mlpack/tests/main.cpp:19 main:
  106. -------------------------------------------------------------------------------
  107. SaveSparseTXTTest
  108. -------------------------------------------------------------------------------
  109. /home/heisenbug/mlpack/branches/mlpack/src/mlpack/tests/load_save_test.cpp:348
  110. ...............................................................................
  111.  
  112. /home/heisenbug/mlpack/branches/mlpack/src/mlpack/tests/load_save_test.cpp:359: FAILED:
  113.   REQUIRE( data::Load("test_sparse_file.txt", test2, true, true) == true )
  114. due to unexpected exception with message:
  115.   fatal error; see Log::Fatal output
  116.  
  117.  
  118. warning: SpMat::load(): unsupported file type
  119.  
  120. warning: SpMat::load(): couldn't load from the given stream
  121. [FATAL] Loading from 'test_sparse_file.bin' failed.
  122.  
  123. [FATAL] [bt]: (1) /home/heisenbug/mlpack/branches/mlpack/src/mlpack/core/data/load_impl.hpp:85 bool mlpack::data::Load<arma::SpMat<double> >(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, arma::SpMat<double>&, bool, bool, mlpack::data::FileType):
  124. [FATAL] [bt]: (2) /home/heisenbug/mlpack/branches/mlpack/src/mlpack/tests/catch.hpp:14316 Catch::TestInvokerAsFunction::invoke() const:
  125. [FATAL] [bt]: (3) /home/heisenbug/mlpack/branches/mlpack/src/mlpack/tests/catch.hpp:14155 Catch::TestCase::invoke() const:
  126. [FATAL] [bt]: (4) /home/heisenbug/mlpack/branches/mlpack/src/mlpack/tests/catch.hpp:13014 Catch::RunContext::invokeActiveTestCase():
  127. [FATAL] [bt]: (5) /home/heisenbug/mlpack/branches/mlpack/src/mlpack/tests/catch.hpp:12963 Catch::RunContext::runCurrentTest(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&):
  128. [FATAL] [bt]: (6) /home/heisenbug/mlpack/branches/mlpack/src/mlpack/tests/catch.hpp:12732 Catch::RunContext::runTest(Catch::TestCase const&):
  129. [FATAL] [bt]: (7) /home/heisenbug/mlpack/branches/mlpack/src/mlpack/tests/catch.hpp:13528 Catch::Session::runInternal():
  130. [FATAL] [bt]: (8) /home/heisenbug/mlpack/branches/mlpack/src/mlpack/tests/catch.hpp:13500 Catch::Session::run():
  131. [FATAL] [bt]: (9) /home/heisenbug/mlpack/branches/mlpack/src/mlpack/tests/catch.hpp:13222 int Catch::Session::run<char>(int, char const* const*):
  132. [FATAL] [bt]: (10) /home/heisenbug/mlpack/branches/mlpack/src/mlpack/tests/main.cpp:19 main:
  133. -------------------------------------------------------------------------------
  134. SaveSparseBinaryTest
  135. -------------------------------------------------------------------------------
  136. /home/heisenbug/mlpack/branches/mlpack/src/mlpack/tests/load_save_test.cpp:383
  137. ...............................................................................
  138.  
  139. /home/heisenbug/mlpack/branches/mlpack/src/mlpack/tests/load_save_test.cpp:394: FAILED:
  140.   REQUIRE( data::Load("test_sparse_file.bin", test2, true, false) == true )
  141. due to unexpected exception with message:
  142.   fatal error; see Log::Fatal output
  143.  
  144. /builddir/build/BUILD/gcc-11.1.1-20210531/obj-x86_64-redhat-linux/x86_64-redhat-linux/libstdc++-v3/include/bits/basic_string.h:1057: std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::reference std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::operator[](std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::reference = char&; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int]: Assertion '__pos <= size()' failed.
  145. -------------------------------------------------------------------------------
  146. HarderKeonTest
  147. -------------------------------------------------------------------------------
  148. /home/heisenbug/mlpack/branches/mlpack/src/mlpack/tests/load_save_test.cpp:2007
  149. ...............................................................................
  150.  
  151. /home/heisenbug/mlpack/branches/mlpack/src/mlpack/tests/load_save_test.cpp:2007: FAILED:
  152. due to a fatal error condition:
  153.   SIGABRT - Abort (abnormal termination) signal
  154.  
  155. ===============================================================================
  156. test cases:    59 |    53 passed | 6 failed
  157. assertions: 63593 | 63587 passed | 6 failed
  158.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement