<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from text --><style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; } --></style>
</head>
<body>
<meta content="text/html; charset=UTF-8">
<style type="text/css" style="">
<!--
p
{margin-top:0;
margin-bottom:0}
-->
</style>
<div dir="ltr">
<div id="x_divtagdefaultwrapper" dir="ltr" style="font-size:12pt; color:#000000; font-family:Calibri,Helvetica,sans-serif">
<p>Hi,</p>
<p><br>
</p>
<p>You both (Andrew and Ashok) have reported a crash due to a "segmentation violation", but I'm afraid that theses crashes do not have the same cause. In the stack traces you can see that the crash happens in quite different parts of the source code. This by
itself does not *exclude* that there is a single cause, but I think it's more likely that there are two independent subtle bugs (with not so subtle consequences).</p>
<p><br>
</p>
<p>Today I won't have time to look at this (reproduce the errors with a debugger). Hopefully tomorrow or next week.<br>
</p>
<p><br>
</p>
<p>/David<br>
</p>
</div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="x_divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>Von:</b> Gate-users <gate-users-bounces@lists.opengatecollaboration.org> im Auftrag von GOSLING, Andrew (UNIVERSITY COLLEGE LONDON HOSPITALS NHS FOUNDATION
TRUST) <andrew.gosling@nhs.net><br>
<b>Gesendet:</b> Donnerstag, 17. Jänner 2019 11:28:55<br>
<b>An:</b> Ashok Tiwari; gate-users@lists.opengatecollaboration.org<br>
<b>Betreff:</b> Re: [Gate-users] *** Break *** segmentation violation, vGATE8.1</font>
<div> </div>
</div>
</div>
<font size="2"><span style="font-size:10pt;">
<div class="PlainText">I had this exact same issue, and raised a thread a week or so ago. I only get this issue when trying to run GATE on a Raspberry Pi, but it's interesting that you are getting it too. What kind of system are you using and which versions
of the various software have you installed?<br>
<br>
>From what I can find, the issue is to do with the dose actor interacting with the simulation. From what I've been able to understand, the dose actor uses Root to sample the event list and convert the individual particle interactions into a more user-friendly
output. That is why your simulation runs fine, but will not produce any output. I tried posting on the Root forum but they claimed it was a GATE problem, and my thread here went quiet after the initial reply.<br>
<br>
My first suggestion would be to check your Root installation is working, beyond that I am in the same boat as you.<br>
<br>
Andrew<br>
<br>
<br>
Andrew Gosling (DPhil) | Clinical Scientist (Proton Beam Physics)<br>
UCLH Radiotherapy Physics, 1st Floor East, 250 Euston Road, London, NW1 2PG<br>
andrew.gosling@nhs.net | +44 (0) 203 44 72490<br>
<br>
-----Original Message-----<br>
From: Ashok Tiwari [<a href="mailto:tiwarias@yahoo.com">mailto:tiwarias@yahoo.com</a>]<br>
Sent: 16 January 2019 17:58<br>
To: gate-users@lists.opengatecollaboration.org<br>
Subject: [Gate-users] *** Break *** segmentation violation, vGATE8.1<br>
<br>
Dear community,<br>
<br>
I’m using vGATE8.1 for my simulation. When I ran a simulation, visualization of simulations looks ok, but at the very end of the simulation I‘m having break segmentation violation. Can anyone tell me what might be the causes of it? Following lines are copy-paste
of what I’m seeing:<br>
<br>
Visualization Manager deleting...<br>
G4 kernel has come to Quit state.<br>
<br>
*** Break *** segmentation violation<br>
===========================================================<br>
There was a crash.<br>
This is the entire stack trace of all threads:<br>
===========================================================<br>
#0 0x00007f161fdc8687 in __GI___waitpid (pid=4437, stat_loc=stat_loc<br>
entry=0x7fff4f1b4228, options=options<br>
entry=0) at ../sysdeps/unix/sysv/linux/waitpid.c:30<br>
#1 0x00007f161fd33067 in do_system (line=<optimized out>) at ../sysdeps/posix/system.c:149<br>
#2 0x00007f1626fb49fb in TUnixSystem::Exec(char const*) (shellcmd=<optimized out>, this=0x5628cd1c2fb0) at /home/gate/Softwares/root/core/unix/src/TUnixSystem.cxx:2119<br>
#3 0x00007f1626fb49fb in TUnixSystem::StackTrace() (this=0x5628cd1c2fb0) at /home/gate/Softwares/root/core/unix/src/TUnixSystem.cxx:2413<br>
#4 0x00007f1626fb73e4 in TUnixSystem::DispatchSignals(ESignals) (this=0x5628cd1c2fb0, sig=kSigSegmentationViolation) at /home/gate/Softwares/root/core/unix/src/TUnixSystem.cxx:3644<br>
#5 0x00007f1625127890 in <signal handler called> () at /lib/x86_64-linux-gnu/libpthread.so.0<br>
#6 0x00005628d150db30 in ()<br>
#7 0x00005628ca58cde8 in GateMaterialDatabase::~GateMaterialDatabase() ()<br>
#8 0x00005628ca50f3e6 in GateDetectorConstruction::~GateDetectorConstruction() ()<br>
#9 0x00007f162446f056 in G4RunManager::DeleteUserInitializations() () at /usr/share/geant4/geant4.10.04.p02-install/lib/libG4run.so<br>
#10 0x00007f1624470250 in G4RunManager::~G4RunManager() () at /usr/share/geant4/geant4.10.04.p02-install/lib/libG4run.so<br>
#11 0x00005628caa8e6d9 in GateRunManager::~GateRunManager() ()<br>
#12 0x00005628ca4863b5 in main ()<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 0x00005628d150db30 in ()<br>
#7 0x00005628ca58cde8 in GateMaterialDatabase::~GateMaterialDatabase() ()<br>
#8 0x00005628ca50f3e6 in GateDetectorConstruction::~GateDetectorConstruction() ()<br>
#9 0x00007f162446f056 in G4RunManager::DeleteUserInitializations() () at /usr/share/geant4/geant4.10.04.p02-install/lib/libG4run.so<br>
#10 0x00007f1624470250 in G4RunManager::~G4RunManager() () at /usr/share/geant4/geant4.10.04.p02-install/lib/libG4run.so<br>
#11 0x00005628caa8e6d9 in GateRunManager::~GateRunManager() ()<br>
#12 0x00005628ca4863b5 in main ()<br>
===========================================================<br>
<br>
<br>
WARNING - Attempt to delete the physical volume store while geometry closed !<br>
WARNING - Attempt to delete the logical volume store while geometry closed !<br>
WARNING - Attempt to delete the solid store while geometry closed !<br>
WARNING - Attempt to delete the region store while geometry closed !<br>
<br>
Regards,<br>
Ashok<br>
<br>
<br>
<br>
<br>
********************************************************************************************************************<br>
<br>
This message may contain confidential information. If you are not the intended recipient please inform the<br>
sender that you have received the message in error before deleting it.<br>
Please do not disclose, copy or distribute information in this e-mail or take any action in relation to its contents. To do so is strictly prohibited and may be unlawful. Thank you for your co-operation.<br>
<br>
NHSmail is the secure email and directory service available for all NHS staff in England and Scotland. NHSmail is approved for exchanging patient data and other sensitive information with NHSmail and other accredited email services.<br>
<br>
For more information and to find out how you can switch, <a href="https://portal.nhs.net/help/joiningnhsmail">
https://portal.nhs.net/help/joiningnhsmail</a><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></div>
</span></font>
</body>
</html>