Segmentation fault in Subnet::getPathLength
Ошибка запускается при запуске тестов ResynthesisContest
в ветке main:
$ ./build/test/utest --gtest_filter=ResynthesisContest.*
сообщение от gdb:
#0 0x00005555567d998a in std::min<unsigned int> (__a=@0x555559ad109c: 131, __b=<error reading variable>) at /usr/include/c++/9/bits/stl_algobase.h:203
#1 0x00005555567d88f1 in eda::gate::model::Subnet::getPathLength (this=0x7fffffffd320) at ../src/gate/model2/subnet.cpp:32
#2 0x00005555566bb078 in writeLogs (file=..., table=..., alg=Algorithm::BiDecomposition, id=..., st=13255877, end=13324409, err=false) at ../test/gate/optimizer2/resynthesis/resynthesis_contest.cpp:93
#3 0x00005555566bba8d in runTest (table=...) at ../test/gate/optimizer2/resynthesis/resynthesis_contest.cpp:142
#4 0x00005555566bce26 in ResynthesisContest_RAND7_Test::TestBody (this=0x555559ab03a0) at ../test/gate/optimizer2/resynthesis/resynthesis_contest.cpp:247
#5 0x0000555556a46be0 in testing::internal::HandleSehExceptionsInMethodIfSupported<testing::Test, void> (object=0x555559ab03a0, method=&virtual testing::Test::TestBody(),
location=0x5555588c9733 "the test body") at _deps/googletest-src/googletest/src/gtest.cc:2589
#6 0x0000555556a3c2d1 in testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void> (object=0x555559ab03a0, method=&virtual testing::Test::TestBody(),
location=0x5555588c9733 "the test body") at _deps/googletest-src/googletest/src/gtest.cc:2625
#7 0x00005555569fd4f5 in testing::Test::Run (this=0x555559ab03a0) at _deps/googletest-src/googletest/src/gtest.cc:2664
#8 0x00005555569fe57d in testing::TestInfo::Run (this=0x555559a39210) at _deps/googletest-src/googletest/src/gtest.cc:2842
#9 0x00005555569ff2c7 in testing::TestSuite::Run (this=0x555559a387f0) at _deps/googletest-src/googletest/src/gtest.cc:2996
#10 0x0000555556a14554 in testing::internal::UnitTestImpl::RunAllTests (this=0x5555599bcdc0) at _deps/googletest-src/googletest/src/gtest.cc:5708
#11 0x0000555556a47fef in testing::internal::HandleSehExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> (object=0x5555599bcdc0,
method=(bool (testing::internal::UnitTestImpl::*)(testing::internal::UnitTestImpl * const)) 0x555556a13f60 <testing::internal::UnitTestImpl::RunAllTests()>,
location=0x5555588ca1e0 "auxiliary test code (environments or event listeners)") at _deps/googletest-src/googletest/src/gtest.cc:2589
#12 0x0000555556a3dad9 in testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> (object=0x5555599bcdc0,
method=(bool (testing::internal::UnitTestImpl::*)(testing::internal::UnitTestImpl * const)) 0x555556a13f60 <testing::internal::UnitTestImpl::RunAllTests()>,
location=0x5555588ca1e0 "auxiliary test code (environments or event listeners)") at _deps/googletest-src/googletest/src/gtest.cc:2625
#13 0x0000555556a11f44 in testing::UnitTest::Run (this=0x55555997a660 <testing::UnitTest::GetInstance()::instance>) at _deps/googletest-src/googletest/src/gtest.cc:5291
#14 0x0000555556741db1 in RUN_ALL_TESTS () at _deps/googletest-src/googletest/include/gtest/gtest.h:2471
#15 0x000055555674180c in main (argc=1, argv=0x7fffffffde98) at ../test/test_main.cpp:17
Edited by Ягжов Алексей Александрович