GSI Forum - RDF feed
type: channel
description: GSI Helmholtzzentrum für Schwerionenforschung
items: Bug in Drc
items: Re: Bug in Drc

Bug in Drc
type: item
description: 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?
creator: StefanoSpataro
date: 2007-11-07T07:28:47-00:00

Re: Bug in Drc
type: item
description: Hi all, now it should work without crash. Cheers, Annalisa
creator: Annalisa Cecchi
date: 2007-11-09T09:04:20-00:00

Re: Bug in Drc
type: item
description: 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.
creator: StefanoSpataro
date: 2007-12-01T13:10:47-00:00

Re: Bug in Drc
type: item
description: Hi Stefano, I solved the bug with revision 1922. Sorry that this negligence happened. Carsten
creator: Carsten Schwarz
date: 2007-12-02T10:16:41-00:00

Re: Bug in Drc
type: item
description: 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/g3Conf…
creator: StefanoSpataro
date: 2007-12-02T11:43:07-00:00