GSI Forum - RDF feed
type: channel
description: GSI Helmholtzzentrum für Schwerionenforschung
items: Segmentation Violation when simulating events with run_sim1.C
items: Re: Segmentation Violation when simulating events with run_sim1.C

Segmentation Violation when simulating events with run_sim1.C
type: item
description: Hi all, I'm running a slightly modified version of macro/run/run_sim1.C with Pandaroot Revision 4484 for simulation. Unfortunately, after a few hundred events, I get the following error: *** Break *** segmentation violation Toggle Spoiler Using host libthread_db library "/lib/libthread_db.so.1". Attaching to program: /proc/24598/exe, process 24598 [Thread debugging using libthread_db enabled] [New Thread -1227835696 (LWP 24598)] 0xb7f89410 in __kernel_vsyscall () #1 0xb6dcb5c3 in __waitpid_nocancel () from /lib/libc.so.6 #2 0xb6d75d3b in do_system () from /lib/libc.so.6 #3 0xb6e7b51d in system () from /lib/libpthread.so.0 #4 0xb7a4a24d in TUnixSystem::Exec () from /usr/local/panda/fairroot/fairsoft/tools/root_v5.20.00/lib/libCore.so.5. 20 #5 0xb7a4f717 in TUnixSystem::StackTrace () from /usr/local/panda/fairroot/fairsoft/tools/root_v5.20.00/lib/libCore.so.5. 20 #6 0xb7a4e71e in TUnixSystem::DispatchSignals () from /usr/local/panda/fairroot/fairsoft/tools/root_v5.20.00/lib/libCore.so.5. 20 #7 0xb7a4e7ed in SigHandler () from /usr/local/panda/fairroot/fairsoft/tools/root_v5.20.00/lib/libCore.so.5. 20 #8 0xb7a47734 in sighandler () from /usr/local/panda/fairroot/fairsoft/tools/root_v5.20.00/lib/libCore.so.5. 20 #9 <signal handler called> #10 0xb6899b3f in TGeoNavigator::CdDown () from /usr/local/panda/fairroot/fairsoft/tools/root_v5.20.00/lib/libGeom.so #11 0xb689bccb in TGeoNavigator::SearchNode () from /usr/local/panda/fairroot/fairsoft/tools/root_v5.20.00/lib/libGeom.so #12 0xb689ca1e in TGeoNavigator::CrossBoundaryAndLocate () from /usr/local/panda/fairroot/fairsoft/tools/root_v5.20.00/lib/libGeom.so #13 0xb687f8f2 in TGeoManager::CrossBoundaryAndLocate () from /usr/local/panda/fairroot/fairsoft/tools/root_v5.20.00/lib/libGeom.so #14 0xaf9631ad in TG4RootNavigator::LocateGlobalPointAndSetup () from /usr/local/panda/fairroot/fairsoft/tools/root_v5.20.00/lib/libG4root.so #15 0xb1d06e18 in G4Navigator::LocateGlobalPointAndUpdateTouchableHandle (this=0xb0773c0, positio…
creator: Marius Mertens
date: 2009-02-04T12:59:52-00:00

Re: Segmentation Violation when simulating events with run_sim1.C
type: item
description: Hi Marius, What did you change exactly in the macro? What is the output before the segfault backtrace? To me it looks like the geometry you use is not well. Maybe a corrupted file or a second TGeoManager? Regards, Ralf.
creator: Ralf Kliemt
date: 2009-02-04T13:19:45-00:00

Re: Segmentation Violation when simulating events with run_sim1.C
type: item
description: I have run 2000 events without any error. Could you please send us exactly the macro that you have used?
creator: StefanoSpataro
date: 2009-02-04T13:37:31-00:00

