Created
June 25, 2018 09:47
-
-
Save DrMcCoy/43b2c2fbed18779be7ac2e631c2eacb4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
==10758==ERROR: AddressSanitizer: alloc-dealloc-mismatch (operator new [] vs operator delete) on 0x602000000750 | |
#0 0x7f4e18afe2f8 in operator delete(void*, unsigned long) /var/tmp/portage/sys-devel/gcc-8.1.0-r3/work/gcc-8.1.0/libsanitizer/asan/asan_new_delete.cc:151 | |
#1 0x55883e6d367c in void Common::DeallocatorDefault::destroy<unsigned char>(unsigned char*) src/common/deallocator.h:44 | |
#2 0x55883e6d367c in Common::ScopedPtrBase<unsigned char, Common::DeallocatorDefault>::~ScopedPtrBase() src/common/scopedptr.h:83 | |
#3 0x55883e6d367c in Common::ScopedPtr<unsigned char, Common::DeallocatorDefault>::~ScopedPtr() src/common/scopedptr.h:120 | |
#4 0x55883e6d367c in Aurora::GFF3Writer::Field::~Field() src/aurora/gff3writer.h:58 | |
#5 0x55883e6d367c in Aurora::GFF3WriterStruct::addVoid(Common::UString const&, unsigned char const*, unsigned int) src/aurora/gff3writer.cpp:560 | |
#6 0x55883e43d478 in GFF3Writer_WriteSingleStruct_Test::TestBody() tests/aurora/gff3writer.cpp:94 | |
#7 0x55883e607797 in void testing::internal::HandleSehExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) tests/googletest/src/gtest.cc:2402 | |
#8 0x55883e607797 in void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) tests/googletest/src/gtest.cc:2438 | |
#9 0x55883e55f543 in testing::Test::Run() tests/googletest/src/gtest.cc:2474 | |
#10 0x55883e56058b in testing::Test::Run() tests/googletest/src/gtest.cc:2466 | |
#11 0x55883e56058b in testing::TestInfo::Run() tests/googletest/src/gtest.cc:2656 | |
#12 0x55883e561acd in testing::TestCase::Run() tests/googletest/src/gtest.cc:2774 | |
#13 0x55883e5662fc in testing::internal::UnitTestImpl::RunAllTests() tests/googletest/src/gtest.cc:4649 | |
#14 0x55883e60a7f7 in bool testing::internal::HandleSehExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*) tests/googletest/src/gtest.cc:2402 | |
#15 0x55883e60a7f7 in bool testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*) tests/googletest/src/gtest.cc:2438 | |
#16 0x55883e568cfa in testing::UnitTest::Run() tests/googletest/src/gtest.cc:4257 | |
#17 0x55883e42b28a in RUN_ALL_TESTS() tests/googletest/include/gtest/gtest.h:2239 | |
#18 0x55883e42b28a in main tests/googletest/src/gtest_main.cc:39 | |
#19 0x7f4e13cf29f6 in __libc_start_main ../csu/libc-start.c:308 | |
#20 0x55883e42bd49 in _start (/home/drmccoy/projects/xoreos/xoreos/tests/aurora/test_gff3writer+0xd93d49) | |
0x602000000750 is located 0 bytes inside of 8-byte region [0x602000000750,0x602000000758) | |
allocated by thread T0 here: | |
#0 0x7f4e18afcf50 in operator new[](unsigned long) /var/tmp/portage/sys-devel/gcc-8.1.0-r3/work/gcc-8.1.0/libsanitizer/asan/asan_new_delete.cc:93 | |
#1 0x55883e6d2b9a in Aurora::GFF3WriterStruct::addVoid(Common::UString const&, unsigned char const*, unsigned int) src/aurora/gff3writer.cpp:563 | |
#2 0x55883e43d478 in GFF3Writer_WriteSingleStruct_Test::TestBody() tests/aurora/gff3writer.cpp:94 | |
#3 0x55883e607797 in void testing::internal::HandleSehExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) tests/googletest/src/gtest.cc:2402 | |
#4 0x55883e607797 in void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) tests/googletest/src/gtest.cc:2438 | |
#5 0x55883e55f543 in testing::Test::Run() tests/googletest/src/gtest.cc:2474 | |
#6 0x55883e56058b in testing::Test::Run() tests/googletest/src/gtest.cc:2466 | |
#7 0x55883e56058b in testing::TestInfo::Run() tests/googletest/src/gtest.cc:2656 | |
#8 0x55883e561acd in testing::TestCase::Run() tests/googletest/src/gtest.cc:2774 | |
#9 0x55883e5662fc in testing::internal::UnitTestImpl::RunAllTests() tests/googletest/src/gtest.cc:4649 | |
#10 0x55883e60a7f7 in bool testing::internal::HandleSehExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*) tests/googletest/src/gtest.cc:2402 | |
#11 0x55883e60a7f7 in bool testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*) tests/googletest/src/gtest.cc:2438 | |
#12 0x55883e568cfa in testing::UnitTest::Run() tests/googletest/src/gtest.cc:4257 | |
#13 0x55883e42b28a in RUN_ALL_TESTS() tests/googletest/include/gtest/gtest.h:2239 | |
#14 0x55883e42b28a in main tests/googletest/src/gtest_main.cc:39 | |
#15 0x7f4e13cf29f6 in __libc_start_main ../csu/libc-start.c:308 | |
SUMMARY: AddressSanitizer: alloc-dealloc-mismatch /var/tmp/portage/sys-devel/gcc-8.1.0-r3/work/gcc-8.1.0/libsanitizer/asan/asan_new_delete.cc:151 in operator delete(void*, unsigned long) | |
==10758==HINT: if you don't care about these errors you may set ASAN_OPTIONS=alloc_dealloc_mismatch=0 | |
==10758==ABORTING |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment