So I managed to run my program in valgrind using the command
valgrind --num-callers=30 --suppressions=$ROOTSYS/etc/valgrind-root.supp root.exe -l -b -q fitMultiple.cc
and got the output
`==3983== Memcheck, a memory error detector
==3983== Copyright (C) 2002-2017, and GNU GPL’d, by Julian Seward et al.
==3983== Using Valgrind-3.17.0 and LibVEX; rerun with -h for copyright info
==3983== Command: root.exe -l -b -q fitMultiple.cc
==3983==
Processing fitMultiple.cc…
==3983== Invalid write of size 8
==3983== at 0x1EC3ECF8: ???
==3983== by 0x521B04D: ???
==3983== by 0x680DEDE: cling::IncrementalExecutor::executeWrapper(llvm::StringRef, cling::Value*) const (in /home/jamal/root/root-6.24.00-install/lib/libCling.so)
==3983== by 0x6782C3E: cling::Interpreter::RunFunction(clang::FunctionDecl const*, cling::Value*) (in /home/jamal/root/root-6.24.00-install/lib/libCling.so)
==3983== by 0x67845AC: cling::Interpreter::EvaluateInternal(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, cling::CompilationOptions, cling::Value*, cling::Transaction**, unsigned long) (in /home/jamal/root/root-6.24.00-install/lib/libCling.so)
==3983== by 0x68774C4: cling::MetaSema::actOnxCommand(llvm::StringRef, llvm::StringRef, cling::Value*) (in /home/jamal/root/root-6.24.00-install/lib/libCling.so)
==3983== by 0x6885BD4: cling::MetaParser::isXCommand(cling::MetaSema::ActionResult&, cling::Value*) (in /home/jamal/root/root-6.24.00-install/lib/libCling.so)
==3983== by 0x688707D: cling::MetaParser::isCommand(cling::MetaSema::ActionResult&, cling::Value*) (in /home/jamal/root/root-6.24.00-install/lib/libCling.so)
==3983== by 0x6870828: cling::MetaProcessor::process(llvm::StringRef, cling::Interpreter::CompilationResult&, cling::Value*, bool) (in /home/jamal/root/root-6.24.00-install/lib/libCling.so)
==3983== by 0x667E89B: HandleInterpreterException(cling::MetaProcessor*, char const*, cling::Interpreter::CompilationResult&, cling::Value*) (in /home/jamal/root/root-6.24.00-install/lib/libCling.so)
==3983== by 0x669727D: TCling::ProcessLine(char const*, TInterpreter::EErrorCode*) (in /home/jamal/root/root-6.24.00-install/lib/libCling.so)
==3983== by 0x6697639: TCling::ProcessLineSynch(char const*, TInterpreter::EErrorCode*) (in /home/jamal/root/root-6.24.00-install/lib/libCling.so)
==3983== by 0x4E317B9: TApplication::ExecuteFile(char const*, int*, bool) (in /home/jamal/root/root-6.24.00-install/lib/libCore.so)
==3983== by 0x4E324F2: TApplication::ProcessLine(char const*, bool, int*) (in /home/jamal/root/root-6.24.00-install/lib/libCore.so)
==3983== by 0x4C5D1B5: TRint::ProcessLineNr(char const*, char const*, int*) (in /home/jamal/root/root-6.24.00-install/lib/libRint.so)
==3983== by 0x4C5EABC: TRint::Run(bool) (in /home/jamal/root/root-6.24.00-install/lib/libRint.so)
==3983== by 0x10917F: main (in /home/jamal/root/root-6.24.00-install/bin/root.exe)
==3983== Address 0xc21d180 is 0 bytes after a block of size 0 alloc’d
==3983== at 0x4A3A99F: operator new[](unsigned long) (vg_replace_malloc.c:579)
==3983== by 0x1EC3ECCF: ???
==3983== by 0x521B04D: ???
==3983== by 0x680DEDE: cling::IncrementalExecutor::executeWrapper(llvm::StringRef, cling::Value*) const (in /home/jamal/root/root-6.24.00-install/lib/libCling.so)
==3983== by 0x6782C3E: cling::Interpreter::RunFunction(clang::FunctionDecl const*, cling::Value*) (in /home/jamal/root/root-6.24.00-install/lib/libCling.so)
==3983== by 0x67845AC: cling::Interpreter::EvaluateInternal(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, cling::CompilationOptions, cling::Value*, cling::Transaction**, unsigned long) (in /home/jamal/root/root-6.24.00-install/lib/libCling.so)
==3983== by 0x68774C4: cling::MetaSema::actOnxCommand(llvm::StringRef, llvm::StringRef, cling::Value*) (in /home/jamal/root/root-6.24.00-install/lib/libCling.so)
==3983== by 0x6885BD4: cling::MetaParser::isXCommand(cling::MetaSema::ActionResult&, cling::Value*) (in /home/jamal/root/root-6.24.00-install/lib/libCling.so)
==3983== by 0x688707D: cling::MetaParser::isCommand(cling::MetaSema::ActionResult&, cling::Value*) (in /home/jamal/root/root-6.24.00-install/lib/libCling.so)
==3983== by 0x6870828: cling::MetaProcessor::process(llvm::StringRef, cling::Interpreter::CompilationResult&, cling::Value*, bool) (in /home/jamal/root/root-6.24.00-install/lib/libCling.so)
==3983== by 0x667E89B: HandleInterpreterException(cling::MetaProcessor*, char const*, cling::Interpreter::CompilationResult&, cling::Value*) (in /home/jamal/root/root-6.24.00-install/lib/libCling.so)
==3983== by 0x669727D: TCling::ProcessLine(char const*, TInterpreter::EErrorCode*) (in /home/jamal/root/root-6.24.00-install/lib/libCling.so)
==3983== by 0x6697639: TCling::ProcessLineSynch(char const*, TInterpreter::EErrorCode*) (in /home/jamal/root/root-6.24.00-install/lib/libCling.so)
==3983== by 0x4E317B9: TApplication::ExecuteFile(char const*, int*, bool) (in /home/jamal/root/root-6.24.00-install/lib/libCore.so)
==3983== by 0x4E324F2: TApplication::ProcessLine(char const*, bool, int*) (in /home/jamal/root/root-6.24.00-install/lib/libCore.so)
==3983== by 0x4C5D1B5: TRint::ProcessLineNr(char const*, char const*, int*) (in /home/jamal/root/root-6.24.00-install/lib/libRint.so)
==3983== by 0x4C5EABC: TRint::Run(bool) (in /home/jamal/root/root-6.24.00-install/lib/libRint.so)
==3983== by 0x10917F: main (in /home/jamal/root/root-6.24.00-install/bin/root.exe)
==3983==
==3983== Invalid write of size 8
==3983== at 0x1EC3ED0C: ???
==3983== by 0x521B04D: ???
==3983== by 0x680DEDE: cling::IncrementalExecutor::executeWrapper(llvm::StringRef, cling::Value*) const (in /home/jamal/root/root-6.24.00-install/lib/libCling.so)
==3983== by 0x6782C3E: cling::Interpreter::RunFunction(clang::FunctionDecl const*, cling::Value*) (in /home/jamal/root/root-6.24.00-install/lib/libCling.so)
==3983== by 0x67845AC: cling::Interpreter::EvaluateInternal(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, cling::CompilationOptions, cling::Value*, cling::Transaction**, unsigned long) (in /home/jamal/root/root-6.24.00-install/lib/libCling.so)
==3983== by 0x68774C4: cling::MetaSema::actOnxCommand(llvm::StringRef, llvm::StringRef, cling::Value*) (in /home/jamal/root/root-6.24.00-install/lib/libCling.so)
==3983== by 0x6885BD4: cling::MetaParser::isXCommand(cling::MetaSema::ActionResult&, cling::Value*) (in /home/jamal/root/root-6.24.00-install/lib/libCling.so)
==3983== by 0x688707D: cling::MetaParser::isCommand(cling::MetaSema::ActionResult&, cling::Value*) (in /home/jamal/root/root-6.24.00-install/lib/libCling.so)
==3983== by 0x6870828: cling::MetaProcessor::process(llvm::StringRef, cling::Interpreter::CompilationResult&, cling::Value*, bool) (in /home/jamal/root/root-6.24.00-install/lib/libCling.so)
==3983== by 0x667E89B: HandleInterpreterException(cling::MetaProcessor*, char const*, cling::Interpreter::CompilationResult&, cling::Value*) (in /home/jamal/root/root-6.24.00-install/lib/libCling.so)
==3983== by 0x669727D: TCling::ProcessLine(char const*, TInterpreter::EErrorCode*) (in /home/jamal/root/root-6.24.00-install/lib/libCling.so)
==3983== by 0x6697639: TCling::ProcessLineSynch(char const*, TInterpreter::EErrorCode*) (in /home/jamal/root/root-6.24.00-install/lib/libCling.so)
==3983== by 0x4E317B9: TApplication::ExecuteFile(char const*, int*, bool) (in /home/jamal/root/root-6.24.00-install/lib/libCore.so)
==3983== by 0x4E324F2: TApplication::ProcessLine(char const*, bool, int*) (in /home/jamal/root/root-6.24.00-install/lib/libCore.so)
==3983== by 0x4C5D1B5: TRint::ProcessLineNr(char const*, char const*, int*) (in /home/jamal/root/root-6.24.00-install/lib/libRint.so)
==3983== by 0x4C5EABC: TRint::Run(bool) (in /home/jamal/root/root-6.24.00-install/lib/libRint.so)
==3983== by 0x10917F: main (in /home/jamal/root/root-6.24.00-install/bin/root.exe)
==3983== Address 0xc21d188 is 8 bytes after a block of size 0 alloc’d
==3983== at 0x4A3A99F: operator new[](unsigned long) (vg_replace_malloc.c:579)
==3983== by 0x1EC3ECCF: ???
==3983== by 0x521B04D: ???
==3983== by 0x680DEDE: cling::IncrementalExecutor::executeWrapper(llvm::StringRef, cling::Value*) const (in /home/jamal/root/root-6.24.00-install/lib/libCling.so)
==3983== by 0x6782C3E: cling::Interpreter::RunFunction(clang::FunctionDecl const*, cling::Value*) (in /home/jamal/root/root-6.24.00-install/lib/libCling.so)
==3983== by 0x67845AC: cling::Interpreter::EvaluateInternal(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, cling::CompilationOptions, cling::Value*, cling::Transaction**, unsigned long) (in /home/jamal/root/root-6.24.00-install/lib/libCling.so)
==3983== by 0x68774C4: cling::MetaSema::actOnxCommand(llvm::StringRef, llvm::StringRef, cling::Value*) (in /home/jamal/root/root-6.24.00-install/lib/libCling.so)
==3983== by 0x6885BD4: cling::MetaParser::isXCommand(cling::MetaSema::ActionResult&, cling::Value*) (in /home/jamal/root/root-6.24.00-install/lib/libCling.so)
==3983== by 0x688707D: cling::MetaParser::isCommand(cling::MetaSema::ActionResult&, cling::Value*) (in /home/jamal/root/root-6.24.00-install/lib/libCling.so)
==3983== by 0x6870828: cling::MetaProcessor::process(llvm::StringRef, cling::Interpreter::CompilationResult&, cling::Value*, bool) (in /home/jamal/root/root-6.24.00-install/lib/libCling.so)
==3983== by 0x667E89B: HandleInterpreterException(cling::MetaProcessor*, char const*, cling::Interpreter::CompilationResult&, cling::Value*) (in /home/jamal/root/root-6.24.00-install/lib/libCling.so)
==3983== by 0x669727D: TCling::ProcessLine(char const*, TInterpreter::EErrorCode*) (in /home/jamal/root/root-6.24.00-install/lib/libCling.so)
==3983== by 0x6697639: TCling::ProcessLineSynch(char const*, TInterpreter::EErrorCode*) (in /home/jamal/root/root-6.24.00-install/lib/libCling.so)
==3983== by 0x4E317B9: TApplication::ExecuteFile(char const*, int*, bool) (in /home/jamal/root/root-6.24.00-install/lib/libCore.so)
==3983== by 0x4E324F2: TApplication::ProcessLine(char const*, bool, int*) (in /home/jamal/root/root-6.24.00-install/lib/libCore.so)
==3983== by 0x4C5D1B5: TRint::ProcessLineNr(char const*, char const*, int*) (in /home/jamal/root/root-6.24.00-install/lib/libRint.so)
==3983== by 0x4C5EABC: TRint::Run(bool) (in /home/jamal/root/root-6.24.00-install/lib/libRint.so)
==3983== by 0x10917F: main (in /home/jamal/root/root-6.24.00-install/bin/root.exe)
==3983==
==3983== Invalid write of size 8
==3983== at 0x1EC3ED21: ???
==3983== by 0x521B04D: ???
==3983== by 0x680DEDE: cling::IncrementalExecutor::executeWrapper(llvm::StringRef, cling::Value*) const (in /home/jamal/root/root-6.24.00-install/lib/libCling.so)
==3983== by 0x6782C3E: cling::Interpreter::RunFunction(clang::FunctionDecl const*, cling::Value*) (in /home/jamal/root/root-6.24.00-install/lib/libCling.so)
==3983== by 0x67845AC: cling::Interpreter::EvaluateInternal(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, cling::CompilationOptions, cling::Value*, cling::Transaction**, unsigned long) (in /home/jamal/root/root-6.24.00-install/lib/libCling.so)
==3983== by 0x68774C4: cling::MetaSema::actOnxCommand(llvm::StringRef, llvm::StringRef, cling::Value*) (in /home/jamal/root/root-6.24.00-install/lib/libCling.so)
==3983== by 0x6885BD4: cling::MetaParser::isXCommand(cling::MetaSema::ActionResult&, cling::Value*) (in /home/jamal/root/root-6.24.00-install/lib/libCling.so)
==3983== by 0x688707D: cling::MetaParser::isCommand(cling::MetaSema::ActionResult&, cling::Value*) (in /home/jamal/root/root-6.24.00-install/lib/libCling.so)
==3983== by 0x6870828: cling::MetaProcessor::process(llvm::StringRef, cling::Interpreter::CompilationResult&, cling::Value*, bool) (in /home/jamal/root/root-6.24.00-install/lib/libCling.so)
==3983== by 0x667E89B: HandleInterpreterException(cling::MetaProcessor*, char const*, cling::Interpreter::CompilationResult&, cling::Value*) (in /home/jamal/root/root-6.24.00-install/lib/libCling.so)
==3983== by 0x669727D: TCling::ProcessLine(char const*, TInterpreter::EErrorCode*) (in /home/jamal/root/root-6.24.00-install/lib/libCling.so)
==3983== by 0x6697639: TCling::ProcessLineSynch(char const*, TInterpreter::EErrorCode*) (in /home/jamal/root/root-6.24.00-install/lib/libCling.so)
==3983== by 0x4E317B9: TApplication::ExecuteFile(char const*, int*, bool) (in /home/jamal/root/root-6.24.00-install/lib/libCore.so)
==3983== by 0x4E324F2: TApplication::ProcessLine(char const*, bool, int*) (in /home/jamal/root/root-6.24.00-install/lib/libCore.so)
==3983== by 0x4C5D1B5: TRint::ProcessLineNr(char const*, char const*, int*) (in /home/jamal/root/root-6.24.00-install/lib/libRint.so)
==3983== by 0x4C5EABC: TRint::Run(bool) (in /home/jamal/root/root-6.24.00-install/lib/libRint.so)
==3983== by 0x10917F: main (in /home/jamal/root/root-6.24.00-install/bin/root.exe)
==3983== Address 0xc21d190 is 16 bytes after a block of size 0 alloc’d
==3983== at 0x4A3A99F: operator new[](unsigned long) (vg_replace_malloc.c:579)
==3983== by 0x1EC3ECCF: ???
==3983== by 0x521B04D: ???
==3983== by 0x680DEDE: cling::IncrementalExecutor::executeWrapper(llvm::StringRef, cling::Value*) const (in /home/jamal/root/root-6.24.00-install/lib/libCling.so)
==3983== by 0x6782C3E: cling::Interpreter::RunFunction(clang::FunctionDecl const*, cling::Value*) (in /home/jamal/root/root-6.24.00-install/lib/libCling.so)
==3983== by 0x67845AC: cling::Interpreter::EvaluateInternal(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, cling::CompilationOptions, cling::Value*, cling::Transaction**, unsigned long) (in /home/jamal/root/root-6.24.00-install/lib/libCling.so)
==3983== by 0x68774C4: cling::MetaSema::actOnxCommand(llvm::StringRef, llvm::StringRef, cling::Value*) (in /home/jamal/root/root-6.24.00-install/lib/libCling.so)
==3983== by 0x6885BD4: cling::MetaParser::isXCommand(cling::MetaSema::ActionResult&, cling::Value*) (in /home/jamal/root/root-6.24.00-install/lib/libCling.so)
==3983== by 0x688707D: cling::MetaParser::isCommand(cling::MetaSema::ActionResult&, cling::Value*) (in /home/jamal/root/root-6.24.00-install/lib/libCling.so)
==3983== by 0x6870828: cling::MetaProcessor::process(llvm::StringRef, cling::Interpreter::CompilationResult&, cling::Value*, bool) (in /home/jamal/root/root-6.24.00-install/lib/libCling.so)
==3983== by 0x667E89B: HandleInterpreterException(cling::MetaProcessor*, char const*, cling::Interpreter::CompilationResult&, cling::Value*) (in /home/jamal/root/root-6.24.00-install/lib/libCling.so)
==3983== by 0x669727D: TCling::ProcessLine(char const*, TInterpreter::EErrorCode*) (in /home/jamal/root/root-6.24.00-install/lib/libCling.so)
==3983== by 0x6697639: TCling::ProcessLineSynch(char const*, TInterpreter::EErrorCode*) (in /home/jamal/root/root-6.24.00-install/lib/libCling.so)
==3983== by 0x4E317B9: TApplication::ExecuteFile(char const*, int*, bool) (in /home/jamal/root/root-6.24.00-install/lib/libCore.so)
==3983== by 0x4E324F2: TApplication::ProcessLine(char const*, bool, int*) (in /home/jamal/root/root-6.24.00-install/lib/libCore.so)
==3983== by 0x4C5D1B5: TRint::ProcessLineNr(char const*, char const*, int*) (in /home/jamal/root/root-6.24.00-install/lib/libRint.so)
==3983== by 0x4C5EABC: TRint::Run(bool) (in /home/jamal/root/root-6.24.00-install/lib/libRint.so)
==3983== by 0x10917F: main (in /home/jamal/root/root-6.24.00-install/bin/root.exe)
==3983==
==3983== Invalid write of size 8
==3983== at 0x1EC3ED36: ???
==3983== by 0x521B04D: ???
==3983== by 0x680DEDE: cling::IncrementalExecutor::executeWrapper(llvm::StringRef, cling::Value*) const (in /home/jamal/root/root-6.24.00-install/lib/libCling.so)
==3983== by 0x6782C3E: cling::Interpreter::RunFunction(clang::FunctionDecl const*, cling::Value*) (in /home/jamal/root/root-6.24.00-install/lib/libCling.so)
==3983== by 0x67845AC: cling::Interpreter::EvaluateInternal(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, cling::CompilationOptions, cling::Value*, cling::Transaction**, unsigned long) (in /home/jamal/root/root-6.24.00-install/lib/libCling.so)
==3983== by 0x68774C4: cling::MetaSema::actOnxCommand(llvm::StringRef, llvm::StringRef, cling::Value*) (in /home/jamal/root/root-6.24.00-install/lib/libCling.so)
==3983== by 0x6885BD4: cling::MetaParser::isXCommand(cling::MetaSema::ActionResult&, cling::Value*) (in /home/jamal/root/root-6.24.00-install/lib/libCling.so)
==3983== by 0x688707D: cling::MetaParser::isCommand(cling::MetaSema::ActionResult&, cling::Value*) (in /home/jamal/root/root-6.24.00-install/lib/libCling.so)
==3983== by 0x6870828: cling::MetaProcessor::process(llvm::StringRef, cling::Interpreter::CompilationResult&, cling::Value*, bool) (in /home/jamal/root/root-6.24.00-install/lib/libCling.so)
==3983== by 0x667E89B: HandleInterpreterException(cling::MetaProcessor*, char const*, cling::Interpreter::CompilationResult&, cling::Value*) (in /home/jamal/root/root-6.24.00-install/lib/libCling.so)
==3983== by 0x669727D: TCling::ProcessLine(char const*, TInterpreter::EErrorCode*) (in /home/jamal/root/root-6.24.00-install/lib/libCling.so)
==3983== by 0x6697639: TCling::ProcessLineSynch(char const*, TInterpreter::EErrorCode*) (in /home/jamal/root/root-6.24.00-install/lib/libCling.so)
==3983== by 0x4E317B9: TApplication::ExecuteFile(char const*, int*, bool) (in /home/jamal/root/root-6.24.00-install/lib/libCore.so)
==3983== by 0x4E324F2: TApplication::ProcessLine(char const*, bool, int*) (in /home/jamal/root/root-6.24.00-install/lib/libCore.so)
==3983== by 0x4C5D1B5: TRint::ProcessLineNr(char const*, char const*, int*) (in /home/jamal/root/root-6.24.00-install/lib/libRint.so)
==3983== by 0x4C5EABC: TRint::Run(bool) (in /home/jamal/root/root-6.24.00-install/lib/libRint.so)
==3983== by 0x10917F: main (in /home/jamal/root/root-6.24.00-install/bin/root.exe)
==3983== Address 0xc21d198 is 24 bytes after a block of size 0 in arena “client”
==3983==
valgrind: m_mallocfree.c:305 (get_bszB_as_is): Assertion ‘bszB_lo == bszB_hi’ failed.
valgrind: Heap block lo/hi size mismatch: lo = 64, hi = 516180624.
This is probably caused by your program erroneously writing past the
end of a heap block and corrupting heap metadata. If you fix any
invalid writes reported by Memcheck, this assertion failure will
probably go away. Please try that before reporting this as a bug.
host stacktrace:
==3983== at 0x5810495A: show_sched_status_wrk (m_libcassert.c:385)
==3983== by 0x580E6107: report_and_quit (m_libcassert.c:474)
==3983== by 0x580E6287: vgPlain_assert_fail (m_libcassert.c:497)
==3983== by 0x580F3E2A: get_bszB_as_is (m_mallocfree.c:297)
==3983== by 0x5818ECBD: vgPlain_describe_arena_addr (m_mallocfree.c:341)
==3983== by 0x5818ECBD: vgPlain_describe_addr (m_addrinfo.c:87)
==3983== by 0x581C26DE: vgMemCheck_update_Error_extra (mc_errors.c:1143)
==3983== by 0x581C9006: vgPlain_maybe_record_error (m_errormgr.c:683)
==3983== by 0x581E051D: vgMemCheck_record_address_error (mc_errors.c:735)
==3983== by 0x10128619A2: ???
==3983== by 0x1003455E9F: ???
==3983== by 0x1003455EDF: ???
sched status:
running_tid=1
Thread 1: status = VgTs_Runnable (lwpid 3983)
==3983== at 0x1EC3ED4B: ???
==3983== by 0x521B04D: ???
==3983== by 0x680DEDE: cling::IncrementalExecutor::executeWrapper(llvm::StringRef, cling::Value*) const (in /home/jamal/root/root-6.24.00-install/lib/libCling.so)
==3983== by 0x6782C3E: cling::Interpreter::RunFunction(clang::FunctionDecl const*, cling::Value*) (in /home/jamal/root/root-6.24.00-install/lib/libCling.so)
==3983== by 0x67845AC: cling::Interpreter::EvaluateInternal(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, cling::CompilationOptions, cling::Value*, cling::Transaction**, unsigned long) (in /home/jamal/root/root-6.24.00-install/lib/libCling.so)
==3983== by 0x68774C4: cling::MetaSema::actOnxCommand(llvm::StringRef, llvm::StringRef, cling::Value*) (in /home/jamal/root/root-6.24.00-install/lib/libCling.so)
==3983== by 0x6885BD4: cling::MetaParser::isXCommand(cling::MetaSema::ActionResult&, cling::Value*) (in /home/jamal/root/root-6.24.00-install/lib/libCling.so)
==3983== by 0x688707D: cling::MetaParser::isCommand(cling::MetaSema::ActionResult&, cling::Value*) (in /home/jamal/root/root-6.24.00-install/lib/libCling.so)
==3983== by 0x6870828: cling::MetaProcessor::process(llvm::StringRef, cling::Interpreter::CompilationResult&, cling::Value*, bool) (in /home/jamal/root/root-6.24.00-install/lib/libCling.so)
==3983== by 0x667E89B: HandleInterpreterException(cling::MetaProcessor*, char const*, cling::Interpreter::CompilationResult&, cling::Value*) (in /home/jamal/root/root-6.24.00-install/lib/libCling.so)
==3983== by 0x669727D: TCling::ProcessLine(char const*, TInterpreter::EErrorCode*) (in /home/jamal/root/root-6.24.00-install/lib/libCling.so)
==3983== by 0x6697639: TCling::ProcessLineSynch(char const*, TInterpreter::EErrorCode*) (in /home/jamal/root/root-6.24.00-install/lib/libCling.so)
==3983== by 0x4E317B9: TApplication::ExecuteFile(char const*, int*, bool) (in /home/jamal/root/root-6.24.00-install/lib/libCore.so)
==3983== by 0x4E324F2: TApplication::ProcessLine(char const*, bool, int*) (in /home/jamal/root/root-6.24.00-install/lib/libCore.so)
==3983== by 0x4C5D1B5: TRint::ProcessLineNr(char const*, char const*, int*) (in /home/jamal/root/root-6.24.00-install/lib/libRint.so)
==3983== by 0x4C5EABC: TRint::Run(bool) (in /home/jamal/root/root-6.24.00-install/lib/libRint.so)
==3983== by 0x10917F: main (in /home/jamal/root/root-6.24.00-install/bin/root.exe)
client stack range: [0x1FFEFE8000 0x1FFF000FFF] client SP: 0x1FFEFFAD30
valgrind stack range: [0x1003356000 0x1003455FFF] top usage: 12064 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.
`
I get the ??? becuase I am not running a version of root in a debug more to where I have access to debug symbols. How do I install/set root to go to a debug mode and use that with valgrind?