<html><head></head><body><div class="ydp1e28f13cyahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px;"><div></div>
<div dir="ltr" data-setdir="false">Dear Mr Strugari,</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">I think I have found the problem. I kept a Materials.xml file in the GateMaterials.db folder and as soon as I deleted it, averything went back to normal. </div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">Thank you for your time.</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">Regards,</div><div dir="ltr" data-setdir="false">Elena</div><div><br></div>
</div><div id="yahoo_quoted_5711634392" class="yahoo_quoted">
<div style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;">
<div>
Στις Κυριακή, 22 Μαρτίου 2020, 05:28:50 μ.μ. EET, ο χρήστης Elena Vlastou <sarell88@yahoo.gr> έγραψε:
</div>
<div><br></div>
<div><br></div>
<div><div id="yiv1146453230"><div><div class="yiv1146453230ydpcde9026yahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px;"><div></div>
<div dir="ltr">Dear Mr Strugari,</div><div dir="ltr"><br clear="none"></div><div dir="ltr">thanks for the prompt answer. I have already tried the suggested command but the segmentation violation remains the same. </div><div dir="ltr"><br clear="none"></div><div dir="ltr">I have noticed that you have faced a similar issue some months ago...</div><div dir="ltr"><br clear="none"></div><div dir="ltr">Elena</div><div><br clear="none"></div>
</div><div class="yiv1146453230yahoo_quoted" id="yiv1146453230yahoo_quoted_5298100128">
<div style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;">
<div>
Στις Κυριακή, 22 Μαρτίου 2020, 04:33:19 μ.μ. EET, ο χρήστης Matthew Strugari <matthew.strugari@dal.ca> έγραψε:
</div>
<div><br clear="none"></div>
<div><br clear="none"></div>
<div class="yiv1146453230yqt3526858991" id="yiv1146453230yqt72970"><div><div id="yiv1146453230"><div>
Hi Elena,
<div><br clear="none">
</div>
<div>If you’re not using visualization, you should include “/vis/disable” in your macro.<br clear="none">
<br clear="none">
Cheers,<br clear="none">
<div dir="ltr">Matthew</div>
<div dir="ltr"><br clear="none">
<blockquote type="cite">On Mar 22, 2020, at 9:04 AM, Elena Vlastou <sarell88@yahoo.gr> wrote:<br clear="none">
<br clear="none">
</blockquote>
</div>
<blockquote type="cite">
<div dir="ltr">
<table align="center" border="0" cellpadding="0" cellspacing="0" style="padding:10px 0 10px 0;" width="100%"><tbody><tr><td colspan="1" rowspan="1" style="line-height:0px;font-size:0px;">
<table align="center" border="0" cellpadding="0" cellspacing="0" style="background:#707372;background-color:#707372;width:100%;border-radius:5px;overflow:hidden;"><tbody><tr><td colspan="1" rowspan="1" style="border-top:solid 8px #fbe122;padding:4px 8px;text-align:left;vertical-align:top;">
<table role="presentation" border="0" cellpadding="0" cellspacing="0"><tbody><tr><td align="left" colspan="1" rowspan="1">
<div style="font-family:Arial, sans-serif;font-size:12px;line-height:16px;text-align:left;color:#ffffff;">
<span style="font-weight:bold;font-size:12px;">CAUTION:</span> The Sender of this email is not from within Dalhousie.</div>
</td></tr></tbody></table>
</td></tr></tbody></table>
</td></tr></tbody></table>
<div class="yiv1146453230yqt6647228107" id="yiv1146453230yqt73703"><div>
<div dir="ltr">
<div>
<div class="yiv1146453230ydp1e37b725yahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px;">
<span style="color:rgb(38, 40, 42);">Dear Gate users,</span><br clear="none">
</div>
<div class="yiv1146453230ydpff9eae9dyahoo_quoted" id="yiv1146453230ydpff9eae9dyahoo_quoted_5560548088">
<div style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;color:rgb(38, 40, 42);">
<div id="yiv1146453230ydpff9eae9dyiv2181560354">
<div class="yiv1146453230ydpff9eae9dyiv2181560354yahoo-style-wrap" style="font-size:16px;">
<div dir="ltr"><br clear="none">
</div>
<div dir="ltr"><br clear="none">
</div>
<div dir="ltr">I hope this worldwide crisis finds all of you and your families in good spirit and health! </div>
<div dir="ltr"><br clear="none">
</div>
<div dir="ltr"><br clear="none">
</div>
<div dir="ltr">I would like to ask your help about a weird issue that occurred in a simple photon source simulation. Running the following macro, I had indeed the expected output recorded (dose, energy, uncertainty etc) and all primaries seem tο have run. </div>
<div dir="ltr">However, the message while the simulation is ending depicts a crash that I cannot explain:</div>
<div dir="ltr"><br clear="none">
</div>
<div dir="ltr"><br clear="none">
</div>
<div dir="ltr"><i>End of macro test.mac/ Graphics systems deleted./ Visualization Manager deleting...</i><i>*** Break *** segmentation violation</i> </div>
<div dir="ltr">followed by a stack trace of all threads...</div>
<div dir="ltr"><br clear="none">
</div>
<div dir="ltr">Any ideas about it?</div>
<div dir="ltr"><br clear="none">
</div>
<div dir="ltr">Thank you in advance.</div>
<div dir="ltr"><br clear="none">
</div>
<div dir="ltr">Regards,</div>
<div dir="ltr">Elena</div>
<div dir="ltr"><br clear="none">
</div>
<div dir="ltr">
<div><br clear="none">
</div>
<div>
<div style="color:rgb(0, 0, 0);font-family:Helvetica, Arial, sans-serif;">/gate/geometry/setMaterialDatabase data/GateMaterials.db</div>
<div style="color:rgb(0, 0, 0);font-family:Helvetica, Arial, sans-serif;"><br clear="none">
</div>
<div style="color:rgb(0, 0, 0);font-family:Helvetica, Arial, sans-serif;"># WORLD</div>
<div style="color:rgb(0, 0, 0);font-family:Helvetica, Arial, sans-serif;">/gate/world/setMaterial <span style="white-space:pre-wrap;"> </span>Air</div>
<div style="color:rgb(0, 0, 0);font-family:Helvetica, Arial, sans-serif;">/gate/world/geometry/setXLength <span style="white-space:pre-wrap;">
</span>1 m</div>
<div style="color:rgb(0, 0, 0);font-family:Helvetica, Arial, sans-serif;">/gate/world/geometry/setYLength <span style="white-space:pre-wrap;">
</span>1 m</div>
<div style="color:rgb(0, 0, 0);font-family:Helvetica, Arial, sans-serif;">/gate/world/geometry/setZLength <span style="white-space:pre-wrap;">
</span>1 m</div>
<div style="color:rgb(0, 0, 0);font-family:Helvetica, Arial, sans-serif;"><br clear="none">
</div>
<div style="color:rgb(0, 0, 0);font-family:Helvetica, Arial, sans-serif;"># WATERbox</div>
<div style="color:rgb(0, 0, 0);font-family:Helvetica, Arial, sans-serif;">/gate/world/daughters/name <span style="white-space:pre-wrap;">
</span>waterbox</div>
<div style="color:rgb(0, 0, 0);font-family:Helvetica, Arial, sans-serif;">/gate/world/daughters/insert <span style="white-space:pre-wrap;">
</span>box</div>
<div style="color:rgb(0, 0, 0);font-family:Helvetica, Arial, sans-serif;">/gate/waterbox/setMaterial <span style="white-space:pre-wrap;">
</span>Water</div>
<div style="color:rgb(0, 0, 0);font-family:Helvetica, Arial, sans-serif;">/gate/waterbox/placement/setTranslation <span style="white-space:pre-wrap;">
</span>0 0 0 mm</div>
<div style="color:rgb(0, 0, 0);font-family:Helvetica, Arial, sans-serif;">/gate/waterbox/geometry/setXLength <span style="white-space:pre-wrap;">
</span>10 cm</div>
<div style="color:rgb(0, 0, 0);font-family:Helvetica, Arial, sans-serif;">/gate/waterbox/geometry/setYLength <span style="white-space:pre-wrap;">
</span>10 cm</div>
<div style="color:rgb(0, 0, 0);font-family:Helvetica, Arial, sans-serif;">/gate/waterbox/geometry/setZLength <span style="white-space:pre-wrap;">
</span>10 cm</div>
<div style="color:rgb(0, 0, 0);font-family:Helvetica, Arial, sans-serif;"><br clear="none">
</div>
<div style="color:rgb(0, 0, 0);font-family:Helvetica, Arial, sans-serif;"># PHYSICS</div>
<div style="color:rgb(0, 0, 0);font-family:Helvetica, Arial, sans-serif;">/gate/physics/addPhysicsList emstandard_opt3</div>
<div style="color:rgb(0, 0, 0);font-family:Helvetica, Arial, sans-serif;"><br clear="none">
</div>
<div style="color:rgb(0, 0, 0);font-family:Helvetica, Arial, sans-serif;"># DETECTORS</div>
<div style="color:rgb(0, 0, 0);font-family:Helvetica, Arial, sans-serif;">/gate/actor/addActor <span style="white-space:pre-wrap;">
</span>SimulationStatisticActor stat</div>
<div style="color:rgb(0, 0, 0);font-family:Helvetica, Arial, sans-serif;">/gate/actor/stat/save <span style="white-space:pre-wrap;">
</span>teststat.txt</div>
<div style="color:rgb(0, 0, 0);font-family:Helvetica, Arial, sans-serif;">/gate/actor/stat/saveEveryNSeconds <span style="white-space:pre-wrap;">
</span>300</div>
<div style="color:rgb(0, 0, 0);font-family:Helvetica, Arial, sans-serif;"><br clear="none">
</div>
<div style="color:rgb(0, 0, 0);font-family:Helvetica, Arial, sans-serif;">/gate/actor/addActor DoseActor Db</div>
<div style="color:rgb(0, 0, 0);font-family:Helvetica, Arial, sans-serif;">/gate/actor/Db/attachTo <span style="white-space:pre-wrap;">
</span> <span style="white-space:pre-wrap;"> </span> <span style="white-space:pre-wrap;">
</span>waterbox</div>
<div style="color:rgb(0, 0, 0);font-family:Helvetica, Arial, sans-serif;">/gate/actor/Db/stepHitType <span style="white-space:pre-wrap;">
</span>random</div>
<div style="color:rgb(0, 0, 0);font-family:Helvetica, Arial, sans-serif;">/gate/actor/Db/setPosition <span style="white-space:pre-wrap;">
</span>0 0 0 mm</div>
<div style="color:rgb(0, 0, 0);font-family:Helvetica, Arial, sans-serif;">/gate/actor/Db/setSize <span style="white-space:pre-wrap;">
</span>10 10 10 mm</div>
<div style="color:rgb(0, 0, 0);font-family:Helvetica, Arial, sans-serif;">/gate/actor/Db/setVoxelSize <span style="white-space:pre-wrap;">
</span>10 10 5 mm</div>
<div style="color:rgb(0, 0, 0);font-family:Helvetica, Arial, sans-serif;">/gate/actor/Db/saveEveryNSeconds <span style="white-space:pre-wrap;">
</span>300</div>
<div style="color:rgb(0, 0, 0);font-family:Helvetica, Arial, sans-serif;">/gate/actor/Db/enableEdep <span style="white-space:pre-wrap;"> </span>true</div>
<div style="color:rgb(0, 0, 0);font-family:Helvetica, Arial, sans-serif;">/gate/actor/Db/enableUncertaintyEdep <span style="white-space:pre-wrap;">
</span>true</div>
<div style="color:rgb(0, 0, 0);font-family:Helvetica, Arial, sans-serif;">/gate/actor/Db/enableDose <span style="white-space:pre-wrap;"> </span>true</div>
<div style="color:rgb(0, 0, 0);font-family:Helvetica, Arial, sans-serif;">/gate/actor/Db/enableNumberOfHits <span style="white-space:pre-wrap;">
</span>false</div>
<div style="color:rgb(0, 0, 0);font-family:Helvetica, Arial, sans-serif;">/gate/actor/Db/save <span style="white-space:pre-wrap;">
</span>testD.txt <span style="white-space:pre-wrap;"> </span></div>
<div style="color:rgb(0, 0, 0);font-family:Helvetica, Arial, sans-serif;"><br clear="none">
</div>
<div style="color:rgb(0, 0, 0);font-family:Helvetica, Arial, sans-serif;">/gate/run/initialize</div>
<div style="color:rgb(0, 0, 0);font-family:Helvetica, Arial, sans-serif;"><br clear="none">
</div>
<div style="color:rgb(0, 0, 0);font-family:Helvetica, Arial, sans-serif;"># BEAMS</div>
<div style="color:rgb(0, 0, 0);font-family:Helvetica, Arial, sans-serif;">/gate/source/addSource <span style="white-space:pre-wrap;"> </span>PS gps</div>
<div style="color:rgb(0, 0, 0);font-family:Helvetica, Arial, sans-serif;"><br clear="none">
</div>
<div style="color:rgb(0, 0, 0);font-family:Helvetica, Arial, sans-serif;">/gate/source/PS/gps/energytype <span style="white-space:pre-wrap;">
</span>Mono</div>
<div style="color:rgb(0, 0, 0);font-family:Helvetica, Arial, sans-serif;">/gate/source/PS/gps/monoenergy <span style="white-space:pre-wrap;">
</span>100 keV</div>
<div style="color:rgb(0, 0, 0);font-family:Helvetica, Arial, sans-serif;">/gate/source/PS/gps/particle <span style="white-space:pre-wrap;"> </span>gamma</div>
<div style="color:rgb(0, 0, 0);font-family:Helvetica, Arial, sans-serif;">/gate/source/PS/gps/type <span style="white-space:pre-wrap;"> </span>Plane</div>
<div style="color:rgb(0, 0, 0);font-family:Helvetica, Arial, sans-serif;">/gate/source/PS/gps/shape <span style="white-space:pre-wrap;"> </span>Square</div>
<div style="color:rgb(0, 0, 0);font-family:Helvetica, Arial, sans-serif;">/gate/source/PS/gps/pos/centre <span style="white-space:pre-wrap;">
</span>0 0 -15 cm</div>
<div style="color:rgb(0, 0, 0);font-family:Helvetica, Arial, sans-serif;">/gate/source/PS/gps/pos/halfx<span style="white-space:pre-wrap;">
</span>1 cm</div>
<div style="color:rgb(0, 0, 0);font-family:Helvetica, Arial, sans-serif;">/gate/source/PS/gps/pos/halfy<span style="white-space:pre-wrap;">
</span>1 cm</div>
<div style="color:rgb(0, 0, 0);font-family:Helvetica, Arial, sans-serif;"><br clear="none">
</div>
<div style="color:rgb(0, 0, 0);font-family:Helvetica, Arial, sans-serif;">/gate/source/PS/gps/angtype <span style="white-space:pre-wrap;"> </span>iso</div>
<div style="color:rgb(0, 0, 0);font-family:Helvetica, Arial, sans-serif;">/gate/source/PS/gps/mintheta <span style="white-space:pre-wrap;">
</span>0 deg</div>
<div style="color:rgb(0, 0, 0);font-family:Helvetica, Arial, sans-serif;">/gate/source/PS/gps/maxtheta <span style="white-space:pre-wrap;">
</span>0 deg</div>
<div style="color:rgb(0, 0, 0);font-family:Helvetica, Arial, sans-serif;">/gate/source/PS/gps/minphi <span style="white-space:pre-wrap;"> </span>0 deg</div>
<div style="color:rgb(0, 0, 0);font-family:Helvetica, Arial, sans-serif;">/gate/source/PS/gps/maxphi <span style="white-space:pre-wrap;"> </span>0 deg</div>
<div style="color:rgb(0, 0, 0);font-family:Helvetica, Arial, sans-serif;"><br clear="none">
</div>
<div style="color:rgb(0, 0, 0);font-family:Helvetica, Arial, sans-serif;"># START BEAMS</div>
<div style="color:rgb(0, 0, 0);font-family:Helvetica, Arial, sans-serif;">/gate/random/setEngineName MersenneTwister</div>
<div style="color:rgb(0, 0, 0);font-family:Helvetica, Arial, sans-serif;">/gate/random/setEngineSeed auto</div>
<div style="color:rgb(0, 0, 0);font-family:Helvetica, Arial, sans-serif;">/gate/application/setTotalNumberOfPrimaries 5000</div>
<div style="color:rgb(0, 0, 0);font-family:Helvetica, Arial, sans-serif;">/gate/application/start</div>
</div>
<div><br clear="none">
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br clear="none">
</div>
</div></div>
<span>_______________________________________________</span><br clear="none">
<span>Gate-users mailing list</span><br clear="none">
<span>Gate-users@lists.opengatecollaboration.org</span><br clear="none">
<span>http://lists.opengatecollaboration.org/mailman/listinfo/gate-users</span></div>
</blockquote>
</div>
</div></div></div></div>
</div>
</div></div></div></div>
</div>
</div></body></html>