==5330== Memcheck, a memory error detector ==5330== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al. ==5330== Using Valgrind-3.14.0 and LibVEX; rerun with -h for copyright info ==5330== Command: root.exe -b -l -q Visualise_Fluctuation3.C++g ==5330== Parent PID: 3737 ==5330== ==5330== Source and destination overlap in memcpy(0x1ffeffb088, 0x1ffeffb088, 12) ==5330== at 0x4C2E74D: memcpy@@GLIBC_2.14 (vg_replace_strmem.c:1035) ==5330== by 0x7C97B28: void llvm::SmallVectorImpl::append(char const*, char const*) (in /home/flogoru/Root/root/lib/libCling.so.6.20.04) ==5330== by 0x978EF85: (anonymous namespace)::RedirectingFileSystemParser::parseEntry(llvm::yaml::Node*, (anonymous namespace)::RedirectingFileSystem*) (in /home/flogoru/Root/root/lib/libCling.so.6.20.04) ==5330== by 0x9790460: (anonymous namespace)::RedirectingFileSystem::create(std::unique_ptr >, void (*)(llvm::SMDiagnostic const&, void*), llvm::StringRef, void*, llvm::IntrusiveRefCntPtr) (in /home/flogoru/Root/root/lib/libCling.so.6.20.04) ==5330== by 0x97907E5: clang::vfs::getVFSFromYAML(std::unique_ptr >, void (*)(llvm::SMDiagnostic const&, void*), llvm::StringRef, void*, llvm::IntrusiveRefCntPtr) (in /home/flogoru/Root/root/lib/libCling.so.6.20.04) ==5330== by 0x7C9ACCF: (anonymous namespace)::collectModuleMaps(clang::CompilerInstance&, llvm::SmallVectorImpl&) (in /home/flogoru/Root/root/lib/libCling.so.6.20.04) ==5330== by 0x7C9CA9B: (anonymous namespace)::setupCxxModules(clang::CompilerInstance&) (in /home/flogoru/Root/root/lib/libCling.so.6.20.04) ==5330== by 0x7C9FB13: (anonymous namespace)::createCIImpl(std::unique_ptr >, cling::CompilerOptions const&, char const*, std::unique_ptr >, std::vector, std::allocator > > const&, bool, bool) (in /home/flogoru/Root/root/lib/libCling.so.6.20.04) ==5330== by 0x7CA07B8: cling::CIFactory::createCI(llvm::StringRef, cling::InvocationOptions const&, char const*, std::unique_ptr >, std::vector, std::allocator > > const&) (in /home/flogoru/Root/root/lib/libCling.so.6.20.04) ==5330== by 0x7D22C00: cling::IncrementalParser::IncrementalParser(cling::Interpreter*, char const*, std::vector, std::allocator > > const&) (in /home/flogoru/Root/root/lib/libCling.so.6.20.04) ==5330== by 0x7CBF336: cling::Interpreter::Interpreter(int, char const* const*, char const*, std::vector, std::allocator > > const&, bool, cling::Interpreter const*) (in /home/flogoru/Root/root/lib/libCling.so.6.20.04) ==5330== by 0x7C6782E: TCling::TCling(char const*, char const*, char const* const*) (in /home/flogoru/Root/root/lib/libCling.so.6.20.04) ==5330== ==5330== Source and destination overlap in memcpy(0x1ffeffac08, 0x1ffeffac08, 14) ==5330== at 0x4C2E74D: memcpy@@GLIBC_2.14 (vg_replace_strmem.c:1035) ==5330== by 0x7C97B28: void llvm::SmallVectorImpl::append(char const*, char const*) (in /home/flogoru/Root/root/lib/libCling.so.6.20.04) ==5330== by 0x978EF85: (anonymous namespace)::RedirectingFileSystemParser::parseEntry(llvm::yaml::Node*, (anonymous namespace)::RedirectingFileSystem*) (in /home/flogoru/Root/root/lib/libCling.so.6.20.04) ==5330== by 0x978F101: (anonymous namespace)::RedirectingFileSystemParser::parseEntry(llvm::yaml::Node*, (anonymous namespace)::RedirectingFileSystem*) (in /home/flogoru/Root/root/lib/libCling.so.6.20.04) ==5330== by 0x9790460: (anonymous namespace)::RedirectingFileSystem::create(std::unique_ptr >, void (*)(llvm::SMDiagnostic const&, void*), llvm::StringRef, void*, llvm::IntrusiveRefCntPtr) (in /home/flogoru/Root/root/lib/libCling.so.6.20.04) ==5330== by 0x97907E5: clang::vfs::getVFSFromYAML(std::unique_ptr >, void (*)(llvm::SMDiagnostic const&, void*), llvm::StringRef, void*, llvm::IntrusiveRefCntPtr) (in /home/flogoru/Root/root/lib/libCling.so.6.20.04) ==5330== by 0x7C9ACCF: (anonymous namespace)::collectModuleMaps(clang::CompilerInstance&, llvm::SmallVectorImpl&) (in /home/flogoru/Root/root/lib/libCling.so.6.20.04) ==5330== by 0x7C9CA9B: (anonymous namespace)::setupCxxModules(clang::CompilerInstance&) (in /home/flogoru/Root/root/lib/libCling.so.6.20.04) ==5330== by 0x7C9FB13: (anonymous namespace)::createCIImpl(std::unique_ptr >, cling::CompilerOptions const&, char const*, std::unique_ptr >, std::vector, std::allocator > > const&, bool, bool) (in /home/flogoru/Root/root/lib/libCling.so.6.20.04) ==5330== by 0x7CA07B8: cling::CIFactory::createCI(llvm::StringRef, cling::InvocationOptions const&, char const*, std::unique_ptr >, std::vector, std::allocator > > const&) (in /home/flogoru/Root/root/lib/libCling.so.6.20.04) ==5330== by 0x7D22C00: cling::IncrementalParser::IncrementalParser(cling::Interpreter*, char const*, std::vector, std::allocator > > const&) (in /home/flogoru/Root/root/lib/libCling.so.6.20.04) ==5330== by 0x7CBF336: cling::Interpreter::Interpreter(int, char const* const*, char const*, std::vector, std::allocator > > const&, bool, cling::Interpreter const*) (in /home/flogoru/Root/root/lib/libCling.so.6.20.04) ==5330== ==5330== Source and destination overlap in memcpy(0x1ffeffac08, 0x1ffeffac08, 48) ==5330== at 0x4C2E74D: memcpy@@GLIBC_2.14 (vg_replace_strmem.c:1035) ==5330== by 0x7C97B28: void llvm::SmallVectorImpl::append(char const*, char const*) (in /home/flogoru/Root/root/lib/libCling.so.6.20.04) ==5330== by 0x978F20D: (anonymous namespace)::RedirectingFileSystemParser::parseEntry(llvm::yaml::Node*, (anonymous namespace)::RedirectingFileSystem*) (in /home/flogoru/Root/root/lib/libCling.so.6.20.04) ==5330== by 0x978F101: (anonymous namespace)::RedirectingFileSystemParser::parseEntry(llvm::yaml::Node*, (anonymous namespace)::RedirectingFileSystem*) (in /home/flogoru/Root/root/lib/libCling.so.6.20.04) ==5330== by 0x9790460: (anonymous namespace)::RedirectingFileSystem::create(std::unique_ptr >, void (*)(llvm::SMDiagnostic const&, void*), llvm::StringRef, void*, llvm::IntrusiveRefCntPtr) (in /home/flogoru/Root/root/lib/libCling.so.6.20.04) ==5330== by 0x97907E5: clang::vfs::getVFSFromYAML(std::unique_ptr >, void (*)(llvm::SMDiagnostic const&, void*), llvm::StringRef, void*, llvm::IntrusiveRefCntPtr) (in /home/flogoru/Root/root/lib/libCling.so.6.20.04) ==5330== by 0x7C9ACCF: (anonymous namespace)::collectModuleMaps(clang::CompilerInstance&, llvm::SmallVectorImpl&) (in /home/flogoru/Root/root/lib/libCling.so.6.20.04) ==5330== by 0x7C9CA9B: (anonymous namespace)::setupCxxModules(clang::CompilerInstance&) (in /home/flogoru/Root/root/lib/libCling.so.6.20.04) ==5330== by 0x7C9FB13: (anonymous namespace)::createCIImpl(std::unique_ptr >, cling::CompilerOptions const&, char const*, std::unique_ptr >, std::vector, std::allocator > > const&, bool, bool) (in /home/flogoru/Root/root/lib/libCling.so.6.20.04) ==5330== by 0x7CA07B8: cling::CIFactory::createCI(llvm::StringRef, cling::InvocationOptions const&, char const*, std::unique_ptr >, std::vector, std::allocator > > const&) (in /home/flogoru/Root/root/lib/libCling.so.6.20.04) ==5330== by 0x7D22C00: cling::IncrementalParser::IncrementalParser(cling::Interpreter*, char const*, std::vector, std::allocator > > const&) (in /home/flogoru/Root/root/lib/libCling.so.6.20.04) ==5330== by 0x7CBF336: cling::Interpreter::Interpreter(int, char const* const*, char const*, std::vector, std::allocator > > const&, bool, cling::Interpreter const*) (in /home/flogoru/Root/root/lib/libCling.so.6.20.04) ==5330== ==5330== Source and destination overlap in memcpy(0x1ffeffb8c8, 0x1ffeffb8c8, 75) ==5330== at 0x4C2E74D: memcpy@@GLIBC_2.14 (vg_replace_strmem.c:1035) ==5330== by 0x7C97B28: void llvm::SmallVectorImpl::append(char const*, char const*) (in /home/flogoru/Root/root/lib/libCling.so.6.20.04) ==5330== by 0x978DE12: (anonymous namespace)::RedirectingFileSystem::lookupPath(llvm::Twine const&) (in /home/flogoru/Root/root/lib/libCling.so.6.20.04) ==5330== by 0x978E208: (anonymous namespace)::RedirectingFileSystem::status(llvm::Twine const&) (in /home/flogoru/Root/root/lib/libCling.so.6.20.04) ==5330== by 0x97867E7: clang::vfs::OverlayFileSystem::status(llvm::Twine const&) (in /home/flogoru/Root/root/lib/libCling.so.6.20.04) ==5330== by 0x9724EF2: clang::FileSystemStatCache::get(llvm::StringRef, clang::FileData&, bool, std::unique_ptr >*, clang::FileSystemStatCache*, clang::vfs::FileSystem&) (in /home/flogoru/Root/root/lib/libCling.so.6.20.04) ==5330== by 0x9720FD0: clang::FileManager::getStatValue(llvm::StringRef, clang::FileData&, bool, std::unique_ptr >*) (in /home/flogoru/Root/root/lib/libCling.so.6.20.04) ==5330== by 0x9723944: clang::FileManager::getFile(llvm::StringRef, bool, bool) (in /home/flogoru/Root/root/lib/libCling.so.6.20.04) ==5330== by 0x7C9F030: (anonymous namespace)::createCIImpl(std::unique_ptr >, cling::CompilerOptions const&, char const*, std::unique_ptr >, std::vector, std::allocator > > const&, bool, bool) (in /home/flogoru/Root/root/lib/libCling.so.6.20.04) ==5330== by 0x7CA07B8: cling::CIFactory::createCI(llvm::StringRef, cling::InvocationOptions const&, char const*, std::unique_ptr >, std::vector, std::allocator > > const&) (in /home/flogoru/Root/root/lib/libCling.so.6.20.04) ==5330== by 0x7D22C00: cling::IncrementalParser::IncrementalParser(cling::Interpreter*, char const*, std::vector, std::allocator > > const&) (in /home/flogoru/Root/root/lib/libCling.so.6.20.04) ==5330== by 0x7CBF336: cling::Interpreter::Interpreter(int, char const* const*, char const*, std::vector, std::allocator > > const&, bool, cling::Interpreter const*) (in /home/flogoru/Root/root/lib/libCling.so.6.20.04) ==5330== ==5330== Source and destination overlap in memcpy(0x1ffeffb298, 0x1ffeffb298, 75) ==5330== at 0x4C2E74D: memcpy@@GLIBC_2.14 (vg_replace_strmem.c:1035) ==5330== by 0x7C97B28: void llvm::SmallVectorImpl::append(char const*, char const*) (in /home/flogoru/Root/root/lib/libCling.so.6.20.04) ==5330== by 0x978DE12: (anonymous namespace)::RedirectingFileSystem::lookupPath(llvm::Twine const&) (in /home/flogoru/Root/root/lib/libCling.so.6.20.04) ==5330== by 0x978DE53: (anonymous namespace)::RedirectingFileSystem::openFileForRead(llvm::Twine const&) (in /home/flogoru/Root/root/lib/libCling.so.6.20.04) ==5330== by 0x9787607: clang::vfs::OverlayFileSystem::openFileForRead(llvm::Twine const&) (in /home/flogoru/Root/root/lib/libCling.so.6.20.04) ==5330== by 0x978A633: clang::vfs::FileSystem::getBufferForFile(llvm::Twine const&, long, bool, bool) (in /home/flogoru/Root/root/lib/libCling.so.6.20.04) ==5330== by 0x9720C9E: clang::FileManager::getBufferForFile(clang::FileEntry const*, bool, bool) (in /home/flogoru/Root/root/lib/libCling.so.6.20.04) ==5330== by 0x973A684: clang::SrcMgr::ContentCache::getBuffer(clang::DiagnosticsEngine&, clang::SourceManager const&, clang::SourceLocation, bool*) const (in /home/flogoru/Root/root/lib/libCling.so.6.20.04) ==5330== by 0x96C90B2: clang::ModuleMap::parseModuleMapFile(clang::FileEntry const*, bool, clang::DirectoryEntry const*, clang::FileID, unsigned int*, clang::SourceLocation) (in /home/flogoru/Root/root/lib/libCling.so.6.20.04) ==5330== by 0x969E247: clang::HeaderSearch::loadModuleMapFileImpl(clang::FileEntry const*, bool, clang::DirectoryEntry const*, clang::FileID, unsigned int*) (in /home/flogoru/Root/root/lib/libCling.so.6.20.04) ==5330== by 0x969E7E2: clang::HeaderSearch::loadModuleMapFile(clang::FileEntry const*, bool, clang::FileID, unsigned int*, llvm::StringRef) (in /home/flogoru/Root/root/lib/libCling.so.6.20.04) ==5330== by 0x7C9F00B: (anonymous namespace)::createCIImpl(std::unique_ptr >, cling::CompilerOptions const&, char const*, std::unique_ptr >, std::vector, std::allocator > > const&, bool, bool) (in /home/flogoru/Root/root/lib/libCling.so.6.20.04) ==5330== valgrind: m_debuginfo/debuginfo.c:916 (truncate_DebugInfoMapping_overlaps): Assertion '!overlap' failed. host stacktrace: ==5330== at 0x5804BFA4: ??? (in /usr/lib64/valgrind/memcheck-amd64-linux) ==5330== by 0x5804C0B7: ??? (in /usr/lib64/valgrind/memcheck-amd64-linux) ==5330== by 0x5804C251: ??? (in /usr/lib64/valgrind/memcheck-amd64-linux) ==5330== by 0x5807B0EF: ??? (in /usr/lib64/valgrind/memcheck-amd64-linux) ==5330== by 0x580AB798: ??? (in /usr/lib64/valgrind/memcheck-amd64-linux) ==5330== by 0x580B6DFA: ??? (in /usr/lib64/valgrind/memcheck-amd64-linux) ==5330== by 0x580A64CC: ??? (in /usr/lib64/valgrind/memcheck-amd64-linux) ==5330== by 0x580A25BA: ??? (in /usr/lib64/valgrind/memcheck-amd64-linux) ==5330== by 0x580A48D6: ??? (in /usr/lib64/valgrind/memcheck-amd64-linux) ==5330== by 0x580FDB7A: ??? (in /usr/lib64/valgrind/memcheck-amd64-linux) sched status: running_tid=1 Thread 1: status = VgTs_Runnable syscall 9 (lwpid 5330) ==5330== at 0x40197AA: mmap (in /usr/lib64/ld-2.17.so) ==5330== by 0x40065BA: _dl_map_object_from_fd (in /usr/lib64/ld-2.17.so) ==5330== by 0x4008615: _dl_map_object (in /usr/lib64/ld-2.17.so) ==5330== by 0x4014273: dl_open_worker (in /usr/lib64/ld-2.17.so) ==5330== by 0x400F7A3: _dl_catch_error (in /usr/lib64/ld-2.17.so) ==5330== by 0x4013B5A: _dl_open (in /usr/lib64/ld-2.17.so) ==5330== by 0x6795FAA: dlopen_doit (in /usr/lib64/libdl-2.17.so) ==5330== by 0x400F7A3: _dl_catch_error (in /usr/lib64/ld-2.17.so) ==5330== by 0x67965AC: _dlerror_run (in /usr/lib64/libdl-2.17.so) ==5330== by 0x6796040: dlopen@@GLIBC_2.2.5 (in /usr/lib64/libdl-2.17.so) ==5330== by 0x7D6C8C5: cling::utils::platform::DLOpen(std::string const&, std::string*) (in /home/flogoru/Root/root/lib/libCling.so.6.20.04) ==5330== by 0x7CB8482: cling::DynamicLibraryManager::loadLibrary(std::string const&, bool, bool) (in /home/flogoru/Root/root/lib/libCling.so.6.20.04) ==5330== by 0x7CBBE09: cling::Interpreter::loadLibrary(std::string const&, bool) (in /home/flogoru/Root/root/lib/libCling.so.6.20.04) ==5330== by 0x7CBD2FA: cling::Interpreter::loadFile(std::string const&, bool, cling::Transaction**) (in /home/flogoru/Root/root/lib/libCling.so.6.20.04) ==5330== by 0x7D56BBB: cling::MetaSema::actOnLCommand(llvm::StringRef, cling::Transaction**) (in /home/flogoru/Root/root/lib/libCling.so.6.20.04) ==5330== by 0x7D61A10: cling::MetaParser::isLCommand(cling::MetaSema::ActionResult&) (in /home/flogoru/Root/root/lib/libCling.so.6.20.04) ==5330== by 0x7D63625: cling::MetaParser::isCommand(cling::MetaSema::ActionResult&, cling::Value*) (in /home/flogoru/Root/root/lib/libCling.so.6.20.04) ==5330== by 0x7D512F0: cling::MetaProcessor::process(llvm::StringRef, cling::Interpreter::CompilationResult&, cling::Value*, bool) (in /home/flogoru/Root/root/lib/libCling.so.6.20.04) ==5330== by 0x7C4AAB9: HandleInterpreterException(cling::MetaProcessor*, char const*, cling::Interpreter::CompilationResult&, cling::Value*) (in /home/flogoru/Root/root/lib/libCling.so.6.20.04) ==5330== by 0x7C530F4: TCling::Load(char const*, bool) (in /home/flogoru/Root/root/lib/libCling.so.6.20.04) ==5330== by 0x524AC22: TSystem::CompileMacro(char const*, char const*, char const*, char const*, unsigned int)::{lambda(TString const&)#1}::operator()(TString const&) const (in /home/flogoru/Root/root/lib/libCore.so.6.20.04) ==5330== by 0x5251B4D: TSystem::CompileMacro(char const*, char const*, char const*, char const*, unsigned int) (in /home/flogoru/Root/root/lib/libCore.so.6.20.04) ==5330== by 0x7C5A34F: TCling::ProcessLine(char const*, TInterpreter::EErrorCode*) (in /home/flogoru/Root/root/lib/libCling.so.6.20.04) ==5330== by 0x7C5AA15: TCling::ProcessLineSynch(char const*, TInterpreter::EErrorCode*) (in /home/flogoru/Root/root/lib/libCling.so.6.20.04) ==5330== by 0x51E8F9B: TApplication::ExecuteFile(char const*, int*, bool) (in /home/flogoru/Root/root/lib/libCore.so.6.20.04) ==5330== by 0x51E8550: TApplication::ProcessLine(char const*, bool, int*) (in /home/flogoru/Root/root/lib/libCore.so.6.20.04) ==5330== by 0x4E46CD4: TRint::ProcessLineNr(char const*, char const*, int*) (in /home/flogoru/Root/root/lib/libRint.so.6.20.04) ==5330== by 0x4E48356: TRint::Run(bool) (in /home/flogoru/Root/root/lib/libRint.so.6.20.04) ==5330== by 0x4008F9: main (in /home/flogoru/Root/root/bin/root.exe) client stack range: [0x1FFEFF5000 0x1FFF000FFF] client SP: 0x1FFEFFA098 valgrind stack range: [0x1002AAA000 0x1002BA9FFF] top usage: 9912 of 1048576 Note: see also the FAQ in the source distribution. It contains workarounds to several common problems. In particular, if Valgrind aborted or crashed after identifying problems in your program, there's a good chance that fixing those problems will prevent Valgrind aborting or crashing, especially if it happened in m_mallocfree.c. If that doesn't help, please report this bug to: www.valgrind.org In the bug report, send all the above text, the valgrind version, and what OS and version you are using. Thanks.