kaliveda-dev team mailing list archive
-
kaliveda-dev team
-
Mailing list archive
-
Message #00854
[Bug 1071761] Re: perte d'énerdie dans un module INDRA
oups!
la géométrie utilisée par défaut est la géométrie ROOT/Huguet, mais elle n'a pas été construite!
je pourrai remettre la géométrie pourrie de KaliVeda par défaut...
désolé!
mais en attendant, plusieurs choix sont possibles:
1) on change la géométrie avant le premier appel à DetectParticleIn:
root [0] gDataSetManager->GetDataSet("INDRA_e494s")->cd()
root [1] gDataSet->BuildMultiDetector()
root [2] gIndra->SetROOTGeometry(kFALSE) /*** ICI!!! ***/
root [3] KVNucleus *nuc=new KVNucleus(1,1)
root [4] nuc->SetEnergy(20.12)
root [5] gMultiDetArray->DetectParticleIn("CSI_1002",nuc)
root [7] gIndra->GetDetector("CSI_1002")->Print("data")
CSI_1002 -- H=0 -- E=20.087 CSI_1002_R=-1/0 CSI_1002_L=-1/0 CSI_1002_T=-1/0
2) on construit la géométrie ROOT/Huguet:
root [0] gDataSetManager->GetDataSet("INDRA_e494s")->cd()
root [1] gDataSet->BuildMultiDetector()
root [2] gIndra->CreateGeoManager() /*** ICI!!! ***/
root [3] KVNucleus *nuc=new KVNucleus(1,1)
root [4] nuc->SetEnergy(20.12)
root [5] gMultiDetArray->DetectParticleIn("CSI_1002",nuc)
root [6] gIndra->GetDetector("CSI_1002")->Print("data")
CSI_1002 -- H=0 -- E=20.0864 CSI_1002_R=-1/0 CSI_1002_L=-1/0 CSI_1002_T=-1/0
3) on modifie l'option 'géométrie par défaut' dans son .kvrootrc:
KVMultiDetArray.FilterUsesROOTGeometry: no
--
You received this bug notification because you are a member of KaliVeda
Development Team, which is subscribed to KaliVeda.
https://bugs.launchpad.net/bugs/1071761
Title:
perte d'énerdie dans un module INDRA
Status in KaliVeda data analysis framework:
Confirmed
Status in KaliVeda 1.8 series:
Confirmed
Bug description:
Segmentation violation obtenue en essayant de calculer la perte d'énergie dans un module INDRA
Using KaliVeda version 1.8.6 au CC et aussi sur les machines de l'IPN avec e494s_branch
gDataSetManager->GetDataSet("INDRA_e494s")->cd()
gDataSet->BuildMultiDetector()
KVNucleus *nuc=new KVNucleus(1,1)
KVNucleus *nuc=new KVNucleus(1,1)
nuc->SetEnergy(20.12)
gMultiDetArray->DetectParticleIn("CSI_1002",nuc) ou "SILI_10"
*** Break *** segmentation violation
===========================================================
There was a crash.
This is the entire stack trace of all threads:
===========================================================
#0 0x00002b76d2232c05 in waitpid () from /lib64/libc.so.6
#1 0x00002b76d21d6481 in do_system () from /lib64/libc.so.6
#2 0x00002b76d029eb12 in TUnixSystem::StackTrace() ()
from /afs/in2p3.fr/home/throng/indra/.root-5.33_gcc-4.1.2_x86_64/lib/libCore.so
#3 0x00002b76d029b9ca in TUnixSystem::DispatchSignals(ESignals) ()
from /afs/in2p3.fr/home/throng/indra/.root-5.33_gcc-4.1.2_x86_64/lib/libCore.so
#4 <signal handler called>
#5 0x00002b76d4bf56d8 in TGeoManager::GetCurrentNavigator() const ()
from /afs/in2p3.fr/home/throng/indra/.root-5.33_gcc-4.1.2_x86_64/lib/libGeom.so
#6 0x00002b76d8f988b9 in KVMultiDetArray::DetectParticle_TGEO(KVNucleus*) ()
from /afs/in2p3.fr/throng/indra/.kvroot-1.8.6_gcc-4.1.2_x86_64_root-5.33.01/lib/libKVMultiDet.so
#7 0x00002b76d8f9aea5 in KVMultiDetArray::DetectParticleIn(char const*, KVNucleus*) ()
from /afs/in2p3.fr/throng/indra/.kvroot-1.8.6_gcc-4.1.2_x86_64_root-5.33.01/lib/libKVMultiDet.so
#8 0x00002b76d924eb91 in G__KVMultiDetgeometryDict_374_0_64(G__value*, char const*, G__param*, int) ()
from /afs/in2p3.fr/throng/indra/.kvroot-1.8.6_gcc-4.1.2_x86_64_root-5.33.01/lib/libKVMultiDet.so
#9 0x00002b76d0a5371d in Cint::G__ExceptionWrapper(int (*)(G__value*, char const*, G__param*, int), G__value*, char*, G__param*, int) ()
from /afs/in2p3.fr/home/throng/indra/.root-5.33_gcc-4.1.2_x86_64/lib/libCint.so
#10 0x00002b76d0b0a230 in G__execute_call ()
from /afs/in2p3.fr/home/throng/indra/.root-5.33_gcc-4.1.2_x86_64/lib/libCint.so
#11 0x00002b76d0b0bc8a in G__call_cppfunc ()
from /afs/in2p3.fr/home/throng/indra/.root-5.33_gcc-4.1.2_x86_64/lib/libCint.so
#12 0x00002b76d0ae739f in G__interpret_func ()
from /afs/in2p3.fr/home/throng/indra/.root-5.33_gcc-4.1.2_x86_64/lib/libCint.so
#13 0x00002b76d0ad67ae in G__getfunction ()
from /afs/in2p3.fr/home/throng/indra/.root-5.33_gcc-4.1.2_x86_64/lib/libCint.so
#14 0x00002b76d0bbe726 in G__getstructmem(int, G__FastAllocString&, char*, int, char*, int*, G__var_array*, int) ()
from /afs/in2p3.fr/home/throng/indra/.root-5.33_gcc-4.1.2_x86_64/lib/libCint.so
#15 0x00002b76d0bb4526 in G__getvariable ()
from /afs/in2p3.fr/home/throng/indra/.root-5.33_gcc-4.1.2_x86_64/lib/libCint.so
#16 0x00002b76d0aaaaac in G__getitem ()
from /afs/in2p3.fr/home/throng/indra/.root-5.33_gcc-4.1.2_x86_64/lib/libCint.so
#17 0x00002b76d0ab5231 in G__getexpr ()
from /afs/in2p3.fr/home/throng/indra/.root-5.33_gcc-4.1.2_x86_64/lib/libCint.so
#18 0x00002b76d0b3947f in G__exec_statement ()
from /afs/in2p3.fr/home/throng/indra/.root-5.33_gcc-4.1.2_x86_64/lib/libCint.so
#19 0x00002b76d0a96bc5 in G__exec_tempfile_core ()
from /afs/in2p3.fr/home/throng/indra/.root-5.33_gcc-4.1.2_x86_64/lib/libCint.so
#20 0x00002b76d0a96f0e in G__exec_tempfile_fp ()
from /afs/in2p3.fr/home/throng/indra/.root-5.33_gcc-4.1.2_x86_64/lib/libCint.so
#21 0x00002b76d0b45111 in G__process_cmd ()
from /afs/in2p3.fr/home/throng/indra/.root-5.33_gcc-4.1.2_x86_64/lib/libCint.so
#22 0x00002b76d025872d in TCint::ProcessLine(char const*, TInterpreter::EErrorCode*) ()
from /afs/in2p3.fr/home/throng/indra/.root-5.33_gcc-4.1.2_x86_64/lib/libCore.so
#23 0x00002b76d01b2c37 in TApplication::ProcessLine(char const*, bool, int*) ()
from /afs/in2p3.fr/home/throng/indra/.root-5.33_gcc-4.1.2_x86_64/lib/libCore.so
#24 0x00002b76d13a8ea2 in TRint::HandleTermInput() ()
from /afs/in2p3.fr/home/throng/indra/.root-5.33_gcc-4.1.2_x86_64/lib/libRint.so
#25 0x00002b76d13a8277 in TTermInputHandler::Notify() ()
from /afs/in2p3.fr/home/throng/indra/.root-5.33_gcc-4.1.2_x86_64/lib/libRint.so
#26 0x00002b76d13aaaed in TTermInputHandler::ReadNotify() ()
from /afs/in2p3.fr/home/throng/indra/.root-5.33_gcc-4.1.2_x86_64/lib/libRint.so
#27 0x00002b76d029b603 in TUnixSystem::CheckDescriptors() ()
from /afs/in2p3.fr/home/throng/indra/.root-5.33_gcc-4.1.2_x86_64/lib/libCore.so
#28 0x00002b76d029c07e in TUnixSystem::DispatchOneEvent(bool) ()
from /afs/in2p3.fr/home/throng/indra/.root-5.33_gcc-4.1.2_x86_64/lib/libCore.so
#29 0x00002b76d02113c6 in TSystem::InnerLoop() ()
from /afs/in2p3.fr/home/throng/indra/.root-5.33_gcc-4.1.2_x86_64/lib/libCore.so
#30 0x00002b76d0214651 in TSystem::Run() ()
from /afs/in2p3.fr/home/throng/indra/.root-5.33_gcc-4.1.2_x86_64/lib/libCore.so
#31 0x00002b76d01b11af in TApplication::Run(bool) ()
from /afs/in2p3.fr/home/throng/indra/.root-5.33_gcc-4.1.2_x86_64/lib/libCore.so
#32 0x00002b76d13aa77f in TRint::Run(bool) ()
from /afs/in2p3.fr/home/throng/indra/.root-5.33_gcc-4.1.2_x86_64/lib/libRint.so
#33 0x0000000000400ffd in main ()
===========================================================
The lines below might hint at the cause of the crash.
If they do not help you then please submit a bug report at
http://root.cern.ch/bugs. Please post the ENTIRE stack trace
from above as an attachment in addition to anything else
that might help us fixing this issue.
===========================================================
#5 0x00002b76d4bf56d8 in TGeoManager::GetCurrentNavigator() const ()
from /afs/in2p3.fr/home/throng/indra/.root-5.33_gcc-4.1.2_x86_64/lib/libGeom.so
#6 0x00002b76d8f988b9 in KVMultiDetArray::DetectParticle_TGEO(KVNucleus*) ()
from /afs/in2p3.fr/throng/indra/.kvroot-1.8.6_gcc-4.1.2_x86_64_root-5.33.01/lib/libKVMultiDet.so
#7 0x00002b76d8f9aea5 in KVMultiDetArray::DetectParticleIn(char const*, KVNucleus*) ()
from /afs/in2p3.fr/throng/indra/.kvroot-1.8.6_gcc-4.1.2_x86_64_root-5.33.01/lib/libKVMultiDet.so
===========================================================
To manage notifications about this bug go to:
https://bugs.launchpad.net/kaliveda/+bug/1071761/+subscriptions
References