Re: Segmentation Violation when simulating events with run_sim1.C
type: item
description: Hi Ralf, the only changes in the macro were the use of PndFlatParticleGenerator and taking the number of events to generate and the output file to generate as parameters. I have included the output before the actual error in the spoiler below, which basically looks that way for a few hundred events before the crash. Toggle Spoiler >>> Event 1825 CbmMCApplication::GeneratePrimaries() outerVal, midVal, innerVal: 182.7 20 1 phi, cosTheta, p: 182.7 0 1 -I CbmPrimaryGenerator: 1 primary tracks from vertex (0, 0, 0)Event Time = 0(ns) >>> Event 1826 CbmMCApplication::GeneratePrimaries() outerVal, midVal, innerVal: 182.8 20 1 phi, cosTheta, p: 182.8 0 1 -I CbmPrimaryGenerator: 1 primary tracks from vertex (0, 0, 0)Event Time = 0(ns) >>> Event 1827 CbmMCApplication::GeneratePrimaries() outerVal, midVal, innerVal: 182.9 20 1 phi, cosTheta, p: 182.9 0 1 -I CbmPrimaryGenerator: 1 primary tracks from vertex (0, 0, 0)Event Time = 0(ns) >>> Event 1828 CbmMCApplication::GeneratePrimaries() outerVal, midVal, innerVal: 183 20 1 phi, cosTheta, p: 183 0 1 -I CbmPrimaryGenerator: 1 primary tracks from vertex (0, 0, 0)Event Time = 0(ns) >>> Event 1829 CbmMCApplication::GeneratePrimaries() outerVal, midVal, innerVal: 183.1 20 1 phi, cosTheta, p: 183.1 0 1 -I CbmPrimaryGenerator: 1 primary tracks from vertex (0, 0, 0)Event Time = 0(ns) >>> Event 1830 CbmMCApplication::GeneratePrimaries() outerVal, midVal, innerVal: 183.2 20 1 phi, cosTheta, p: 183.2 0 1 -I CbmPrimaryGenerator: 1 primary tracks from vertex (0, 0, 0)Event Time = 0(ns) >>> Event 1831 *** Break *** segmentation violation ... What irritates me a little is that it worked a while ago before I updated my Pandaroot installation. Best regards, Marius
creator: Marius Mertens
date: 2009-02-04T13:41:50-00:00

Re: Segmentation Violation when simulating events with run_sim1.C
type: item
description: You could try with the normal BoxGenerator, and tell us if it works. You should also attach the first part of the log message, before all the >>> Event 1 CbmMCApplication::GeneratePrimaries() Maybe you have a corrupted file that give you problems. On which system are you running? Again, please attach your macro. So that we can reproduce your error.
creator: StefanoSpataro
date: 2009-02-04T13:45:34-00:00

