GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Bugs, Fixes, Releases » Error with PndLheTrackFinder
Error with PndLheTrackFinder [message #7605] Wed, 03 December 2008 17:49 Go to previous message
Vanniarajan Suyam Jothi is currently offline  Vanniarajan Suyam Jothi
Messages: 35
Registered: October 2007
Location: Groningen
continuous participant

From: *KVI.nl
I was trying to use PndLheTrackFinder, I was getting error with array out of bounds
I have printed the debugger output below
Can anybody help me with it?
Vanni



*** Event # 9414
===== PndTpcLheHitsMaker =====
Total number of hits for tracking: 28
Total number of tracks in TPC: 1
Good tracks in TPC: 0
Working with 28 hits
Error in <TObjArray::At>: index -2147483648 out of bounds (size: 600, this: 0x0dd64b98)

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb6cbb6c0 (LWP 7789)]
0xb3948376 in PndTpcLheSegments::FillSegments (this=0xdd64b58, fCMHits=0x8a48100) at /home/vanni/fairsoft/pandaroot/lhetrack/PndTpcLheSegments.cxx:108
108 ((TObjArray *)fSegments->At(iseg))->AddLast(h);
Current language: auto; currently c++
(gdb) list
103 PndTpcLheCMPoint* h = (PndTpcLheCMPoint *)fCMHits->At(i);
104 h->SetUsage(kFALSE);
105 // h->Print();
106 Int_t iseg =
107 GetSegm(GetThetaSegm(h), GetPhiSegm(h));
108 ((TObjArray *)fSegments->At(iseg))->AddLast(h);
109
110 #ifdef TRACKSEG
111 if (cur_track != h->GetTrackID()) {
112 cur_track = h->GetTrackID();
(gdb) bt
#0 0xb3948376 in PndTpcLheSegments::FillSegments (this=0xdd64b58, fCMHits=0x8a48100) at /home/vanni/fairsoft/pandaroot/lhetrack/PndTpcLheSegments.cxx:108
#1 0xb39461f5 in PndTpcLheTrackFinder::Exec (this=0x8a460a8, option=0xb464b510 "") at /home/vanni/fairsoft/pandaroot/lhetrack/PndTpcLheTrackFinder.cxx:133
#2 0xb79c43d6 in TTask::ExecuteTasks () from /home/vanni/fairsoft/tools/root/lib/libCore.so.5.20
#3 0xb79c4681 in TTask::ExecuteTask () from /home/vanni/fairsoft/tools/root/lib/libCore.so.5.20
#4 0xb45d0ddb in CbmRunAna::Run (this=0x86e5380, Ev_start=0, Ev_end=10000) at /home/vanni/fairsoft/pandaroot/base/CbmRunAna.cxx:183
#5 0xb460de38 in G__CbmDict_531_0_5 (result7=0xbffc28dc, funcname=0x86e35a0 "\001", libp=0xbffbd270, hash=0)
at /home/vanni/fairsoft/buildPanda/base/CbmDict.cxx:9237
#6 0xb7150767 in Cint::G__ExceptionWrapper () from /home/vanni/fairsoft/tools/root/lib/libCint.so.5.20
#7 0xb720bc98 in G__execute_call () from /home/vanni/fairsoft/tools/root/lib/libCint.so.5.20
#8 0xb720cd90 in G__call_cppfunc () from /home/vanni/fairsoft/tools/root/lib/libCint.so.5.20
#9 0xb71e0123 in G__interpret_func () from /home/vanni/fairsoft/tools/root/lib/libCint.so.5.20
#10 0xb71ce369 in G__getfunction () from /home/vanni/fairsoft/tools/root/lib/libCint.so.5.20
#11 0xb72c7ae4 in G__getstructmem () from /home/vanni/fairsoft/tools/root/lib/libCint.so.5.20
#12 0xb72bcf6a in G__getvariable () from /home/vanni/fairsoft/tools/root/lib/libCint.so.5.20
#13 0xb71a102f in G__getitem () from /home/vanni/fairsoft/tools/root/lib/libCint.so.5.20
#14 0xb71a8938 in G__getexpr () from /home/vanni/fairsoft/tools/root/lib/libCint.so.5.20
#15 0xb723da7c in G__exec_statement () from /home/vanni/fairsoft/tools/root/lib/libCint.so.5.20
#16 0xb71e2385 in G__interpret_func () from /home/vanni/fairsoft/tools/root/lib/libCint.so.5.20
#17 0xb71ce4bd in G__getfunction () from /home/vanni/fairsoft/tools/root/lib/libCint.so.5.20
#18 0xb71a165d in G__getitem () from /home/vanni/fairsoft/tools/root/lib/libCint.so.5.20
#19 0xb71a8938 in G__getexpr () from /home/vanni/fairsoft/tools/root/lib/libCint.so.5.20
#20 0xb71b4512 in G__calc_internal () from /home/vanni/fairsoft/tools/root/lib/libCint.so.5.20
#21 0xb724a54f in G__process_cmd () from /home/vanni/fairsoft/tools/root/lib/libCint.so.5.20
#22 0xb7a28250 in TCint::ProcessLine () from /home/vanni/fairsoft/tools/root/lib/libCore.so.5.20
#23 0xb7a27f0f in TCint::ProcessLineSynch () from /home/vanni/fairsoft/tools/root/lib/libCore.so.5.20
#24 0xb7957f80 in TApplication::ExecuteFile () from /home/vanni/fairsoft/tools/root/lib/libCore.so.5.20
#25 0xb7958514 in TApplication::ProcessFile () from /home/vanni/fairsoft/tools/root/lib/libCore.so.5.20
#26 0xb7955584 in TApplication::ProcessLine () from /home/vanni/fairsoft/tools/root/lib/libCore.so.5.20
#27 0xb6f9e898 in TRint::HandleTermInput () from /home/vanni/fairsoft/tools/root/lib/libRint.so.5.20
#28 0xb6f9ccb5 in TTermInputHandler::Notify () from /home/vanni/fairsoft/tools/root/lib/libRint.so.5.20
#29 0xb6f9f2a4 in TTermInputHandler::ReadNotify () from /home/vanni/fairsoft/tools/root/lib/libRint.so.5.20
#30 0xb7a39285 in TUnixSystem::CheckDescriptors () from /home/vanni/fairsoft/tools/root/lib/libCore.so.5.20
#31 0xb7a39d5f in TUnixSystem::DispatchOneEvent () from /home/vanni/fairsoft/tools/root/lib/libCore.so.5.20
#32 0xb79b4771 in TSystem::InnerLoop () from /home/vanni/fairsoft/tools/root/lib/libCore.so.5.20
#33 0xb79b8751 in TSystem::Run () from /home/vanni/fairsoft/tools/root/lib/libCore.so.5.20
#34 0xb79541d7 in TApplication::Run () from /home/vanni/fairsoft/tools/root/lib/libCore.so.5.20
#35 0xb6f9ed6b in TRint::Run () from /home/vanni/fairsoft/tools/root/lib/libRint.so.5.20
#36 0x08048eb5 in main ()
(gdb)

 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: external packages on Ubuntu
Next Topic: error during make install
Goto Forum:
  


Current Time: Wed May 22 19:33:28 CEST 2024

Total time taken to generate the page: 0.01027 seconds