Hi,
I would recommend you try to compile your script (setLimits.C) with ACliC. (for example with root.exe -b -l -q setLimit.C+) to get a better location for the problem.
For the look of it, the problem is likely that an histogram that you are attempting to use in this script is not present / does not exist.
Cheers,
Philippe.
On 9/14/11 9:51 AM, Harinder Singh Bawa wrote:
> Hi Philippe,
>
> Root details is:
>
> [bawa_at_pt3nfs macros]$ echo $ROOTSYS
> /nfs/t3nfs/share/atlas/ATLASLocalRootBase/x86_64/root/5.28.00f-slc5-gcc4.3-i686
> [bawa_at_pt3nfs macros]$ echo $PATH
> /nfs/t3nfs/share/atlas/ATLASLocalRootBase/x86_64/root/5.28.00f-slc5-gcc4.3-i686/bin:/nfs/t3nfs/share/atlas/ATLASLocalRootBase/x86_64/python/2.6.5-i686-slc5-gcc43/sw/lcg/external/Python/2.6.5/i686-slc5-gcc43-opt/bin:/nfs/t3nfs/share/atlas/ATLASLocalRootBase/x86_64/Gcc/gcc432_x86_64_slc5/slc5/gcc43/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/home/bawa/bin
> [bawa_at_pt3nfs macros]$ echo $LD_LIBRARY_PATH
> /nfs/t3nfs/share/atlas/ATLASLocalRootBase/x86_64/root/5.28.00f-slc5-gcc4.3-i686/lib:/nfs/t3nfs/share/atlas/ATLASLocalRootBase/x86_64/python/2.6.5-i686-slc5-gcc43/sw/lcg/external/Python/2.6.5/i686-slc5-gcc43-opt/lib:/nfs/t3nfs/share/atlas/ATLASLocalRootBase/x86_64/Gcc/gcc432_x86_64_slc5/slc5/gcc43/lib64:/nfs/t3nfs/share/atlas/ATLASLocalRootBase/x86_64/Gcc/gcc432_x86_64_slc5/slc5/gcc43/lib:
>
>
> Full segmentation error is:
>
> [bawa_at_pt3nfs macros]$ ./producePlotsForICHEP.bash
> part 1
> rm: cannot remove `setLimits_output.root': No such file or directory
>
> Welcome to the ATLAS rootlogon.C
>
> Processing setLimits.C...
> Info in <TCanvas::Print>: ps file pics/all.ps <http://all.ps> has been created
> Command to : doShowFitToPythia
> nominalDataFile = signal/july2011_B_H4/dijetMass_data.root
> mcFile = signal/july2011_B_H4/dijetMass_mc_noK.root
> nominalSignalsFile = signal/july2011_B_H4/dijetMass_exq.root
> Setting luminosity to 1012.11 pb^-1
> Setting massMin to 717 GeV
> Setting massMax to 6000 GeV
> Setting outputFilename to setLimits_output.root
> retieving file
> retrieved 983 << signal/july2011_B_H4/dijetMass_mc_noK.root : massMC
> Between
> bool condition and 1tt
>
> *** Break *** segmentation violation
> Entries=
>
>
> ===========================================================
> There was a crash (#7 0xf7a735fd in SigHandler(ESignals) ()).
> This is the entire stack trace of all threads:
> ===========================================================
> #0 0xffffe410 in __kernel_vsyscall ()
> #1 0x00c37833 in __waitpid_nocancel () from /lib/libc.so.6
> #2 0x00bdc19b in do_system () from /lib/libc.so.6
> #3 0x00d40ead in system () from /lib/libpthread.so.0
> #4 0xf7a6dffd in TUnixSystem::Exec(char const*) ()
> from /nfs/t3nfs/share/atlas/ATLASLocalRootBase/x86_64/root/5.28.00f-slc5-gcc4.3-i686/lib/libCore.so
> #5 0xf7a73be6 in TUnixSystem::StackTrace() ()
> from /nfs/t3nfs/share/atlas/ATLASLocalRootBase/x86_64/root/5.28.00f-slc5-gcc4.3-i686/lib/libCore.so
> #6 0xf7a734e7 in TUnixSystem::DispatchSignals(ESignals) ()
> from /nfs/t3nfs/share/atlas/ATLASLocalRootBase/x86_64/root/5.28.00f-slc5-gcc4.3-i686/lib/libCore.so
> #7 0xf7a735fd in SigHandler(ESignals) ()
> from /nfs/t3nfs/share/atlas/ATLASLocalRootBase/x86_64/root/5.28.00f-slc5-gcc4.3-i686/lib/libCore.so
> #8 0xf7a6aa32 in sighandler(int) ()
> from /nfs/t3nfs/share/atlas/ATLASLocalRootBase/x86_64/root/5.28.00f-slc5-gcc4.3-i686/lib/libCore.so
> #9 <signal handler called>
> #10 0x00000000 in ?? ()
> #11 0xf68f2ec2 in G__G__Hist_100_0_101(G__value*, char const*, G__param*, int)
> ()
> from /nfs/t3nfs/share/atlas/ATLASLocalRootBase/x86_64/root/5.28.00f-slc5-gcc4.3-i686/lib/libHist.so
> #12 0xf72de056 in Cint::G__ExceptionWrapper(int (*)(G__value*, char const*, G__param*, int), G__value*, char*, G__param*, int) ()
> from /nfs/t3nfs/share/atlas/ATLASLocalRootBase/x86_64/root/5.28.00f-slc5-gcc4.3-i686/lib/libCint.so
> #13 0xf7397d8c in G__execute_call ()
> from /nfs/t3nfs/share/atlas/ATLASLocalRootBase/x86_64/root/5.28.00f-slc5-gcc4.3-i686/lib/libCint.so
> #14 0xf7398b5f in G__call_cppfunc ()
> from /nfs/t3nfs/share/atlas/ATLASLocalRootBase/x86_64/root/5.28.00f-slc5-gcc4.3-i686/lib/libCint.so
> #15 0xf7372ffc in G__interpret_func ()
> from /nfs/t3nfs/share/atlas/ATLASLocalRootBase/x86_64/root/5.28.00f-slc5-gcc4.3-i686/lib/libCint.so
> #16 0xf735f666 in G__getfunction ()
> from /nfs/t3nfs/share/atlas/ATLASLocalRootBase/x86_64/root/5.28.00f-slc5-gcc4.3-i686/lib/libCint.so
> #17 0xf7459546 in G__getstructmem(int, G__FastAllocString&, char*, int, char*, int*, G__var_array*, int) ()
> from /nfs/t3nfs/share/atlas/ATLASLocalRootBase/x86_64/root/5.28.00f-slc5-gcc4.3-i686/lib/libCint.so
> #18 0xf744f1cd in G__getvariable ()
> from /nfs/t3nfs/share/atlas/ATLASLocalRootBase/x86_64/root/5.28.00f-slc5-gcc4.3-i686/lib/libCint.so
> #19 0xf7330ecf in G__getitem ()
> from /nfs/t3nfs/share/atlas/ATLASLocalRootBase/x86_64/root/5.28.00f-slc5-gcc4.3-i686/lib/libCint.so
> #20 0xf733d711 in G__getexpr ()
> from /nfs/t3nfs/share/atlas/ATLASLocalRootBase/x86_64/root/5.28.00f-slc5-gcc4.3-i686/lib/libCint.so
> #21 0xf73c2b76 in G__exec_statement ()
> from /nfs/t3nfs/share/atlas/ATLASLocalRootBase/x86_64/root/5.28.00f-slc5-gcc4.3-i686/lib/libCint.so
> #22 0xf73c9a3a in G__exec_statement ()
> from /nfs/t3nfs/share/atlas/ATLASLocalRootBase/x86_64/root/5.28.00f-slc5-gcc4.3-i686/lib/libCint.so
> #23 0xf73725f7 in G__interpret_func ()
> from /nfs/t3nfs/share/atlas/ATLASLocalRootBase/x86_64/root/5.28.00f-slc5-gcc4.3-i686/lib/libCint.so
> #24 0xf735f73f in G__getfunction ()
> from /nfs/t3nfs/share/atlas/ATLASLocalRootBase/x86_64/root/5.28.00f-slc5-gcc4.3-i686/lib/libCint.so
> #25 0xf7330fd8 in G__getitem ()
> from /nfs/t3nfs/share/atlas/ATLASLocalRootBase/x86_64/root/5.28.00f-slc5-gcc4.3-i686/lib/libCint.so
> #26 0xf733553c in G__getexpr ()
> from /nfs/t3nfs/share/atlas/ATLASLocalRootBase/x86_64/root/5.28.00f-slc5-gcc4.3-i686/lib/libCint.so
> #27 0xf7343af5 in G__calc_internal ()
> from /nfs/t3nfs/share/atlas/ATLASLocalRootBase/x86_64/root/5.28.00f-slc5-gcc4.3-i686/lib/libCint.so
> #28 0xf73d7da7 in G__process_cmd ()
> from /nfs/t3nfs/share/atlas/ATLASLocalRootBase/x86_64/root/5.28.00f-slc5-gcc4.3-i686/lib/libCint.so
> #29 0xf7a2e69c in TCint::ProcessLine(char const*, TInterpreter::EErrorCode*) ()
> from /nfs/t3nfs/share/atlas/ATLASLocalRootBase/x86_64/root/5.28.00f-slc5-gcc4.3-i686/lib/libCore.so
> #30 0xf7a2c08f in TCint::ProcessLineSynch(char const*, TInterpreter::EErrorCode*) ()
> from /nfs/t3nfs/share/atlas/ATLASLocalRootBase/x86_64/root/5.28.00f-slc5-gcc4.3-i686/lib/libCore.so
> #31 0xf7979c1f in TApplication::ExecuteFile(char const*, int*, bool) ()
> from /nfs/t3nfs/share/atlas/ATLASLocalRootBase/x86_64/root/5.28.00f-slc5-gcc4.3-i686/lib/libCore.so
> #32 0xf7979efc in TApplication::ProcessFile(char const*, int*, bool) ()
> from /nfs/t3nfs/share/atlas/ATLASLocalRootBase/x86_64/root/5.28.00f-slc5-gcc4.3-i686/lib/libCore.so
> #33 0xf79775ff in TApplication::ProcessLine(char const*, bool, int*) ()
> from /nfs/t3nfs/share/atlas/ATLASLocalRootBase/x86_64/root/5.28.00f-slc5-gcc4.3-i686/lib/libCore.so
> #34 0xf7074e51 in TRint::Run(bool) ()
> from /nfs/t3nfs/share/atlas/ATLASLocalRootBase/x86_64/root/5.28.00f-slc5-gcc4.3-i686/lib/libRint.so
> #35 0x08048db5 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.
> ===========================================================
> #10 0x00000000 in ?? ()
> ===========================================================
>
>
> Function setLimits() busy flag cleared
> cp: cannot stat `setLimits_output.root': No such file or directory
> cp: cannot stat `pics/fitPythia*': No such file or directory
> cp: cannot stat `pics/significancePythiaMinusFit*': No such file or directory
> rm: cannot remove `setLimits_output.root': No such file or directory
> rm: cannot remove `pics/power.*': No such file or directory
>
>
>
> Harinder
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> On Wed, Sep 14, 2011 at 4:43 PM, Philippe Canal <pcanal_at_fnal.gov <mailto:pcanal_at_fnal.gov>> wrote:
>
> > When I activate bare ROOT in my computer( Version 5.28/00f 4 August 2011 ) :
> > Its compiling well but crashing when I run executable saying segmentation fault
>
> It should not happen. Do you have more detail on the segmentation fault?
> Did you check that there was only one ROOT version/directory listed in the PATH
> and LD_LIBRARY_PATH.
>
> Cheers,
> Philippe.
>
>
>
>
>
> On 9/14/11 9:32 AM, Harinder Singh Bawa wrote:
>
> Hello,
>
> I am confused with ROOT behaviour.
>
> 1) I am trying to some package in ROOT. I checked out the package from SVN area.
>
> When I activate bare ROOT in my computer( Version 5.28/00f 4 August 2011 ) : Its compiling well but crashing when I
> run executable saying segmentation fault
>
>
>
> 2)
> And Since the package is standard package which should run with default setting, I tried with running ROOT that comes with
> athena software.(Version 5.28/00b 14 March 2011 )
>
> Now the package gets compiled but When I run, it is giving me dlopen error which it doesnot give before.
>
> I am confused why change in root . there is change in behaviour of running.
>
> thanks
> harinder
>
>
>
> PS: If you need to look into package, then I can provide you the link privately.
>
>
>
Received on Wed Sep 14 2011 - 17:02:05 CEST
This archive was generated by hypermail 2.2.0 : Wed Sep 14 2011 - 17:50:01 CEST