Re: Segmentation Violation when simulating events with run_sim1.C
type: item
description: Hi Stefano, these are the contents of my modified version of the macro. Toggle Spoiler // Macro for running Cbm with Geant3 or Geant4 (M. Al-Turany , D. Bertini) // Modified 22/06/2005 D.Bertini Mrun_sim1_PndFlatGen(Int_t numevents, TString basefile) { TStopwatch timer; timer.Start(); gDebug=0; // Load basic libraries gROOT->LoadMacro("$VMCWORKDIR/gconfig/rootlogon.C"); rootlogon(); CbmRunSim *fRun = new CbmRunSim(); // set the MC version used // ------------------------ fRun->SetName("TGeant4"); // Choose the Geant Navigation System // fRun->SetGeoModel("G3Native"); //fRun->SetOutputFile("testsimu10.root"); fRun->SetOutputFile(basefile); // Set Material file Name //----------------------- fRun->SetMaterials("media_pnd.geo"); // Create and add detectors //------------------------- CbmModule *Cave= new PndCave("CAVE"); Cave->SetGeometryFileName("pndcave.geo"); fRun->AddModule(Cave); CbmModule *Magnet= new PndMagnet("MAGNET"); Magnet->SetGeometryFileName("FullSolenoid.root"); fRun->AddModule(Magnet); CbmModule *Dipole= new PndMagnet("MAGNET"); Dipole->SetGeometryFileName("dipole.geo"); fRun->AddModule(Dipole); CbmModule *Pipe= new PndPipe("PIPE"); //Pipe->SetGeometryFileName("pipebeamtarget.geo"); fRun->AddModule(Pipe); /* CbmDetector *Stt = new CbmStt("STT",kTRUE); Stt->SetGeometryFileName("stt24.geo"); // 14 = 1 solo 2layer pablo01.geo 3 layers stt24 fRun->AddModule(Stt); */ /* CbmDetector *Stt= new CbmStt("STT", kTRUE); Stt->SetGeometryFileName("straws_axial.geo"); fRun->AddModule(Stt); */ /* CbmDetector *Stt= new PndStt("STT", kTRUE); Stt->SetGeometryFileName("straws_skewed_blocks_35cm.geo"); fRun->AddModule(Stt); */ CbmDetector *Tpc = new PndTpcDetector("TPC", kTRUE); Tpc->SetGeometryFileName("tpc.geo"); fRun->AddModule(Tpc); CbmDetector *Mvd = new PndMvdDetector("MVD", kTRUE); //Mvd->SetGeometryFileName("MVD_v1.0_woPassiveTraps.root"); Mvd->SetGeometryFileName("MVD_v1_2addDisks.root"); fRun->AddModule(Mvd); PndEmc *Emc = new PndEmc("EMC",kTRUE); Emc->SetGeometry…
creator: Marius Mertens
date: 2009-02-04T13:47:34-00:00

Re: Segmentation Violation when simulating events with run_sim1.C
type: item
description: Hi Marius, Try first the usual Mvd geometry. If that works... Ralf.
creator: Ralf Kliemt
date: 2009-02-04T13:54:44-00:00

Re: Segmentation Violation when simulating events with run_sim1.C
type: item
description: Hi Maybe you should change the name of the macro accordently to run_sim1_PndFlatGen(Int_t numevents, TString basefile). Anyway the M before run_sim1_PndFlatGen(Int_t numevents, TString basefile) looks suspicious.!! regards Alicia.
creator: asanchez
date: 2009-02-04T13:55:03-00:00

Re: Segmentation Violation when simulating events with run_sim1.C
type: item
description: Hi, where have you taken the MVD geometry: Mvd->SetGeometryFileName("MVD_v1_2addDisks.root"); ? Probably that geometry is not stable, or at least it is not in svn, so it could be the cause of your error (it looks like some geometry error). try with the standard MVD geometry, and let us now. Unfortunately I do not have that geometry so I cannot cross ckeck.
creator: StefanoSpataro
date: 2009-02-04T13:57:41-00:00

Re: Segmentation Violation when simulating events with run_sim1.C
type: item
description: Hi Stefano, I also tried with the CbmBoxGenerator, which gives me the same results. When I just reran the macro to reproduce the first lines of the output (they were not included in the history buffer of the previous run anymore), it unfortunately crashed even earlier. Actually I have no idea whether this is related, but I'll just post the output I got and retry after a reboot. Toggle Spoiler Processing Mrun_sim1_PndFlatGen.C(3600, "/home/mertens/pandaroot/myoutput/20090204_flatgen_g4_crashtest.root")... - RTDB container factory CbmBaseContFact - RTDB container factory PndFieldContFact - RTDB container factory PndPassiveContFact PSaid instance created... access via gSaid->f() - RTDB container factory PndEmcContFact - RTDB container factory PndTpcContFact - RTDB container factory PndSttContFact - RTDB container factory PndMvdContFact - RTDB container factory PndTofContFact - RTDB container factory PndDrcContFact - RTDB container factory PndMdtContFact - RTDB container factory PndDchContFact - RTDB container factory PndLheContFact -I- CbmRun::SetMaterials() Media file used: /home/mertens/pandaroot/pandaroot/trunk/geometry/media_pnd.geo ============== CbmRunSim: Initialising simulation run ============== Info in <TGeoManager::TGeoManager>: Geometry CBMGeom, CBM geometry created -I- CbmGeoMedia Read media -I- PndFieldMap: Reading field map from ROOT file /home/mertens/pandaroot/pandaroot/trunk/input/TransMap.root -I- PndFieldMap: Reading field map from ROOT file /home/mertens/pandaroot/pandaroot/trunk/input/DipoleMap.root -I- PndFieldMap: Reading field map from ROOT file /home/mertens/pandaroot/pandaroot/trunk/input/SolenoidMap.root Loading Geant4 granular libraries ... Error in <TUnixSystem::DynamicPathName>: libG4OpenGL[.so | .sl | .dl | .a | .dll] does not exist in .:/usr/local/panda/fairroot/fairsoft/tools/root_v5.20.00/lib::/usr/local /panda/fairroot/fairsoft/tools/root_v5.20.00/lib:/usr/lib:/usr/X11R6/lib :/home/mertens/pandaroot/cbuild/lib:/home/mertens/pandaroot…
creator: Marius Mertens
date: 2009-02-04T14:01:52-00:00

