| TpcGemTask bug?? [message #7267] | 
			Thu, 28 August 2008 19:23   | 
		 
		
			
				
				
				
					
						  
						StefanoSpataro
						 Messages: 2736 Registered: June 2005  Location: Torino
						
					 | 
					first-grade participant  | 
					  From: *physik.uni-giessen.de
  | 
		 
		 
	 | 
 
	
		Dear all, 
I have found something...strange! 
 
I run macro/lhetrack/run_sim_tpccombi.C"(10,1)". No problem at all. Then run_track_tpccombi.C. No problem. 
 
Now, let's try with DPM. 
 
I run macro/lhetrack/run_sim_tpccombi_dpm.C"(10,4)". No problem at all. Then run_track_tpccombi.C... it seems no problem, but when I type ".q", before exiting I have the following message: 
 
*** glibc detected *** double free or corruption (out): 0x0aa8ad40 
 
From gdb I get the following:  
 
Toggle Spoiler 
Macro finished succesfully. 
Output file is tracks_tpccombi.root 
Parameter file is params_tpccombi.root 
Real time 2.06677 s, CPU time 2.05 s 
 
root [1] .q 
*** glibc detected *** double free or corruption (out): 0x09993dd8 *** 
 
Program received signal SIGABRT, Aborted. 
[Switching to Thread -1208883520 (LWP 17127)] 
0x001fd7a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2 
(gdb) bt 
#0  0x001fd7a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2 
#1  0x027fd815 in raise () from /lib/tls/libc.so.6 
#2  0x027ff279 in abort () from /lib/tls/libc.so.6 
#3  0x02831cca in __libc_message () from /lib/tls/libc.so.6 
#4  0x0283855f in _int_free () from /lib/tls/libc.so.6 
#5  0x0283893a in free () from /lib/tls/libc.so.6 
#6  0x05e92041 in operator delete () from /usr/lib/libstdc++.so.6 
#7  0x00adabed in TStorage::ObjectDealloc () from /home/spataro/july08/tools/root/lib/libCore.so.5.20 
#8  0x00abb187 in TObject::operator delete () from /home/spataro/july08/tools/root/lib/libCore.so.5.20 
#9  0x0730e07c in TF1::~TF1$delete () from /home/spataro/july08/tools/root/lib/libHist.so 
#10 0x00b1a13c in TCollection::GarbageCollect () from /home/spataro/july08/tools/root/lib/libCore.so.5.20 
#11 0x00b1e15d in TList::Delete () from /home/spataro/july08/tools/root/lib/libCore.so.5.20 
#12 0x00ad2e14 in TROOT::~TROOT () from /home/spataro/july08/tools/root/lib/libCore.so.5.20 
#13 0x00ad302f in __tcf_0 () from /home/spataro/july08/tools/root/lib/libCore.so.5.20 
#14 0x02800858 in __cxa_finalize () from /lib/tls/libc.so.6 
#15 0x00a905ca in __do_global_dtors_aux () from /home/spataro/july08/tools/root/lib/libCore.so.5.20 
#16 0x00ded732 in _fini () from /home/spataro/july08/tools/root/lib/libCore.so.5.20 
#17 0x00209df7 in _dl_fini () from /lib/ld-linux.so.2 
#18 0x02800597 in exit () from /lib/tls/libc.so.6 
#19 0x00b6056b in TUnixSystem::Exit () from /home/spataro/july08/tools/root/lib/libCore.so.5.20 
#20 0x0011e18d in TRint::Terminate () from /home/spataro/july08/tools/root/lib/libRint.so.5.20 
#21 0x00a94513 in TApplication::ProcessLine () from /home/spataro/july08/tools/root/lib/libCore.so.5.20 
#22 0x0011de8a in TRint::HandleTermInput () from /home/spataro/july08/tools/root/lib/libRint.so.5.20 
#23 0x0011c4e0 in TTermInputHandler::Notify () from /home/spataro/july08/tools/root/lib/libRint.so.5.20 
#24 0x0011e77e in TTermInputHandler::ReadNotify () from /home/spataro/july08/tools/root/lib/libRint.so.5.20 
#25 0x00b5edfa in TUnixSystem::CheckDescriptors () from /home/spataro/july08/tools/root/lib/libCore.so.5.20 
#26 0x00b6301c in TUnixSystem::DispatchOneEvent () from /home/spataro/july08/tools/root/lib/libCore.so.5.20 
#27 0x00aec8b4 in TSystem::InnerLoop () from /home/spataro/july08/tools/root/lib/libCore.so.5.20 
#28 0x00aec67b in TSystem::Run () from /home/spataro/july08/tools/root/lib/libCore.so.5.20 
#29 0x00a94afa in TApplication::Run () from /home/spataro/july08/tools/root/lib/libCore.so.5.20 
#30 0x0011cc5e in TRint::Run () from /home/spataro/july08/tools/root/lib/libRint.so.5.20 
#31 0x08048d5a in main () 
   
 
I have tried also on lxi007.gsi.de machine, exactly the same message (but this time a break). 
 
I have started to comment out all the tasks, and finally I managed to find that the task PndTpcGemTask is giving the problem, or better when I activate it the error appear. 
 
Any chance to know what is going wrong? 
 
 
		
		
		
 |  
	| 
		
	 | 
 
 
 | 
	| 
		
 |