Message: Segmentation fault for primary particles process name Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question Segmentation fault for primary particles process name 

Forum: Analysis
Date: Feb 13, 06:32
From: Volodymyr Rodin <Volodymyr Rodin>


I am saving information about detected particles in NTuples using SteppingAction. But after the last update of Geant4, this line doesn't work properly anymore and segmentation fault happens:

 >GetCreatorProcess()->GetProcessName()); (SteppingAction)

 analysisManager->CreateNtupleSColumn("ProcessName"); (RunAction)

Debug information from gdb:

#0  0x0000555555993793 in std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_assign(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) ()
#1  0x0000555555c37c6f in bool G4RootPNtupleManager::FillNtupleTColumn<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >(int, int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) ()
#2  0x000055555598cdc9 in G4VAnalysisManager::FillNtupleSColumn(int, int, G4String const&) (this=0x7fffb808d360, value=..., columnId=2, ntupleId=2)
    at /home/vorodin/Geant10.5Mult_GDML/include/Geant4/G4VAnalysisManager.icc:141
#3  0x000055555598cdc9 in SteppingAction::UserSteppingAction(G4Step const*) (this=0x7fffb80dc070, aStep=0x7fffb80123d0)
    at /home/vorodin/eclipse-workspace/Geant4Projects/FinalJapanLeetechGpsAdditionalTargetBalls/src/
#4  0x0000555555e619b5 in G4SteppingManager::Stepping() ()
#5  0x0000555555e56612 in G4TrackingManager::ProcessOneTrack(G4Track*) ()
#6  0x0000555555dfb5c8 in G4EventManager::DoProcessing(G4Event*) ()
#7  0x0000555555dc7dac in G4WorkerRunManager::DoEventLoop(int, char const*, int) ()
#8  0x0000555555db8d73 in G4RunManager::BeamOn(int, char const*, int) ()
#9  0x0000555555dc893c in G4WorkerRunManager::DoWork() ()
#10 0x0000555555dd51f9 in G4MTRunManagerKernel::StartThread(G4WorkerThread*) ()
#11 0x00007ffff544c57f in  () at /usr/lib/x86_64-linux-gnu/
#12 0x00007ffff4bc16db in start_thread (arg=0x7fffc75fe700) at pthread_create.c:463
#13 0x00007ffff48ea88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Did something change?

Best regards,

Volodymyr Rodin

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

1 Idea: Re: Segmentation fault for primary particles process name   (Michael H. Kelsey - Feb 13, 15:59)
(_ Ok: Re: Segmentation fault for primary particles process name   (Volodymyr Rodin - Feb 14, 03:39)
 Add Message Add Message
to: "Segmentation fault for primary particles process name"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews

[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]