Re: Segmentation Violation when simulating events with run_sim1.C
type: item
description: Hi Alicia, thanks for your suggestion, the M is actually caused by me copying the standard files to a different name before I make any modifications in order to have the original for comparison just in case anything goes wrong Best regards, Marius
creator: Marius Mertens
date: 2009-02-04T14:08:11-00:00

Re: Segmentation Violation when simulating events with run_sim1.C
type: item
description: Hi Ralf, changing back to standard geo gives me this: Toggle Spoiler Processing Mrun_sim1_PndFlatGen.C(3600, " /home/mertens/pandaroot/myoutput/20090204_flatgen_g4_crashtest_standardg eo.root ")... - RTDB container factory CbmBaseContFact - RTDB container factory PndFieldContFact - RTDB container factory PndPassiveContFact PSaid instance created... access via gSaid->f() - RTDB container factory PndEmcContFact - RTDB container factory PndTpcContFact - RTDB container factory PndSttContFact - RTDB container factory PndMvdContFact - RTDB container factory PndTofContFact - RTDB container factory PndDrcContFact - RTDB container factory PndMdtContFact - RTDB container factory PndDchContFact - RTDB container factory PndLheContFact -I- CbmRun::SetMaterials() Media file used: /home/mertens/pandaroot/pandaroot/trunk/geometry/media_pnd.geo ============== CbmRunSim: Initialising simulation run ============== Info in <TGeoManager::TGeoManager>: Geometry CBMGeom, CBM geometry created -I- CbmGeoMedia Read media -I- PndFieldMap: Reading field map from ROOT file /home/mertens/pandaroot/pandaroot/trunk/input/TransMap.root -I- PndFieldMap: Reading field map from ROOT file /home/mertens/pandaroot/pandaroot/trunk/input/DipoleMap.root -I- PndFieldMap: Reading field map from ROOT file /home/mertens/pandaroot/pandaroot/trunk/input/SolenoidMap.root Loading Geant4 granular libraries ... Error in <TUnixSystem::DynamicPathName>: libG4OpenGL[.so | .sl | .dl | .a | .dll] does not exist in .:/usr/local/panda/fairroot/fairsoft/tools/root_v5.20.00/lib::/usr/local /panda/fairroot/fairsoft/tools/root_v5.20.00/lib:/usr/lib:/usr/X11R6/lib :/home/mertens/pandaroot/cbuild/lib:/home/mertens/pandaroot/cbuild/lib:/ home/mertens/pandaroot/tools/root/lib:/home/mertens/pandaroot/generators /lib:/home/mertens/pandaroot/generators/lib:/home/mertens/pandaroot/tran sport/geant3/lib/tgt_linux:/home/mertens/pandaroot/transport/geant4/lib/ Linux-g++:/home/mertens/pandaroot/transport/geant4_vmc/lib/tgt_linux:/ho me/mer…
creator: Marius Mertens
date: 2009-02-04T14:13:00-00:00

