GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Bugs, Fixes, Releases » Bug in Drc
Bug in Drc [message #5369] Wed, 07 November 2007 08:28 Go to next message
StefanoSpataro is currently offline  StefanoSpataro
Messages: 2736
Registered: June 2005
Location: Torino
first-grade participant

From: *dip.t-dialin.net
Hi,
I found a sort of bug that is crashing the analysis (but not the compilation).

Yesterday the file CbmDrc was changed, and at line 162/164 the code is searching for a volume called "drc06", while before the search was for "drc05". But if I look into geometry/dirc.geo I cannot find a volume so called (drc06), and I think this is the reason of the crash.

Is it possible to fix it?
Re: Bug in Drc [message #5377 is a reply to message #5369] Fri, 09 November 2007 10:04 Go to previous messageGo to next message
Annalisa Cecchi is currently offline  Annalisa Cecchi
Messages: 17
Registered: June 2006
Location: Ferrara
occasional visitor

From: *fe.infn.it
Hi all,
now it should work without crash.

Cheers,

Annalisa
Re: Bug in Drc [message #5541 is a reply to message #5369] Sat, 01 December 2007 14:10 Go to previous messageGo to next message
StefanoSpataro is currently offline  StefanoSpataro
Messages: 2736
Registered: June 2005
Location: Torino
first-grade participant

From: *dip.t-dialin.net
Dear all,
since several days there is a bug in the DIRC code.
The error is:

/.../pandaroot/drc/PndDrc.cxx: In member function 'virtual void PndDrc::Initialize()':
/.../pandaroot/drc/PndDrc.cxx:275: error: no matching function for call to 'PndDrcOptDevManager::addDeviceSystem(PndDrcOptDevSys&, int&)'
/.../pandaroot/drc/drcprop/PndDrcOptDevManager.h:58: note: candidates are: void PndDrcOptDevManager::addDeviceSystem(const PndDrcOptDevSys&)


It seems that in the file PndDrcOptDevManager.h the function

PndDrcOptDevManager::addDeviceSystem(PndDrcOptDevSys&, int&)

has become

PndDrcOptDevManager::addDeviceSystem(PndDrcOptDevSys&)

but in the PndDrc.cxx there is still the old call.
I don't know which is the correct function call, could you please solve this bug?

Thanks in advance.

icon9.gif  Re: Bug in Drc [message #5542 is a reply to message #5541] Sun, 02 December 2007 11:16 Go to previous messageGo to next message
Carsten Schwarz is currently offline  Carsten Schwarz
Messages: 288
Registered: March 2004
first-grade participant
From: *dip0.t-ipconnect.de
Hi Stefano,

I solved the bug with revision 1922. Sorry that this negligence happened.

Carsten
Re: Bug in Drc [message #5543 is a reply to message #5542] Sun, 02 December 2007 12:43 Go to previous message
StefanoSpataro is currently offline  StefanoSpataro
Messages: 2736
Registered: June 2005
Location: Torino
first-grade participant

From: *dip.t-dialin.net
Hi,
thanks at all for the "week-end" fix.
However, running the macro/run/run_sim.C , the analysis crashes while defining Drc geometry:

Info in <TGeoManager::CloseGeometry>: ----------------modeler ready----------------
node,name 0 drc01
size=1
1 drc01_clone

*** Break *** segmentation violation
Using host libthread_db library "/lib/libthread_db.so.1".
Attaching to program: /proc/11031/exe, process 11031
`system-supplied DSO at 0xffffe000' has disappeared; keeping its symbols.
[Thread debugging using libthread_db enabled]
[New Thread -1234958672 (LWP 11031)]
0xffffe410 in __kernel_vsyscall ()
#1 0xb66faa03 in waitpid () from /lib/libc.so.6
#2 0xb66a5569 in strtold_l () from /lib/libc.so.6
#3 0xb679c36d in system () from /lib/libpthread.so.0
#4 0xb79e06ab in TUnixSystem::Exec () from /d/c0/cbmsoft/ccacbmsoft/tools/root/lib/libCore.so.5.14
#5 0xb79e4bca in TUnixSystem::StackTrace () from /d/c0/cbmsoft/ccacbmsoft/tools/root/lib/libCore.so.5.14
#6 0xb79e3bdd in TUnixSystem::DispatchSignals () from /d/c0/cbmsoft/ccacbmsoft/tools/root/lib/libCore.so.5.14
#7 0xb79e3d75 in SigHandler () from /d/c0/cbmsoft/ccacbmsoft/tools/root/lib/libCore.so.5.14
#8 0xb79dd7ed in sighandler () from /d/c0/cbmsoft/ccacbmsoft/tools/root/lib/libCore.so.5.14
#9 <signal handler called>
#10 0xb686229a in std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string () from /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/libstdc++.so.6
#11 0xb30ea58e in PndDrcOptDevManager::addDeviceSystem (this=0xa3fdbe8, sys=@0xbfc09714) at /home/spataro/pandaroot/drc/drcprop/PndDrcOptDevManager.cxx:140
#12 0xb309b484 in PndDrc::Initialize (this=0x8d17a70) at /home/spataro/pandaroot/drc/PndDrc.cxx:275
#13 0xb3779400 in CbmMCApplication::InitGeometry (this=0x8d7f420) at /home/spataro/pandaroot/base/CbmMCApplication.cxx:505
#14 0xb3b62cba in TGeant3::Init (this=0x8e86088) at TGeant3.cxx:5866
#15 0xb377b005 in CbmMCApplication::InitMC (this=0x8d7f420, setup=0x8df3048 "/home/spataro/pandaroot/gconfig/g3Config.C")
at /home/spataro/pandaroot/base/CbmMCApplication.cxx:162
#16 0xb378c322 in CbmRunSim::Init (this=0x8c77410) at /home/spataro/pandaroot/base/CbmRunSim.cxx:133
#17 0xb37c0e73 in G__CbmDict_662_0_8 (result7=0xbfc17ccc, funcname=0x8c70b38 "\001", libp=0xbfc14228, hash=0) at /home/spataro/cbuild/base/CbmDict.cxx:10188
#18 0xb73e4c05 in Cint::G__ExceptionWrapper () from /d/c0/cbmsoft/ccacbmsoft/tools/root/lib/libCint.so.5.14
#19 0xb74aa674 in G__call_cppfunc () from /d/c0/cbmsoft/ccacbmsoft/tools/root/lib/libCint.so.5.14
#20 0xb7484c1c in G__interpret_func () from /d/c0/cbmsoft/ccacbmsoft/tools/root/lib/libCint.so.5.14
#21 0xb74792b1 in G__getfunction () from /d/c0/cbmsoft/ccacbmsoft/tools/root/lib/libCint.so.5.14
#22 0xb750bb60 in G__getstructmem () from /d/c0/cbmsoft/ccacbmsoft/tools/root/lib/libCint.so.5.14
#23 0xb75032ca in G__getvariable () from /d/c0/cbmsoft/ccacbmsoft/tools/root/lib/libCint.so.5.14
#24 0xb745ab4b in G__getitem () from /d/c0/cbmsoft/ccacbmsoft/tools/root/lib/libCint.so.5.14
#25 0xb74654e1 in G__getexpr () from /d/c0/cbmsoft/ccacbmsoft/tools/root/lib/libCint.so.5.14
#26 0xb74b827a in G__exec_function () from /d/c0/cbmsoft/ccacbmsoft/tools/root/lib/libCint.so.5.14
#27 0xb74bc2ac in G__exec_statement () from /d/c0/cbmsoft/ccacbmsoft/tools/root/lib/libCint.so.5.14
#28 0xb744882b in G__exec_tempfile_core () from /d/c0/cbmsoft/ccacbmsoft/tools/root/lib/libCint.so.5.14
#29 0xb7448a15 in G__exec_tempfile () from /d/c0/cbmsoft/ccacbmsoft/tools/root/lib/libCint.so.5.14
#30 0xb74c7b4e in G__process_cmd () from /d/c0/cbmsoft/ccacbmsoft/tools/root/lib/libCint.so.5.14
#31 0xb79544e3 in TCint::ProcessLine () from /d/c0/cbmsoft/ccacbmsoft/tools/root/lib/libCore.so.5.14
#32 0xb794f084 in TCint::ProcessLineSynch () from /d/c0/cbmsoft/ccacbmsoft/tools/root/lib/libCore.so.5.14
#33 0xb78831ff in TApplication::ProcessFile () from /d/c0/cbmsoft/ccacbmsoft/tools/root/lib/libCore.so.5.14
#34 0xb787fa3e in TApplication::ProcessLine () from /d/c0/cbmsoft/ccacbmsoft/tools/root/lib/libCore.so.5.14
#35 0xb68f42f9 in TRint::Run () from /d/c0/cbmsoft/ccacbmsoft/tools/root/lib/libRint.so.5.14
#36 0x08048e00 in main ()


I tried with the old external packages (the previous error message) and also wth the new ones, while having always the same error.
So maybe there is stll some mismatch somewhere.
Previous Topic: Cmake end with an error message.
Next Topic: PandaRoot 2.0 !
Goto Forum:
  


Current Time: Thu Nov 28 00:42:25 CET 2024

Total time taken to generate the page: 0.00771 seconds