Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: 6.00.02
    • Fix Version/s: 6.04.00
    • Component/s: Cling, Core Libraries
    • Labels:
      None
    • Environment:

      Linux reyli.com 3.14.14-gentoo x86_64 Pentium(R) Dual-Core CPU T4300 @ 2.10GHz GenuineIntel GNU/Linux

    • Development:

      Description

      After loading - unloading -loading script root.cern falls down. How to resolve this error?

      root [7] .L function1.cxx
      root [7] .U function1.cxx
      root [8] .L function1.cxx

          • Break *** segmentation violation
            ===========================================================
            There was a crash.
            This is the entire stack trace of all threads:
            ===========================================================
            #0 0x00007fed492701bc in waitpid () from /lib64/libc.so.6
            #1 0x00007fed491f956b in ?? () from /lib64/libc.so.6
            #2 0x00007fed4a1361b3 in TUnixSystem::StackTrace() () from /usr/lib64/root/libCore.so.6.00
            #3 0x00007fed4a13887c in TUnixSystem::DispatchSignals(ESignals) () from /usr/lib64/root/libCore.so.6.00
            #4 <signal handler called>
            #5 0x00007fed4722c970 in llvm::Type::getScalarType() const () from /usr/lib64/root/libCling.so
            #6 0x00007fed4722ccf9 in llvm::Type::getPointerAddressSpace() const () from /usr/lib64/root/libCling.so
            #7 0x00007fed462a7f9b in ?? () from /usr/lib64/root/libCling.so
            #8 0x00007fed462ea579 in clang::CodeGen::CodeGenFunction::InitializeVTablePointer(clang::BaseSubobject, clang::CXXRecordDecl const*, clang::CharUnits, clang::CXXRecordDecl const*) () from /usr/lib64/root/libCling.so
            #9 0x00007fed462ed7bd in clang::CodeGen::CodeGenFunction::InitializeVTablePointers(clang::BaseSubobject, clang::CXXRecordDecl const*, clang::CharUnits, bool, clang::CXXRecordDecl const*, llvm::SmallPtrSet<clang::CXXRecordDecl const*, 4u>&) () from /usr/lib64/root/libCling.so
            #10 0x00007fed462ed889 in clang::CodeGen::CodeGenFunction::InitializeVTablePointers(clang::CXXRecordDecl const*) () from /usr/lib64/root/libCling.so
            #11 0x00007fed462f0ee0 in clang::CodeGen::CodeGenFunction::EmitCtorPrologue(clang::CXXConstructorDecl const*, clang::CXXCtorType, clang::CodeGen::FunctionArgList&) () from /usr/lib64/root/libCling.so
            #12 0x00007fed462f157b in clang::CodeGen::CodeGenFunction::EmitConstructorBody(clang::CodeGen::FunctionArgList&) () from /usr/lib64/root/libCling.so
            #13 0x00007fed4626f4bb in clang::CodeGen::CodeGenFunction::GenerateCode(clang::GlobalDecl, llvm::Function*, clang::CodeGen::CGFunctionInfo const&) () from /usr/lib64/root/libCling.so
            #14 0x00007fed462d84f5 in clang::CodeGen::CodeGenModule::EmitCXXConstructor(clang::CXXConstructorDecl const*, clang::CXXCtorType) () from /usr/lib64/root/libCling.so
            #15 0x00007fed46284971 in clang::CodeGen::CodeGenModule::EmitGlobalDefinition(clang::GlobalDecl, llvm::GlobalValue*) () from /usr/lib64/root/libCling.so
            #16 0x00007fed462849f5 in clang::CodeGen::CodeGenModule::EmitDeferred() () from /usr/lib64/root/libCling.so
            #17 0x00007fed46284a19 in clang::CodeGen::CodeGenModule::Release() () from /usr/lib64/root/libCling.so
            #18 0x00007fed460307aa in cling::IncrementalParser::codeGenTransaction(cling::Transaction*) () from /usr/lib64/root/libCling.so
            #19 0x00007fed4603054f in cling::IncrementalParser::commitTransaction(cling::Transaction*) () from /usr/lib64/root/libCling.so
            #20 0x00007fed46031214 in cling::IncrementalParser::Compile(llvm::StringRef, cling::CompilationOptions const&) () from /usr/lib64/root/libCling.so
            #21 0x00007fed45ffc0e9 in cling::Interpreter::DeclareInternal(std::string const&, cling::CompilationOptions const&, cling::Transaction**) const () from /usr/lib64/root/libCling.so
            #22 0x00007fed45ffc218 in cling::Interpreter::declare(std::string const&, cling::Transaction**) () from /usr/lib64/root/libCling.so
            #23 0x00007fed45ffce51 in cling::Interpreter::loadFile(std::string const&, bool) () from /usr/lib64/root/libCling.so
            #24 0x00007fed46079d26 in cling::MetaSema::actOnLCommand(llvm::StringRef) () from /usr/lib64/root/libCling.so
            #25 0x00007fed4608589f in cling::MetaParser::isLCommand(cling::MetaSema::ActionResult&) () from /usr/lib64/root/libCling.so
            #26 0x00007fed46086d48 in cling::MetaParser::isCommand(cling::MetaSema::ActionResult&, cling::Value*) () from /usr/lib64/root/libCling.so
            #27 0x00007fed46087753 in cling::MetaProcessor::process(char const*, cling::Interpreter::CompilationResult&, cling::Value*) () from /usr/lib64/root/libCling.so
            #28 0x00007fed45f86652 in TCling::ProcessLine(char const*, TInterpreter::EErrorCode*) () from /usr/lib64/root/libCling.so
            #29 0x00007fed4a0b3699 in TApplication::ProcessLine(char const*, bool, int*) () from /usr/lib64/root/libCore.so.6.00
            #30 0x00007fed49cb5bb5 in TRint::ProcessLineNr(char const*, char const*, int*) () from /usr/lib64/root/libRint.so.6.00
            #31 0x00007fed49cb5e41 in TRint::HandleTermInput() () from /usr/lib64/root/libRint.so.6.00
            #32 0x00007fed4a138085 in TUnixSystem::CheckDescriptors() () from /usr/lib64/root/libCore.so.6.00
            #33 0x00007fed4a138b7a in TUnixSystem::DispatchOneEvent(bool) () from /usr/lib64/root/libCore.so.6.00
            #34 0x00007fed4a0a3336 in TSystem::InnerLoop() () from /usr/lib64/root/libCore.so.6.00
            #35 0x00007fed4a0a3f40 in TSystem::Run() () from /usr/lib64/root/libCore.so.6.00
            #36 0x00007fed4a0b195f in TApplication::Run(bool) () from /usr/lib64/root/libCore.so.6.00
            #37 0x00007fed49cb738f in TRint::Run(bool) () from /usr/lib64/root/libRint.so.6.00
            #38 0x00000000004012dc in main ()
            ===========================================================
            The lines below might hint at the cause of the crash.
            If they do not help you then please submit a bug report at
            http://root.cern.ch/bugs. Please post the ENTIRE stack trace
            from above as an attachment in addition to anything else
            that might help us fixing this issue.
            ===========================================================
            #5 0x00007fed4722c970 in llvm::Type::getScalarType() const () from /usr/lib64/root/libCling.so
            #6 0x00007fed4722ccf9 in llvm::Type::getPointerAddressSpace() const () from /usr/lib64/root/libCling.so
            #7 0x00007fed462a7f9b in ?? () from /usr/lib64/root/libCling.so
            #8 0x00007fed462ea579 in clang::CodeGen::CodeGenFunction::InitializeVTablePointer(clang::BaseSubobject, clang::CXXRecordDecl const*, clang::CharUnits, clang::CXXRecordDecl const*) () from /usr/lib64/root/libCling.so
            #9 0x00007fed462ed7bd in clang::CodeGen::CodeGenFunction::InitializeVTablePointers(clang::BaseSubobject, clang::CXXRecordDecl const*, clang::CharUnits, bool, clang::CXXRecordDecl const*, llvm::SmallPtrSet<clang::CXXRecordDecl const*, 4u>&) () from /usr/lib64/root/libCling.so
            #10 0x00007fed462ed889 in clang::CodeGen::CodeGenFunction::InitializeVTablePointers(clang::CXXRecordDecl const*) () from /usr/lib64/root/libCling.so
            #11 0x00007fed462f0ee0 in clang::CodeGen::CodeGenFunction::EmitCtorPrologue(clang::CXXConstructorDecl const*, clang::CXXCtorType, clang::CodeGen::FunctionArgList&) () from /usr/lib64/root/libCling.so
            #12 0x00007fed462f157b in clang::CodeGen::CodeGenFunction::EmitConstructorBody(clang::CodeGen::FunctionArgList&) () from /usr/lib64/root/libCling.so
            #13 0x00007fed4626f4bb in clang::CodeGen::CodeGenFunction::GenerateCode(clang::GlobalDecl, llvm::Function*, clang::CodeGen::CGFunctionInfo const&) () from /usr/lib64/root/libCling.so
            #14 0x00007fed462d84f5 in clang::CodeGen::CodeGenModule::EmitCXXConstructor(clang::CXXConstructorDecl const*, clang::CXXCtorType) () from /usr/lib64/root/libCling.so
            #15 0x00007fed46284971 in clang::CodeGen::CodeGenModule::EmitGlobalDefinition(clang::GlobalDecl, llvm::GlobalValue*) () from /usr/lib64/root/libCling.so
            #16 0x00007fed462849f5 in clang::CodeGen::CodeGenModule::EmitDeferred() () from /usr/lib64/root/libCling.so
            #17 0x00007fed46284a19 in clang::CodeGen::CodeGenModule::Release() () from /usr/lib64/root/libCling.so
            #18 0x00007fed460307aa in cling::IncrementalParser::codeGenTransaction(cling::Transaction*) () from /usr/lib64/root/libCling.so
            #19 0x00007fed4603054f in cling::IncrementalParser::commitTransaction(cling::Transaction*) () from /usr/lib64/root/libCling.so
            #20 0x00007fed46031214 in cling::IncrementalParser::Compile(llvm::StringRef, cling::CompilationOptions const&) () from /usr/lib64/root/libCling.so
            #21 0x00007fed45ffc0e9 in cling::Interpreter::DeclareInternal(std::string const&, cling::CompilationOptions const&, cling::Transaction**) const () from /usr/lib64/root/libCling.so
            #22 0x00007fed45ffc218 in cling::Interpreter::declare(std::string const&, cling::Transaction**) () from /usr/lib64/root/libCling.so
            #23 0x00007fed45ffce51 in cling::Interpreter::loadFile(std::string const&, bool) () from /usr/lib64/root/libCling.so
            #24 0x00007fed46079d26 in cling::MetaSema::actOnLCommand(llvm::StringRef) () from /usr/lib64/root/libCling.so
            #25 0x00007fed4608589f in cling::MetaParser::isLCommand(cling::MetaSema::ActionResult&) () from /usr/lib64/root/libCling.so
            #26 0x00007fed46086d48 in cling::MetaParser::isCommand(cling::MetaSema::ActionResult&, cling::Value*) () from /usr/lib64/root/libCling.so
            #27 0x00007fed46087753 in cling::MetaProcessor::process(char const*, cling::Interpreter::CompilationResult&, cling::Value*) () from /usr/lib64/root/libCling.so
            ===========================================================

      Here also the file going to crash.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                vvasilev Vasil Georgiev Vasilev
                Reporter:
                3e673b58b81dbe060838 Igor Diakonov (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: