[Gate-users] Bug 8.1

Luc SIMON uhqd75 at gmail.com
Tue Sep 25 12:03:52 CEST 2018


Thank you David and Simon

The behaviour could be linked to a memory problem (I use a virtual machine)
because when launching several times I have two different crash. Sometimes
I see the the message I already sent. Sometimes a more important message
(see below)...and sometimes it just works

*Here is my actor definition*











*/gate/actor/addActor DoseActor
doseDistribution/gate/actor/doseDistribution/save
output/myDose.mhd/gate/actor/doseDistribution/attachTo
patient/gate/actor/doseDistribution/stepHitType
random/gate/actor/doseDistribution/setSize 200.0 800.0 200.0
mm/gate/actor/doseDistribution/setVoxelSize 5.0 5.0 5.0
mm/gate/actor/doseDistribution/enableEdep
false/gate/actor/doseDistribution/enableUncertaintyEdep
false/gate/actor/doseDistribution/enableDose
true/gate/actor/doseDistribution/enableDoseToWater
true/gate/actor/doseDistribution/enableNumberOfHits
false/gate/actor/doseDistribution/saveEveryNSeconds 180 *





*The other message  (secon crash type):*
The lines below might hint at the cause of the crash.
If they do not help you then please submit a bug report at
http://root.cern.ch/bugs. Please post the ENTIRE stack trace
from above as an attachment in addition to anything else
that might help us fixing this issue.
===========================================================
#5  0x0000000000823753 in GateImageWithStatistic::SaveData(int, bool) ()
#6  0x00000000007eb7a2 in GateDoseActor::SaveData() ()
#7  0x00000000007d5d52 in GateVActor::EndOfRunAction(G4Run const*) ()
#8  0x00000000008a3b10 in GateActorManager::EndOfRunAction(G4Run const*) ()
#9  0x0000000000800976 in GateUserActions::EndOfRunAction(G4Run const*) ()
#10 0x000000000085e56d in GateRunAction::EndOfRunAction(G4Run const*) ()
#11 0x00007f4f8126f71d in G4RunManager::RunTermination() () from
/usr/share/geant4/geant4.10.03.p03-install/lib/libG4run.so
#12 0x00007f4f8126db4d in G4RunManager::BeamOn(int, char const*, int) ()
from /usr/share/geant4/geant4.10.03.p03-install/lib/libG4run.so
#13 0x0000000000a1dad2 in GateApplicationMgr::StartDAQ() ()
#14 0x00000000009d1870 in
GateApplicationMgrMessenger::SetNewValue(G4UIcommand*, G4String) ()
#15 0x00007f4f7da4be0c in G4UIcommand::DoIt(G4String) () from
/usr/share/geant4/geant4.10.03.p03-install/lib/libG4intercoms.so
#16 0x00007f4f7da68018 in G4UImanager::ApplyCommand(char const*) () from
/usr/share/geant4/geant4.10.03.p03-install/lib/libG4intercoms.so
#17 0x00007f4f7da35c57 in G4UIbatch::ExecCommand(G4String const&) () from
/usr/share/geant4/geant4.10.03.p03-install/lib/libG4intercoms.so
#18 0x00007f4f7da37a2e in G4UIbatch::SessionStart() () from
/usr/share/geant4/geant4.10.03.p03-install/lib/libG4intercoms.so
#19 0x00007f4f7da68d32 in G4UImanager::ExecuteMacroFile(char const*) ()
from /usr/share/geant4/geant4.10.03.p03-install/lib/libG4intercoms.so
#20 0x00007f4f7da56499 in G4UIcontrolMessenger::SetNewValue(G4UIcommand*,
G4String) () from
/usr/share/geant4/geant4.10.03.p03-install/lib/libG4intercoms.so
#21 0x00007f4f7da4be0c in G4UIcommand::DoIt(G4String) () from
/usr/share/geant4/geant4.10.03.p03-install/lib/libG4intercoms.so
#22 0x00007f4f7da68018 in G4UImanager::ApplyCommand(char const*) () from
/usr/share/geant4/geant4.10.03.p03-install/lib/libG4intercoms.so
#23 0x0000000000502874 in main ()






Le mar. 25 sept. 2018 à 07:42, Simon Rit <simon.rit at creatis.insa-lyon.fr> a
écrit :

> Hi Luc and David,
> I had a similar problem a while ago. When I tried to track it down, simply
> trying to cout the filename causing this error disabled the problem in my
> case... So I did not find the root cause but it seems to me that this is a
> side effect of a memory error before.
> I guess you'll have to share your macro if someone wants to investigate
> further.
> Simon
>
> On Mon, Sep 24, 2018 at 6:07 PM Boersma David - MedAustron <
> david.boersma at medaustron.at> wrote:
>
>> Hi Luc,
>>
>>
>>
>> Could you quote the part of your Gate macro which defines the dose actor?
>>
>> The error message sounds like there must be some kind of typo in the
>> filename that it saves the output into.
>>
>>
>>
>> HTH,
>>
>> David Boersma
>>
>>
>>
>> *From:* Gate-users [mailto:
>> gate-users-bounces at lists.opengatecollaboration.org] *On Behalf Of *Luc
>> SIMON
>> *Sent:* Monday, September 24, 2018 17:58
>> *To:* Gate-users <gate-users at lists.opengatecollaboration.org>
>> *Subject:* [Gate-users] Bug 8.1
>>
>>
>>
>> Dear Gaters
>>
>>
>>
>> With version 8.1 Gate is crashing when executing a macro that I use to
>> execute several times with 8.0
>>
>>
>>
>> My marco is very simple and just create a simple geometry with no CT
>> image for example.
>>
>>
>>
>> The source is a .IAEAphsp file.
>>
>> The actor is a simple doseActor
>>
>>
>>
>> The message I got is  :
>>
>>
>>
>> GateImageT.icc (l.76): Unknown image file extension. Supported extensions
>> are :
>> .vox, .hdr, .img, .mhd, .mha, .h33, .i33, .dcm
>>
>>
>>
>> I tried to display the file name (with a G4cout) to understand what image
>> Gate is trying to open but there is no answer (filename: )
>>
>>
>>
>> If someone has an idea thank you very much
>>
>> Regards
>>
>>
>>
>>
>>
>>
>> --
>>
>> ___________________
>>
>> SIMON Luc, Physicien Médical, PhD
>> Département d'Ingénierie et de Physique Médicale - IUCT-Oncopole -
>> Toulouse, FRANCE
>>
>> INSERM UMR 1037 (CRCT) - Equipe 15 - Toulouse, FRANCE
>>
>> *Disclaimer:*
>> Please notice our E-Mail Disclaimer
>> http://www.medaustron.at/email-disclaimer/
>>
>> _______________________________________________
>> Gate-users mailing list
>> Gate-users at lists.opengatecollaboration.org
>> http://lists.opengatecollaboration.org/mailman/listinfo/gate-users
>
> _______________________________________________
> Gate-users mailing list
> Gate-users at lists.opengatecollaboration.org
> http://lists.opengatecollaboration.org/mailman/listinfo/gate-users



-- 
___________________

SIMON Luc, Physicien Médical, PhD
Département d'Ingénierie et de Physique Médicale - IUCT-Oncopole -
Toulouse, FRANCE
INSERM UMR 1037 (CRCT) - Equipe 15 - Toulouse, FRANCE
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/pipermail/gate-users/attachments/20180925/38cc9da7/attachment.html>


More information about the Gate-users mailing list