Re: Segmentation Violation when simulating events with run_sim1.C
type: item
description: Error in <TUnixSystem::DynamicPathName>: libG4OpenGL[.so | .sl | .dl | .a | .dll] does not exist Probably there something screwed up in your environment. Try from a new terminal.
creator: StefanoSpataro
date: 2009-02-04T14:16:45-00:00

Re: Segmentation Violation when simulating events with run_sim1.C
type: item
description: Hi Stefano, the file is a modified MVD geometry with 2 additional strip discs in forward direction. Tobias made them with his CAD converter and I also used it for some simulations before. Currently, even the standard geometry crashes I'll let you know if at least this works again after a reboot. Best regards, Marius
creator: Marius Mertens
date: 2009-02-04T14:20:04-00:00

Re: Segmentation Violation when simulating events with run_sim1.C
type: item
description: Hi Stefano, this particular error persists even after reboot. Now I'm a bit puzzled where this suddenly came from and especially what I can do to fix this. Best regards, Marius
creator: Marius Mertens
date: 2009-02-04T14:44:43-00:00

Re: Segmentation Violation when simulating events with run_sim1.C
type: item
description: Hi all, I managed to get a step further now: The second (new, immediate) crash which occured later during testing was fixed by deleting the file testparams.root. It might have been corrupted from a previous crash. The first (initial, appearing after a few 100 events) error which is the actual reason for my post, still persists when running with the parameters below. In the meantime, I also updated Pandaroot to Revision 4500. Mrun_sim1_PndFlatGen.C Toggle Spoiler // Macro for running Cbm with Geant3 or Geant4 (M. Al-Turany , D. Bertini) // Modified 22/06/2005 D.Bertini Mrun_sim1_PndFlatGen(Int_t numevents, TString basefile) { TStopwatch timer; timer.Start(); gDebug=0; // Load basic libraries gROOT->LoadMacro("$VMCWORKDIR/gconfig/rootlogon.C"); rootlogon(); CbmRunSim *fRun = new CbmRunSim(); // set the MC version used // ------------------------ fRun->SetName("TGeant4"); // Choose the Geant Navigation System // fRun->SetGeoModel("G3Native"); //fRun->SetOutputFile("testsimu10.root"); fRun->SetOutputFile(basefile); // Set Material file Name //----------------------- fRun->SetMaterials("media_pnd.geo"); // Create and add detectors //------------------------- CbmModule *Cave= new PndCave("CAVE"); Cave->SetGeometryFileName("pndcave.geo"); fRun->AddModule(Cave); CbmModule *Magnet= new PndMagnet("MAGNET"); Magnet->SetGeometryFileName("FullSolenoid.root"); fRun->AddModule(Magnet); CbmModule *Dipole= new PndMagnet("MAGNET"); Dipole->SetGeometryFileName("dipole.geo"); fRun->AddModule(Dipole); CbmModule *Pipe= new PndPipe("PIPE"); //Pipe->SetGeometryFileName("pipebeamtarget.geo"); fRun->AddModule(Pipe); /* CbmDetector *Stt = new CbmStt("STT",kTRUE); Stt->SetGeometryFileName("stt24.geo"); // 14 = 1 solo 2layer pablo01.geo 3 layers stt24 fRun->AddModule(Stt); */ /* CbmDetector *Stt= new CbmStt("STT", kTRUE); Stt->SetGeometryFileName("straws_axial.geo"); fRun->AddModule(Stt); */ /* CbmDetector *Stt= new PndStt("STT", kTRUE); Stt->SetGeometryFileName("straws_skewed_blocks_35cm.geo")…
creator: Marius Mertens
date: 2009-02-04T17:27:28-00:00

