Problem 1459 - crash in G4VPartonStringModel::Scatter()
Summary: crash in G4VPartonStringModel::Scatter()
Status: RESOLVED FIXED
Alias: None
Product: Geant4
Classification: Unclassified
Component: processes/hadronic/models/parton_string/management (show other problems)
Version: 9.5
Hardware: All All
: P5 critical
Assignee: Alberto.Ribon
URL:
Depends on:
Blocks:
 
Reported: 2013-03-18 17:37 CET by Witold.Pokorski
Modified: 2014-06-07 15:54 CEST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this problem.
Description Witold.Pokorski 2013-03-18 17:37:44 CET
LHCb is reporting the following crash in FTFP_BERT (9.5.p02):

In ../hadronic/models/parton_string/management/src/G4VPartonStringModel.cc, line 102: 
===> G4VPartonStringModel::Scatter(): fails to generate strings
-------- EEEE ------- G4Exception-START -------- EEEE -------
*** G4Exception : had006
      issued by : G4HadronicProcess::PostStepDoIt
Call for FTFP
Target element /dd/Materials/Iron  Z= 26  A= 56
Unrecoverable error in the method ApplyYourself of KaonPlusInelastic
TrackID= 5326  ParentID= 1012  kaon+
Ekin(GeV)= 4.6748;  direction= (0.0420371,-0.0419766,0.998234)
Position(mm)= (787.033,-635.045,14186.2);  material /dd/Materials/Hcal/HcalMsPlSteel
PhysicalVolume  </dd/Geometry/DownstreamRegion/Hcal/Cells/lvHcalInnCellUpMsPlBox#pvHcalInnCellUpMsPl>
 ApplyYourself failed
*** Fatal Exception *** core dump ***
-------- EEEE -------- G4Exception-END --------- EEEE -------
*** G4Exception: Aborting execution ***
Comment 1 Alberto.Ribon 2013-05-22 11:23:15 CEST
The bugs were in the PutOnMassShell method of the file G4FTFModel.cc.
The correct file (G4FTFModel.cc) with the fixes has been provided to LHCb.

A branch to  processes/hadronic/models/parton_string/diffraction  has also been created to include the bug fix (internal tag: hadr-string-diff-V09-04-12), in the case of a future patch G4 9.5.p03 (not planned at the moment).

The bugs in PutOnMassShell are also affecting G4 9.6.p01, whereas they have been fixed in the coming G4 9.6.p02 (and in the development version G4 9.6.ref04c as well).
Comment 2 gengchr 2014-06-07 15:54:52 CEST
G4.9.6P03 has not fixed this problem.
G4FTFModel.cc is written in 1998 as before.
And the problem below is still exist.
Does anyone can help me?
Thanks and best regards!

sincerely,
geng

============================================
===> G4VPartonStringModel::Scatter(): fails to generate strings
===> G4VPartonStringModel::Scatter(): fails to generate strings
Call for FTFP
Target element H  Z= 1  A= 1
Unrecoverable error in the method ApplyYourself of alphaInelastic
TrackID= 1  ParentID= 0  alpha
==================================================


(In reply to comment #1)
> The bugs were in the PutOnMassShell method of the file G4FTFModel.cc.
> The correct file (G4FTFModel.cc) with the fixes has been provided to LHCb.
> 
> A branch to  processes/hadronic/models/parton_string/diffraction  has also been
> created to include the bug fix (internal tag: hadr-string-diff-V09-04-12), in
> the case of a future patch G4 9.5.p03 (not planned at the moment).
> 
> The bugs in PutOnMassShell are also affecting G4 9.6.p01, whereas they have
> been fixed in the coming G4 9.6.p02 (and in the development version G4
> 9.6.ref04c as well).