valgrind compizconfig/libcompizconfig/tests/compizconfig_test_ccs_setting
==11525== Memcheck, a memory error detector
==11525== Copyright (C) 2002-2011, and GNU GPL'd, by Julian Seward et al.
==11525== Using Valgrind-3.7.0 and LibVEX; rerun with -h for copyright info
==11525== Command: compizconfig/libcompizconfig/tests/compizconfig_test_ccs_setting
==11525==
Running main() from gtest_main.cc
[==========] Running 126 tests from 4 test cases.
[----------] Global test environment set-up.
[----------] 1 test from CCSSettingTest
[ RUN ] CCSSettingTest.TestMock
[ OK ] CCSSettingTest.TestMock (585 ms)
[----------] 1 test from CCSSettingTest (593 ms total)
[----------] 1 test from CCSSettingDefaultImplTest
[ RUN ] CCSSettingDefaultImplTest.Construction
[ OK ] CCSSettingDefaultImplTest.Construction (77 ms)
[----------] 1 test from CCSSettingDefaultImplTest (78 ms total)
[----------] 120 tests from SetSemantics/SettingDefaultImplSet
[ RUN ] SetSemantics/SettingDefaultImplSet.Construction/0
[ OK ] SetSemantics/SettingDefaultImplSet.Construction/0 (47 ms)
[ RUN ] SetSemantics/SettingDefaultImplSet.Construction/1
[ OK ] SetSemantics/SettingDefaultImplSet.Construction/1 (8 ms)
[ RUN ] SetSemantics/SettingDefaultImplSet.Construction/2
[ OK ] SetSemantics/SettingDefaultImplSet.Construction/2 (5 ms)
[ RUN ] SetSemantics/SettingDefaultImplSet.Construction/3
==11525== Invalid read of size 1
==11525== at 0x4C2BD02: __GI_strlen (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==11525== by 0x5D9CD65: strdup (strdup.c:42)
==11525== by 0x4872A6: (anonymous namespace)::NormalValueContainer<char const*>::getContainedValue(_CCSSettingType, boost::shared_ptr<_CCSSettingInfo> const&) (compizconfig_test_ccs_setting.cpp:501)
==11525== by 0x487598: (anonymous namespace)::TypedSetParam<char const*>::SetUpSetting(boost::function<void ()((anonymous namespace)::MockInitFuncs&)> const&) (compizconfig_test_ccs_setting.cpp:1021)
==11525== by 0x47F442: (anonymous namespace)::SettingDefaultImplSet::SetUp() (compizconfig_test_ccs_setting.cpp:1272)
==11525== by 0x4C741A: void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) (gtest.cc:2090)
==11525== by 0x4B6DA3: testing::Test::Run() (gtest.cc:2157)
==11525== by 0x4B7B3F: testing::TestInfo::Run() (gtest.cc:2338)
==11525== by 0x4B8168: testing::TestCase::Run() (gtest.cc:2445)
==11525== by 0x4BD0C4: testing::internal::UnitTestImpl::RunAllTests() (gtest.cc:4243)
==11525== by 0x4C7D0A: bool testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*) (gtest.cc:2090)
==11525== by 0x4BCD9D: testing::UnitTest::Run() (gtest.cc:3878)
==11525== Address 0x0 is not stack'd, malloc'd or (recently) free'd
==11525==
==11525==
==11525== Process terminating with default action of signal 11 (SIGSEGV)
==11525== Access not within mapped region at address 0x0
==11525== at 0x4C2BD02: __GI_strlen (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==11525== by 0x5D9CD65: strdup (strdup.c:42)
==11525== by 0x4872A6: (anonymous namespace)::NormalValueContainer<char const*>::getContainedValue(_CCSSettingType, boost::shared_ptr<_CCSSettingInfo> const&) (compizconfig_test_ccs_setting.cpp:501)
==11525== by 0x487598: (anonymous namespace)::TypedSetParam<char const*>::SetUpSetting(boost::function<void ()((anonymous namespace)::MockInitFuncs&)> const&) (compizconfig_test_ccs_setting.cpp:1021)
==11525== by 0x47F442: (anonymous namespace)::SettingDefaultImplSet::SetUp() (compizconfig_test_ccs_setting.cpp:1272)
==11525== by 0x4C741A: void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) (gtest.cc:2090)
==11525== by 0x4B6DA3: testing::Test::Run() (gtest.cc:2157)
==11525== by 0x4B7B3F: testing::TestInfo::Run() (gtest.cc:2338)
==11525== by 0x4B8168: testing::TestCase::Run() (gtest.cc:2445)
==11525== by 0x4BD0C4: testing::internal::UnitTestImpl::RunAllTests() (gtest.cc:4243)
==11525== by 0x4C7D0A: bool testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*) (gtest.cc:2090)
==11525== by 0x4BCD9D: testing::UnitTest::Run() (gtest.cc:3878)
==11525== If you believe this happened as a result of a stack
==11525== overflow in your program's main thread (unlikely but
==11525== possible), you can try to increase the size of the
==11525== main thread stack using the --main-stacksize= flag.
==11525== The main thread stack size used in this run was 8388608.
==11525==
==11525== HEAP SUMMARY:
==11525== in use at exit: 141,873 bytes in 2,060 blocks
==11525== total heap usage: 8,184 allocs, 6,124 frees, 845,361 bytes allocated
==11525==
==11525== LEAK SUMMARY:
==11525== definitely lost: 0 bytes in 0 blocks
==11525== indirectly lost: 0 bytes in 0 blocks
==11525== possibly lost: 20,779 bytes in 459 blocks
==11525== still reachable: 121,094 bytes in 1,601 blocks
==11525== suppressed: 0 bytes in 0 blocks
==11525== Rerun with --leak-check=full to see details of leaked memory
==11525==
==11525== For counts of detected and suppressed errors, rerun with: -v
==11525== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 2 from 2)
Segmentation fault (core dumped)
valgrind compizconfig/ libcompizconfig /tests/ compizconfig_ test_ccs_ setting libcompizconfig /tests/ compizconfig_ test_ccs_ setting TestMock TestMock (585 ms)
==11525== Memcheck, a memory error detector
==11525== Copyright (C) 2002-2011, and GNU GPL'd, by Julian Seward et al.
==11525== Using Valgrind-3.7.0 and LibVEX; rerun with -h for copyright info
==11525== Command: compizconfig/
==11525==
Running main() from gtest_main.cc
[==========] Running 126 tests from 4 test cases.
[----------] Global test environment set-up.
[----------] 1 test from CCSSettingTest
[ RUN ] CCSSettingTest.
[ OK ] CCSSettingTest.
[----------] 1 test from CCSSettingTest (593 ms total)
[----------] 1 test from CCSSettingDefau ltImplTest ltImplTest. Construction ltImplTest. Construction (77 ms) ltImplTest (78 ms total)
[ RUN ] CCSSettingDefau
[ OK ] CCSSettingDefau
[----------] 1 test from CCSSettingDefau
[----------] 120 tests from SetSemantics/ SettingDefaultI mplSet SettingDefaultI mplSet. Construction/ 0 SettingDefaultI mplSet. Construction/ 0 (47 ms) SettingDefaultI mplSet. Construction/ 1 SettingDefaultI mplSet. Construction/ 1 (8 ms) SettingDefaultI mplSet. Construction/ 2 SettingDefaultI mplSet. Construction/ 2 (5 ms) SettingDefaultI mplSet. Construction/ 3 valgrind/ vgpreload_ memcheck- amd64-linux. so) ::NormalValueCo ntainer< char const*> ::getContainedV alue(_CCSSettin gType, boost:: shared_ ptr<_CCSSetting Info> const&) (compizconfig_ test_ccs_ setting. cpp:501) ::TypedSetParam <char const*> ::SetUpSetting( boost:: function< void ()((anonymous namespace) ::MockInitFuncs &)> const&) (compizconfig_ test_ccs_ setting. cpp:1021) ::SettingDefaul tImplSet: :SetUp( ) (compizconfig_ test_ccs_ setting. cpp:1272) :internal: :HandleExceptio nsInMethodIfSup ported< testing: :Test, void>(testing: :Test*, void (testing: :Test:: *)(), char const*) (gtest.cc:2090) :Test:: Run() (gtest.cc:2157) :TestInfo: :Run() (gtest.cc:2338) :TestCase: :Run() (gtest.cc:2445) :internal: :UnitTestImpl: :RunAllTests( ) (gtest.cc:4243) :internal: :HandleExceptio nsInMethodIfSup ported< testing: :internal: :UnitTestImpl, bool>(testing: :internal: :UnitTestImpl* , bool (testing: :internal: :UnitTestImpl: :*)(), char const*) (gtest.cc:2090) :UnitTest: :Run() (gtest.cc:3878) valgrind/ vgpreload_ memcheck- amd64-linux. so) ::NormalValueCo ntainer< char const*> ::getContainedV alue(_CCSSettin gType, boost:: shared_ ptr<_CCSSetting Info> const&) (compizconfig_ test_ccs_ setting. cpp:501) ::TypedSetParam <char const*> ::SetUpSetting( boost:: function< void ()((anonymous namespace) ::MockInitFuncs &)> const&) (compizconfig_ test_ccs_ setting. cpp:1021) ::SettingDefaul tImplSet: :SetUp( ) (compizconfig_ test_ccs_ setting. cpp:1272) :internal: :HandleExceptio nsInMethodIfSup ported< testing: :Test, void>(testing: :Test*, void (testing: :Test:: *)(), char const*) (gtest.cc:2090) :Test:: Run() (gtest.cc:2157) :TestInfo: :Run() (gtest.cc:2338) :TestCase: :Run() (gtest.cc:2445) :internal: :UnitTestImpl: :RunAllTests( ) (gtest.cc:4243) :internal: :HandleExceptio nsInMethodIfSup ported< testing: :internal: :UnitTestImpl, bool>(testing: :internal: :UnitTestImpl* , bool (testing: :internal: :UnitTestImpl: :*)(), char const*) (gtest.cc:2090) :UnitTest: :Run() (gtest.cc:3878)
[ RUN ] SetSemantics/
[ OK ] SetSemantics/
[ RUN ] SetSemantics/
[ OK ] SetSemantics/
[ RUN ] SetSemantics/
[ OK ] SetSemantics/
[ RUN ] SetSemantics/
==11525== Invalid read of size 1
==11525== at 0x4C2BD02: __GI_strlen (in /usr/lib/
==11525== by 0x5D9CD65: strdup (strdup.c:42)
==11525== by 0x4872A6: (anonymous namespace)
==11525== by 0x487598: (anonymous namespace)
==11525== by 0x47F442: (anonymous namespace)
==11525== by 0x4C741A: void testing:
==11525== by 0x4B6DA3: testing:
==11525== by 0x4B7B3F: testing:
==11525== by 0x4B8168: testing:
==11525== by 0x4BD0C4: testing:
==11525== by 0x4C7D0A: bool testing:
==11525== by 0x4BCD9D: testing:
==11525== Address 0x0 is not stack'd, malloc'd or (recently) free'd
==11525==
==11525==
==11525== Process terminating with default action of signal 11 (SIGSEGV)
==11525== Access not within mapped region at address 0x0
==11525== at 0x4C2BD02: __GI_strlen (in /usr/lib/
==11525== by 0x5D9CD65: strdup (strdup.c:42)
==11525== by 0x4872A6: (anonymous namespace)
==11525== by 0x487598: (anonymous namespace)
==11525== by 0x47F442: (anonymous namespace)
==11525== by 0x4C741A: void testing:
==11525== by 0x4B6DA3: testing:
==11525== by 0x4B7B3F: testing:
==11525== by 0x4B8168: testing:
==11525== by 0x4BD0C4: testing:
==11525== by 0x4C7D0A: bool testing:
==11525== by 0x4BCD9D: testing:
==11525== If you believe this happened as a result of a stack
==11525== overflow in your program's main thread (unlikely but
==11525== possible), you can try to increase the size of the
==11525== main thread stack using the --main-stacksize= flag.
==11525== The main thread stack size used in this run was 8388608.
==11525==
==11525== HEAP SUMMARY:
==11525== in use at exit: 141,873 bytes in 2,060 blocks
==11525== total heap usage: 8,184 allocs, 6,124 frees, 845,361 bytes allocated
==11525==
==11525== LEAK SUMMARY:
==11525== definitely lost: 0 bytes in 0 blocks
==11525== indirectly lost: 0 bytes in 0 blocks
==11525== possibly lost: 20,779 bytes in 459 blocks
==11525== still reachable: 121,094 bytes in 1,601 blocks
==11525== suppressed: 0 bytes in 0 blocks
==11525== Rerun with --leak-check=full to see details of leaked memory
==11525==
==11525== For counts of detected and suppressed errors, rerun with: -v
==11525== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 2 from 2)
Segmentation fault (core dumped)