<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Hi everyone,</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
I am not sure if this is a bug, but I am having difficulty defining a water phantom. In short, I am able to visualize basic geometries such as a sphere, box, or cylinder using the Qt viewer. However, when the material is set to Water, the viewer exits with
the segmentation violation as shown below.</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
To diagnose, I've found that:</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<ol>
<li>The fault doesn't appear to happen with G4_WATER or any other materials. <br>
</li><li>Water appears to be properly defined in the GateMaterials.db file.<br>
</li><li>If all three geometries are enabled, sometimes the viewer exits without the fault and other times with the fault. </li></ol>
<div>Please let me know if you have any ideas on the issue.</div>
<div><br>
</div>
<div>Cheers,<span style="font-family:Calibri,Helvetica,sans-serif"><br>
</span></div>
<div><span style="font-family:Calibri,Helvetica,sans-serif">Matthew</span></div>
</div>
<div id="Signature">
<div id="divtagdefaultwrapper" dir="ltr" style="font-size:12pt; color:#000000; background-color:#ffffff; font-family:Calibri,Arial,Helvetica,sans-serif">
<span style="font-family:Calibri,Helvetica,sans-serif"></span><span style="font-family:Calibri,Helvetica,sans-serif"></span>
<p class="x_MsoNormal" style="margin-top: 0px; margin-bottom: 0px;margin-top:0px; margin-bottom:0px">
<span style="font-size:10.5pt; color:black; font-family:Calibri,Helvetica,sans-serif"><br>
</span></p>
<span style="font-family:Calibri,Helvetica,sans-serif"></span>
<p class="x_MsoNormal" style="margin-top: 0px; margin-bottom: 0px;margin-top:0px; margin-bottom:0px">
<span style="font-size:10.5pt; color:black; font-family:Calibri,Helvetica,sans-serif">--</span></p>
<span style="font-family:Calibri,Helvetica,sans-serif"></span>
<p class="x_MsoNormal" style="margin-top: 0px; margin-bottom: 0px;margin-top:0px; margin-bottom:0px">
<span style="font-size:10.5pt; color:black; font-family:Calibri,Helvetica,sans-serif">Matthew Strugari</span><span style="font-size:10.5pt; color:black"></span></p>
<span style="font-family:Calibri,Helvetica,sans-serif"></span><span style="font-size:10.5pt; color:black" lang="EN-US"><span style="font-family:Calibri,Helvetica,sans-serif">Biomedical Translational Imaging Centre -
</span><span class="markcp47xw9my" style="background-color:rgb(255,255,255); color:black; font-family:Calibri,Helvetica,sans-serif">BIOTIC</span><span style="font-family:Calibri,Helvetica,sans-serif">,</span><br>
<span style="font-family:Calibri,Helvetica,sans-serif">5890 University Ave, </span><br>
<span style="font-family:Calibri,Helvetica,sans-serif">Halifax, NS, B3K 6R8</span></span></div>
<div dir="ltr" style="font-size:12pt; color:#000000; background-color:#ffffff; font-family:Calibri,Arial,Helvetica,sans-serif">
<span style="font-size:10.5pt; color:black" lang="EN-US"><span style="font-family:Calibri,Helvetica,sans-serif"><br>
</span></span></div>
<div dir="ltr" style="font-size:12pt; color:#000000; background-color:#ffffff; font-family:Calibri,Arial,Helvetica,sans-serif">
<span style="font-size:10.5pt; color:black" lang="EN-US"><span style="font-family:Calibri,Helvetica,sans-serif">
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt"><br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt"><br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt"><span> *** Break *** segmentation violation<br>
</span>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div>===========================================================<br>
</div>
<div>There was a crash.<br>
</div>
<div>This is the entire stack trace of all threads:<br>
</div>
<div>===========================================================<br>
</div>
<div>#0 0x00007f09e9b26687 in __GI___waitpid (pid=14368, stat_loc=stat_loc<br>
</div>
<div>entry=0x7ffd32063968, options=options<br>
</div>
<div>entry=0) at ../sysdeps/unix/sysv/linux/waitpid.c:30<br>
</div>
<div>#1 0x00007f09e9a91067 in do_system (line=<optimized out>) at ../sysdeps/posix/system.c:149<br>
</div>
<div>#2 0x00007f09f41200d3 in TUnixSystem::Exec (shellcmd=<optimized out>, this=0x55f88c467c50) at /home/matthew/Programs/root/root-6.14.04/core/unix/src/TUnixSystem.cxx:2119<br>
</div>
<div>#3 TUnixSystem::StackTrace (this=0x55f88c467c50) at /home/matthew/Programs/root/root-6.14.04/core/unix/src/TUnixSystem.cxx:2413<br>
</div>
<div>#4 0x00007f09f4122ac4 in TUnixSystem::DispatchSignals (this=0x55f88c467c50, sig=kSigSegmentationViolation) at /home/matthew/Programs/root/root-6.14.04/core/unix/src/TUnixSystem.cxx:3644<br>
</div>
<div>#5 <signal handler called><br>
</div>
<div>#6 0x000055f88a6b5805 in GateMaterialDatabase::~GateMaterialDatabase() ()<br>
</div>
<div>#7 0x000055f88a64b88e in GateDetectorConstruction::~GateDetectorConstruction() ()<br>
</div>
<div>#8 0x000055f88a64b8a9 in GateDetectorConstruction::~GateDetectorConstruction() ()<br>
</div>
<div>#9 0x00007f09f0d04496 in G4RunManager::DeleteUserInitializations() () from /home/matthew/Programs/geant4/geant4.10.05-install/lib/libG4run.so<br>
</div>
<div>#10 0x00007f09f0d056b0 in G4RunManager::~G4RunManager() () from /home/matthew/Programs/geant4/geant4.10.05-install/lib/libG4run.so<br>
</div>
<div>#11 0x000055f88a602179 in GateRunManager::~GateRunManager() ()<br>
</div>
<div>#12 0x000055f88a241ae6 in main ()<br>
</div>
<div>===========================================================<br>
</div>
<div><br>
</div>
<div><br>
</div>
<div>The lines below might hint at the cause of the crash.<br>
</div>
<div>You may get help by asking at the ROOT forum http://root.cern.ch/forum<br>
</div>
<div>Only if you are really convinced it is a bug in ROOT then please submit a<br>
</div>
<div>report at http://root.cern.ch/bugs Please post the ENTIRE stack trace<br>
</div>
<div>from above as an attachment in addition to anything else<br>
</div>
<div>that might help us fixing this issue.<br>
</div>
<div>===========================================================<br>
</div>
<div>#6 0x000055f88a6b5805 in GateMaterialDatabase::~GateMaterialDatabase() ()<br>
</div>
<div>#7 0x000055f88a64b88e in GateDetectorConstruction::~GateDetectorConstruction() ()<br>
</div>
<div>#8 0x000055f88a64b8a9 in GateDetectorConstruction::~GateDetectorConstruction() ()<br>
</div>
<div>#9 0x00007f09f0d04496 in G4RunManager::DeleteUserInitializations() () from /home/matthew/Programs/geant4/geant4.10.05-install/lib/libG4run.so<br>
</div>
<div>#10 0x00007f09f0d056b0 in G4RunManager::~G4RunManager() () from /home/matthew/Programs/geant4/geant4.10.05-install/lib/libG4run.so<br>
</div>
<div>#11 0x000055f88a602179 in GateRunManager::~GateRunManager() ()<br>
</div>
<div>#12 0x000055f88a241ae6 in main ()<br>
</div>
<div>===========================================================</div>
</div>
</span></span><br>
<p style="margin-top: 0px; margin-bottom: 0px;margin-top:0px; margin-bottom:0px">
</p>
</div>
</div>
</body>
</html>