Re: Segmentation Violation when simulating events with run_sim1.C
type: item
description: First suspect point: Quote: Loading Geant4 granular libraries ... Error in <TUnixSystem::DynamicPathName>: libG4OpenGL[.so | .sl | .dl | .a | .dll] does not exist in .:/usr/local/panda/fairroot/fairsoft/tools/root_v5.20.00/lib::/usr/local /panda/fairroot/fairsoft/tools/root_v5.20.00/lib:/usr/lib:/usr/X11R6/lib :/home/mertens/pandaroot/cbuild/lib:/home/mertens/pandaroot/cbuild/lib:/ home/mertens/pandaroot/tools/root/lib:/home/mertens/pandaroot/generators /lib:/home/mertens/pandaroot/generators/lib:/home/mertens/pandaroot/tran sport/geant3/lib/tgt_linux:/home/mertens/pandaroot/transport/geant4/lib/ Linux-g++:/home/mertens/pandaroot/transport/geant4_vmc/lib/tgt_linux:/ho me/mertens/pandaroot/transport/vgm/lib:/home/mertens/pandaroot/cern/clhe p/lib:/usr/local/panda/fairroot/fairsoft/tools/root_v5.20.00/cint/cint/s tl In your system you do not have openGL and/or motiv libraries. Then your geant4 was not compiled with them and it has not created libG4OpenGL. I think (and hope) this should not affect the analysis. To solve this, you should install opengl/motif in your computer, than rebuild (first you have to clean it) geant4 and g4vmc. Second suspect point: Quote: Warning in <TClass::TClass>: no dictionary for class RangeValues is available Warning in <TStreamerInfo::Build:>: PndFlatParticleGenerator: RangeValues has no streamer or dictionary, data member "fPt" will not be saved Warning in <TStreamerInfo::Build:>: PndFlatParticleGenerator: RangeValues has no streamer or dictionary, data member "fPhi" will not be saved Warning in <TStreamerInfo::Build:>: PndFlatParticleGenerator: RangeValues has no streamer or dictionary, data member "fEta" will not be saved Warning in <TStreamerInfo::Build:>: PndFlatParticleGenerator: RangeValues has no streamer or dictionary, data member "fRapidity" will not be saved Warning in <TStreamerInfo::Build:>: PndFlatParticleGenerator: RangeValues has no streamer or dictionary, data member "fP" will not be saved Warning in <TStreamerInfo::Build…
creator: StefanoSpataro
date: 2009-02-05T08:59:00-00:00

Re: Segmentation Violation when simulating events with run_sim1.C
type: item
description: Hi i'm using geant4 configurations with gsi installation and i have up to now any problems. Another way to check what is really going wrong is maybe to come back to the version which has been working before doing update, and then compare. good luck alicia.
creator: asanchez
date: 2009-02-05T09:48:00-00:00

Re: Segmentation Violation when simulating events with run_sim1.C
type: item
description: Hi Stefano, thanks a lot for your input, I did some more tests throughout the day... Stefano Spataro wrote on Thu, 05 February 2009 09:59 First suspect point: ... In your system you do not have openGL and/or motiv libraries. Then your geant4 was not compiled with them and it has not created libG4OpenGL. I think (and hope) this should not affect the analysis. To solve this, you should install opengl/motif in your computer, than rebuild (first you have to clean it) geant4 and g4vmc. Unfortunately, I cannot do this independently on my PC. I brought up this issue with our administrator, so he will have to help us there. Stefano Spataro wrote on Thu, 05 February 2009 09:59 Second suspect point: ... This has to be investigated. I think this is not safe. I (think that I) have fixed this locally now. Unfortunately, the symptoms are still the same Stefano Spataro wrote on Thu, 05 February 2009 09:59 Third suspect point: ... You have "particular" geant4 configurations, "QGSP_BERT_EMV" physics lists and options "stepLimiter+specialCuts+specialControls". Do you really need them? They could be sources of errors. You could try the standard and tested one in your gconfig/g4Config.C, "QGSP" (or "emStandard" to not use hadronic processes) as physics list, and no options after (no step limiter and so on). This one puzzles me a bit. I'm not aware of having set anything special. How can I make sure that only the configuration you mentioned applies and nothing else will interfere with it? Stefano Spataro wrote on Thu, 05 February 2009 09:59 Another test could be done by using geant3, to understand if it is related only to g4 code or even to g3. Unfortunately, even with removing the testparams.root before each run, also a Geant3 based simulation crashes after some 100 events. Toggle Spoiler **** GTRIGI: IEVENT= 140 IDEVT= 140 Random Seeds = 4357 0 CbmMCApplication::GeneratePrimaries() outerVal, midVal, innerVal: 14 20 1 phi, cosTheta, p: 14 0 1 -I CbmPrimaryGenerator: 1 primary tracks fr…
creator: Marius Mertens
date: 2009-02-05T15:37:26-00:00

