[Gate-users] Unknow Error After Visulization

Xinjie Cao xinjie.cao at stonybrook.edu
Tue Jun 23 16:43:22 CEST 2020


Dear all,

I used the attached geometry visualization macro to see my phantom and
scanner geometry, the visualization with QT mode was good, but when I
closed the QT GUI, the following error showed:
```
Graphics systems deleted.
Visualization Manager deleting...

 *** Break *** segmentation violation



===========================================================
There was a crash.
This is the entire stack trace of all threads:
===========================================================

Thread 5 (Thread 0x7f91491cd700 (LWP 45025)):
#0  0x00007f9166d5dc3d in poll () at /lib64/libc.so.6
#1  0x00007f916ec91c18 in qt_safe_poll(pollfd*, int, int, bool) () at
/lib64/libQtCore.so.4
#2  0x00007f916ec41548 in QProcessManager::run() () at /lib64/libQtCore.so.4
#3  0x00007f916eb5b59f in QThreadPrivate::start(void*) () at
/lib64/libQtCore.so.4
#4  0x00007f917184aea5 in start_thread () at /lib64/libpthread.so.0
#5  0x00007f9166d688dd in clone () at /lib64/libc.so.6

Thread 4 (Thread 0x7f913d2b6700 (LWP 45027)):
#0  0x00007f917184ea35 in pthread_cond_wait

GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f91406dc81b in util_queue_thread_func () at
/usr/lib64/dri/nouveau_dri.so
#2  0x00007f91406dc567 in impl_thrd_routine () at
/usr/lib64/dri/nouveau_dri.so
#3  0x00007f917184aea5 in start_thread () at /lib64/libpthread.so.0
#4  0x00007f9166d688dd in clone () at /lib64/libc.so.6

Thread 3 (Thread 0x7f913a9c3700 (LWP 45028)):
#0  0x00007f9166d5dc3d in poll () at /lib64/libc.so.6
#1  0x00007f916388837c in g_main_context_iterate.isra.19 () at
/lib64/libglib-2.0.so.0
#2  0x00007f91638884ac in g_main_context_iteration () at
/lib64/libglib-2.0.so.0
#3  0x00007f91638884e9 in glib_worker_main () at /lib64/libglib-2.0.so.0
#4  0x00007f91638af540 in g_thread_proxy () at /lib64/libglib-2.0.so.0
#5  0x00007f917184aea5 in start_thread () at /lib64/libpthread.so.0
#6  0x00007f9166d688dd in clone () at /lib64/libc.so.6

Thread 2 (Thread 0x7f913a1c2700 (LWP 45029)):
#0  0x00007f9166d5dc3d in poll () at /lib64/libc.so.6
#1  0x00007f916388837c in g_main_context_iterate.isra.19 () at
/lib64/libglib-2.0.so.0
#2  0x00007f91638886ca in g_main_loop_run () at /lib64/libglib-2.0.so.0
#3  0x00007f914f131c36 in gdbus_shared_thread_func () at
/lib64/libgio-2.0.so.0
#4  0x00007f91638af540 in g_thread_proxy () at /lib64/libglib-2.0.so.0
#5  0x00007f917184aea5 in start_thread () at /lib64/libpthread.so.0
#6  0x00007f9166d688dd in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7f9177f1bec0 (LWP 45007)):
#0  0x00007f9166d2f4b9 in waitpid () at /lib64/libc.so.6
#1  0x00007f9166cacf62 in do_system () at /lib64/libc.so.6
#2  0x00007f9166cad311 in system () at /lib64/libc.so.6
#3  0x00007f9175b250c4 in TUnixSystem::StackTrace() () at
/home/goldan/GATE/root/lib/libCore.so.6.18
#4  0x00007f9175b277fc in TUnixSystem::DispatchSignals(ESignals) () at
/home/goldan/GATE/root/lib/libCore.so.6.18
#5  0x00007f9171852630 in <signal handler called> () at
/lib64/libpthread.so.0
#6  0x00000000008e2535 in GateMaterialDatabase::~GateMaterialDatabase() ()
#7  0x000000000087a7c6 in
GateDetectorConstruction::~GateDetectorConstruction() ()
#8  0x00007f916e8981e6 in G4RunManager::DeleteUserInitializations()
(this=this
entry=0x20087a0) at
/home/goldan/GATE/geant4.10.05.p01/source/run/src/G4RunManager.cc:236
#9  0x00007f916e898e75 in G4RunManager::~G4RunManager() (this=0x20087a0,
__in_chrg=<optimized out>) at
/home/goldan/GATE/geant4.10.05.p01/source/run/src/G4RunManager.cc:211
#10 0x0000000000830cf9 in GateRunManager::~GateRunManager() ()
#11 0x000000000050188f 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  0x00000000008e2535 in GateMaterialDatabase::~GateMaterialDatabase() ()
#7  0x000000000087a7c6 in
GateDetectorConstruction::~GateDetectorConstruction() ()
#8  0x00007f916e8981e6 in G4RunManager::DeleteUserInitializations()
(this=this
entry=0x20087a0) at
/home/goldan/GATE/geant4.10.05.p01/source/run/src/G4RunManager.cc:236
#9  0x00007f916e898e75 in G4RunManager::~G4RunManager() (this=0x20087a0,
__in_chrg=<optimized out>) at
/home/goldan/GATE/geant4.10.05.p01/source/run/src/G4RunManager.cc:211
#10 0x0000000000830cf9 in GateRunManager::~GateRunManager() ()
#11 0x000000000050188f in main ()
===========================================================
The phantom in example is just a GATE github contribution file. Did anyone
see this error before and have experience to share?

Best,
Xinjie
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/pipermail/gate-users/attachments/20200623/1e03661b/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Geo_Example.mac
Type: application/octet-stream
Size: 5723 bytes
Desc: not available
URL: <http://lists.opengatecollaboration.org/pipermail/gate-users/attachments/20200623/1e03661b/attachment-0003.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hoffman.h33
Type: application/octet-stream
Size: 1841 bytes
Desc: not available
URL: <http://lists.opengatecollaboration.org/pipermail/gate-users/attachments/20200623/1e03661b/attachment-0004.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hoffman.i33
Type: application/octet-stream
Size: 32768 bytes
Desc: not available
URL: <http://lists.opengatecollaboration.org/pipermail/gate-users/attachments/20200623/1e03661b/attachment-0005.obj>


More information about the Gate-users mailing list