[Gate-users] *** Break *** segmentation violation
Didier Benoit
benoit at imnc.in2p3.fr
Mon Sep 12 14:01:59 CEST 2011
Hi Shruti,
How is defined your point source in your macro file? "60 mm 0 0" or "60 0 0 mm". The units are always at the end of the line.
Kind regards,
Didier
On Sep 9, 2011, at 12:07 AM, Shruti Agarwal wrote:
> Hi,
>
> I was trying to run simulation for a pinhole collimator on Gate4. When the
> spherical source (2.335 mm radius) is at (0,0,0), it runs perfectly fine.
> However when the point source is at (60 mm,0,0), it gives the following
> error:
>
> ------------------
> *** Break *** segmentation violation
> Generating stack trace...
> 0x00002b3650c2bc5b in std::basic_string<char, std::char_traits<char>,
> std::allo cator<char> >::assign(std::basic_string<char,
> std::char_traits<char>, std::alloc ator<char> > const&) + 0x1b from
> /usr/lib64/libstdc++.so.5
> 0x00000000005c3fac in GateAnalysis::RecordEndOfEvent(G4Event const*) +
> 0x134c f rom /home/cheny3/software/gate/bin/Linux-g++/Gate
> 0x00000000005925f8 in GateOutputMgr::RecordEndOfEvent(G4Event const*) +
> 0x68 fr om /home/cheny3/software/gate/bin/Linux-g++/Gate
> 0x0000000000587ce9 in GateEventAction::EndOfEventAction(G4Event const*) +
> 0x99 from /home/cheny3/software/gate/bin/Linux-g++/Gate
> 0x0000000000a9261e in G4EventManager::DoProcessing(G4Event*) + 0x69e from
> /home /cheny3/software/gate/bin/Linux-g++/Gate
> 0x000000000099349a in G4RunManager::DoEventLoop(int, char const*, int) +
> 0xda f rom /home/cheny3/software/gate/bin/Linux-g++/Gate
> 0x00000000009915ea in G4RunManager::BeamOn(int, char const*, int) + 0x6a
> from / home/cheny3/software/gate/bin/Linux-g++/Gate
> 0x0000000000579592 in GateApplicationMgr::StartDAQ() + 0xd2 from
> /home/cheny3/s oftware/gate/bin/Linux-g++/Gate
> 0x00000000005c476e in
> GateApplicationMgrMessenger::SetNewValue(G4UIcommand*, G4 String) + 0x16e
> from /home/cheny3/software/gate/bin/Linux-g++/Gate
> 0x0000000000c0c7ec in G4UIcommand::DoIt(G4String) + 0x51c from
> /home/cheny3/sof tware/gate/bin/Linux-g++/Gate
> 0x0000000000c1407e in G4UImanager::ApplyCommand(char const*) + 0x3ce from
> /home /cheny3/software/gate/bin/Linux-g++/Gate
> 0x0000000000c1ef47 in G4UIbatch::SessionStart() + 0x297 from
> /home/cheny3/softw are/gate/bin/Linux-g++/Gate
> 0x0000000000c14405 in G4UImanager::ExecuteMacroFile(char const*) + 0x45
> from /h ome/cheny3/software/gate/bin/Linux-g++/Gate
> 0x0000000000c1fd93 in G4UIcontrolMessenger::SetNewValue(G4UIcommand*,
> G4String) + 0x123 from /home/cheny3/software/gate/bin/Linux-g++/Gate
> 0x0000000000c0c7ec in G4UIcommand::DoIt(G4String) + 0x51c from
> /home/cheny3/sof tware/gate/bin/Linux-g++/Gate
> 0x0000000000c1407e in G4UImanager::ApplyCommand(char const*) + 0x3ce from
> /home /cheny3/software/gate/bin/Linux-g++/Gate
> 0x00000000007b5787 in G4UIterminal::ExecuteCommand(G4String) + 0x87 from
> /home/ cheny3/software/gate/bin/Linux-g++/Gate
> 0x00000000007b55ab in G4UIterminal::SessionStart() + 0x6b from
> /home/cheny3/sof tware/gate/bin/Linux-g++/Gate
> 0x0000000000577491 in main + 0x391 from
> /home/cheny3/software/gate/bin/Linux-g+ +/Gate
> 0x0000003a17e1d8b4 in __libc_start_main + 0xf4 from
> /share/bin/intel/cc/10.1.01 5/lib/tls/x86_64/libc.so.6
> 0x0000000000575f6a in TFile::TFile(char const*, char const*, char const*,
> int) + 0x42 from /home/cheny3/software/gate/bin/Linux-g++/Gate
> Aborted
> ---------------
>
> Please explain.
>
> Thank you.
>
> Shruti
> _______________________________________________
> Gate-users mailing list
> Gate-users at lists.opengatecollaboration.org
> http://lists.opengatecollaboration.org/mailman/listinfo/gate-users
-------------------------------------------------------------------------------------------
Didier BENOIT, GATE Engineer
Imagerie et Modélisation en Neurobiologie et Cancérologie (IMNC)
IMNC – UMR 8165 CNRS – Université Paris 7 – Université Paris 11
Campus d’Orsay
Bâtiment 440
91406 ORSAY Cedex
Tél : (33) 1 69 15 68 76
E-mail : benoit at imnc.in2p3.fr
http://www.imnc.in2p3.fr
-------------------------------------------------------------------------------------------
More information about the Gate-users
mailing list