Skip to content

Instantly share code, notes, and snippets.

@Luthaf
Created September 16, 2016 20:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Luthaf/d69b5c992a2a0b345f233b23cecb3620 to your computer and use it in GitHub Desktop.
Save Luthaf/d69b5c992a2a0b345f233b23cecb3620 to your computer and use it in GitHub Desktop.
Chemfiles Bus Error
==24579== Memcheck, a memory error detector
==24579== Copyright (C) 2002-2013, and GNU GPL'd, by Julian Seward et al.
==24579== Using Valgrind-3.11.0.SVN and LibVEX; rerun with -h for copyright info
==24579== Command: tests/xyz
==24579==
--24579-- run: /usr/bin/dsymutil "tests/xyz"
==24579== Conditional jump or move depends on uninitialised value(s)
==24579== at 0x10000BAB1: boost::filesystem::detail::recur_dir_itr_imp::push_directory(boost::system::error_code&) (operations.hpp:1054)
==24579== by 0x10000B900: boost::filesystem::detail::recur_dir_itr_imp::increment(boost::system::error_code*) (operations.hpp:1085)
==24579== by 0x1000079E0: ____C_A_T_C_H____T_E_S_T____102() (operations.hpp:1278)
==24579== by 0x100086459: Catch::RunContext::runCurrentTest(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&) (catch.hpp:6397)
==24579== by 0x100082B2D: Catch::RunContext::runTest(Catch::TestCase const&) (catch.hpp:5009)
==24579== by 0x10007CCDB: Catch::Runner::runTests() (catch.hpp:5283)
==24579== by 0x100078623: Catch::Session::run() (catch.hpp:5403)
==24579== by 0x10006A9DC: main (catch.hpp:5386)
==24579== Uninitialised value was created by a stack allocation
==24579== at 0x100092CC6: silent_crash_handlers (in tests/xyz)
==24579==
==24579== Conditional jump or move depends on uninitialised value(s)
==24579== at 0x10000BAD9: boost::filesystem::detail::recur_dir_itr_imp::push_directory(boost::system::error_code&) (operations.hpp:1057)
==24579== by 0x10000B900: boost::filesystem::detail::recur_dir_itr_imp::increment(boost::system::error_code*) (operations.hpp:1085)
==24579== by 0x1000079E0: ____C_A_T_C_H____T_E_S_T____102() (operations.hpp:1278)
==24579== by 0x100086459: Catch::RunContext::runCurrentTest(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&) (catch.hpp:6397)
==24579== by 0x100082B2D: Catch::RunContext::runTest(Catch::TestCase const&) (catch.hpp:5009)
==24579== by 0x10007CCDB: Catch::Runner::runTests() (catch.hpp:5283)
==24579== by 0x100078623: Catch::Session::run() (catch.hpp:5403)
==24579== by 0x10006A9DC: main (catch.hpp:5386)
==24579== Uninitialised value was created by a stack allocation
==24579== at 0x100092CC6: silent_crash_handlers (in tests/xyz)
==24579==
==24579==
==24579== Process terminating with default action of signal 11 (SIGSEGV)
==24579== Bad permissions for mapped region at address 0x1000B3130
==24579== at 0x1000B3130: ???
==24579== by 0x546B0671: ???
==24579== by 0x1082B2FFF: ??? (in /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/vecLib)
==24579== by 0x1082B34CF: ??? (in /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvDSP.dylib)
==24579== by 0x546B0670: ???
==24579== by 0x1000B0AA7: ??? (in tests/xyz)
==24579== by 0x1000B08F7: ??? (in tests/xyz)
==24579== by 0x1000B0867: ??? (in tests/xyz)
==24579== by 0x10AC58B1F: ???
==24579== by 0x103D0EDEF: ??? (in /usr/lib/libc++abi.dylib)
==24579== by 0x10AC5D637: ???
==24579== by 0x108914FFF: ??? (in /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libLAPACK.dylib)
==24579==
==24579== HEAP SUMMARY:
==24579== in use at exit: 512,157 bytes in 1,881 blocks
==24579== total heap usage: 108,915 allocs, 107,034 frees, 9,849,740 bytes allocated
==24579==
==24579== LEAK SUMMARY:
==24579== definitely lost: 3,315 bytes in 43 blocks
==24579== indirectly lost: 5,144 bytes in 17 blocks
==24579== possibly lost: 15,200 bytes in 129 blocks
==24579== still reachable: 126,090 bytes in 927 blocks
==24579== suppressed: 362,408 bytes in 765 blocks
==24579== Rerun with --leak-check=full to see details of leaked memory
==24579==
==24579== For counts of detected and suppressed errors, rerun with: -v
==24579== ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment