[Gate-users] error in root program

Ismet Isnaini ismeth74 at yahoo.com
Thu Mar 29 08:08:29 CEST 2012


Hi everyone, 


I have been using my Gate6.1 on SUSE Unix, and now I am trying use the Ubuntu 11 instead. The Gate simulation went Ok, but when I try to access my rootfile, the following error come up....  (this problem has never happened before using SUSE UNIX)


The program root2listRandom is trying to get the count of coincidence single etc2 from the given root file 


from the error message, i seem to have problem with the opening of the input file ??? 

Root program ?

Can any body give any suggestions to solve this problem


I am running Gate 6.1, Root 5.32 geant4.9.4.p03


Any help is really appreciated.. 


regards



ismet at ismet-PowerEdge-T100:~/Gate6.1/NECR3$ ./root2listRandom 0.5MBq/20cm500KBq1250ms3ns12RingPS.root 12 383
Warning in <TClass::TClass>: no dictionary for class TTree is available
Warning in <TClass::TClass>: no dictionary for class TBranch is available
Warning in <TClass::TClass>: no dictionary for class TLeafI is available
Warning in <TClass::TClass>: no dictionary for class TLeaf is available
Warning in <TClass::TClass>: no dictionary for class TLeafF is available
Warning in <TClass::TClass>: no dictionary for class TLeafD is available
Warning in <TClass::TClass>: no dictionary for class TLeafC is available
Warning in <TClass::TClass>: no dictionary for class TBranchRef is available
Warning in <TClass::TClass>: no dictionary for class TH1D is available
Warning in <TClass::TClass>: no dictionary for class TH1 is available
Warning in <TClass::TClass>: no dictionary for class TAxis is available
Error in <TBufferFile::ReadClassBuffer>: class: TNamed, attempting to access a wrong version: 19, object skipped at offset 82
Error in <TBufferFile::CheckByteCount>: object of class TNamed read too few bytes: 2 instead of 53077
Error in <TBufferFile::ReadClassBuffer>: class: TNamed, attempting to access a wrong version: 19, object skipped at offset 72
Error in <TBufferFile::CheckByteCount>: object of class TNamed read too few bytes: 2 instead of 145339

 *** Break *** segmentation violation



===========================================================
There was a crash (#7 0xb71d39db in SigHandler(ESignals) () from /home/ismet/Gate6.1/root/lib/libCore.so).
This is the entire stack trace of all threads:
===========================================================
#0  0xb7755424 in __kernel_vsyscall ()
#1  0xb6c863e3 in __waitpid_nocancel () at ../sysdeps/unix/syscall-template.S:82
#2  0xb6c266e3 in do_system (line=0x96d4af8 "/home/ismet/Gate6.1/root/etc/gdb-backtrace.sh 6841 1>&2") at ../sysdeps/posix/system.c:149
#3  0xb6d76ebb in system (line=0x96d4af8 "/home/ismet/Gate6.1/root/etc/gdb-backtrace.sh 6841 1>&2") at pt-system.c:29
#4  0xb71cc8db in TUnixSystem::Exec(char const*) () from /home/ismet/Gate6.1/root/lib/libCore.so
#5  0xb71d0dc0 in TUnixSystem::StackTrace() () from /home/ismet/Gate6.1/root/lib/libCore.so
#6  0xb71d38c7 in TUnixSystem::DispatchSignals(ESignals) () from /home/ismet/Gate6.1/root/lib/libCore.so
#7  0xb71d39db in SigHandler(ESignals) () from /home/ismet/Gate6.1/root/lib/libCore.so
#8  0xb71cab12 in sighandler(int) () from /home/ismet/Gate6.1/root/lib/libCore.so
#9  <signal handler called>
#10 0xb6b8634a in std::ostream::sentry::sentry(std::ostream&) () from /usr/lib/i386-linux-gnu/libstdc++.so.6
#11 0xb6b86ae6 in std::basic_ostream<char, std::char_traits<char> >& std::__ostream_insert<char, std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, char const*, int) () from /usr/lib/i386-linux-gnu/libstdc++.so.6
#12 0xb7119d74 in TObject::SavePrimitive(std::ostream&, char const*) () from /home/ismet/Gate6.1/root/lib/libCore.so
#13 0x08049856 in get_singlerate (filename=0xbfa24b41 "0.5MBq/20cm500KBq1250ms3ns12RingPS.root") at root2listRandom.cpp:130
#14 conv_root2list_coin (filename=0xbfa24b41 "0.5MBq/20cm500KBq1250ms3ns12RingPS.root") at root2listRandom.cpp:186
#15 0x08049223 in main (argc=4, argv=0xbfa23424) at root2listRandom.cpp:118
===========================================================


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 0xb6b8634a in std::ostream::sentry::sentry(std::ostream&) () from /usr/lib/i386-linux-gnu/libstdc++.so.6
#11 0xb6b86ae6 in std::basic_ostream<char, std::char_traits<char> >& std::__ostream_insert<char, std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, char const*, int) () from /usr/lib/i386-linux-gnu/libstdc++.so.6
#12 0xb7119d74 in TObject::SavePrimitive(std::ostream&, char const*) () from /home/ismet/Gate6.1/root/lib/libCore.so
#13 0x08049856 in get_singlerate (filename=0xbfa24b41 "0.5MBq/20cm500KBq1250ms3ns12RingPS.root") at root2listRandom.cpp:130
#14 conv_root2list_coin (filename=0xbfa24b41 "0.5MBq/20cm500KBq1250ms3ns12RingPS.root") at root2listRandom.cpp:186
#15 0x08049223 in main (argc=4, argv=0xbfa23424) at root2listRandom.cpp:118
===========================================================


More information about the Gate-users mailing list