Uploaded image for project: 'ROOT'
  1. ROOT
  2. ROOT-9965

Segfault with TEve on ROOT 6.16.00 from LCG 95

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: 6.16/00
    • Fix Version/s: 6.20/00
    • Component/s: Graphics
    • Labels:
      None
    • Environment:

      centos7 (lxplus7)

    • Development:

      Description

      Hi,

      I have a segfault on lxplus7 when loading a TEve example, with the software configured from the LCG stack. To reproduce:

      source /cvmfs/sft.cern.ch/lcg/views/LCG_95/x86_64-centos7-gcc7-opt/setup.sh
      root ${ROOTSYS}/tutorials/eve/geom_lhcb.C
      

      And I get a segmentation violation in:

       ===========================================================
      #6  0x00007f29b5aeee20 in __memcpy_ssse3 () from /lib64/libc.so.6
      #7  0x00007f299838fbdb in llvm::WritableMemoryBuffer::getNewUninitMemBuffer(unsigned long, llvm::Twine const&) () from /usr/lib64/libLLVM-6.0-rhel.so
      #8  0x00007f299838fcaf in getMemBufferCopyImpl(llvm::StringRef, llvm::Twine const&) () from /usr/lib64/libLLVM-6.0-rhel.so
      #9  0x00007f299838fd30 in llvm::MemoryBuffer::getMemBufferCopy(llvm::StringRef, llvm::Twine const&) () from /usr/lib64/libLLVM-6.0-rhel.so
      #10 0x00007f29993f72f5 in (anonymous namespace)::createELFDebugObject(llvm::object::ObjectFile const&, (anonymous namespace)::LoadedELFObjectInfo const&) () from /usr/lib64/libLLVM-6.0-rhel.so
      #11 0x00007f29993f7db2 in (anonymous namespace)::LoadedELFObjectInfo::getObjectForDebug(llvm::object::ObjectFile const&) const () from /usr/lib64/libLLVM-6.0-rhel.so
      #12 0x00007f29993a6495 in (anonymous namespace)::GDBJITRegistrationListener::NotifyObjectEmitted(llvm::object::ObjectFile const&, llvm::RuntimeDyld::LoadedObjectInfo const&) () from /usr/lib64/libLLVM-6.0-rhel.so
      #13 0x00007f29993c2f43 in llvm::MCJIT::NotifyObjectEmitted(llvm::object::ObjectFile const&, llvm::RuntimeDyld::LoadedObjectInfo const&) () from /usr/lib64/libLLVM-6.0-rhel.so
      #14 0x00007f29993c5e07 in llvm::MCJIT::generateCodeForModule(llvm::Module*) () from /usr/lib64/libLLVM-6.0-rhel.so
      #15 0x00007f29993c2560 in llvm::MCJIT::finalizeObject() () from /usr/lib64/libLLVM-6.0-rhel.so
      #16 0x00007f29993a3f42 in LLVMGetPointerToGlobal () from /usr/lib64/libLLVM-6.0-rhel.so
      #17 0x00007f299b6a03f6 in llvmpipe_update_fs () from /usr/lib64/dri/swrast_dri.so
      #18 0x00007f299b6982d0 in llvmpipe_update_derived () from /usr/lib64/dri/swrast_dri.so
      #19 0x00007f299b6837a6 in llvmpipe_draw_vbo () from /usr/lib64/dri/swrast_dri.so
      #20 0x00007f299b12b6df in st_draw_vbo () from /usr/lib64/dri/swrast_dri.so
      #21 0x00007f299b0f022b in vbo_exec_vtx_flush () from /usr/lib64/dri/swrast_dri.so
      #22 0x00007f299b0ec987 in vbo_exec_FlushVertices () from /usr/lib64/dri/swrast_dri.so
      #23 0x00007f299af9161d in _mesa_EndList () from /usr/lib64/dri/swrast_dri.so
      #24 0x00007f29a60146f0 in TGLLogicalShape::Draw(TGLRnrCtx&) const () from /cvmfs/sft.cern.ch/lcg/releases/ROOT/6.16.00-42022/x86_64-centos7-gcc7-opt/lib/libRGL.so
      #25 0x00007f29a6049815 in TGLPhysicalShape::Draw(TGLRnrCtx&) const () from /cvmfs/sft.cern.ch/lcg/releases/ROOT/6.16.00-42022/x86_64-centos7-gcc7-opt/lib/libRGL.so
      #26 0x00007f29a605c798 in TGLScene::RenderElements(TGLRnrCtx&, std::vector<TGLScene::DrawElement_t*, std::allocator<TGLScene::DrawElement_t*> >&, bool, std::vector<TGLPlane, std::allocator<TGLPlane> > const*) () from /cvmfs/sft.cern.ch/lcg/releases/ROOT/6.16.00-42022/x86_64-centos7-gcc7-opt/lib/libRGL.so
      #27 0x00007f29a605cf75 in TGLScene::RenderAllPasses(TGLRnrCtx&, std::vector<TGLScene::DrawElement_t*, std::allocator<TGLScene::DrawElement_t*> >&, bool) () from /cvmfs/sft.cern.ch/lcg/releases/ROOT/6.16.00-42022/x86_64-centos7-gcc7-opt/lib/libRGL.so
      #28 0x00007f29a608e57e in TGLViewerBase::SubRenderScenes(void (TGLSceneBase::*)(TGLRnrCtx&)) () from /cvmfs/sft.cern.ch/lcg/releases/ROOT/6.16.00-42022/x86_64-centos7-gcc7-opt/lib/libRGL.so
      #29 0x00007f29a608e8af in TGLViewerBase::Render() () from /cvmfs/sft.cern.ch/lcg/releases/ROOT/6.16.00-42022/x86_64-centos7-gcc7-opt/lib/libRGL.so
      #30 0x00007f29a6088fa2 in TGLViewer::DoDrawMono(bool) () from /cvmfs/sft.cern.ch/lcg/releases/ROOT/6.16.00-42022/x86_64-centos7-gcc7-opt/lib/libRGL.so
      #31 0x00007f29a60897b5 in TGLViewer::DoDraw(bool) () from /cvmfs/sft.cern.ch/lcg/releases/ROOT/6.16.00-42022/x86_64-centos7-gcc7-opt/lib/libRGL.so
      #32 0x00007f29a70f0f82 in TEveViewerList::RepaintAllViewers(bool, bool) () from /cvmfs/sft.cern.ch/lcg/releases/ROOT/6.16.00-42022/x86_64-centos7-gcc7-opt/lib/libEve.so
      #33 0x00007f29b732825e in ?? ()
      #34 0x0000000000000000 in ?? ()
      ===========================================================
      

      I get the same problem with the LHCb install of LCG 95.
      Could you have a look ?
      Many thanks !
      Ben

        Attachments

          Activity

            People

            • Assignee:
              axel Axel Naumann
              Reporter:
              bcouturi Ben Couturier
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: