[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

halld analysis segfaults




Hi Mark and David,

I compiled fresh checkout from halld repository and now I am getting
segmentation faults when trying to run analysis software. Running in 
debug-mode shows that 'init' method, which is supposed to declare root 
objects, has been skipped, regardless of the analysis tool.

Other people from our group at IU encountered similar problems as well.
We are using Jana 0.4.9.

Any suggestions?
Mihajlo

Here is the output from hd_example, for example:
--------------------
Starting program: /home/s4/kornicer/halld/bin/Linux/hd_example_d
~/halld_my/src/programs/Simulation/HDGeant/hdgeant.hddm
[Thread debugging using libthread_db enabled]
[New Thread -1208039744 (LWP 18288)]
[New Thread -1212986448 (LWP 18362)]
Opening source
"/s4/kornicer/halld_my/src/programs/Simulation/HDGeant/hdgeant.hddm"of type:
HDDM
Created JCalibration object of type: JCalibrationFile
Generated via: fallback creation of JCalibrationFile
Runs: requested=1 found=1 Validity range=1-10000
URL: file:///home/s4/kornicer/halld/src/calib
context: default
Reading Magnetic field map from Magnets/Solenoid/solenoid_1500 ...
32481 entries found ( Nx=81 Ny=1 Nz=401 )  at 0xa5d65c8
Created Magnetic field map of type DMagneticFieldMapCalibDB.
Read 840 values from FDC/lorentz_deflections in calibDB
   lorentz_deflections columns (alphabetical): bx bz nx nz x z
Info in <TGeoManager::TGeoManager>: Geometry Geometry, default geometry
created
Info in <TGeoManager::SetTopVolume>: Top volume is SITE. Master volume is SITE
Info in <TGeoManager::CheckGeometry>: Fixing runtime shapes...
Info in <TGeoManager::CheckGeometry>: ...Nothing to fix
Info in <TGeoManager::CloseGeometry>: Counting nodes...
Info in <TGeoManager::Voxelize>: Voxelizing...
Info in <TGeoManager::CloseGeometry>: Building cache...
Info in <TGeoNavigator::BuildCache>: --- Maximum geometry depth set to 100
Info in <TGeoManager::CloseGeometry>: 42417 nodes/ 279 volume UID's in default
geometry
Info in <TGeoManager::CloseGeometry>: ----------------modeler
ready----------------
Launching threads [New Thread -1256195152 (LWP 18363)]
.
Registering FDC factories
--- Configuration Parameters --
        < all defaults >
-------------------------------
FCAL Geometry initialized with 2800 active blocks.

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1256195152 (LWP 18363)]
0x0817caf6 in MyProcessor::evnt (this=0xbfede160, eventLoop=0xa5d6860,
eventnumber=1) at MyProcessor.cc:53
53                      fcal_y_vs_x->Fill(fcalhit->y,fcalhit->x);

(gdb) bt
#0  0x0817caf6 in MyProcessor::evnt (this=0xbfede160, eventLoop=0xa5d6860,
eventnumber=1) at MyProcessor.cc:53
#1  0x081b4758 in jana::JEventLoop::OneEvent (this=0xa5d6860) at
JEventLoop.cc:451
#2  0x081b43c1 in jana::JEventLoop::Loop (this=0xa5d6860) at JEventLoop.cc:356
#3  0x0818cbb2 in LaunchThread (arg=0xbfeddf80) at JApplication.cc:938
#4  0x033ac341 in start_thread () from /lib/tls/libpthread.so.0
#5  0x0210b6fe in clone () from /lib/tls/libc.so.6