Hi,
I am reading an ascii file, create and fill a tree and perform analysis and I have the following segmentation violation.
The script sometimes works sometimes not.
The function read() works fine, it is plot() that generate segmentation violation.
Thank you,
Anton
I am using fedora 5 on amd 64, gcc 4.1.1
ROOT 5.25/02 (trunk@30530, Sep 29 2009, 15:28:19 on linuxx8664gcc)
CINT/ROOT C/C++ Interpreter version 5.17.00, Dec 21, 2008
Type ? for help. Commands must be C++ statements.
Enclose multiple statements between { }.
root [0]
Processing chrom3.C…
*** Break *** segmentation violation
#0 0x0000003fd14934b5 in waitpid () from /lib64/libc.so.6
#1 0x0000003fd143aff3 in do_system () from /lib64/libc.so.6
#2 0x00002aaaaad2e577 in TUnixSystem::StackTrace ()
#3 0x00002aaaaad2ba7a in TUnixSystem::DispatchSignals ()
#4
#5 0x00002aaaab58f9a8 in G__isfriend () from /usr/local/root/lib/libCint.so
#6 0x00002aaaab4cbf66 in G__interpret_func ()
#7 0x00002aaaab4b9803 in G__getfunction () from /usr/local/root/lib/libCint.so
#8 0x00002aaaab5a72d0 in G__getstructmem ()
#9 0x00002aaaab59c879 in G__getvariable () from /usr/local/root/lib/libCint.so
#10 0x00002aaaab48f39c in G__getitem () from /usr/local/root/lib/libCint.so
#11 0x00002aaaab49a400 in G__getexpr () from /usr/local/root/lib/libCint.so
#12 0x00002aaaab523051 in G__exec_statement ()
#13 0x00002aaaab4cdfdf in G__interpret_func ()
#14 0x00002aaaab4b996f in G__getfunction () from /usr/local/root/lib/libCint.so
#15 0x00002aaaab48f504 in G__getitem () from /usr/local/root/lib/libCint.so
#16 0x00002aaaab49a400 in G__getexpr () from /usr/local/root/lib/libCint.so
#17 0x00002aaaab523051 in G__exec_statement ()
#18 0x00002aaaab4cdfdf in G__interpret_func ()
#19 0x00002aaaab4b996f in G__getfunction () from /usr/local/root/lib/libCint.so
#20 0x00002aaaab48f504 in G__getitem () from /usr/local/root/lib/libCint.so
#21 0x00002aaaab49a400 in G__getexpr () from /usr/local/root/lib/libCint.so
#22 0x00002aaaab4a1a30 in G__calc_internal ()
#23 0x00002aaaab52cba8 in G__process_cmd () from /usr/local/root/lib/libCint.so
#24 0x00002aaaaad178c7 in TCint::ProcessLine ()
#25 0x00002aaaaad1c933 in TCint::ProcessLineSynch ()
#26 0x00002aaaaac57dd4 in TApplication::ExecuteFile ()
#27 0x00002aaaaac55d4b in TApplication::ProcessLine ()
#28 0x00002aaaabfa561b in TRint::Run () from /usr/local/root/lib/libRint.so
#29 0x000000000040104d in main ()
Root > Function plot() busy flag cleared
Function chrom3() busy flag cleared
.q
chrom3.C (3.75 KB)