| 
		
			|  Fatal in <CbmStack::CbmStack::UpdateTrackIndex> [message #5137] | Tue, 02 October 2007 10:23  |  
			| 
				
				
					|  Annalisa Cecchi Messages: 17
 Registered: June 2006
 Location: Ferrara
 | occasional visitor |  From: *fe.infn.it
 
 |  |  
	| Hi everybody,
 I'm running a simulation in PandaRoot, but I get the error below.
 Does someone have an idea on what is happening?
 
 Thanks in advance,
 
 Annalisa
 
 
 
 -E- CbmStack: Particle index -1078698388 not found in dex map!
 Fatal in <CbmStack::CbmStack::UpdateTrackIndex>: Particle index not found in map
 aborting
 (no debugging symbols found)
 Using host libthread_db library "/lib/libthread_db.so.1".
 Attaching to program: /proc/25865/exe, process 25865
 `shared object read from target memory' has disappeared; keeping its symbols.
 (no debugging symbols found)...done.
 (no debugging symbols found)...done.
 (no debugging symbols found)...done.
 [Thread debugging using libthread_db enabled]
 [New Thread -1208580416 (LWP 25865)]
 (no debugging symbols found)...done.
 (no debugging symbols found)...done.
 (no debugging symbols found)...done.
 (no debugging symbols found)...done.
 (no debugging symbols found)...done.
 (no debugging symbols found)...done.
 0x009ce402 in __kernel_vsyscall ()
 #1  0x016ef0b3 in __waitpid_nocancel () from /lib/libc.so.6
 #2  0x01697da7 in do_system () from /lib/libc.so.6
 #3  0x009743d5 in system () from /lib/libpthread.so.0
 #4  0x003a1eeb in TUnixSystem::Exec () from /home/cecchi/fairRoot/cbmsoft/tools/root/lib/libCore.so.5.14
 #5  0x003a9b8a in TUnixSystem::StackTrace () from /home/cecchi/fairRoot/cbmsoft/tools/root/lib/libCore.so.5.14
 #6  0x0026438c in DefaultErrorHandler () from /home/cecchi/fairRoot/cbmsoft/tools/root/lib/libCore.so.5.14
 #7  0x00263c23 in ErrorHandler () from /home/cecchi/fairRoot/cbmsoft/tools/root/lib/libCore.so.5.14
 #8  0x00293c97 in TObject::DoError () from /home/cecchi/fairRoot/cbmsoft/tools/root/lib/libCore.so.5.14
 #9  0x00293dde in TObject::Fatal () from /home/cecchi/fairRoot/cbmsoft/tools/root/lib/libCore.so.5.14
 #10 0x05c10642 in CbmStack::UpdateTrackIndex (this=0xa63d1d8, detList=0xa514490) at ../../pandaroot/mcstack/CbmStack.cxx:257
 #11 0x01da5609 in CbmMCApplication::FinishEvent (this=0xa5143a0) at ../../pandaroot/base/CbmMCApplication.cxx:475
 #12 0xb696926b in TGeant3::ProcessRun (this=0xa634100, nevent=1) at TGeant3/TGeant3.cxx:5886
 #13 0x01da4ef1 in CbmMCApplication::RunMC (this=0xa5143a0, nofEvents=1) at ../../pandaroot/base/CbmMCApplication.cxx:240
 #14 0x01db87c3 in CbmRunSim::Run (this=0xa3db138, NStart=1, NStop=0) at ../../pandaroot/base/CbmRunSim.cxx:141
 #15 0x01ddd07b in G__CbmDict_661_0_7 (result7=0xbfb542ac, funcname=0xa408808 "\001", libp=0xbfb50808, hash=0) at CbmDict.cxx:9513
 #16 0x00c3c98b in Cint::G__ExceptionWrapper () from /home/cecchi/fairRoot/cbmsoft/tools/root/lib/libCint.so.5.14
 #17 0x00ce5b94 in G__call_cppfunc () from /home/cecchi/fairRoot/cbmsoft/tools/root/lib/libCint.so.5.14
 #18 0x00cd08e3 in G__interpret_func () from /home/cecchi/fairRoot/cbmsoft/tools/root/lib/libCint.so.5.14
 #19 0x00cc6359 in G__getfunction () from /home/cecchi/fairRoot/cbmsoft/tools/root/lib/libCint.so.5.14
 #20 0x00d508d1 in G__getstructmem () from /home/cecchi/fairRoot/cbmsoft/tools/root/lib/libCint.so.5.14
 #21 0x00d4893b in G__getvariable () from /home/cecchi/fairRoot/cbmsoft/tools/root/lib/libCint.so.5.14
 
 |  
	|  |  | 
	| 
		
			| Re: Fatal in <CbmStack::CbmStack::UpdateTrackIndex> [message #5138 is a reply to message #5137] | Tue, 02 October 2007 10:53  |  
			| 
				
				
					|  asanchez Messages: 350
 Registered: March 2006
 | first-grade participant | From: *gsi.de 
 |  |  
	| Hi Annalysa, I had actually problem
 try to see
 what does the ResetParameters() in your ProcessHits do?
 
 This function should put to zero your members functions, i can be that the default value is not zero.
 In yout Cbmdrc.h
 there is this initialization
 try to put all the values to zero.
 
 inline void CbmDrc::ResetParameters() {
 fTrackID = -999;
 fCopyNo = -999;
 fPos.SetXYZT(-999., -999., -999., -999.);
 fMom.SetXYZT(-999., -999., -999., -999.) ;
 fTime = -999;
 fLength = -999;
 fELoss = -999;
 fmass = -999;
 fflag = -999;
 fEventID = -999;
 }
 |  
	|  |  |