[Gate-users] *** Break *** segmentation violation, vGATE8.1

David Boersma david.boersma at acmit.at
Thu Jan 17 09:19:49 CET 2019


Dear Ashok,


>From the stack trace it looks like the crash is happening in code related to the material database. If you are defining any special materials, could you maybe share your material db with us?


If you rebuild Gate with build type "RelWithDebInfo" then the stack trace should also include line numbers in source code files, that might be helpful.


Regards,

David

________________________________
Von: Gate-users <gate-users-bounces at lists.opengatecollaboration.org> im Auftrag von Ashok Tiwari <tiwarias at yahoo.com>
Gesendet: Mittwoch, 16. Jänner 2019 18:58:06
An: gate-users at lists.opengatecollaboration.org
Betreff: [Gate-users] *** Break *** segmentation violation, vGATE8.1

Dear community,

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:

Visualization Manager deleting...
G4 kernel has come to Quit state.

 *** Break *** segmentation violation
===========================================================
There was a crash.
This is the entire stack trace of all threads:
===========================================================
#0  0x00007f161fdc8687 in __GI___waitpid (pid=4437, stat_loc=stat_loc
entry=0x7fff4f1b4228, options=options
entry=0) at ../sysdeps/unix/sysv/linux/waitpid.c:30
#1  0x00007f161fd33067 in do_system (line=<optimized out>) at ../sysdeps/posix/system.c:149
#2  0x00007f1626fb49fb in TUnixSystem::Exec(char const*) (shellcmd=<optimized out>, this=0x5628cd1c2fb0) at /home/gate/Softwares/root/core/unix/src/TUnixSystem.cxx:2119
#3  0x00007f1626fb49fb in TUnixSystem::StackTrace() (this=0x5628cd1c2fb0) at /home/gate/Softwares/root/core/unix/src/TUnixSystem.cxx:2413
#4  0x00007f1626fb73e4 in TUnixSystem::DispatchSignals(ESignals) (this=0x5628cd1c2fb0, sig=kSigSegmentationViolation) at /home/gate/Softwares/root/core/unix/src/TUnixSystem.cxx:3644
#5  0x00007f1625127890 in <signal handler called> () at /lib/x86_64-linux-gnu/libpthread.so.0
#6  0x00005628d150db30 in  ()
#7  0x00005628ca58cde8 in GateMaterialDatabase::~GateMaterialDatabase() ()
#8  0x00005628ca50f3e6 in GateDetectorConstruction::~GateDetectorConstruction() ()
#9  0x00007f162446f056 in G4RunManager::DeleteUserInitializations() () at /usr/share/geant4/geant4.10.04.p02-install/lib/libG4run.so
#10 0x00007f1624470250 in G4RunManager::~G4RunManager() () at /usr/share/geant4/geant4.10.04.p02-install/lib/libG4run.so
#11 0x00005628caa8e6d9 in GateRunManager::~GateRunManager() ()
#12 0x00005628ca4863b5 in main ()
===========================================================

The lines below might hint at the cause of the crash.
You may get help by asking at the ROOT forum http://root.cern.ch/forum
Only if you are really convinced it is a bug in ROOT then please submit a
report at http://root.cern.ch/bugs Please post the ENTIRE stack trace
from above as an attachment in addition to anything else
that might help us fixing this issue.
===========================================================
#6  0x00005628d150db30 in  ()
#7  0x00005628ca58cde8 in GateMaterialDatabase::~GateMaterialDatabase() ()
#8  0x00005628ca50f3e6 in GateDetectorConstruction::~GateDetectorConstruction() ()
#9  0x00007f162446f056 in G4RunManager::DeleteUserInitializations() () at /usr/share/geant4/geant4.10.04.p02-install/lib/libG4run.so
#10 0x00007f1624470250 in G4RunManager::~G4RunManager() () at /usr/share/geant4/geant4.10.04.p02-install/lib/libG4run.so
#11 0x00005628caa8e6d9 in GateRunManager::~GateRunManager() ()
#12 0x00005628ca4863b5 in main ()
===========================================================


WARNING - Attempt to delete the physical volume store while geometry closed !
WARNING - Attempt to delete the logical volume store while geometry closed !
WARNING - Attempt to delete the solid store while geometry closed !
WARNING - Attempt to delete the region store while geometry closed !

Regards,
Ashok

_______________________________________________
Gate-users mailing list
Gate-users at lists.opengatecollaboration.org
http://lists.opengatecollaboration.org/mailman/listinfo/gate-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/pipermail/gate-users/attachments/20190117/c0fde704/attachment.html>


More information about the Gate-users mailing list