Re: Segmentation Violation when simulating events with run_sim1.C
type: item
description: Hi Alicia, yes, reverting to the old revision will probably be something like a last resort solution. Hopefully we'll find the reason for the segmentation violation before going that far Marius
creator: Marius Mertens
date: 2009-02-05T15:39:39-00:00

Re: Segmentation Violation when simulating events with run_sim1.C
type: item
description: Hi all, I finally narrowed down the reason for the segmentation violation on my machine: Whenever the PndDchDetector is enabled, I get aforementioned error, regardless of any other settings I have tried. When I comment out the lines which include the PndDchDetector, the script runs fine without errors. @Stefano: I have now set my Geant4 options as you have suggested, however in my gconfig/g4Config.C as I got it from SVN the "particular" options were already set that way. Best regards and thanks for your input, Marius
creator: Marius Mertens
date: 2009-02-09T16:16:40-00:00

Re: Segmentation Violation when simulating events with run_sim1.C
type: item
description: Hi, I have seen that the default g4 options were changed (before they were no options). Were there special reasons for this? (of course the question is not to Marius). About the dch, are you using in parallel mdt and dch? Because they are overlapping somehow, and this could introduce the famous error.
creator: StefanoSpataro
date: 2009-02-09T16:22:39-00:00

Re: Segmentation Violation when simulating events with run_sim1.C
type: item
description: Hi Stefano, Stefano Spataro wrote on Mon, 09 February 2009 17:22 About the dch, are you using in parallel mdt and dch? Because they are overlapping somehow, and this could introduce the famous error. No, DCH has always been commented out since I got the script from SVN. I don't even remember whether I ever enabled it at any time. But maybe there is another overlap somewhere else? I'll start a run with only the PndDchDetector enabled and see what happens... When just these detectors are enabled, everything runs fine: PndTpcDetector PndMvdDetector PndEmc PndTof PndDrc As soon as I add PndDchDetector, I get the segmentation violation. Best regards, Marius
creator: Marius Mertens
date: 2009-02-09T16:30:33-00:00

Re: Segmentation Violation when simulating events with run_sim1.C
type: item
description: It can be that the dch are overlapping with the solenoid. I supose you are using the "old" FullSolenoid, maybe PandaSolenoidV833 would help (I am not sure).
creator: StefanoSpataro
date: 2009-02-09T16:33:34-00:00

Re: Segmentation Violation when simulating events with run_sim1.C
type: item
description: Stefano Spataro wrote on Mon, 09 February 2009 17:33 It can be that the dch are overlapping with the solenoid. I supose you are using the "old" FullSolenoid, maybe PandaSolenoidV833 would help (I am not sure). Indeed, FullSolenoid.root is the version I am using. However, PndDchDetector "alone" (i.e. with only Cave, Magnet, Dipole and Pipe) runs fine. Together with PndDrc it gives me the segmentation violation again. After some more testing, these two detectors seem to be the critical combination: Everything else with either PndDrc or PndDchDetector runs without errors, both of them together result in the known crash. Best regards, Marius
creator: Marius Mertens
date: 2009-02-09T16:44:00-00:00