Error of ***Break***Segmentation violation

my code shows an error;
Thanks for help.

*** Break *** segmentation violation

[/usr/lib/system/libsystem_platform.dylib] _sigtramp (no debug info)

[<unknown binary>] (no debug info)

[<unknown binary>] (no debug info)

[<unknown binary>] (no debug info)

[/opt/homebrew/Cellar/root/6.24.06_2/lib/root/libCling.so] cling::IncrementalExecutor::executeWrapper(llvm::StringRef, cling::Value*) const (no debug info)

[/opt/homebrew/Cellar/root/6.24.06_2/lib/root/libCling.so] cling::Interpreter::RunFunction(clang::FunctionDecl const*, cling::Value*) (no debug info)

[/opt/homebrew/Cellar/root/6.24.06_2/lib/root/libCling.so] cling::Interpreter::EvaluateInternal(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, cling::CompilationOptions, cling::Value*, cling::Transaction**, unsigned long) (no debug info)

[/opt/homebrew/Cellar/root/6.24.06_2/lib/root/libCling.so] cling::MetaSema::actOnxCommand(llvm::StringRef, llvm::StringRef, cling::Value*) (no debug info)

[/opt/homebrew/Cellar/root/6.24.06_2/lib/root/libCling.so] cling::MetaParser::isXCommand(cling::MetaSema::ActionResult&, cling::Value*) (no debug info)

[/opt/homebrew/Cellar/root/6.24.06_2/lib/root/libCling.so] cling::MetaParser::isCommand(cling::MetaSema::ActionResult&, cling::Value*) (no debug info)

[/opt/homebrew/Cellar/root/6.24.06_2/lib/root/libCling.so] cling::MetaProcessor::process(llvm::StringRef, cling::Interpreter::CompilationResult&, cling::Value*, bool) (no debug info)

[/opt/homebrew/Cellar/root/6.24.06_2/lib/root/libCling.so] HandleInterpreterException(cling::MetaProcessor*, char const*, cling::Interpreter::CompilationResult&, cling::Value*) (no debug info)

[/opt/homebrew/Cellar/root/6.24.06_2/lib/root/libCling.so] TCling::ProcessLine(char const*, TInterpreter::EErrorCode*) (no debug info)

[/opt/homebrew/Cellar/root/6.24.06_2/lib/root/libCling.so] TCling::ProcessLineSynch(char const*, TInterpreter::EErrorCode*) (no debug info)

[/opt/homebrew/Cellar/root/6.24.06_2/lib/root/libCore.so] TApplication::ExecuteFile(char const*, int*, bool) (no debug info)

[/opt/homebrew/Cellar/root/6.24.06_2/lib/root/libRint.so] TRint::ProcessLineNr(char const*, char const*, int*) (no debug info)

[/opt/homebrew/Cellar/root/6.24.06_2/lib/root/libRint.so] TRint::HandleTermInput() (no debug info)

[/opt/homebrew/Cellar/root/6.24.06_2/lib/root/libCore.so] TUnixSystem::CheckDescriptors() (no debug info)

[/opt/homebrew/Cellar/root/6.24.06_2/lib/root/libCore.so] TMacOSXSystem::DispatchOneEvent(bool) (no debug info)

[/opt/homebrew/Cellar/root/6.24.06_2/lib/root/libCore.so] TSystem::InnerLoop() (no debug info)

[/opt/homebrew/Cellar/root/6.24.06_2/lib/root/libCore.so] TSystem::Run() (no debug info)

[/opt/homebrew/Cellar/root/6.24.06_2/lib/root/libCore.so] TApplication::Run(bool) (no debug info)

[/opt/homebrew/Cellar/root/6.24.06_2/lib/root/libRint.so] TRint::Run(bool) (no debug info)

[/opt/homebrew/Cellar/root/6.24.06_2/bin/root.exe] main (no debug info)

[/usr/lib/dyld] start (no debug info)

Can you post a small piece of code reproducing this error ?

Hi @Roy,

As I replied in the other topic, this might perfectly be related to your code performing an illegal memory access. As @couet said, could you please post a reproducer?

Cheers,
J.