[Halld-offline] Reconstruction crashes if BFIELD = 0
Michael Staib
mstaib at andrew.cmu.edu
Wed May 24 10:33:16 EDT 2017
Hi Alex,
I think this was a bug I fixed a while back, and was put in the master branch ~a month ago. How old is the software you are using?
-Mike
--
Michael Staib
Graduate Student, Dept. of Physics
Carnegie Mellon University
mstaib at cmu.edu
phone: 412-268-2983
> On May 24, 2017, at 10:18 AM, Alexander Somov <somov at jlab.org> wrote:
>
>
> Hi,
>
> I am trying to run MC simulation withough magnetic field
> in the solenoid. The reconstruction crashes, see below.
> There are no problems if the magnetic field is set.
>
> Any ideas what I am doing wrong ?
>
> Thanks,
> Alex
>
>
> sim-recon-2.13.0
>
>
>
> hd_root -PPLUGINS=target -PBFIELD_TYPE=NoField /work/halld2/home/somov/primex_halld/sim-recon/
> src/programs/Simulation/HDGeant/bgtest_smeared.hddm
>
> ANA >>OUTPUT_FILENAME: hd_root.root
> JANA >>Initializing plugin "/work/halld2/home/somov/primex_halld/sim-recon/Linux_CentOS7-x86_64-gcc4.8.5/plugins/target.so" ...
> Opened ROOT file "hd_root.root" ...
> JANA >>Opening source "/work/halld2/home/somov/primex_halld/sim-recon/src/programs/Simulation/HDGeant/bgtest_smeared.hddm" of type: HDDM
> JANA >>Launching threads .
>
>
> JANA >>Created JCalibration object of type: JCalibrationCCDB
> JANA >>Generated via: JCalibration using CCDB for MySQL and SQLite databases
> JANA >>Run:10001
> JANA >>URL: mysql://ccdb_user@hallddb.jlab.org/ccdb
> JANA >>context: variation=mc_generic
> JANA >>Creating DGeometry:
> JANA >> Run requested:10001 found:10001
> JANA >> Run validity range: 10001-10001
> JANA >> URL="xmlfile:///work/halld2/home/somov/primex_halld/hdds/main_HDDS.xml" context="default"
> JANA >> Type="JGeometryXML"
> JANA >>Found 18 material maps in calib. DB for run 10001
> JANA >>Read in 18 material maps containing 62173 grid points total
> Created TGeoManager :0x7f0011a2fb70
> DParticleID: loading values from PID data base
> JANA >>Created Magnetic field map with B=(0,0,0) everywhere.
> JANA >>Read 840 values from FDC/lorentz_deflections in calibDB
> JANA >> lorentz_deflections columns (alphabetical): bx bz nx nz x z
> JANA >>vertex constraint: <none>
> JANA >>in DBCALPoint_factory, loading constants ...(avg.: 0.0Hz)
> JANA >>DBCALUnifiedHit_factory: Using ADC times only.
> JANA >>In DBCALHit_factory, loading constants...
> JANA >>In DBCALTDCHit_factory, loading constants...
> JANA ERROR>> didn't sleep full 0.5 seconds! 0.0Hz (avg.: 0.0Hz)
> 1.0 events processed (11.0 events read) 0.0Hz (avg.: 0.0Hz)
>
>
> ===========================================================
> There was a crash.
> This is the entire stack trace of all threads:
> ===========================================================
>
> Thread 3 (Thread 0x7f001e331700 (LWP 28132)):
> #0 0x00007f00350606d5 in pthread_cond_wait
>
> GLIBC_2.3.2 () from /lib64/libpthread.so.0
> #1 0x0000000000dcdd80 in jana::JApplication::EventBufferThread (this=this
> entry=0x7ffe92a89870) at src/JANA/JApplication.cc:663
> #2 0x0000000000dce049 in LaunchEventBufferThread (arg=0x7ffe92a89870) at src/JANA/JApplication.cc:587
> #3 0x00007f003505cdc5 in start_thread () from /lib64/libpthread.so.0
> #4 0x00007f003436321d in clone () from /lib64/libc.so.6
>
> Thread 2 (Thread 0x7f001d34a700 (LWP 28133)):
> #0 0x00007f003432a089 in waitpid () from /lib64/libc.so.6
> #1 0x00007f00342af092 in do_system () from /lib64/libc.so.6
> #2 0x00007f00342af441 in system () from /lib64/libc.so.6
> #3 0x00007f003a87ed19 in TUnixSystem::StackTrace (this=0x16d18e0) at /u/group/halld/Software/builds/Linux_CentOS7-x86_64-gcc4.8.5/root/root-6.08.00/core/unix/src/TUnixSystem.cxx:2403
> #4 0x00007f003a880a1c in TUnixSystem::DispatchSignals (this=0x16d18e0, sig=kSigSegmentationViolation) at /u/group/halld/Software/builds/Linux_CentOS7-x86_64-gcc4.8.5/root/root-6.08.00/core/unix/src/TUnixSystem.cxx:3661
> #5 <signal handler called>
> #6 AreCompatible<float, float> (m1=..., m2=..., verbose=verbose
> entry=0) at /u/group/halld/Software/builds/Linux_CentOS7-x86_64-gcc4.8.5/root/root-6.08.00/math/matrix/src/TMatrixTBase.cxx:1091
> #7 0x00007f003866145f in TMatrixTSym<float>::operator= (this=this
> entry=0x7f000c698b90, source=...) at /u/group/halld/Software/builds/Linux_CentOS7-x86_64-gcc4.8.5/root/root-6.08.00/math/matrix/src/TMatrixTSym.cxx:1415
> #8 0x0000000000811421 in DChargedTrackHypothesis_factory::Create_ChargedTrackHypothesis (this=this
> entry=0x7f00101215f0, locEventLoop=locEventLoop
> entry=0x7f00100008c0, locTrackTimeBased=0x7f000c65e5d0, locDetectorMatches=locDetectorMatches
> entry=0x7f000c6980c0, locEventRFBunch=0x7f000c66afe0) at libraries/PID/DChargedTrackHypothesis_factory.cc:103
> #9 0x0000000000812858 in DChargedTrackHypothesis_factory::evnt (this=0x7f00101215f0, locEventLoop=0x7f00100008c0, eventnumber=<optimized out>) at libraries/PID/DChargedTrackHypothesis_factory.cc:63
> #10 0x00000000005f18f7 in jana::JFactory<DChargedTrackHypothesis>::Get (this=this
> entry=0x7f00101215f0, d=...) at /u/group/halld/Software/builds/Linux_CentOS7-x86_64-gcc4.8.5/jana/jana_0.7.8/Linux_CentOS7-x86_64-gcc4.8.5/include/JANA/JFactory.h:295
> #11 0x00000000005f2476 in jana::JEventLoop::GetFromFactory<DChargedTrackHypothesis> (this=this
> entry=0x7f00100008c0, t=..., tag=tag
> entry=0xe25280 "", data_source=
> 0x7f001d342690: 57, allow_deftag=allow_deftag
> entry=true) at /u/group/halld/Software/builds/Linux_CentOS7-x86_64-gcc4.8.5/jana/jana_0.7.8/Linux_CentOS7-x86_64-gcc4.8.5/include/JANA/JEventLoop.h:440
> #12 0x00000000005f277c in jana::JEventLoop::Get<DChargedTrackHypothesis> (this=0x7f00100008c0, t=..., tag=tag
> entry=0xe25280 "", allow_deftag=allow_deftag
> entry=true) at /u/group/halld/Software/builds/Linux_CentOS7-x86_64-gcc4.8.5/jana/jana_0.7.8/Linux_CentOS7-x86_64-gcc4.8.5/include/JANA/JEventLoop.h:297
> #13 0x0000000000836f97 in DChargedTrack_factory::evnt (this=0x7f0010121440, locEventLoop=<optimized out>, eventnumber=<optimized out>) at libraries/PID/DChargedTrack_factory.cc:38
> #14 0x000000000062b997 in jana::JFactory<DChargedTrack>::Get (this=this
> entry=0x7f0010121440, d=...) at /u/group/halld/Software/builds/Linux_CentOS7-x86_64-gcc4.8.5/jana/jana_0.7.8/Linux_CentOS7-x86_64-gcc4.8.5/include/JANA/JFactory.h:295
> #15 0x000000000062c1d6 in jana::JEventLoop::GetFromFactory<DChargedTrack> (this=this
> entry=0x7f00100008c0, t=..., tag=tag
> entry=0x7f0030689d02 "", data_source=
> 0x7f001d342990: 268437696, allow_deftag=allow_deftag
> entry=true) at /u/group/halld/Software/builds/Linux_CentOS7-x86_64-gcc4.8.5/jana/jana_0.7.8/Linux_CentOS7-x86_64-gcc4.8.5/include/JANA/JEventLoop.h:440
> #16 0x000000000062c4dc in jana::JEventLoop::Get<DChargedTrack> (this=0x7f00100008c0, t=..., tag=0x7f0030689d02 "", allow_deftag=<optimized out>) at /u/group/halld/Software/builds/Linux_CentOS7-x86_64-gcc4.8.5/jana/jana_0.7.8/Linux_CentOS7-x86_64-gcc4.8.5/include/JANA/JEventLoop.h:297
> #17 0x00007f00306793db in DEventProcessor_fcal_hists::evnt (this=0x178a8c0, loop=0x7f00100008c0, eventnumber=1) at DEventProcessor_fcal_hists.cc:332
> #18 0x0000000000de9478 in jana::JEventLoop::OneEvent (this=this
> entry=0x7f00100008c0) at src/JANA/JEventLoop.cc:636
> #19 0x0000000000dea404 in jana::JEventLoop::Loop (this=this
> entry=0x7f00100008c0) at src/JANA/JEventLoop.cc:496
> #20 0x0000000000dc0aca in LaunchThread (arg=0x7ffe92a89870) at src/JANA/JApplication.cc:1302
> #21 0x00007f003505cdc5 in start_thread () from /lib64/libpthread.so.0
> #22 0x00007f003436321d in clone () from /lib64/libc.so.6
>
> ===========================================================
>
>
> JANA ERROR>> didn't sleep full 0.5 seconds!
>
>
> _______________________________________________
> Halld-offline mailing list
> Halld-offline at jlab.org
> https://mailman.jlab.org/mailman/listinfo/halld-offline
More information about the Halld-offline
mailing list