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

Segfault in TClingCallFunc::ExecDestructor via PyROOT from PyCool tests

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.06/00, 6.04/12
    • Component/s: Cling, PyROOT
    • Labels:
      None
    • Environment:

      ROOTSYS=/build/jenkins/workspace/lcg_ext_dev3/BUILDTYPE/Debug/COMPILER/gcc49/LABEL/slc6/install/ROOT/HEAD/x86_64-slc6-gcc49-dbg

      Description

      There is a new segfault in PyCool tests with ROOT master. This is from Cling, another one is directly from PyROOT and pending as ROOT-7519 (so in any case PyCool is unusable with master until that one is fixed).

      See http://cdash.cern.ch/testDetails.php?test=10753106&build=164963

      Test: cool-tests (Failed)
      Build: dev3-x86_64-slc6-gcc49-dbg (lcgapp-slc6-x86-64-21.cern.ch) on 2015-10-01 04:00:57
      Repository revision: 146181005228e2e6f77acbf44b4f12e7523f28f1
       
      Using CORALCOOL_QMTEST_WORKDIR=/tmp/tmp.sftnight.yUrt3705pFbw
      Execute /build/jenkins/workspace/lcg_ext_dev3/BUILDTYPE/Debug/COMPILER/gcc49/LABEL/slc6/install/COOL/3_1-patches/x86_64-slc6-gcc49-dbg/cc-run -q qmtest run -f brief QUICK
      --- TEST RESULTS -------------------------------------------------------------
      ...
        pycool.folderspecification                    : FAIL    
          Unexpected exit_code, standard error.
       
          COOLTest.environment:
            
            BINARY_TAG=x86_64-slc6-gcc49-dbg
      ...
           ROOTSYS=/build/jenkins/workspace/lcg_ext_dev3/BUILDTYPE/Debug/COMPILER/gcc49/LABEL/slc6/install/ROOT/HEAD/x86_64-slc6-gcc49-dbg
      ...
         ExecTest.stderr:
            
             *** Break *** segmentation violation
            ===========================================================
            There was a crash (#5 0x00007f45e9243131 in SigHandler(ESignals) () at /mnt/build/jenkins/workspace/lcg_ext_dev3/BUILDTYPE/Debug/COMPILER/gcc49/LABEL/slc6/build/projects/ROOT-HEAD/src/ROOT/HEAD/core/unix/src/TUnixSystem.cxx:395).
            This is the entire stack trace of all threads:
            ===========================================================
            #0  0x000000378c4ac6ce in waitpid () from /lib64/libc.so.6
            #1  0x000000378c43e609 in do_system () from /lib64/libc.so.6
            #2  0x00007f45e9246c40 in TUnixSystem::Exec(char const*) () at /mnt/build/jenkins/workspace/lcg_ext_dev3/BUILDTYPE/Debug/COMPILER/gcc49/LABEL/slc6/build/projects/ROOT-HEAD/src/ROOT/HEAD/core/unix/src/TUnixSystem.cxx:2073
            #3  0x00007f45e9247495 in TUnixSystem::StackTrace() () at /mnt/build/jenkins/workspace/lcg_ext_dev3/BUILDTYPE/Debug/COMPILER/gcc49/LABEL/slc6/build/projects/ROOT-HEAD/src/ROOT/HEAD/core/unix/src/TUnixSystem.cxx:2301
            #4  0x00007f45e924acb3 in TUnixSystem::DispatchSignals(ESignals) () at /mnt/build/jenkins/workspace/lcg_ext_dev3/BUILDTYPE/Debug/COMPILER/gcc49/LABEL/slc6/build/projects/ROOT-HEAD/src/ROOT/HEAD/core/unix/src/TUnixSystem.cxx:3539
            #5  0x00007f45e9243131 in SigHandler(ESignals) () at /mnt/build/jenkins/workspace/lcg_ext_dev3/BUILDTYPE/Debug/COMPILER/gcc49/LABEL/slc6/build/projects/ROOT-HEAD/src/ROOT/HEAD/core/unix/src/TUnixSystem.cxx:395
            #6  0x00007f45e924ac01 in sighandler(int) () at /mnt/build/jenkins/workspace/lcg_ext_dev3/BUILDTYPE/Debug/COMPILER/gcc49/LABEL/slc6/build/projects/ROOT-HEAD/src/ROOT/HEAD/core/unix/src/TUnixSystem.cxx:3516
            #7  <signal handler called>
            #8  0x00007f45f0b4e0c9 in __dtor_16 ()
            #9  0x00007f45e46cec95 in TClingCallFunc::ExecDestructor(TClingClassInfo const*, void*, unsigned long, bool) () at /mnt/build/jenkins/workspace/lcg_ext_dev3/BUILDTYPE/Debug/COMPILER/gcc49/LABEL/slc6/build/projects/ROOT-HEAD/src/ROOT/HEAD/core/meta/src/TClingCallFunc.cxx:2274
            #10 0x00007f45e46c0b29 in TClingClassInfo::Delete(void*, ROOT::TMetaUtils::TNormalizedCtxt const&) const () at /mnt/build/jenkins/workspace/lcg_ext_dev3/BUILDTYPE/Debug/COMPILER/gcc49/LABEL/slc6/build/projects/ROOT-HEAD/src/ROOT/HEAD/core/meta/src/TClingClassInfo.cxx:220
            #11 0x00007f45e460370a in TCling::ClassInfo_Delete(ClassInfo_t*, void*) const () at /mnt/build/jenkins/workspace/lcg_ext_dev3/BUILDTYPE/Debug/COMPILER/gcc49/LABEL/slc6/build/projects/ROOT-HEAD/src/ROOT/HEAD/core/meta/src/TCling.cxx:6615
            #12 0x00007f45e920f650 in TClass::Destructor(void*, bool) () at /mnt/build/jenkins/workspace/lcg_ext_dev3/BUILDTYPE/Debug/COMPILER/gcc49/LABEL/slc6/build/projects/ROOT-HEAD/src/ROOT/HEAD/core/meta/src/TClass.cxx:4981
            #13 0x00007f45e968f998 in Cppyy::Destruct(long, void*) () at /mnt/build/jenkins/workspace/lcg_ext_dev3/BUILDTYPE/Debug/COMPILER/gcc49/LABEL/slc6/build/projects/ROOT-HEAD/src/ROOT/HEAD/bindings/pyroot/src/Cppyy.cxx:248
            #14 0x00007f45e96dcc2c in PyROOT::op_dealloc_nofree(PyROOT::ObjectProxy*) () at /mnt/build/jenkins/workspace/lcg_ext_dev3/BUILDTYPE/Debug/COMPILER/gcc49/LABEL/slc6/build/projects/ROOT-HEAD/src/ROOT/HEAD/bindings/pyroot/src/ObjectProxy.cxx:58
            #15 0x00007f45e96dd344 in PyROOT::(anonymous namespace)::op_dealloc(PyROOT::ObjectProxy*) () at /mnt/build/jenkins/workspace/lcg_ext_dev3/BUILDTYPE/Debug/COMPILER/gcc49/LABEL/slc6/build/projects/ROOT-HEAD/src/ROOT/HEAD/bindings/pyroot/src/ObjectProxy.cxx:211
            #16 0x00007f45f0cf4cf2 in subtype_dealloc () from /afs/cern.ch/sw/lcg/releases/Python/2.7.9-bb158/x86_64-slc6-gcc49-dbg/bin/../lib/libpython2.7.so.1.0
            #17 0x00007f45f0cc0329 in frame_dealloc () from /afs/cern.ch/sw/lcg/releases/Python/2.7.9-bb158/x86_64-slc6-gcc49-dbg/bin/../lib/libpython2.7.so.1.0
            #18 0x00007f45f0d7482b in tb_dealloc () from /afs/cern.ch/sw/lcg/releases/Python/2.7.9-bb158/x86_64-slc6-gcc49-dbg/bin/../lib/libpython2.7.so.1.0
            #19 0x00007f45f0d7483b in tb_dealloc () from /afs/cern.ch/sw/lcg/releases/Python/2.7.9-bb158/x86_64-slc6-gcc49-dbg/bin/../lib/libpython2.7.so.1.0
            #20 0x00007f45f0cd6f97 in PyDict_DelItem () from /afs/cern.ch/sw/lcg/releases/Python/2.7.9-bb158/x86_64-slc6-gcc49-dbg/bin/../lib/libpython2.7.so.1.0
            #21 0x00007f45f0cd84c4 in PyDict_DelItemString () from /afs/cern.ch/sw/lcg/releases/Python/2.7.9-bb158/x86_64-slc6-gcc49-dbg/bin/../lib/libpython2.7.so.1.0
            #22 0x00007f45f0d40f03 in PyEval_EvalFrameEx () at /var/build/jenkins/workspace/lcg_release/BUILDTYPE/Debug/COMPILER/gcc49/LABEL/lcgapp-slc6-physical1/x86_64-slc6-gcc49-dbg-build/externals/Python-2.7.9/src/Python/2.7.9/Python/ceval.c:3455
            #23 0x00007f45f0d474c0 in PyEval_EvalCodeEx () at /var/build/jenkins/workspace/lcg_release/BUILDTYPE/Debug/COMPILER/gcc49/LABEL/lcgapp-slc6-physical1/x86_64-slc6-gcc49-dbg-build/externals/Python-2.7.9/src/Python/2.7.9/Python/ceval.c:3265
            #24 0x00007f45f0cc1635 in function_call () from /afs/cern.ch/sw/lcg/releases/Python/2.7.9-bb158/x86_64-slc6-gcc49-dbg/bin/../lib/libpython2.7.so.1.0
            #25 0x00007f45f0c8fb63 in PyObject_Call () from /afs/cern.ch/sw/lcg/releases/Python/2.7.9-bb158/x86_64-slc6-gcc49-dbg/bin/../lib/libpython2.7.so.1.0
      ...

        Attachments

          Activity

            People

            • Assignee:
              axel Axel Naumann
              Reporter:
              valassi Andrea Valassi
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: