<div dir="ltr"><div dir="ltr"><div dir="ltr"><div>Thank you David and Simon</div><div><br></div><div>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</div><div><br></div><div><b>Here is my actor definition</b></div><div><i>/gate/actor/addActor DoseActor doseDistribution<br>/gate/actor/doseDistribution/save output/myDose.mhd<br>/gate/actor/doseDistribution/attachTo patient<br>/gate/actor/doseDistribution/stepHitType random<br>/gate/actor/doseDistribution/setSize 200.0 800.0 200.0 mm<br>/gate/actor/doseDistribution/setVoxelSize 5.0 5.0 5.0 mm<br>/gate/actor/doseDistribution/enableEdep false<br>/gate/actor/doseDistribution/enableUncertaintyEdep false<br>/gate/actor/doseDistribution/enableDose true<br>/gate/actor/doseDistribution/enableDoseToWater true<br>/gate/actor/doseDistribution/enableNumberOfHits false<br>/gate/actor/doseDistribution/saveEveryNSeconds 180 </i><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><b>The other message (secon crash type):<br></b></div><div>The lines below might hint at the cause of the crash.<br>If they do not help you then please submit a bug report at<br><a href="http://root.cern.ch/bugs">http://root.cern.ch/bugs</a>. Please post the ENTIRE stack trace<br>from above as an attachment in addition to anything else<br>that might help us fixing this issue.<br>===========================================================<br>#5 0x0000000000823753 in GateImageWithStatistic::SaveData(int, bool) ()<br>#6 0x00000000007eb7a2 in GateDoseActor::SaveData() ()<br>#7 0x00000000007d5d52 in GateVActor::EndOfRunAction(G4Run const*) ()<br>#8 0x00000000008a3b10 in GateActorManager::EndOfRunAction(G4Run const*) ()<br>#9 0x0000000000800976 in GateUserActions::EndOfRunAction(G4Run const*) ()<br>#10 0x000000000085e56d in GateRunAction::EndOfRunAction(G4Run const*) ()<br>#11 0x00007f4f8126f71d in G4RunManager::RunTermination() () from /usr/share/geant4/geant4.10.03.p03-install/lib/libG4run.so<br>#12 0x00007f4f8126db4d in G4RunManager::BeamOn(int, char const*, int) () from /usr/share/geant4/geant4.10.03.p03-install/lib/libG4run.so<br>#13 0x0000000000a1dad2 in GateApplicationMgr::StartDAQ() ()<br>#14 0x00000000009d1870 in GateApplicationMgrMessenger::SetNewValue(G4UIcommand*, G4String) ()<br>#15 0x00007f4f7da4be0c in G4UIcommand::DoIt(G4String) () from /usr/share/geant4/geant4.10.03.p03-install/lib/libG4intercoms.so<br>#16 0x00007f4f7da68018 in G4UImanager::ApplyCommand(char const*) () from /usr/share/geant4/geant4.10.03.p03-install/lib/libG4intercoms.so<br>#17 0x00007f4f7da35c57 in G4UIbatch::ExecCommand(G4String const&) () from /usr/share/geant4/geant4.10.03.p03-install/lib/libG4intercoms.so<br>#18 0x00007f4f7da37a2e in G4UIbatch::SessionStart() () from /usr/share/geant4/geant4.10.03.p03-install/lib/libG4intercoms.so<br>#19 0x00007f4f7da68d32 in G4UImanager::ExecuteMacroFile(char const*) () from /usr/share/geant4/geant4.10.03.p03-install/lib/libG4intercoms.so<br>#20 0x00007f4f7da56499 in G4UIcontrolMessenger::SetNewValue(G4UIcommand*, G4String) () from /usr/share/geant4/geant4.10.03.p03-install/lib/libG4intercoms.so<br>#21 0x00007f4f7da4be0c in G4UIcommand::DoIt(G4String) () from /usr/share/geant4/geant4.10.03.p03-install/lib/libG4intercoms.so<br>#22 0x00007f4f7da68018 in G4UImanager::ApplyCommand(char const*) () from /usr/share/geant4/geant4.10.03.p03-install/lib/libG4intercoms.so<br>#23 0x0000000000502874 in main ()<br><br></div><div><br></div><div><br></div><div><br></div><div><br></div></div></div></div><br><div class="gmail_quote"><div dir="ltr">Le mar. 25 sept. 2018 à 07:42, Simon Rit <<a href="mailto:simon.rit@creatis.insa-lyon.fr">simon.rit@creatis.insa-lyon.fr</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hi Luc and David,</div><div>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.</div><div>I guess you'll have to share your macro if someone wants to investigate further.</div><div>Simon<br></div></div><br><div class="gmail_quote"><div dir="ltr">On Mon, Sep 24, 2018 at 6:07 PM Boersma David - MedAustron <<a href="mailto:david.boersma@medaustron.at" target="_blank">david.boersma@medaustron.at</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="EN-US" link="#0563C1" vlink="#954F72">
<div class="m_7897338073054474828m_-6702785989409613464WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Hi Luc,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Could you quote the part of your Gate macro which defines the dose actor?<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">The error message sounds like there must be some kind of typo in the filename that it saves the output into.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">HTH,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">David Boersma<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<div style="border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt">
<div>
<div style="border:none;border-top:solid #e1e1e1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> Gate-users [mailto:<a href="mailto:gate-users-bounces@lists.opengatecollaboration.org" target="_blank">gate-users-bounces@lists.opengatecollaboration.org</a>]
<b>On Behalf Of </b>Luc SIMON<br>
<b>Sent:</b> Monday, September 24, 2018 17:58<br>
<b>To:</b> Gate-users <<a href="mailto:gate-users@lists.opengatecollaboration.org" target="_blank">gate-users@lists.opengatecollaboration.org</a>><br>
<b>Subject:</b> [Gate-users] Bug 8.1<u></u><u></u></span></p>
</div>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<div>
<div>
<p class="MsoNormal">Dear Gaters<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">With version 8.1 Gate is crashing when executing a macro that I use to execute several times with 8.0<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">My marco is very simple and just create a simple geometry with no CT image for example.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">The source is a .IAEAphsp file. <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">The actor is a simple doseActor<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">The message I got is :<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">GateImageT.icc (l.76): Unknown image file extension. Supported extensions are :
<br>
.vox, .hdr, .img, .mhd, .mha, .h33, .i33, .dcm<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">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: )<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">If someone has an idea thank you very much <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">Regards<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal"><br>
-- <u></u><u></u></p>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal">___________________<br>
<br>
SIMON Luc, Physicien Médical, PhD<br>
Département d'Ingénierie et de Physique Médicale - IUCT-Oncopole - Toulouse, FRANCE<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">INSERM UMR 1037 (CRCT) - Equipe 15 - Toulouse, FRANCE<u></u><u></u></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="m_7897338073054474828m_-6702785989409613464WordSection1">
<p class="MsoNormal"><small><span><u></u><u></u></span><b><span style="font-family:"Verdana","sans-serif";color:rgb(17,35,89)" lang="EN-GB">Disclaimer:</span></b><br>
<span style="font-family:"Verdana","sans-serif";color:rgb(17,35,89)" lang="EN-GB">Please notice our E-Mail Disclaimer <a href="http://www.medaustron.at/email-disclaimer/" target="_blank"><span style="color:rgb(17,35,89)">http://www.medaustron.at/email-disclaimer/</span></a></span></small><span><u></u><u></u></span><u></u> <u></u></p>
</div>
<br>
</div>
_______________________________________________<br>
Gate-users mailing list<br>
<a href="mailto:Gate-users@lists.opengatecollaboration.org" target="_blank">Gate-users@lists.opengatecollaboration.org</a><br>
<a href="http://lists.opengatecollaboration.org/mailman/listinfo/gate-users" rel="noreferrer" target="_blank">http://lists.opengatecollaboration.org/mailman/listinfo/gate-users</a></blockquote></div>
_______________________________________________<br>
Gate-users mailing list<br>
<a href="mailto:Gate-users@lists.opengatecollaboration.org" target="_blank">Gate-users@lists.opengatecollaboration.org</a><br>
<a href="http://lists.opengatecollaboration.org/mailman/listinfo/gate-users" rel="noreferrer" target="_blank">http://lists.opengatecollaboration.org/mailman/listinfo/gate-users</a></blockquote></div><br clear="all"><br>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>___________________<br><br>SIMON Luc, Physicien Médical, PhD<br>Département d'Ingénierie et de Physique Médicale - IUCT-Oncopole - Toulouse, FRANCE</div><div>INSERM UMR 1037 (CRCT) - Equipe 15 - Toulouse, FRANCE</div></div></div></div></div>