Anti_nu_e is not defined

Hei,

I want to simulate a very simple geometry, basically a block of carbon sandwiched between air.
I want to send high energy protons or electrons on this carbon block and study the final state particles.

For this I use the FTFP_BERT and EmStandardPhysics list in geant4 v11.
Sending a 100 GeV electron on this target works fine.
Sending however a proton of the same energy on the target I end up with similar versions of the following error message:

G4VDecayChannel::FillDaughters() - [ neutron ]1:anti_nu_e is not defined !!
 The BR of this decay mode is set to zero.

### CAUGHT SIGNAL: 11 ### address: 0x70,  signal =  SIGSEGV, value =   11,
description = segmentation violation. Address not mapped to object.

The missing particles I encountered in some trials were always some sorts of neutrinos.
For lower energetic protons (~< 10 GeV) also the proton works.
I am not sure where the neutrinos should be defined or if that missing definition is even the final cause of triggering the following seg-fault.

Thanks a lot!
Till

The full stack-trace is here:

### CAUGHT SIGNAL: 11 ### address: 0x70,  signal =  SIGSEGV, value =   11, description = segmentation violation. Address not mapped to object.

Backtrace:
[PID=464755, TID=-1][ 0/48]> /usr/lib/libG4processes.so(_ZN14G4KineticTrackC2EPK20G4ParticleDefinitiondRKN5CLHEP10Hep3VectorERKNS3_16HepLorentzVectorE+0x370) [0x7feedadd2b40]
[PID=464755, TID=-1][ 1/48]> /usr/lib/libG4processes.so(_ZN10G4FTFModel12BuildStringsEPSt6vectorIP15G4ExcitedStringSaIS2_EE+0x21c) [0x7feedad09f8c]
[PID=464755, TID=-1][ 2/48]> /usr/lib/libG4processes.so(_ZN10G4FTFModel10GetStringsEv+0x18b) [0x7feedad0a8fb]
[PID=464755, TID=-1][ 3/48]> /usr/lib/libG4processes.so(_ZN20G4VPartonStringModel7ScatterERK9G4NucleusRK17G4DynamicParticle+0x4a3) [0x7feedad2be53]
[PID=464755, TID=-1][ 4/48]> /usr/lib/libG4processes.so(_ZN17G4TheoFSGenerator13ApplyYourselfERK15G4HadProjectileR9G4Nucleus+0x37d) [0x7feedad9ab2d]
[PID=464755, TID=-1][ 5/48]> /usr/lib/libG4processes.so(_ZN17G4HadronicProcess12PostStepDoItERK7G4TrackRK6G4Step+0x158) [0x7feeda7f3218]
[PID=464755, TID=-1][ 6/48]> /usr/lib/libG4tracking.so(_ZN17G4SteppingManager11InvokePSDIPEm+0x7c) [0x7feedcb4dfac]
[PID=464755, TID=-1][ 7/48]> /usr/lib/libG4tracking.so(_ZN17G4SteppingManager23InvokePostStepDoItProcsEv+0x43) [0x7feedcb4e703]
[PID=464755, TID=-1][ 8/48]> /usr/lib/libG4tracking.so(_ZN17G4SteppingManager8SteppingEv+0x4b5) [0x7feedcb4ab85]
[PID=464755, TID=-1][ 9/48]> /usr/lib/libG4tracking.so(_ZN17G4TrackingManager15ProcessOneTrackEP7G4Track+0x133) [0x7feedcb60953]
[PID=464755, TID=-1][10/48]> /usr/lib/libG4event.so(_ZN14G4EventManager12DoProcessingEP7G4Event+0x8e5) [0x7feedcb9e6c5]
[PID=464755, TID=-1][11/48]> /usr/lib/libG4run.so(_ZN12G4RunManager11DoEventLoopEiPKci+0xaf) [0x7feedd32018f]
[PID=464755, TID=-1][12/48]> /usr/lib/libG4run.so(_ZN12G4RunManager6BeamOnEiPKci+0x5e) [0x7feedd31dd5e]
[PID=464755, TID=-1][13/48]> /usr/lib/libG4run.so(_ZN14G4RunMessenger11SetNewValueEP11G4UIcommand8G4String+0x5dc) [0x7feedd35496c]
[PID=464755, TID=-1][14/48]> /usr/lib/libG4intercoms.so(_ZN11G4UIcommand4DoItE8G4String+0x4b8) [0x7feedc3c06a8]
[PID=464755, TID=-1][15/48]> /usr/lib/libG4intercoms.so(_ZN11G4UImanager12ApplyCommandEPKc+0xcc4) [0x7feedc3dec04]
[PID=464755, TID=-1][16/48]> /usr/lib/libG4interfaces.so(_ZN13G4VBasicShell14ExecuteCommandERK8G4String+0x2b) [0x7feede875f1b]
[PID=464755, TID=-1][17/48]> /usr/lib/libG4interfaces.so(_ZN13G4VBasicShell17ApplyShellCommandERK8G4StringRbS3_+0xfad) [0x7feede87b18d]
[PID=464755, TID=-1][18/48]> /usr/lib/libG4interfaces.so(_ZN6G4UIQt14ButtonCallbackERK7QString+0x173) [0x7feede86c2e3]
[PID=464755, TID=-1][19/48]> /usr/lib/libQt5Core.so.5(+0x2bd361) [0x7feedc0bd361]
[PID=464755, TID=-1][20/48]> /usr/lib/libQt5Widgets.so.5(_ZN7QAction9triggeredEb+0x47) [0x7feedcd6bec7]
[PID=464755, TID=-1][21/48]> /usr/lib/libQt5Widgets.so.5(_ZN7QAction8activateENS_11ActionEventE+0xb7) [0x7feedcd718c7]
[PID=464755, TID=-1][22/48]> /usr/lib/libQt5Widgets.so.5(+0x2601de) [0x7feedce601de]
[PID=464755, TID=-1][23/48]> /usr/lib/libQt5Widgets.so.5(_ZN15QAbstractButton17mouseReleaseEventEP11QMouseEvent+0xc0) [0x7feedce603e0]
[PID=464755, TID=-1][24/48]> /usr/lib/libQt5Widgets.so.5(_ZN11QToolButton17mouseReleaseEventEP11QMouseEvent+0xf) [0x7feedcf5311f]
[PID=464755, TID=-1][25/48]> /usr/lib/libQt5Widgets.so.5(_ZN7QWidget5eventEP6QEvent+0xac7) [0x7feedcdaf6e7]
[PID=464755, TID=-1][26/48]> /usr/lib/libQt5Widgets.so.5(_ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent+0x9c) [0x7feedcd78b1c]
[PID=464755, TID=-1][27/48]> /usr/lib/libQt5Widgets.so.5(_ZN12QApplication6notifyEP7QObjectP6QEvent+0x13a9) [0x7feedcd7e339]
[PID=464755, TID=-1][28/48]> /usr/lib/libQt5Core.so.5(_ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent+0x128) [0x7feedc08cb68]
[PID=464755, TID=-1][29/48]> /usr/lib/libQt5Widgets.so.5(_ZN19QApplicationPrivate14sendMouseEventEP7QWidgetP11QMouseEventS1_S1_PS1_R8QPointerIS0_Ebb+0x1d7) [0x7feedcd7c337]
[PID=464755, TID=-1][30/48]> /usr/lib/libQt5Widgets.so.5(+0x1cd3b5) [0x7feedcdcd3b5]
[PID=464755, TID=-1][31/48]> /usr/lib/libQt5Widgets.so.5(+0x1cf15e) [0x7feedcdcf15e]
[PID=464755, TID=-1][32/48]> /usr/lib/libQt5Widgets.so.5(_ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent+0x9c) [0x7feedcd78b1c]
[PID=464755, TID=-1][33/48]> /usr/lib/libQt5Core.so.5(_ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent+0x128) [0x7feedc08cb68]
[PID=464755, TID=-1][34/48]> /usr/lib/libQt5Gui.so.5(_ZN22QGuiApplicationPrivate17processMouseEventEPN29QWindowSystemInterfacePrivate10MouseEventE+0x6ec) [0x7feedc53f13c]
[PID=464755, TID=-1][35/48]> /usr/lib/libQt5Gui.so.5(_ZN22QWindowSystemInterface22sendWindowSystemEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE+0xb5) [0x7feedc528985]
[PID=464755, TID=-1][36/48]> /usr/lib/libQt5XcbQpa.so.5(+0x646c0) [0x7feed532f6c0]
[PID=464755, TID=-1][37/48]> /usr/lib/libglib-2.0.so.0(g_main_context_dispatch+0x19b) [0x7feed81e0b2b]
[PID=464755, TID=-1][38/48]> /usr/lib/libglib-2.0.so.0(+0xaae79) [0x7feed8236e79]
[PID=464755, TID=-1][39/48]> /usr/lib/libglib-2.0.so.0(g_main_context_iteration+0x32) [0x7feed81de252]
[PID=464755, TID=-1][40/48]> /usr/lib/libQt5Core.so.5(_ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE+0x6c) [0x7feedc0d74ec]
[PID=464755, TID=-1][41/48]> /usr/lib/libQt5Core.so.5(_ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE+0x12c) [0x7feedc08530c]
[PID=464755, TID=-1][42/48]> /usr/lib/libQt5Core.so.5(_ZN16QCoreApplication4execEv+0x99) [0x7feedc08fe39]
[PID=464755, TID=-1][43/48]> /usr/lib/libG4interfaces.so(_ZN6G4UIQt12SessionStartEv+0x112) [0x7feede8655c2]
[PID=464755, TID=-1][44/48]> ./sim(+0x8260) [0x5598d7b1b260]
[PID=464755, TID=-1][45/48]> /usr/lib/libc.so.6(+0x23290) [0x7feed8c3c290]
[PID=464755, TID=-1][46/48]> /usr/lib/libc.so.6(__libc_start_main+0x8a) [0x7feed8c3c34a]
[PID=464755, TID=-1][47/48]> ./sim(+0x87e5) [0x5598d7b1b7e5]

: Segmentation fault (Address not mapped to object [0x70])
1 Like

The problem was a missing RegisterPhysics(new G4DecayPhysics()); in the user defined physics list.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.