GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Bugs, Fixes, Releases » break segmantation by running runGEANE2.C from ex2
break segmantation by running runGEANE2.C from ex2 [message #5747] Wed, 30 January 2008 11:07 Go to next message
asanchez is currently offline  asanchez
Messages: 350
Registered: March 2006
first-grade participant
From: *gsi.de
Dear Andrea and Pablo,
By running
runGEANE2.C

i get the following error message according to gdb


lxi006:geane>gdb --args root.exe runGEANE2.C
GNU gdb 6.3-debian
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i386-linux"...Using host libthread_db library "/lib/libthread_db.so.1".

(gdb) run
Starting program: /misc/cbmsoft/Debian3.1/201107/tools/root_r20930/bin/root.exe runGEANE2.C
[Thread debugging using libthread_db enabled]
[New Thread 16384 (LWP 485)]
*******************************************
* *
* W E L C O M E to R O O T *
* *
* Version 5.17/05 16 October 2007 *
* *
* You are welcome to visit our Web site *
* http://root.cern.ch *
* *
*******************************************

ROOT 5.17/05 (trunk@20369, Nov 21 2007, 16:19:00 on linux)

CINT/ROOT C/C++ Interpreter version 5.16.27, Oct 25, 2007
Type ? for help. Commands must be C++ statements.
Enclose multiple statements between { }.
root [0]
Processing runGEANE2.C...

Any idea?

Alicia.

PSaid instance created... access via gSaid->f()

- RTDB container factory CbmBaseContFact
- RTDB container factory PndFieldContFact
- RTDB container factory PndPassiveContFact
- RTDB container factory PndSttContFact
- RTDB container factory CbmPlaneContFact
-I- CbmRunAna: Opening Input file: ex2.root
-I- CbmRunAna Input file: ex2.root is connected to friend: ex2d.root
-I- CbmRunAna Input file: ex2.root is connected to friend: ex2r.root
Info in <TGeoManager::TGeoManager>: Geometry Geometry, Geane geometry created
Info: TGeoManager::Import : Reading geometry from file: ex2.root
Info in <TGeoManager::CloseGeometry>: Geometry loaded from file...
Info in <TGeoManager::SetTopVolume>: Top volume is cave. Master volume is cave
Info in <TGeoManager::Voxelize>: Voxelizing...
Info in <TGeoNavigator::BuildCache>: --- Maximum geometry depth set to 100
Info in <TGeoManager::CloseGeometry>: 15949 nodes/ 2812 volume UID's in CBM geometry
Info in <TGeoManager::CloseGeometry>: ----------------modeler ready----------------
Loading Geant3 libraries ...
Loading Geant3 libraries ... finished

MZSTOR. ZEBRA table base TAB(0) in /MZCC/ at adr 283908751 10EC1A8F HEX

MZSTOR. Initialize Store 0 in /GCBANK/
with Store/Table at absolute adrs 284017597 283908751
HEX 10EDC3BD 10EC1A8F
HEX 1A77A 0
relative adrs 108410 0
with 1 Str. in 2 Links in 5300 Low words in 4999970 words.
This store has a fence of 16 words.

MZLOGL. Set Log Level 0 for store 0
1***** GEANT Version 3.21/11 Released on 100298
0***** Correction Cradle Version 0.1100

MZDIV. Initialize Division Constant in Store 0
NW/NWMAX= 20004000000, MODE/KIND= 1 2
Division 20 initialized.

MZLINK. Initialize Link Area /GCLINK/ for Store 0 NL/NS= 20 20

MZLINK. Initialize Link Area /GCSLNK/ for Store 0 NL/NS= 100 100
-I- G3Config: Geant3 with TGeo has been created for Geane.
Energy straggling area parameter from user set to: 0.9996
Warning in <TGeoManager::CloseGeometry>: geometry already closed

Calculating cross section tables, see gphysi.dat for more information

Cross section calculation concluded successfully
-I- CbmMCApplication:: Monte carlo Engine Initialisation with TGeant3TGeo
I- CbmGeane::CbmGeane: Geane is Initialized
Warning in <TClass::TClass>: no dictionary for class PndBoxGenerator is available

-I- CbmRunAna::Init :
ex2.root is connected with: ex2d.root ex2r.root

PndFieldCreator::SetParm()
create PndFieldPar container PndFieldPar
create PndFieldPar container PndSolenoidPar
create PndFieldPar container PndDipolePar
create PndFieldPar container PndTransPar
create PndFieldPar container PndConstPar
create PndFieldPar container PndMultiFieldPar

*************************************************************
initialisation for run id 608599272
*************************************************************

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 16384 (LWP 485)]
0x4049e58f in ROOT::delete_TObjArray () from /misc/cbmsoft/Debian3.1/development/tools/root/lib/libCore.so.5.17
(gdb) bt
#0 0x4049e58f in ROOT::delete_TObjArray () from /misc/cbmsoft/Debian3.1/development/tools/root/lib/libCore.so.5.17
#1 0x401f9d82 in TClass::Destructor (this=0x84bd7e0, obj=0x5b0d444c, dtorOnly=false) at meta/src/TClass.cxx:3381
#2 0x41008194 in TBufferFile::ReadFastArray (this=0xa062828, start=0xa10a3f4, cl=0x84bd7e0, n=1, isPreAlloc=false,
streamer=0x0) at io/src/TBufferFile.cxx:1453
#3 0x41054f4f in TStreamerInfo::ReadBuffer<char**> (this=0x9f6a2e8, b=@0xa062828, arr=@0xbf899350, first=0, narr=1,
eoffset=0, arrayMode=0) at io/src/TStreamerInfoReadBuffer.cxx:911
#4 0x4100cec0 in TBufferFile::ReadClassBuffer (this=0xa062828, cl=0x9f63f10, pointer=0xa10a1f8)
at io/src/TBufferFile.cxx:3293
#5 0x45184020 in PndStt::Streamer (this=0xa10a1f8, R(bool)=@0xa062828)
at /d/panda02/asanchez/fairroot_newPack/build/stt/PndSttDict.cxx:2169
#6 0x401fbe3a in TClass::Streamer (this=0x9f63f10, object=0xa10a1f8, b=@0xa062828) at meta/src/TClass.cxx:4263
#7 0x4100a4c8 in TBufferFile::ReadObjectAny (this=0xa062828, clCast=0x826f598) at io/src/TBufferFile.cxx:2241
#8 0x401d804d in TObjArray::Streamer (this=0xa51ad60, b=@0xa062828) at cont/src/TObjArray.cxx:388
#9 0x401fbe3a in TClass::Streamer (this=0x84bd7e0, object=0xa51ad60, b=@0xa062828) at meta/src/TClass.cxx:4263
#10 0x4100a4c8 in TBufferFile::ReadObjectAny (this=0xa062828, clCast=0x84bd7e0) at io/src/TBufferFile.cxx:2241
#11 0x41050347 in operator>><TObjArray> (buf=@0xa062828, obj=@0xa51acf4) at TBuffer.h:347
#12 0x44f51d67 in CbmBaseParSet::Streamer (this=0xa51aca8, R(bool)=@0xa062828)
at /d/panda02/asanchez/fairroot_newPack/build/base/CbmDict.cxx:1919
#13 0x4103fd0d in TKey::Read (this=0x9f57708, obj=0xa51aca8) at io/src/TKey.cxx:943
#14 0x44e9fb50 in CbmDetParRootFileIo::read (this=0x9f57208, pPar=0xa51aca8)
at /d/panda02/asanchez/fairroot_newPack/pandaroot/parbase/CbmDetParRootFile Io.cxx:53
#15 0x44ea321a in CbmGenericParRootFileIo::init (this=0x9f57208, pPar=0xa51aca8)
at /d/panda02/asanchez/fairroot_newPack/pandaroot/parbase/CbmGenericParRoot FileIo.cxx:25
#16 0x44ea3cfe in CbmParGenericSet::init (this=0xa51aca8, inp=0x9f56ca0)
at /d/panda02/asanchez/fairroot_newPack/pandaroot/parbase/CbmParGenericSet. cxx:37
#17 0x44ea5abb in CbmParSet::init (this=0xa51aca8)
at /d/panda02/asanchez/fairroot_newPack/pandaroot/parbase/CbmParSet.cxx:43
#18 0x44eae710 in CbmRuntimeDb::initContainers (this=0x848f590)
at /d/panda02/asanchez/fairroot_newPack/pandaroot/parbase/CbmRuntimeDb.cxx: 393
#19 0x44eae25f in CbmRuntimeDb::initContainers (this=0x848f590, runId=608599272, refId=-1, fileName=0x44fb2ea0 "")
at /d/panda02/asanchez/fairroot_newPack/pandaroot/parbase/CbmRuntimeDb.cxx: 344
#20 0x44f43684 in CbmRunAna::Init (this=0x84b2b30) at /d/panda02/asanchez/fairroot_newPack/pandaroot/base/CbmRunAna.cxx:106
#21 0x44f7c230 in G__CbmDict_524_0_4 (result7=0xbf8a9730, funcname=0x84aebc8 "\001", libp=0xbf8a3950, hash=0)
at /d/panda02/asanchez/fairroot_newPack/build/base/CbmDict.cxx:8867
#22 0x407c68ca in Cint::G__ExceptionWrapper (funcp=0x44f7c20a <G__CbmDict_524_0_4>, result7=0xbf8a9730,
funcname=0x84aebc8 "\001", libp=0xbf8a3950, hash=0) at cint/src/Api.cxx:364
#23 0x408b5ec0 in G__call_cppfunc (result7=0xbf8a9730, libp=0xbf8a3950, ifunc=0x84aebc8, ifn=0)
---Type <return> to continue, or q <return> to quit---
at cint/src/v6_newlink.cxx:512
#24 0x408996a3 in G__interpret_func (result7=0xbf8a9730, funcname=0xbf8a9330 "Init", libp=0xbf8a3950, hash=404,
p_ifunc=0x84aebc8, funcmatch=1, memfunc_flag=1) at cint/src/v6_ifunc.cxx:5118
#25 0x40879b15 in G__getfunction (item=0xbf8ac2f6 "Init()", known3=0xbf8abb3c, memfunc_flag=1) at cint/src/v6_func.cxx:2511
#26 0x4095fc20 in G__getstructmem (store_var_type=112, varname=0xbf8ab810 "basiclibs", membername=0xbf8ac2f6 "Init()",
tagname=0xbf8aa070 "fRun", known2=0xbf8abb3c, varglobal=0x409eca00, objptr=2) at cint/src/v6_var.cxx:6562
#27 0x40953ce4 in G__getvariable (item=0xbf8ac2f0 "fRun->Init()", known2=0xbf8abb3c, varglobal=0x409eca00, varlocal=0x0)
at cint/src/v6_var.cxx:5206
#28 0x4086b332 in G__getitem (item=0xbf8ac2f0 "fRun->Init()") at cint/src/v6_expr.cxx:1884
#29 0x40868e4a in G__getexpr (expression=0xbf8ad9c0 "fRun->Init()") at cint/src/v6_expr.cxx:1470
#30 0x408dba67 in G__exec_function (statement=0xbf8ad9c0 "fRun->Init()", pc=0xbf8addec, piout=0xbf8adde4,
plargestep=0xbf8addd4, presult=0xbf8ad990) at cint/src/v6_parse.cxx:598
#31 0x408ea6ca in G__exec_statement (mparen=0xbf8ade70) at cint/src/v6_parse.cxx:6923
#32 0x40840c9a in G__exec_tempfile_core (
file=0xbf8b6dc0 " /d/panda02/asanchez/fairroot_newPack/pandaroot/macro/geane/./runGEANE2.C ", fp=0x0)
at cint/src/v6_debug.cxx:251
#33 0x40842493 in G__exec_tempfile (
file=0xbf8b6dc0 " /d/panda02/asanchez/fairroot_newPack/pandaroot/macro/geane/./runGEANE2.C ") at cint/src/v6_debug.cxx:798
#34 0x408f654c in G__process_cmd (line=0x406f4fc2 "l_3", prompt=0x80d127c "", more=0x80d1274, err=0xbf8b763c,
rslt=0xbf8b7640) at cint/src/v6_pause.cxx:3070
#35 0x401e404a in TCint::ProcessLine (this=0x80d1258, line=0x406f4fc2 "l_3", error=0xbf8b9eb4) at meta/src/TCint.cxx:289
#36 0x401e4421 in TCint::ProcessLineSynch (this=0x80d1258, line=0x406f4fc2 "l_3", error=0xbf8b9eb4)
at meta/src/TCint.cxx:354
#37 0x40131531 in TApplication::ExecuteFile (file=0xbf8b7db3 "runGEANE2.C", error=0xbf8b9eb4)
at base/src/TApplication.cxx:897
#38 0x40130e00 in TApplication::ProcessFile (this=0x80f2bc8, file=0xbf8b7db3 "runGEANE2.C", error=0xbf8b9eb4)
at base/src/TApplication.cxx:787
#39 0x40130d43 in TApplication::ProcessLine (this=0x80f2bc8, line=0xbf8b7db0 ".x runGEANE2.C", sync=false, err=0xbf8b9eb4)
at base/src/TApplication.cxx:760
#40 0x40d738c4 in TRint::Run (this=0x80f2bc8, retrn=false) at rint/src/TRint.cxx:336
#41 0x08048ebe in main (argc=1, argv=0xbf8b9f74) at main/src/rmain.cxx:29
(gdb)
Re: break segmantation by running runGEANE2.C from ex2 [message #5749 is a reply to message #5747] Wed, 30 January 2008 11:24 Go to previous messageGo to next message
Ralf Kliemt is currently offline  Ralf Kliemt
Messages: 507
Registered: May 2007
Location: GSI, Darmstadt
first-grade participant

From: 141.30.85*
Hi Alicia,

It seems that there is something going on during the initialization of the parameter database. Maybe your par file is not there or broken? Did you copy the files from pandaroot/tutorial/geane/ex2 and recompile?
Gdb tells that there is some destructor called to delete an array. Maybe there is somewhere a nonexistent TClonesArray* deleted.

Ralf.
Re: break segmantation by running runGEANE2.C from ex2 [message #5751 is a reply to message #5749] Wed, 30 January 2008 13:11 Go to previous messageGo to next message
asanchez is currently offline  asanchez
Messages: 350
Registered: March 2006
first-grade participant
From: *gsi.de
Hi Ralf, are you able to run the ex2 completely?

cheers ALicia.
Re: break segmantation by running runGEANE2.C from ex2 [message #5755 is a reply to message #5747] Wed, 30 January 2008 14:15 Go to previous messageGo to next message
Ralf Kliemt is currently offline  Ralf Kliemt
Messages: 507
Registered: May 2007
Location: GSI, Darmstadt
first-grade participant

From: 141.30.85*
Hi Alicia,

Yes I was able to run the ex2 tutorial with only one change: I had to use the real digitization, because the ideal one crashed. (see [message #5728]).

Kind regards, Ralf.
Re: break segmantation by running runGEANE2.C from ex2 [message #5757 is a reply to message #5755] Wed, 30 January 2008 14:37 Go to previous message
asanchez is currently offline  asanchez
Messages: 350
Registered: March 2006
first-grade participant
From: *gsi.de
Hi Ralf,
i have just tried to run it,
and it works, even by using the ideal reco. Shocked

best regards
Alicia.
Previous Topic: PDG id not in database
Next Topic: Problem with G4.9.1 compatibility fix
Goto Forum:
  


Current Time: Wed Nov 27 00:41:32 CET 2024

Total time taken to generate the page: 0.00877 seconds