<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 Dimitris,</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);">
Thanks for the suggestion. Unfortunately, I still encounter the same problem with spaces instead of tabs. I know Qt doesn't work when using tabs in the session command bar but I haven't had any problems using tabs in the macros.</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);">
Cheers,</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Matthew<br>
</div>
<div>
<div id="appendonsend"></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" face="Calibri, sans-serif" color="#000000"><b>From:</b> Dimitrios Thanasas <dthanas@uoa.gr><br>
<b>Sent:</b> June 28, 2019 2:51 AM<br>
<b>To:</b> Matthew Strugari<br>
<b>Cc:</b> gate-users@lists.opengatecollaboration.org<br>
<b>Subject:</b> Re: [Gate-users] Segmentation violation for water geometry</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt">
<div class="PlainText">Hi Matthew,<br>
<br>
Try not having tabs, only spaces when you write a command.<br>
I think it will work.<br>
See the attached file, I think it is working.<br>
<br>
Cheers,<br>
Dimitris<br>
<br>
<br>
> Hi everyone,<br>
><br>
> I am not sure if this is a bug, but I am having difficulty defining a<br>
> water phantom. In short, I am able to visualize basic geometries such as a<br>
> sphere, box, or cylinder using the Qt viewer. However, when the material<br>
> is set to Water, the viewer exits with the segmentation violation as shown<br>
> below.<br>
><br>
> To diagnose, I've found that:<br>
><br>
> 1. The fault doesn't appear to happen with G4_WATER or any other<br>
> materials.<br>
> 2. Water appears to be properly defined in the GateMaterials.db file.<br>
> 3. If all three geometries are enabled, sometimes the viewer exits<br>
> without the fault and other times with the fault.<br>
><br>
> Please let me know if you have any ideas on the issue.<br>
><br>
> Cheers,<br>
> Matthew<br>
><br>
><br>
> --<br>
><br>
> Matthew Strugari<br>
><br>
> Biomedical Translational Imaging Centre - BIOTIC,<br>
> 5890 University Ave,<br>
> Halifax, NS, B3K 6R8<br>
><br>
><br>
><br>
> *** Break *** segmentation violation<br>
><br>
><br>
><br>
> ===========================================================<br>
> There was a crash.<br>
> This is the entire stack trace of all threads:<br>
> ===========================================================<br>
> #0 0x00007f09e9b26687 in __GI___waitpid (pid=14368, stat_loc=stat_loc<br>
> entry=0x7ffd32063968, options=options<br>
> entry=0) at ../sysdeps/unix/sysv/linux/waitpid.c:30<br>
> #1 0x00007f09e9a91067 in do_system (line=<optimized out>) at<br>
> ../sysdeps/posix/system.c:149<br>
> #2 0x00007f09f41200d3 in TUnixSystem::Exec (shellcmd=<optimized out>,<br>
> this=0x55f88c467c50) at<br>
> /home/matthew/Programs/root/root-6.14.04/core/unix/src/TUnixSystem.cxx:2119<br>
> #3 TUnixSystem::StackTrace (this=0x55f88c467c50) at<br>
> /home/matthew/Programs/root/root-6.14.04/core/unix/src/TUnixSystem.cxx:2413<br>
> #4 0x00007f09f4122ac4 in TUnixSystem::DispatchSignals<br>
> (this=0x55f88c467c50, sig=kSigSegmentationViolation) at<br>
> /home/matthew/Programs/root/root-6.14.04/core/unix/src/TUnixSystem.cxx:3644<br>
> #5 <signal handler called><br>
> #6 0x000055f88a6b5805 in GateMaterialDatabase::~GateMaterialDatabase() ()<br>
> #7 0x000055f88a64b88e in<br>
> GateDetectorConstruction::~GateDetectorConstruction() ()<br>
> #8 0x000055f88a64b8a9 in<br>
> GateDetectorConstruction::~GateDetectorConstruction() ()<br>
> #9 0x00007f09f0d04496 in G4RunManager::DeleteUserInitializations() ()<br>
> from /home/matthew/Programs/geant4/geant4.10.05-install/lib/libG4run.so<br>
> #10 0x00007f09f0d056b0 in G4RunManager::~G4RunManager() () from<br>
> /home/matthew/Programs/geant4/geant4.10.05-install/lib/libG4run.so<br>
> #11 0x000055f88a602179 in GateRunManager::~GateRunManager() ()<br>
> #12 0x000055f88a241ae6 in main ()<br>
> ===========================================================<br>
><br>
><br>
> The lines below might hint at the cause of the crash.<br>
> You may get help by asking at the ROOT forum <a href="http://root.cern.ch/forum">
http://root.cern.ch/forum</a><br>
> Only if you are really convinced it is a bug in ROOT then please submit a<br>
> report at <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>
> #6 0x000055f88a6b5805 in GateMaterialDatabase::~GateMaterialDatabase() ()<br>
> #7 0x000055f88a64b88e in<br>
> GateDetectorConstruction::~GateDetectorConstruction() ()<br>
> #8 0x000055f88a64b8a9 in<br>
> GateDetectorConstruction::~GateDetectorConstruction() ()<br>
> #9 0x00007f09f0d04496 in G4RunManager::DeleteUserInitializations() ()<br>
> from /home/matthew/Programs/geant4/geant4.10.05-install/lib/libG4run.so<br>
> #10 0x00007f09f0d056b0 in G4RunManager::~G4RunManager() () from<br>
> /home/matthew/Programs/geant4/geant4.10.05-install/lib/libG4run.so<br>
> #11 0x000055f88a602179 in GateRunManager::~GateRunManager() ()<br>
> #12 0x000055f88a241ae6 in main ()<br>
> ===========================================================<br>
><br>
> _______________________________________________<br>
> Gate-users mailing list<br>
> Gate-users@lists.opengatecollaboration.org<br>
> <a href="http://lists.opengatecollaboration.org/mailman/listinfo/gate-users">http://lists.opengatecollaboration.org/mailman/listinfo/gate-users</a><br>
</div>
</span></font></div>
</div>
</body>
</html>