Bug in PndMvdStripClusterTask::CalcMeanCharge [message #10419] |
Wed, 17 March 2010 13:04 |
StefanoSpataro
Messages: 2736 Registered: June 2005 Location: Torino
|
first-grade participant |
From: *to.infn.it
|
|
Hello,
I have seen that the new crash in the qa macro reco_complete_tpc comes from MVD code, in particular PndMvdStripClusterTask::CalcMeanCharge.
It seems for some strip digi the charge is zero, then at line 485 of PndMvdStripClusterTask.cxx one has divison by zero.
Would it be possible to fix it?
Thanks in advance
here you are the gdb log:
Toggle Spoiler
-I- PndMvdPixelClusterTask: 11 Mvd Clusters and 11 Hits calculated.
Program received signal SIGFPE, Arithmetic exception.
[Switching to Thread -1208961344 (LWP 19507)]
0x04019741 in PndMvdStripClusterTask::CalcMeanCharge (this=0x9138248, onecluster=@0xbfe57120, meanstrip=@0xbfe56fc8, meanerr=@0xbfe56fc0,
charge=@0xbfe56fd0) at /home/spataro/jan10/pandaroot/mvd/MvdReco/PndMvdStripClusterTask.cxx:485
485 meanstrip = meanstrip/charge;
Current language: auto; currently c++
(gdb) bt
#0 0x04019741 in PndMvdStripClusterTask::CalcMeanCharge (this=0x9138248, onecluster=@0xbfe57120, meanstrip=@0xbfe56fc8, meanerr=@0xbfe56fc0,
charge=@0xbfe56fd0) at /home/spataro/jan10/pandaroot/mvd/MvdReco/PndMvdStripClusterTask.cxx:485
#1 0x04018330 in PndMvdStripClusterTask::Exec (this=0x9138248, opt=0x17c9138 "")
at /home/spataro/jan10/pandaroot/mvd/MvdReco/PndMvdStripClusterTask.cxx:300
#2 0x00902925 in TTask::ExecuteTasks () from /home/spataro/jan10/tools/root/lib/libCore.so.5.26
#3 0x00902937 in TTask::ExecuteTasks () from /home/spataro/jan10/tools/root/lib/libCore.so.5.26
#4 0x00902721 in TTask::ExecuteTask () from /home/spataro/jan10/tools/root/lib/libCore.so.5.26
#5 0x0176a2fa in FairRunAna::Run (this=0x863a858, Ev_start=0, Ev_end=10) at /home/spataro/jan10/pandaroot/base/FairRunAna.cxx:271
#6 0x017a246e in G__FairDict_669_0_5 (result7=0xbfe629f0, funcname=0x8dcfb68 "\001", libp=0xbfe583a0, hash=0)
at /home/spataro/jan10/cbuild/base/FairDict.cxx:9099
#7 0x001951d3 in Cint::G__ExceptionWrapper () from /home/spataro/jan10/tools/root/lib/libCint.so.5.26
#8 0x0022daa0 in G__execute_call () from /home/spataro/jan10/tools/root/lib/libCint.so.5.26
#9 0x0022ddb2 in G__call_cppfunc () from /home/spataro/jan10/tools/root/lib/libCint.so.5.26
#10 0x0020f8f3 in G__interpret_func () from /home/spataro/jan10/tools/root/lib/libCint.so.5.26
#11 0x001fbf28 in G__getfunction () from /home/spataro/jan10/tools/root/lib/libCint.so.5.26
#12 0x002e5339 in G__getstructmem () from /home/spataro/jan10/tools/root/lib/libCint.so.5.26
#13 0x002dcf76 in G__getvariable () from /home/spataro/jan10/tools/root/lib/libCint.so.5.26
#14 0x001deee6 in G__getitem () from /home/spataro/jan10/tools/root/lib/libCint.so.5.26
#15 0x001e3089 in G__getexpr () from /home/spataro/jan10/tools/root/lib/libCint.so.5.26
#16 0x002613ed in G__exec_statement () from /home/spataro/jan10/tools/root/lib/libCint.so.5.26
#17 0x00210f30 in G__interpret_func () from /home/spataro/jan10/tools/root/lib/libCint.so.5.26
#18 0x001fbdd4 in G__getfunction () from /home/spataro/jan10/tools/root/lib/libCint.so.5.26
#19 0x001df33c in G__getitem () from /home/spataro/jan10/tools/root/lib/libCint.so.5.26
#20 0x001e3089 in G__getexpr () from /home/spataro/jan10/tools/root/lib/libCint.so.5.26
#21 0x001eb420 in G__calc_internal () from /home/spataro/jan10/tools/root/lib/libCint.so.5.26
#22 0x0026d0fc in G__process_cmd () from /home/spataro/jan10/tools/root/lib/libCint.so.5.26
#23 0x00964b57 in TCint::ProcessLine () from /home/spataro/jan10/tools/root/lib/libCore.so.5.26
#24 0x00964cd8 in TCint::ProcessLineSynch () from /home/spataro/jan10/tools/root/lib/libCore.so.5.26
#25 0x008993b0 in TApplication::ExecuteFile () from /home/spataro/jan10/tools/root/lib/libCore.so.5.26
#26 0x00899673 in TApplication::ProcessFile () from /home/spataro/jan10/tools/root/lib/libCore.so.5.26
#27 0x0089798f in TApplication::ProcessLine () from /home/spataro/jan10/tools/root/lib/libCore.so.5.26
#28 0x0011ed9f in TRint::HandleTermInput () from /home/spataro/jan10/tools/root/lib/libRint.so.5.26
#29 0x0011ccc0 in TTermInputHandler::Notify () from /home/spataro/jan10/tools/root/lib/libRint.so.5.26
#30 0x0011f6be in TTermInputHandler::ReadNotify () from /home/spataro/jan10/tools/root/lib/libRint.so.5.26
#31 0x009755a6 in TUnixSystem::CheckDescriptors () from /home/spataro/jan10/tools/root/lib/libCore.so.5.26
#32 0x009797f8 in TUnixSystem::DispatchOneEvent () from /home/spataro/jan10/tools/root/lib/libCore.so.5.26
#33 0x008f3bfc in TSystem::InnerLoop () from /home/spataro/jan10/tools/root/lib/libCore.so.5.26
#34 0x008f39c3 in TSystem::Run () from /home/spataro/jan10/tools/root/lib/libCore.so.5.26
#35 0x00897c1e in TApplication::Run () from /home/spataro/jan10/tools/root/lib/libCore.so.5.26
#36 0x0011d5a6 in TRint::Run () from /home/spataro/jan10/tools/root/lib/libRint.so.5.26
#37 0x08048d5a in main ()
|
|
|
|