-
Type:
Bug
-
Status: Closed (View Workflow)
-
Priority:
Critical
-
Resolution: Fixed
-
Affects Version/s: 6.18/04
-
Component/s: Cling
-
Labels:None
-
Environment:
macOS: Mojave 10.14.6
Clang: Apple clang version 11.0.0 (clang-1100.0.33.8)
Xcode: Version 11.0 (11A420a)
Line 0 is OK but I get a segmentation fault in line 1 where a semicolon is not used. I did not have this issue in 6.16.00, which was built with the previous Xcode version.
$ root
root [0] std::shared_ptr<double> a;
root [1] std::shared_ptr<double> b*** 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)
[/usr/local/root/lib/libCling.so] (anonymous namespace)::printUnpackedClingValue(cling::Value const&) (no debug info)
[/usr/local/root/lib/libCling.so] cling::valuePrinterInternal::printValueInternal(cling::Value const&) (no debug info)
[/usr/local/root/lib/libCling.so] cling::Value::print(llvm::raw_ostream&, bool) const (no debug info)
[/usr/local/root/lib/libCling.so] cling::runtime::internal::setValueNoAlloc(void*, void*, void*, char, void const*) (no debug info)
[<unknown binary>] (no debug info)
[/usr/local/root/lib/libCling.so] cling::IncrementalExecutor::executeWrapper(llvm::StringRef, cling::Value*) const (no debug info)
[/usr/local/root/lib/libCling.so] cling::Interpreter::RunFunction(clang::FunctionDecl const*, cling::Value*) (no debug info)
[/usr/local/root/lib/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)
[/usr/local/root/lib/libCling.so] cling::Interpreter::process(std::_1::basic_string<char, std::1::char_traits<char>, std::_1::allocator<char> > const&, cling::Value*, cling::Transaction**, bool) (no debug info)
[/usr/local/root/lib/libCling.so] cling::MetaProcessor::process(llvm::StringRef, cling::Interpreter::CompilationResult&, cling::Value*, bool) (no debug info)
[/usr/local/root/lib/libCling.so] HandleInterpreterException(cling::MetaProcessor*, char const*, cling::Interpreter::CompilationResult&, cling::Value*) /usr/local/root-6.18.04/core/metacling/src/TCling.cxx:2161
[/usr/local/root/lib/libCling.so] TCling::ProcessLine(char const*, TInterpreter::EErrorCode*) /usr/local/root-6.18.04/core/metacling/src/TCling.cxx:0
[/usr/local/root/lib/libRint.so] TRint::ProcessLineNr(char const*, char const*, int*) /usr/local/root-6.18.04/core/rint/src/TRint.cxx:746
[/usr/local/root/lib/libRint.so] TRint::HandleTermInput() /usr/local/root-6.18.04/core/rint/src/TRint.cxx:608
[/usr/local/root/lib/libCore.so] TUnixSystem::CheckDescriptors() /usr/local/root-6.18.04/core/unix/src/TUnixSystem.cxx:1311
[/usr/local/root/lib/libCore.so] TMacOSXSystem::DispatchOneEvent(bool) /usr/local/root-6.18.04/core/macosx/src/TMacOSXSystem.mm:378
[/usr/local/root/lib/libCore.so] TSystem::InnerLoop() /usr/local/root-6.18.04/core/base/src/TSystem.cxx:413
[/usr/local/root/lib/libCore.so] TSystem::Run() /usr/local/root-6.18.04/core/base/src/TSystem.cxx:363
[/usr/local/root/lib/libCore.so] TApplication::Run(bool) /usr/local/root-6.18.04/core/base/src/TApplication.cxx:1179
[/usr/local/root/lib/libRint.so] TRint::Run(bool) /usr/local/root-6.18.04/core/rint/src/TRint.cxx:463
[/usr/local/root/bin/root.exe] main /usr/local/root-6.18.04/main/src/rmain.cxx:32
[/usr/lib/system/libdyld.dylib] start (no debug info)
Root >