Problem 1178

Summary: "segmentation violation" crash in new geant4.9.4.p01 (G4ContinuumGammaTransition::SelectGamma () )
Product: Geant4 Reporter: Sergey <morozovs>
Component: processes/hadronic/models/de_excitation/photon_evaporationAssignee: dennis.herbert.wright
Status: RESOLVED WORKSFORME    
Severity: trivial CC: John.Apostolakis
Priority: P5    
Version: 9.4   
Hardware: PC   
OS: Linux   

Description Sergey 2011-03-04 13:50:42 CET
Trying to build Mokka software with new Geant4.9.4.p01. The executable builds correctly and I can start the simulation. But after some events (differs from type of particle, most survival type are mouns) I have the crash with something like :

> > > > Event 96, scanning sub-detectors
>
> sciSD1 from the sciSD1 sensitive detector has 0 hits.
> sciSD2 from the sciSD2 sensitive detector has 0 hits.
> sciSD3 from the sciSD3 sensitive detector has 0 hits.
> dchSDxy0 from the dchSDxy0 sensitive detector has 0 hits.
> vetoSD1 from the vetoSD1 sensitive detector has 0 hits.
> hcalSD from the hcalSD sensitive detector has 437 hits.
> catcherSD from the catcherSD sensitive detector has 0 hits.
> mcSD1 from the mcSD1 sensitive detector has 0 hits.
>
>
>  *** Break *** segmentation violation
>
>
>
> ===========================================================
> There was a crash (#6 0x01487924 in SigHandler ()).
> This is the entire stack trace of all threads:
> ===========================================================
> #0  0x009ac7a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
> #1  0x03a6d7e3 in __waitpid_nocancel () from /lib/tls/libc.so.6
> #2  0x03a17649 in do_system () from /lib/tls/libc.so.6
> #3  0x014850df in TUnixSystem::Exec ()
>    from /afs/desy.de/project/ilcsoft/sw/i386_gcc34_sl4/root/5.27.06/lib/libCore.so.5.27
> #4  0x0148b143 in TUnixSystem::StackTrace ()
>    from /afs/desy.de/project/ilcsoft/sw/i386_gcc34_sl4/root/5.27.06/lib/libCore.so.5.27
> #5  0x0148788e in TUnixSystem::DispatchSignals ()
>    from /afs/desy.de/project/ilcsoft/sw/i386_gcc34_sl4/root/5.27.06/lib/libCore.so.5.27
> #6  0x01487924 in SigHandler ()
>    from /afs/desy.de/project/ilcsoft/sw/i386_gcc34_sl4/root/5.27.06/lib/libCore.so.5.27
> #7  0x01486b61 in sighandler ()
>    from /afs/desy.de/project/ilcsoft/sw/i386_gcc34_sl4/root/5.27.06/lib/libCore.so.5.27
> #8 <signal handler called>
> #9  0x08b6efc4 in G4ContinuumGammaTransition::SelectGamma ()
> #10 0x08b6da67 in G4VGammaDeexcitation::GenerateGamma ()
> #11 0x08b6df59 in G4VGammaDeexcitation::DoChain ()
> #12 0x08b6cc06 in G4PhotonEvaporation::BreakItUp ()
> #13 0x08a76330 in G4NeutronHPCaptureFS::ApplyYourself ()
> #14 0x08a35328 in G4NeutronHPChannel::ApplyYourself ()
> #15 0x08a3213e in G4NeutronHPCapture::ApplyYourself ()
> #16 0x0892cb7c in G4HadronicProcess::PostStepDoIt ()
> #17 0x08fa9477 in G4SteppingManager::InvokePSDIP ()
> #18 0x08fa9916 in G4SteppingManager::InvokePostStepDoItProcs ()
> #19 0x08faaada in G4SteppingManager::Stepping ()
> #20 0x08f9d908 in G4TrackingManager::ProcessOneTrack ()
> #21 0x08f603c1 in G4EventManager::DoProcessing ()
> #22 0x08f6123e in G4EventManager::ProcessOneEvent ()
> #23 0x08782b54 in G4RunManager::DoEventLoop ()
> #24 0x08781d40 in G4RunManager::BeamOn ()
> #25 0x08100e2c in RunManager::BeamOn (this=0xbbdbcc0, n_event=10000,
>     macroFile=0x0, n_select=-1) at src/RunManager.cc:58
> #26 0x08786969 in G4RunMessenger::SetNewValue ()
> #27 0x09235a9f in G4UIcommand::DoIt ()
> #28 0x092415d7 in G4UImanager::ApplyCommand ()
> #29 0x09242298 in G4UImanager::ApplyCommand ()
> #30 0x086f3029 in G4UIterminal::ExecuteCommand ()
> #31 0x086f41ac in G4UIterminal::SessionStart ()
> #32 0x080c4409 in main (argc=2, argv=0xbfed0084) at Mokka.cc:341
> ===========================================================
>
>
> 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.
> ===========================================================
> #9  0x08b6efc4 in G4ContinuumGammaTransition::SelectGamma ()
> #10 0x08b6da67 in G4VGammaDeexcitation::GenerateGamma ()
> #11 0x08b6df59 in G4VGammaDeexcitation::DoChain ()
> #12 0x08b6cc06 in G4PhotonEvaporation::BreakItUp ()
> #13 0x08a76330 in G4NeutronHPCaptureFS::ApplyYourself ()
> #14 0x08a35328 in G4NeutronHPChannel::ApplyYourself ()
> #15 0x08a3213e in G4NeutronHPCapture::ApplyYourself ()
> #16 0x0892cb7c in G4HadronicProcess::PostStepDoIt ()
> #17 0x08fa9477 in G4SteppingManager::InvokePSDIP ()
> #18 0x08fa9916 in G4SteppingManager::InvokePostStepDoItProcs ()
> #19 0x08faaada in G4SteppingManager::Stepping ()
> #20 0x08f9d908 in G4TrackingManager::ProcessOneTrack ()
> #21 0x08f603c1 in G4EventManager::DoProcessing ()
> #22 0x08f6123e in G4EventManager::ProcessOneEvent ()
> #23 0x08782b54 in G4RunManager::DoEventLoop ()
> #24 0x08781d40 in G4RunManager::BeamOn ()
> #25 0x08100e2c in RunManager::BeamOn (this=0xbbdbcc0, n_event=10000,
>     macroFile=0x0, n_select=-1) at src/RunManager.cc:58
> #26 0x08786969 in G4RunMessenger::SetNewValue ()
> #27 0x09235a9f in G4UIcommand::DoIt ()
> #28 0x092415d7 in G4UImanager::ApplyCommand ()
> #29 0x09242298 in G4UImanager::ApplyCommand ()
> #30 0x086f3029 in G4UIterminal::ExecuteCommand ()
> #31 0x086f41ac in G4UIterminal::SessionStart ()
> #32 0x080c4409 in main (argc=2, argv=0xbfed0084) at Mokka.cc:341
> ===========================================================
Comment 1 dennis.herbert.wright 2011-12-22 02:21:01 CET
We could not reproduce this problem.   Please try again with Geant4 9.5 and let us know if it recurs.