[cristella@ui03 AA_fit]$ gdb --args root.exe -l -b run_Analysys.sh GNU gdb (GDB) 7.6.1 Copyright (C) 2013 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-unknown-linux-gnu". For bug reporting instructions, please see: ... Reading symbols from /cvmfs/cms.cern.ch/slc6_amd64_gcc481/lcg/root/5.34.10-cms/bin/root.exe...(no debugging symbols found)...done. (gdb) r Starting program: /cvmfs/cms.cern.ch/slc6_amd64_gcc481/cms/cmssw/CMSSW_7_0_4/external/slc6_amd64_gcc481/bin/root.exe -l -b run_Analysys.sh warning: File "/cvmfs/cms.cern.ch/slc6_amd64_gcc481/external/gcc/4.8.1/lib64/libstdc++.so.6.0.18-gdb.py" auto-loading has been declined by your `auto-load safe-path' set to "$debugdir:$datadir/auto-load". To enable execution of this file add add-auto-load-safe-path /cvmfs/cms.cern.ch/slc6_amd64_gcc481/external/gcc/4.8.1/lib64/libstdc++.so.6.0.18-gdb.py line to your configuration file "/lustre/home/cristella/.gdbinit". To completely disable this security protection add set auto-load safe-path / line to your configuration file "/lustre/home/cristella/.gdbinit". For more information about this security protection see the "Auto-loading safe path" section in the GDB manual. E.g., run from the shell: info "(gdb)Auto-loading safe path" [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib64/libthread_db.so.1". root [0] Processing run_Analysys.sh... (class myPDF)13303408 (class Dalitz_contour)13445392 (class effMasses)13464944 (class Angles_contour)13482800 (class sqDalitzToMassesPdf)13498768 (class sqDalitz_contour)13517488 Info in : creating shared library /lustrehome/cristella/work/Z_analysis/AA_fit/./Analysis_C.so In file included from /lustrehome/cristella/work/Z_analysis/AA_fit/Analysis_C_ACLiC_dict.h:34:0, from /lustrehome/cristella/work/Z_analysis/AA_fit/Analysis_C_ACLiC_dict.cxx:17: /lustrehome/cristella/work/Z_analysis/AA_fit/./Analysis.C: In function 'void Analysis()': /lustrehome/cristella/work/Z_analysis/AA_fit/./Analysis.C:400:19: warning: unused variable 'kinematicCheck' [-Wunused-variable] Dalitz_contour* kinematicCheck = new Dalitz_contour("kinematicCheck","kinematic check", massKPi, massPsiPi, kFALSE, psi_nS) ; /* I omitted to paste here the Fit method output and other cout from my script. */ cosKstar=0x7ffffffcda00 Program received signal SIGSEGV, Segmentation fault. 0x00007ffff38c23b0 in sqDalitzToMassesPdf::evaluate() const () from /lustrehome/cristella/work/Z_analysis/AA_fit/./sqDalitzToMassesPdf_cxx.so (gdb) quit A debugging session is active. Inferior 1 [process 24379] will be killed. Quit anyway? (y or n) y