[etejedor@pcphsft63 forum]$ python test_profile_draw.py RooFit v3.60 -- Developed by Wouter Verkerke and David Kirkby Copyright (C) 2000-2013 NIKHEF, University of California & Stanford University All rights reserved, please read http://roofit.sourceforge.net/license.txt [#1] INFO:DataHandling -- RooDataHist::adjustBinning(data): fit range of variable t expanded to nearest bin boundaries: [2.77761e+07,2.77765e+07] --> [2.77761e+07,2.77765e+07] [#1] INFO:Minization -- RooMinimizer::optimizeConst: activating const optimization ********** ** 1 **SET PRINT 1 ********** ********** ** 2 **SET NOGRAD ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 mean 2.77763e+07 3.90000e+01 2.77761e+07 2.77765e+07 2 sigma 5.79126e+01 1.15000e+01 5.00000e+00 1.20000e+02 ********** ** 3 **SET ERR 0.5 ********** ********** ** 4 **SET PRINT 1 ********** ********** ** 5 **SET STR 1 ********** NOW USING STRATEGY 1: TRY TO BALANCE SPEED AGAINST RELIABILITY ********** ** 6 **MIGRAD 1000 1 ********** FIRST CALL TO USER FUNCTION AT NEW START POINT, WITH IFLAG=4. START MIGRAD MINIMIZATION. STRATEGY 1. CONVERGENCE WHEN EDM .LT. 1.00e-03 FCN=29537.3 FROM MIGRAD STATUS=INITIATE 8 CALLS 9 TOTAL EDM= unknown STRATEGY= 1 NO ERROR MATRIX EXT PARAMETER CURRENT GUESS STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 mean 2.77763e+07 3.90000e+01 2.01844e-01 -4.12604e+01 2 sigma 5.79126e+01 1.15000e+01 2.02038e-01 -6.11605e+01 ERR DEF= 0.5 MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. COVARIANCE MATRIX CALCULATED SUCCESSFULLY FCN=29537.1 FROM MIGRAD STATUS=CONVERGED 30 CALLS 31 TOTAL EDM=1.93831e-08 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 mean 2.77763e+07 7.98385e-01 4.86885e-04 -2.15062e-02 2 sigma 5.82683e+01 5.81228e-01 1.20231e-03 -1.04584e-02 ERR DEF= 0.5 EXTERNAL ERROR MATRIX. NDIM= 25 NPAR= 2 ERR DEF=0.5 6.374e-01 8.836e-03 8.836e-03 3.378e-01 PARAMETER CORRELATION COEFFICIENTS NO. GLOBAL 1 2 1 0.01904 1.000 0.019 2 0.01904 0.019 1.000 ********** ** 7 **SET ERR 0.5 ********** ********** ** 8 **SET PRINT 1 ********** ********** ** 9 **HESSE 1000 ********** COVARIANCE MATRIX CALCULATED SUCCESSFULLY FCN=29537.1 FROM HESSE STATUS=OK 10 CALLS 41 TOTAL EDM=1.93041e-08 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 mean 2.77763e+07 7.98370e-01 9.73770e-05 6.82509e-02 2 sigma 5.82683e+01 5.81217e-01 4.80924e-05 -7.36612e-02 ERR DEF= 0.5 EXTERNAL ERROR MATRIX. NDIM= 25 NPAR= 2 ERR DEF=0.5 6.374e-01 8.359e-03 8.359e-03 3.378e-01 PARAMETER CORRELATION COEFFICIENTS NO. GLOBAL 1 2 1 0.01801 1.000 0.018 2 0.01801 0.018 1.000 [#1] INFO:Minization -- RooMinimizer::optimizeConst: deactivating const optimization [#0] PROGRESS:Minization -- ProfileLikelihoodCalcultor::DoGLobalFit - find MLE [#0] PROGRESS:Minization -- ProfileLikelihoodCalcultor::DoMinimizeNLL - using Minuit / Migrad with strategy 1 [#1] INFO:Minization -- RooMinimizer::optimizeConst: activating const optimization [#1] INFO:Minization -- RooFitResult: minimized FCN value: 29537.1, estimated distance to minimum: 2.01361e-09 covariance matrix quality: Full, accurate covariance matrix Status : MINIMIZE=0 Floating Parameter FinalValue +/- Error -------------------- -------------------------- mean 2.7776e+07 +/- 7.98e-01 sigma 5.8268e+01 +/- 5.81e-01 [#1] INFO:Minization -- RooProfileLL::evaluate(nll_gauss_data_Profile[mean]) Creating instance of MINUIT [#1] INFO:Minization -- RooProfileLL::evaluate(nll_gauss_data_Profile[mean]) determining minimum likelihood for current configurations w.r.t all observable [#1] INFO:Minization -- RooProfileLL::evaluate(nll_gauss_data_Profile[mean]) minimum found at (mean=2.77763e+07) ......................................................................................................Info in : pdf file test_profile.pdf has been created Info in : eps file test_profile.eps has been created OBJ: TList Functions Doubly linked list : 0 OBJ: TF1 f1 gaus(0) : 0 at: 0x48e6ed0 OBJ: TF1 _PLL_mean : 0 at: 0x5235e90 *** Break *** segmentation violation =========================================================== There was a crash (kSigSegmentationViolation). This is the entire stack trace of all threads: =========================================================== Thread 2 (Thread 0x7fc097d1b700 (LWP 31887)): #0 0x000000393a00da00 in sem_wait () from /lib64/libpthread.so.0 #1 0x00007fc0af6b6e28 in PyThread_acquire_lock (lock=lock entry=0x10117b0, waitflag=waitflag entry=1) at /mnt/build/jenkins/workspace/lcg_rootext_install/BUILDTYPE/Release/COMPILER/gcc62/LABEL/slc6/build/externals/Python-2.7.10/src/Python/2.7.10/Python/thread_pthread.h:324 #2 0x00007fc0af677766 in PyEval_RestoreThread (tstate=tstate entry=0x2d17970) at /mnt/build/jenkins/workspace/lcg_rootext_install/BUILDTYPE/Release/COMPILER/gcc62/LABEL/slc6/build/externals/Python-2.7.10/src/Python/2.7.10/Python/ceval.c:359 #3 0x00007fc099d5e218 in floatsleep (secs=) at /mnt/build/jenkins/workspace/lcg_rootext_install/BUILDTYPE/Release/COMPILER/gcc62/LABEL/slc6/build/externals/Python-2.7.10/src/Python/2.7.10/Modules/timemodule.c:959 #4 time_sleep (self=, args=) at /mnt/build/jenkins/workspace/lcg_rootext_install/BUILDTYPE/Release/COMPILER/gcc62/LABEL/slc6/build/externals/Python-2.7.10/src/Python/2.7.10/Modules/timemodule.c:206 #5 0x00007fc0af67dc63 in call_function (oparg=, pp_stack=0x7fc097d1a570) at /mnt/build/jenkins/workspace/lcg_rootext_install/BUILDTYPE/Release/COMPILER/gcc62/LABEL/slc6/build/externals/Python-2.7.10/src/Python/2.7.10/Python/ceval.c:4035 #6 PyEval_EvalFrameEx (f=f entry=0x7fc099d209b0, throwflag=throwflag entry=0) at /mnt/build/jenkins/workspace/lcg_rootext_install/BUILDTYPE/Release/COMPILER/gcc62/LABEL/slc6/build/externals/Python-2.7.10/src/Python/2.7.10/Python/ceval.c:2681 #7 0x00007fc0af67efac in PyEval_EvalCodeEx (co=, globals=, locals=locals entry=0x0, args=args entry=0x7fc097ffc568, argcount=1, kws=kws entry=0x7fc0af514068, kwcount=0, defs=0x0, defcount=0, closure=0x0) at /mnt/build/jenkins/workspace/lcg_rootext_install/BUILDTYPE/Release/COMPILER/gcc62/LABEL/slc6/build/externals/Python-2.7.10/src/Python/2.7.10/Python/ceval.c:3267 #8 0x00007fc0af5f8d7d in function_call (func=0x7fc09bc4a2a8, arg=0x7fc097ffc550, kw=0x7fc097f876e0) at /mnt/build/jenkins/workspace/lcg_rootext_install/BUILDTYPE/Release/COMPILER/gcc62/LABEL/slc6/build/externals/Python-2.7.10/src/Python/2.7.10/Objects/funcobject.c:526 #9 0x00007fc0af5c8343 in PyObject_Call (func=func entry=0x7fc09bc4a2a8, arg=arg entry=0x7fc097ffc550, kw=kw entry=0x7fc097f876e0) at /mnt/build/jenkins/workspace/lcg_rootext_install/BUILDTYPE/Release/COMPILER/gcc62/LABEL/slc6/build/externals/Python-2.7.10/src/Python/2.7.10/Objects/abstract.c:2529 #10 0x00007fc0af679355 in ext_do_call (nk=, na=0, flags=, pp_stack=0x7fc097d1a7f0, func=0x7fc09bc4a2a8) at /mnt/build/jenkins/workspace/lcg_rootext_install/BUILDTYPE/Release/COMPILER/gcc62/LABEL/slc6/build/externals/Python-2.7.10/src/Python/2.7.10/Python/ceval.c:4348 #11 PyEval_EvalFrameEx (f=f entry=0x7fc097f7e3e0, throwflag=throwflag entry=0) at /mnt/build/jenkins/workspace/lcg_rootext_install/BUILDTYPE/Release/COMPILER/gcc62/LABEL/slc6/build/externals/Python-2.7.10/src/Python/2.7.10/Python/ceval.c:2720 #12 0x00007fc0af67d59b in fast_function (nk=, na=1, n=1, pp_stack=0x7fc097d1a910, func=) at /mnt/build/jenkins/workspace/lcg_rootext_install/BUILDTYPE/Release/COMPILER/gcc62/LABEL/slc6/build/externals/Python-2.7.10/src/Python/2.7.10/Python/ceval.c:4121 #13 call_function (oparg=, pp_stack=0x7fc097d1a910) at /mnt/build/jenkins/workspace/lcg_rootext_install/BUILDTYPE/Release/COMPILER/gcc62/LABEL/slc6/build/externals/Python-2.7.10/src/Python/2.7.10/Python/ceval.c:4056 #14 PyEval_EvalFrameEx (f=f entry=0x7fc090000910, throwflag=throwflag entry=0) at /mnt/build/jenkins/workspace/lcg_rootext_install/BUILDTYPE/Release/COMPILER/gcc62/LABEL/slc6/build/externals/Python-2.7.10/src/Python/2.7.10/Python/ceval.c:2681 #15 0x00007fc0af67d59b in fast_function (nk=, na=1, n=1, pp_stack=0x7fc097d1aa30, func=) at /mnt/build/jenkins/workspace/lcg_rootext_install/BUILDTYPE/Release/COMPILER/gcc62/LABEL/slc6/build/externals/Python-2.7.10/src/Python/2.7.10/Python/ceval.c:4121 #16 call_function (oparg=, pp_stack=0x7fc097d1aa30) at /mnt/build/jenkins/workspace/lcg_rootext_install/BUILDTYPE/Release/COMPILER/gcc62/LABEL/slc6/build/externals/Python-2.7.10/src/Python/2.7.10/Python/ceval.c:4056 #17 PyEval_EvalFrameEx (f=f entry=0x7fc0980aac90, throwflag=throwflag entry=0) at /mnt/build/jenkins/workspace/lcg_rootext_install/BUILDTYPE/Release/COMPILER/gcc62/LABEL/slc6/build/externals/Python-2.7.10/src/Python/2.7.10/Python/ceval.c:2681 #18 0x00007fc0af67efac in PyEval_EvalCodeEx (co=, globals=, locals=locals entry=0x0, args=args entry=0x7fc097ffc528, argcount=1, kws=kws entry=0x0, kwcount=0, defs=0x0, defcount=0, closure=0x0) at /mnt/build/jenkins/workspace/lcg_rootext_install/BUILDTYPE/Release/COMPILER/gcc62/LABEL/slc6/build/externals/Python-2.7.10/src/Python/2.7.10/Python/ceval.c:3267 #19 0x00007fc0af5f8cac in function_call (func=0x7fc0980d3140, arg=0x7fc097ffc510, kw=0x0) at /mnt/build/jenkins/workspace/lcg_rootext_install/BUILDTYPE/Release/COMPILER/gcc62/LABEL/slc6/build/externals/Python-2.7.10/src/Python/2.7.10/Objects/funcobject.c:526 #20 0x00007fc0af5c8343 in PyObject_Call (func=func entry=0x7fc0980d3140, arg=arg entry=0x7fc097ffc510, kw=kw entry=0x0) at /mnt/build/jenkins/workspace/lcg_rootext_install/BUILDTYPE/Release/COMPILER/gcc62/LABEL/slc6/build/externals/Python-2.7.10/src/Python/2.7.10/Objects/abstract.c:2529 #21 0x00007fc0af5d951c in instancemethod_call (func=0x7fc0980d3140, arg=0x7fc097ffc510, kw=0x0) at /mnt/build/jenkins/workspace/lcg_rootext_install/BUILDTYPE/Release/COMPILER/gcc62/LABEL/slc6/build/externals/Python-2.7.10/src/Python/2.7.10/Objects/classobject.c:2602 #22 0x00007fc0af5c8343 in PyObject_Call (func=func entry=0x7fc0af4c1b90, arg=arg entry=0x7fc0af514050, kw=) at /mnt/build/jenkins/workspace/lcg_rootext_install/BUILDTYPE/Release/COMPILER/gcc62/LABEL/slc6/build/externals/Python-2.7.10/src/Python/2.7.10/Objects/abstract.c:2529 #23 0x00007fc0af677e47 in PyEval_CallObjectWithKeywords (func=0x7fc0af4c1b90, arg=0x7fc0af514050, kw=) at /mnt/build/jenkins/workspace/lcg_rootext_install/BUILDTYPE/Release/COMPILER/gcc62/LABEL/slc6/build/externals/Python-2.7.10/src/Python/2.7.10/Python/ceval.c:3904 #24 0x00007fc0af6bccc2 in t_bootstrap (boot_raw=0x19de160) at /mnt/build/jenkins/workspace/lcg_rootext_install/BUILDTYPE/Release/COMPILER/gcc62/LABEL/slc6/build/externals/Python-2.7.10/src/Python/2.7.10/Modules/threadmodule.c:614 #25 0x000000393a007aa1 in start_thread () from /lib64/libpthread.so.0 #26 0x0000003939ce893d in clone () from /lib64/libc.so.6 Thread 1 (Thread 0x7fc0af555700 (LWP 31863)): #0 0x0000003939cac69d in waitpid () from /lib64/libc.so.6 #1 0x0000003939c3e609 in do_system () from /lib64/libc.so.6 #2 0x0000003939c3e940 in system () from /lib64/libc.so.6 #3 0x00007fc0a70ebabe in TUnixSystem::Exec (this=0xfd79a0, shellcmd=0x55c5dc0 "/home/etejedor/devel/master/build/etc/gdb-backtrace.sh 31863 1>&2") at /home/etejedor/devel/master/root/core/unix/src/TUnixSystem.cxx:2118 #4 0x00007fc0a70ec303 in TUnixSystem::StackTrace (this=0xfd79a0) at /home/etejedor/devel/master/root/core/unix/src/TUnixSystem.cxx:2412 #5 0x00007fc0a70efbed in TUnixSystem::DispatchSignals (this=0xfd79a0, sig=kSigSegmentationViolation) at /home/etejedor/devel/master/root/core/unix/src/TUnixSystem.cxx:3643 #6 0x00007fc0a70e7e9c in SigHandler (sig=kSigSegmentationViolation) at /home/etejedor/devel/master/root/core/unix/src/TUnixSystem.cxx:408 #7 0x00007fc0a70efb40 in sighandler (sig=11) at /home/etejedor/devel/master/root/core/unix/src/TUnixSystem.cxx:3620 #8 #9 0x00007fc095bb08c3 in TMinuitMinimizer::~TMinuitMinimizer (this=0x4997df0, __in_chrg=) at /home/etejedor/devel/master/root/math/minuit/src/TMinuitMinimizer.cxx:105 #10 0x00007fc095bb0942 in TMinuitMinimizer::~TMinuitMinimizer (this=0x4997df0, __in_chrg=) at /home/etejedor/devel/master/root/math/minuit/src/TMinuitMinimizer.cxx:108 #11 0x00007fc0a89e2c1e in std::_Sp_counted_ptr::_M_dispose (this=0x2dea200) at /afs/cern.ch/sw/lcg/contrib/gcc/6.2.0native/x86_64-slc6/include/c++/6.2.0/bits/shared_ptr_base.h:372 #12 0x00007fc0a89a9c88 in std::_Sp_counted_base<(__gnu_cxx::_Lock_policy)2>::_M_release (this=0x2dea200) at /afs/cern.ch/sw/lcg/contrib/gcc/6.2.0native/x86_64-slc6/include/c++/6.2.0/bits/shared_ptr_base.h:150 #13 0x00007fc0a89a8d79 in std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count (this=0x49897b0, __in_chrg=) at /afs/cern.ch/sw/lcg/contrib/gcc/6.2.0native/x86_64-slc6/include/c++/6.2.0/bits/shared_ptr_base.h:662 #14 0x00007fc0a89ce286 in std::__shared_ptr::~__shared_ptr (this=0x49897a8, __in_chrg=) at /afs/cern.ch/sw/lcg/contrib/gcc/6.2.0native/x86_64-slc6/include/c++/6.2.0/bits/shared_ptr_base.h:928 #15 0x00007fc0a89ce2be in std::shared_ptr::~shared_ptr (this=0x49897a8, __in_chrg=) at /afs/cern.ch/sw/lcg/contrib/gcc/6.2.0native/x86_64-slc6/include/c++/6.2.0/bits/shared_ptr.h:93 #16 0x00007fc0a89caad4 in ROOT::Fit::FitResult::~FitResult (this=0x4989770, __in_chrg=) at /home/etejedor/devel/master/root/math/mathcore/src/FitResult.cxx:236 #17 0x00007fc096fd1b44 in TFitResult::~TFitResult (this=0x4989730, __in_chrg=) at include/TFitResult.h:49 #18 0x00007fc096fd1b72 in TFitResult::~TFitResult (this=0x4989730, __in_chrg=) at include/TFitResult.h:49 #19 0x00007fc096eec71c in std::_Sp_counted_ptr::_M_dispose (this=0x48212e0) at /afs/cern.ch/sw/lcg/contrib/gcc/6.2.0native/x86_64-slc6/include/c++/6.2.0/bits/shared_ptr_base.h:372 #20 0x00007fc0a89a9c88 in std::_Sp_counted_base<(__gnu_cxx::_Lock_policy)2>::_M_release (this=0x48212e0) at /afs/cern.ch/sw/lcg/contrib/gcc/6.2.0native/x86_64-slc6/include/c++/6.2.0/bits/shared_ptr_base.h:150 #21 0x00007fc0a89a8d79 in std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count (this=0x48f8c40, __in_chrg=) at /afs/cern.ch/sw/lcg/contrib/gcc/6.2.0native/x86_64-slc6/include/c++/6.2.0/bits/shared_ptr_base.h:662 #22 0x00007fc0a89dd5fc in std::__shared_ptr::~__shared_ptr (this=0x48f8c38, __in_chrg=) at /afs/cern.ch/sw/lcg/contrib/gcc/6.2.0native/x86_64-slc6/include/c++/6.2.0/bits/shared_ptr_base.h:928 #23 0x00007fc0a89dd634 in std::shared_ptr::~shared_ptr (this=0x48f8c38, __in_chrg=) at /afs/cern.ch/sw/lcg/contrib/gcc/6.2.0native/x86_64-slc6/include/c++/6.2.0/bits/shared_ptr.h:93 #24 0x00007fc0a89d5d86 in ROOT::Fit::Fitter::~Fitter (this=0x48f8b60, __in_chrg=) at /home/etejedor/devel/master/root/math/mathcore/src/Fitter.cxx:71 #25 0x00007fc096f5e692 in std::_Sp_counted_ptr::_M_dispose (this=0x2ded3c0) at /afs/cern.ch/sw/lcg/contrib/gcc/6.2.0native/x86_64-slc6/include/c++/6.2.0/bits/shared_ptr_base.h:372 #26 0x00007fc0a89a9c88 in std::_Sp_counted_base<(__gnu_cxx::_Lock_policy)2>::_M_release (this=0x2ded3c0) at /afs/cern.ch/sw/lcg/contrib/gcc/6.2.0native/x86_64-slc6/include/c++/6.2.0/bits/shared_ptr_base.h:150 #27 0x00007fc0a89a8d79 in std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count (this=0x49c3580, __in_chrg=) at /afs/cern.ch/sw/lcg/contrib/gcc/6.2.0native/x86_64-slc6/include/c++/6.2.0/bits/shared_ptr_base.h:662 #28 0x00007fc096f4fe90 in std::__shared_ptr::~__shared_ptr (this=0x49c3578, __in_chrg=) at /afs/cern.ch/sw/lcg/contrib/gcc/6.2.0native/x86_64-slc6/include/c++/6.2.0/bits/shared_ptr_base.h:928 #29 0x00007fc096f4feac in std::shared_ptr::~shared_ptr (this=0x49c3578, __in_chrg=) at /afs/cern.ch/sw/lcg/contrib/gcc/6.2.0native/x86_64-slc6/include/c++/6.2.0/bits/shared_ptr.h:93 #30 0x00007fc096f7ae8b in TBackCompFitter::~TBackCompFitter (this=0x49c3470, __in_chrg=) at /home/etejedor/devel/master/root/hist/hist/src/TBackCompFitter.cxx:105 #31 0x00007fc096f7aec4 in TBackCompFitter::~TBackCompFitter (this=0x49c3470, __in_chrg=) at /home/etejedor/devel/master/root/hist/hist/src/TBackCompFitter.cxx:109 #32 0x00007fc096f51f8d in HFit::Fit (h1=0x5719720, f1=0x5733460, fitOption=..., minOption=..., goption=0x7fc09704a960 "", range=...) at /home/etejedor/devel/master/root/hist/hist/src/HFitImpl.cxx:433 #33 0x00007fc096f4ef1c in ROOT::Fit::FitObject (h1=0x5719720, f1=0x5733460, foption=..., moption=..., goption=0x7fc09704a960 "", range=...) at /home/etejedor/devel/master/root/hist/hist/src/HFitImpl.cxx:973 #34 0x00007fc096e871a9 in TH1::Fit (this=0x5719720, f1=0x5733460, option=0x7ffc006b8859 "qnr", goption=0x7fc09704a960 "", xxmin=0, xxmax=0) at /home/etejedor/devel/master/root/hist/hist/src/TH1.cxx:3911 #35 0x00007fc096fbf588 in TH2::DoFitSlices (this=0x2e42db0, onX=true, f1=0x5733460, firstbin=0, lastbin=1001, cut=0, option=0x4955ac8 "QNR", arr=0x569f480) at /home/etejedor/devel/master/root/hist/hist/src/TH2.cxx:822 #36 0x00007fc096fbf8c1 in TH2::FitSlicesX (this=0x2e42db0, f1=0x5733460, firstybin=0, lastybin=-1, cut=0, option=0x4955ac8 "QNR", arr=0x569f480) at /home/etejedor/devel/master/root/hist/hist/src/TH2.cxx:898 #37 0x00007fc094289151 in ?? () #38 0x000000000569f480 in ?? () #39 0x00007ffc006b8d90 in ?? () #40 0x00007ffc006b8a80 in ?? () #41 0x00007fc0a8e26448 in FastCall (method=50831040, args_=0x57184f0, self=0x572f5c0, result=0x499f8a0) at /home/etejedor/devel/master/root/bindings/pyroot/src/Cppyy.cxx:407 =========================================================== The lines below might hint at the cause of the crash. You may get help by asking at the ROOT forum http://root.cern.ch/forum. Only if you are really convinced it is a bug in ROOT then please submit a 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. =========================================================== #9 0x00007fc095bb08c3 in TMinuitMinimizer::~TMinuitMinimizer (this=0x4997df0, __in_chrg=) at /home/etejedor/devel/master/root/math/minuit/src/TMinuitMinimizer.cxx:105 #10 0x00007fc095bb0942 in TMinuitMinimizer::~TMinuitMinimizer (this=0x4997df0, __in_chrg=) at /home/etejedor/devel/master/root/math/minuit/src/TMinuitMinimizer.cxx:108 #11 0x00007fc0a89e2c1e in std::_Sp_counted_ptr::_M_dispose (this=0x2dea200) at /afs/cern.ch/sw/lcg/contrib/gcc/6.2.0native/x86_64-slc6/include/c++/6.2.0/bits/shared_ptr_base.h:372 #12 0x00007fc0a89a9c88 in std::_Sp_counted_base<(__gnu_cxx::_Lock_policy)2>::_M_release (this=0x2dea200) at /afs/cern.ch/sw/lcg/contrib/gcc/6.2.0native/x86_64-slc6/include/c++/6.2.0/bits/shared_ptr_base.h:150 #13 0x00007fc0a89a8d79 in std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count (this=0x49897b0, __in_chrg=) at /afs/cern.ch/sw/lcg/contrib/gcc/6.2.0native/x86_64-slc6/include/c++/6.2.0/bits/shared_ptr_base.h:662 #14 0x00007fc0a89ce286 in std::__shared_ptr::~__shared_ptr (this=0x49897a8, __in_chrg=) at /afs/cern.ch/sw/lcg/contrib/gcc/6.2.0native/x86_64-slc6/include/c++/6.2.0/bits/shared_ptr_base.h:928 #15 0x00007fc0a89ce2be in std::shared_ptr::~shared_ptr (this=0x49897a8, __in_chrg=) at /afs/cern.ch/sw/lcg/contrib/gcc/6.2.0native/x86_64-slc6/include/c++/6.2.0/bits/shared_ptr.h:93 #16 0x00007fc0a89caad4 in ROOT::Fit::FitResult::~FitResult (this=0x4989770, __in_chrg=) at /home/etejedor/devel/master/root/math/mathcore/src/FitResult.cxx:236 #17 0x00007fc096fd1b44 in TFitResult::~TFitResult (this=0x4989730, __in_chrg=) at include/TFitResult.h:49 #18 0x00007fc096fd1b72 in TFitResult::~TFitResult (this=0x4989730, __in_chrg=) at include/TFitResult.h:49 #19 0x00007fc096eec71c in std::_Sp_counted_ptr::_M_dispose (this=0x48212e0) at /afs/cern.ch/sw/lcg/contrib/gcc/6.2.0native/x86_64-slc6/include/c++/6.2.0/bits/shared_ptr_base.h:372 #20 0x00007fc0a89a9c88 in std::_Sp_counted_base<(__gnu_cxx::_Lock_policy)2>::_M_release (this=0x48212e0) at /afs/cern.ch/sw/lcg/contrib/gcc/6.2.0native/x86_64-slc6/include/c++/6.2.0/bits/shared_ptr_base.h:150 #21 0x00007fc0a89a8d79 in std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count (this=0x48f8c40, __in_chrg=) at /afs/cern.ch/sw/lcg/contrib/gcc/6.2.0native/x86_64-slc6/include/c++/6.2.0/bits/shared_ptr_base.h:662 #22 0x00007fc0a89dd5fc in std::__shared_ptr::~__shared_ptr (this=0x48f8c38, __in_chrg=) at /afs/cern.ch/sw/lcg/contrib/gcc/6.2.0native/x86_64-slc6/include/c++/6.2.0/bits/shared_ptr_base.h:928 #23 0x00007fc0a89dd634 in std::shared_ptr::~shared_ptr (this=0x48f8c38, __in_chrg=) at /afs/cern.ch/sw/lcg/contrib/gcc/6.2.0native/x86_64-slc6/include/c++/6.2.0/bits/shared_ptr.h:93 #24 0x00007fc0a89d5d86 in ROOT::Fit::Fitter::~Fitter (this=0x48f8b60, __in_chrg=) at /home/etejedor/devel/master/root/math/mathcore/src/Fitter.cxx:71 #25 0x00007fc096f5e692 in std::_Sp_counted_ptr::_M_dispose (this=0x2ded3c0) at /afs/cern.ch/sw/lcg/contrib/gcc/6.2.0native/x86_64-slc6/include/c++/6.2.0/bits/shared_ptr_base.h:372 #26 0x00007fc0a89a9c88 in std::_Sp_counted_base<(__gnu_cxx::_Lock_policy)2>::_M_release (this=0x2ded3c0) at /afs/cern.ch/sw/lcg/contrib/gcc/6.2.0native/x86_64-slc6/include/c++/6.2.0/bits/shared_ptr_base.h:150 #27 0x00007fc0a89a8d79 in std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count (this=0x49c3580, __in_chrg=) at /afs/cern.ch/sw/lcg/contrib/gcc/6.2.0native/x86_64-slc6/include/c++/6.2.0/bits/shared_ptr_base.h:662 #28 0x00007fc096f4fe90 in std::__shared_ptr::~__shared_ptr (this=0x49c3578, __in_chrg=) at /afs/cern.ch/sw/lcg/contrib/gcc/6.2.0native/x86_64-slc6/include/c++/6.2.0/bits/shared_ptr_base.h:928 #29 0x00007fc096f4feac in std::shared_ptr::~shared_ptr (this=0x49c3578, __in_chrg=) at /afs/cern.ch/sw/lcg/contrib/gcc/6.2.0native/x86_64-slc6/include/c++/6.2.0/bits/shared_ptr.h:93 #30 0x00007fc096f7ae8b in TBackCompFitter::~TBackCompFitter (this=0x49c3470, __in_chrg=) at /home/etejedor/devel/master/root/hist/hist/src/TBackCompFitter.cxx:105 #31 0x00007fc096f7aec4 in TBackCompFitter::~TBackCompFitter (this=0x49c3470, __in_chrg=) at /home/etejedor/devel/master/root/hist/hist/src/TBackCompFitter.cxx:109 #32 0x00007fc096f51f8d in HFit::Fit (h1=0x5719720, f1=0x5733460, fitOption=..., minOption=..., goption=0x7fc09704a960 "", range=...) at /home/etejedor/devel/master/root/hist/hist/src/HFitImpl.cxx:433 #33 0x00007fc096f4ef1c in ROOT::Fit::FitObject (h1=0x5719720, f1=0x5733460, foption=..., moption=..., goption=0x7fc09704a960 "", range=...) at /home/etejedor/devel/master/root/hist/hist/src/HFitImpl.cxx:973 #34 0x00007fc096e871a9 in TH1::Fit (this=0x5719720, f1=0x5733460, option=0x7ffc006b8859 "qnr", goption=0x7fc09704a960 "", xxmin=0, xxmax=0) at /home/etejedor/devel/master/root/hist/hist/src/TH1.cxx:3911 #35 0x00007fc096fbf588 in TH2::DoFitSlices (this=0x2e42db0, onX=true, f1=0x5733460, firstbin=0, lastbin=1001, cut=0, option=0x4955ac8 "QNR", arr=0x569f480) at /home/etejedor/devel/master/root/hist/hist/src/TH2.cxx:822 #36 0x00007fc096fbf8c1 in TH2::FitSlicesX (this=0x2e42db0, f1=0x5733460, firstybin=0, lastybin=-1, cut=0, option=0x4955ac8 "QNR", arr=0x569f480) at /home/etejedor/devel/master/root/hist/hist/src/TH2.cxx:898 #37 0x00007fc094289151 in ?? () #38 0x000000000569f480 in ?? () #39 0x00007ffc006b8d90 in ?? () #40 0x00007ffc006b8a80 in ?? () #41 0x00007fc0a8e26448 in FastCall (method=50831040, args_=0x57184f0, self=0x572f5c0, result=0x499f8a0) at /home/etejedor/devel/master/root/bindings/pyroot/src/Cppyy.cxx:407 =========================================================== Traceback (most recent call last): File "test_profile_draw.py", line 36, in th2.FitSlicesX(f1,0,-1,0,'QNR',tobj) SystemError: void TH2::FitSlicesX(TF1* f1 = 0, int firstybin = 0, int lastybin = -1, int cut = 0, const char* option = "QNR", TObjArray* arr = 0) => problem in C++; program state has been reset *** glibc detected *** python: double free or corruption (!prev): 0x0000000004e65fa0 *** ======= Backtrace: ========= /lib64/libc.so.6[0x3939c75f4e] /lib64/libc.so.6[0x3939c78cf0] /home/etejedor/devel/master/build/lib/libCore.so(_ZN8TStorage13ObjectDeallocEPv+0x18)[0x7fc0a6fc3c82] /home/etejedor/devel/master/build/lib/libCore.so(_ZN7TObjectdlEPv+0x2b)[0x7fc0a6fd2b62] /home/etejedor/devel/master/build/lib/libCore.so(_ZN7TObjectD0Ev+0x24)[0x7fc0a6fd0822] /home/etejedor/devel/master/build/lib/libRooStats.so(_ZN8RooStats27ProfileLikelihoodCalculatorD1Ev+0x79)[0x7fc085f500f9] /home/etejedor/devel/master/build/lib/libRooStats.so(_ZN8RooStats27ProfileLikelihoodCalculatorD0Ev+0x18)[0x7fc085f5012a] /home/etejedor/devel/master/build/lib/libRooStats.so(+0x133289)[0x7fc085f2a289] /home/etejedor/devel/master/build/lib/libCore.so(_ZN6TClass10DestructorEPvb+0xaf)[0x7fc0a70b33b7] /home/etejedor/devel/master/build/lib/libPyROOT.so(_ZN5Cppyy8DestructElPv+0x43)[0x7fc0a8e25aa7] /home/etejedor/devel/master/build/lib/libPyROOT.so(_ZN6PyROOT17op_dealloc_nofreeEPNS_11ObjectProxyE+0x13c)[0x7fc0a8e7a280] /home/etejedor/devel/master/build/lib/libPyROOT.so(+0x1079e2)[0x7fc0a8e7a9e2] /afs/cern.ch/sw/lcg/app/releases/ROOT-externals/ROOT-20161010/Python/2.7.10/x86_64-slc6-gcc62-opt/bin/../lib/libpython2.7.so.1.0(+0xb9c82)[0x7fc0af62ec82] /afs/cern.ch/sw/lcg/app/releases/ROOT-externals/ROOT-20161010/Python/2.7.10/x86_64-slc6-gcc62-opt/bin/../lib/libpython2.7.so.1.0(+0x99f67)[0x7fc0af60ef67] /afs/cern.ch/sw/lcg/app/releases/ROOT-externals/ROOT-20161010/Python/2.7.10/x86_64-slc6-gcc62-opt/bin/../lib/libpython2.7.so.1.0(PyDict_SetItem+0x67)[0x7fc0af610937] /afs/cern.ch/sw/lcg/app/releases/ROOT-externals/ROOT-20161010/Python/2.7.10/x86_64-slc6-gcc62-opt/bin/../lib/libpython2.7.so.1.0(_PyModule_Clear+0x14c)[0x7fc0af614a4c] /afs/cern.ch/sw/lcg/app/releases/ROOT-externals/ROOT-20161010/Python/2.7.10/x86_64-slc6-gcc62-opt/bin/../lib/libpython2.7.so.1.0(PyImport_Cleanup+0x42b)[0x7fc0af691f7b] /afs/cern.ch/sw/lcg/app/releases/ROOT-externals/ROOT-20161010/Python/2.7.10/x86_64-slc6-gcc62-opt/bin/../lib/libpython2.7.so.1.0(Py_Finalize+0xfe)[0x7fc0af6a447e] /afs/cern.ch/sw/lcg/app/releases/ROOT-externals/ROOT-20161010/Python/2.7.10/x86_64-slc6-gcc62-opt/bin/../lib/libpython2.7.so.1.0(Py_Main+0x5cc)[0x7fc0af6ba7fc] /lib64/libc.so.6(__libc_start_main+0xfd)[0x3939c1ed5d] python[0x4006d9] ======= Memory map: ======== 00400000-00401000 r-xp 00000000 00:1d 530794070 /afs/cern.ch/sw/lcg/app/releases/ROOT-externals/ROOT-20161010/Python/2.7.10/x86_64-slc6-gcc62-opt/bin/python2.7 00600000-00601000 rw-p 00000000 00:1d 530794070 /afs/cern.ch/sw/lcg/app/releases/ROOT-externals/ROOT-20161010/Python/2.7.10/x86_64-slc6-gcc62-opt/bin/python2.7 00e99000-057e5000 rw-p 00000000 00:00 0 [heap] 3939800000-3939820000 r-xp 00000000 fd:00 2362199 /lib64/ld-2.12.so 3939a1f000-3939a20000 r--p 0001f000 fd:00 2362199 /lib64/ld-2.12.so 3939a20000-3939a21000 rw-p 00020000 fd:00 2362199 /lib64/ld-2.12.so 3939a21000-3939a22000 rw-p 00000000 00:00 0 3939c00000-3939d8a000 r-xp 00000000 fd:00 2366491 /lib64/libc-2.12.so 3939d8a000-3939f8a000 ---p 0018a000 fd:00 2366491 /lib64/libc-2.12.so 3939f8a000-3939f8e000 r--p 0018a000 fd:00 2366491 /lib64/libc-2.12.so 3939f8e000-3939f8f000 rw-p 0018e000 fd:00 2366491 /lib64/libc-2.12.so 3939f8f000-3939f94000 rw-p 00000000 00:00 0 393a000000-393a017000 r-xp 00000000 fd:00 2368511 /lib64/libpthread-2.12.so 393a017000-393a217000 ---p 00017000 fd:00 2368511 /lib64/libpthread-2.12.so 393a217000-393a218000 r--p 00017000 fd:00 2368511 /lib64/libpthread-2.12.so 393a218000-393a219000 rw-p 00018000 fd:00 2368511 /lib64/libpthread-2.12.so 393a219000-393a21d000 rw-p 00000000 00:00 0 393a400000-393a483000 r-xp 00000000 fd:00 2368515 /lib64/libm-2.12.so 393a483000-393a682000 ---p 00083000 fd:00 2368515 /lib64/libm-2.12.so 393a682000-393a683000 r--p 00082000 fd:00 2368515 /lib64/libm-2.12.so 393a683000-393a684000 rw-p 00083000 fd:00 2368515 /lib64/libm-2.12.so 393a800000-393a802000 r-xp 00000000 fd:00 2368512 /lib64/libdl-2.12.so 393a802000-393aa02000 ---p 00002000 fd:00 2368512 /lib64/libdl-2.12.so 393aa02000-393aa03000 r--p 00002000 fd:00 2368512 /lib64/libdl-2.12.so 393aa03000-393aa04000 rw-p 00003000 fd:00 2368512 /lib64/libdl-2.12.so 393ac00000-393ac15000 r-xp 00000000 fd:00 2368513 /lib64/libz.so.1.2.3 393ac15000-393ae14000 ---p 00015000 fd:00 2368513 /lib64/libz.so.1.2.3 393ae14000-393ae15000 r--p 00014000 fd:00 2368513 /lib64/libz.so.1.2.3 393ae15000-393ae16000 rw-p 00015000 fd:00 2368513 /lib64/libz.so.1.2.3 393b000000-393b007000 r-xp 00000000 fd:00 2359415 /lib64/librt-2.12.so 393b007000-393b206000 ---p 00007000 fd:00 2359415 /lib64/librt-2.12.so 393b206000-393b207000 r--p 00006000 fd:00 2359415 /lib64/librt-2.12.so 393b207000-393b208000 rw-p 00007000 fd:00 2359415 /lib64/librt-2.12.so 393b400000-393b41d000 r-xp 00000000 fd:00 2368532 /lib64/libselinux.so.1 393b41d000-393b61c000 ---p 0001d000 fd:00 2368532 /lib64/libselinux.so.1 393b61c000-393b61d000 r--p 0001c000 fd:00 2368532 /lib64/libselinux.so.1 393b61d000-393b61e000 rw-p 0001d000 fd:00 2368532 /lib64/libselinux.so.1 393b61e000-393b61f000 rw-p 00000000 00:00 0 393bc00000-393bc16000 r-xp 00000000 fd:00 2368545 /lib64/libresolv-2.12.so 393bc16000-393be16000 ---p 00016000 fd:00 2368545 /lib64/libresolv-2.12.so 393be16000-393be17000 r--p 00016000 fd:00 2368545 /lib64/libresolv-2.12.so 393be17000-393be18000 rw-p 00017000 fd:00 2368545 /lib64/libresolv-2.12.so 393be18000-393be1a000 rw-p 00000000 00:00 0 393c000000-393c03a000 r-xp 00000000 fd:00 2375331 /lib64/libreadline.so.6.0 393c03a000-393c23a000 ---p 0003a000 fd:00 2375331 /lib64/libreadline.so.6.0 393c23a000-393c242000 rw-p 0003a000 fd:00 2375331 /lib64/libreadline.so.6.0 393c242000-393c243000 rw-p 00000000 00:00 0 393cc00000-393cd37000 r-xp 00000000 fd:00 1226997 /usr/lib64/libX11.so.6.3.0 393cd37000-393cf37000 ---p 00137000 fd:00 1226997 /usr/lib64/libX11.so.6.3.0 393cf37000-393cf3d000 rw-p 00137000 fd:00 1226997 /usr/lib64/libX11.so.6.3.0 393d000000-393d01e000 r-xp 00000000 fd:00 1226996 /usr/lib64/libxcb.so.1.1.0 393d01e000-393d21d000 ---p 0001e000 fd:00 1226996 /usr/lib64/libxcb.so.1.1.0 393d21d000-393d21e000 rw-p 0001d000 fd:00 1226996 /usr/lib64/libxcb.so.1.1.0 393d400000-393d402000 r-xp 00000000 fd:00 1226995 /usr/lib64/libXau.so.6.0.0 393d402000-393d602000 ---p 00002000 fd:00 1226995 /usr/lib64/libXau.so.6.0.0 393d602000-393d603000 rw-p 00002000 fd:00 1226995 /usr/lib64/libXau.so.6.0.0 393d800000-393d826000 r-xp 00000000 fd:00 2368516 /lib64/libexpat.so.1.5.2 393d826000-393da25000 ---p 00026000 fd:00 2368516 /lib64/libexpat.so.1.5.2 393da25000-393da28000 rw-p 00025000 fd:00 2368516 /lib64/libexpat.so.1.5.2 393e000000-393e098000 r-xp 00000000 fd:00 1226991 /usr/lib64/libfreetype.so.6.3.22 393e098000-393e297000 ---p 00098000 fd:00 1226991 /usr/lib64/libfreetype.so.6.3.22 393e297000-393e29d000 rw-p 00097000 fd:00 1226991 /usr/lib64/libfreetype.so.6.3.22 393e400000-393e425000 r-xp 00000000 fd:00 1226990 /usr/lib64/libpng12.so.0.49.0 393e425000-393e625000 ---p 00025000 fd:00 1226990 /usr/lib64/libpng12.so.0.49.0 393e625000-393e626000 rw-p 00025000 fd:00 1226990 /usr/lib64/libpng12.so.0.49.0 393e800000-393e811000 r-xp 00000000 fd:00 1227003 /usr/lib64/libXext.so.6.4.0 393e811000-393ea11000 ---p 00011000 fd:00 1227003 /usr/lib64/libXext.so.6.4.0 393ea11000-393ea12000 rw-p 00011000 fd:00 1227003 /usr/lib64/libXext.so.6.4.0 393ec00000-393ec34000 r-xp 00000000 fd:00 1226992 /usr/lib64/libfontconfig.so.1.4.4Aborted (core dumped)