|Message: Re: Segmentgation error||Not Logged In (login)|
Click on the Forum title, e.g. on the "Forums by Category" page, to read a sequence of postings to the Forum and its threads all in one page. If you are only interested in one thread or the thread following a specific posting, click the thread or the posting, which takes you to a smaller page, which contains only the part you are interested in and may be easier to navigate.
Messages are "chained" if there are only replies at the first level, i.e. 1/1.html, 1/1/1.html etc. In case of "chained" messages the message number is replaced by the icon and there is no indentation.
Inline: Display the subject line only or also the text of the posting(s); for the choice "All" the "Outline" choices are switched off.
|1||0||1||no text / full text of posting|
|2||1||All||text for level 1 only / text for All postings|
Outline: Choose the depth of the posting thread, successive toggle controls provide increasing detail.
|1||2||1||2 levels / 1 level (original posting)|
|2||3||2||3 levels / 2 levels|
|3||3||All||3 levels / all levels (all postings)|
Thanks Peter for your guidance. Follwing your advice, I am now able to see where the program crashes. But I do not understand why the pointer is apparently set at NULL in my UserTrackInformation class caused by line 118 in my SteppingAction class (see the attached). My UserTrackInformation is the same as LXe example.
Thanks for further help
Reading symbols from /usr/lib/libXau.so.6...done. Loaded symbols for /usr/lib/libXau.so.6 Reading symbols from /usr/lib/libXdmcp.so.6...done. Loaded symbols for /usr/lib/libXdmcp.so.6 Reading symbols from /lib/ld-linux-x86-64.so.2...done. Loaded symbols for /lib64/ld-linux-x86-64.so.2 Core was generated by `/home/czu1/geant4/bin/Linux-g++/LaBr_Ce gps.mac'. Program terminated with signal 11, Segmentation fault. #0 0x000000000041cbd0 in CCUserTrackInformation::AddTrackStatusFlag ( this=0x0, s=8) at src/CCUserTrackInformation.cc:21 21 status&=~active; //remove any flags indicating it is active (gdb) bt #0 0x000000000041cbd0 in CCUserTrackInformation::AddTrackStatusFlag ( this=0x0, s=8) at src/CCUserTrackInformation.cc:21 #1 0x000000000041a146 in CCSteppingAction::UserSteppingAction (this=0xb85460, theStep=0xb06ec0) at src/CCSteppingAction.cc:118 #2 0x0000000000689ca3 in G4SteppingManager::Stepping () #3 0x0000000000679d1e in G4TrackingManager::ProcessOneTrack () #4 0x000000000064309d in G4EventManager::DoProcessing () #5 0x000000000057c436 in G4RunManager::DoEventLoop () #6 0x000000000057ad82 in G4RunManager::BeamOn () #7 0x000000000057f8f7 in G4RunMessenger::SetNewValue () #8 0x00000000007ff61a in G4UIcommand::DoIt () #9 0x000000000080711b in G4UImanager::ApplyCommand () #10 0x0000000000812bd4 in G4UIbatch::ExecCommand () #11 0x0000000000814515 in G4UIbatch::SessionStart () #12 0x0000000000804825 in G4UImanager::ExecuteMacroFile () #13 0x0000000000814eb1 in G4UIcontrolMessenger::SetNewValue () #14 0x00000000007ff61a in G4UIcommand::DoIt () #15 0x000000000080711b in G4UImanager::ApplyCommand () #16 0x000000000040a54b in main (argc=2, argv=0x7fff8b71dec8) at LaBr_Ce.cc:72 (gdb)
|Inline Depth:||Outline Depth:||Add message:|