Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash in unittest: TArray::move #5

Closed
kimkulling opened this issue Nov 21, 2019 · 0 comments
Closed

Crash in unittest: TArray::move #5

kimkulling opened this issue Nov 21, 2019 · 0 comments

Comments

@kimkulling
Copy link
Owner

How to reproduce:

  • Build all using Linux
  • Run unittests
    Callstack
    0 0x0000555555614aa8 in CPPCore::TArray<float>::move (this=0x7fffffffda80, fromIdx=1, toIdx=2) at /home/kimmi/10_projects/cppcore/build/../include/cppcore/Container/TArray.h:352 #1 0x000055555561110e in TArrayTest_moveTest_Test::TestBody (this=0x55555586e9a0) at /home/kimmi/10_projects/cppcore/test/container/TArrayTest.cpp:191 #2 0x00005555555f56a4 in testing::internal::HandleSehExceptionsInMethodIfSupported<testing::Test, void> (object=0x55555586e9a0, method=&virtual testing::Test::TestBody(), location=0x555555624ceb "the test body") at /home/kimmi/10_projects/cppcore/contrib/gtest-1.7.0/src/gtest.cc:2078 #3 0x00005555555f1cb3 in testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void> (object=0x55555586e9a0, method=&virtual testing::Test::TestBody(), location=0x555555624ceb "the test body") at /home/kimmi/10_projects/cppcore/contrib/gtest-1.7.0/src/gtest.cc:2114 #4 0x00005555555e2012 in testing::Test::Run (this=0x55555586e9a0) at /home/kimmi/10_projects/cppcore/contrib/gtest-1.7.0/src/gtest.cc:2150 #5 0x00005555555e2862 in testing::TestInfo::Run (this=0x55555586bee0) at /home/kimmi/10_projects/cppcore/contrib/gtest-1.7.0/src/gtest.cc:2326 #6 0x00005555555e2ed8 in testing::TestCase::Run (this=0x55555586b190) at /home/kimmi/10_projects/cppcore/contrib/gtest-1.7.0/src/gtest.cc:2444 #7 0x00005555555e9d0a in testing::internal::UnitTestImpl::RunAllTests (this=0x555555867000) at /home/kimmi/10_projects/cppcore/contrib/gtest-1.7.0/src/gtest.cc:4315 #8 0x00005555555f6865 in testing::internal::HandleSehExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> (object=0x555555867000, method=(bool (testing::internal::UnitTestImpl::*)(testing::internal::UnitTestImpl * const)) 0x5555555e9a4a <testing::internal::UnitTestImpl::RunAllTests()>, location=0x5555556254f8 "auxiliary test code (environments or event listeners)") at /home/kimmi/10_projects/cppcore/contrib/gtest-1.7.0/src/gtest.cc:2078 #9 0x00005555555f2a83 in testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> (object=0x555555867000, method=(bool (testing::internal::UnitTestImpl::*)(testing::internal::UnitTestImpl * const)) 0x5555555e9a4a <testing::internal::UnitTestImpl::RunAllTests()>, location=0x5555556254f8 "auxiliary test code (environments or event listeners)") at /home/kimmi/10_projects/cppcore/contrib/gtest-1.7.0/src/gtest.cc:2114 #10 0x00005555555e88f2 in testing::UnitTest::Run (this=0x555555854400 <testing::UnitTest::GetInstance()::instance>) at /home/kimmi/10_projects/cppcore/contrib/gtest-1.7.0/src/gtest.cc:3926 #11 0x00005555555fd5b0 in RUN_ALL_TESTS () at /home/kimmi/10_projects/cppcore/build/../contrib/gtest-1.7.0/include/gtest/gtest.h:2288 #12 0x00005555555fd53f in main (argc=1, argv=0x7fffffffdf48) at /home/kimmi/10_projects/cppcore/contrib/gtest-1.7.0/src/gtest_main.cc:37
kimkulling added a commit that referenced this issue Jan 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant