<div dir="ltr">Dear all,<div><br></div><div>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:</div><div>```</div><div>Graphics systems deleted.<br>Visualization Manager deleting...<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><br>Thread 5 (Thread 0x7f91491cd700 (LWP 45025)):<br>#0  0x00007f9166d5dc3d in poll () at /lib64/libc.so.6<br>#1  0x00007f916ec91c18 in qt_safe_poll(pollfd*, int, int, bool) () at /lib64/libQtCore.so.4<br>#2  0x00007f916ec41548 in QProcessManager::run() () at /lib64/libQtCore.so.4<br>#3  0x00007f916eb5b59f in QThreadPrivate::start(void*) () at /lib64/libQtCore.so.4<br>#4  0x00007f917184aea5 in start_thread () at /lib64/libpthread.so.0<br>#5  0x00007f9166d688dd in clone () at /lib64/libc.so.6<br><br>Thread 4 (Thread 0x7f913d2b6700 (LWP 45027)):<br>#0  0x00007f917184ea35 in pthread_cond_wait<br><br>GLIBC_2.3.2 () at /lib64/libpthread.so.0<br>#1  0x00007f91406dc81b in util_queue_thread_func () at /usr/lib64/dri/nouveau_dri.so<br>#2  0x00007f91406dc567 in impl_thrd_routine () at /usr/lib64/dri/nouveau_dri.so<br>#3  0x00007f917184aea5 in start_thread () at /lib64/libpthread.so.0<br>#4  0x00007f9166d688dd in clone () at /lib64/libc.so.6<br><br>Thread 3 (Thread 0x7f913a9c3700 (LWP 45028)):<br>#0  0x00007f9166d5dc3d in poll () at /lib64/libc.so.6<br>#1  0x00007f916388837c in g_main_context_iterate.isra.19 () at /lib64/libglib-2.0.so.0<br>#2  0x00007f91638884ac in g_main_context_iteration () at /lib64/libglib-2.0.so.0<br>#3  0x00007f91638884e9 in glib_worker_main () at /lib64/libglib-2.0.so.0<br>#4  0x00007f91638af540 in g_thread_proxy () at /lib64/libglib-2.0.so.0<br>#5  0x00007f917184aea5 in start_thread () at /lib64/libpthread.so.0<br>#6  0x00007f9166d688dd in clone () at /lib64/libc.so.6<br><br>Thread 2 (Thread 0x7f913a1c2700 (LWP 45029)):<br>#0  0x00007f9166d5dc3d in poll () at /lib64/libc.so.6<br>#1  0x00007f916388837c in g_main_context_iterate.isra.19 () at /lib64/libglib-2.0.so.0<br>#2  0x00007f91638886ca in g_main_loop_run () at /lib64/libglib-2.0.so.0<br>#3  0x00007f914f131c36 in gdbus_shared_thread_func () at /lib64/libgio-2.0.so.0<br>#4  0x00007f91638af540 in g_thread_proxy () at /lib64/libglib-2.0.so.0<br>#5  0x00007f917184aea5 in start_thread () at /lib64/libpthread.so.0<br>#6  0x00007f9166d688dd in clone () at /lib64/libc.so.6<br><br>Thread 1 (Thread 0x7f9177f1bec0 (LWP 45007)):<br>#0  0x00007f9166d2f4b9 in waitpid () at /lib64/libc.so.6<br>#1  0x00007f9166cacf62 in do_system () at /lib64/libc.so.6<br>#2  0x00007f9166cad311 in system () at /lib64/libc.so.6<br>#3  0x00007f9175b250c4 in TUnixSystem::StackTrace() () at /home/goldan/GATE/root/lib/libCore.so.6.18<br>#4  0x00007f9175b277fc in TUnixSystem::DispatchSignals(ESignals) () at /home/goldan/GATE/root/lib/libCore.so.6.18<br>#5  0x00007f9171852630 in <signal handler called> () at /lib64/libpthread.so.0<br>#6  0x00000000008e2535 in GateMaterialDatabase::~GateMaterialDatabase() ()<br>#7  0x000000000087a7c6 in GateDetectorConstruction::~GateDetectorConstruction() ()<br>#8  0x00007f916e8981e6 in G4RunManager::DeleteUserInitializations() (this=this<br>entry=0x20087a0) at /home/goldan/GATE/geant4.10.05.p01/source/run/src/G4RunManager.cc:236<br>#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<br>#10 0x0000000000830cf9 in GateRunManager::~GateRunManager() ()<br>#11 0x000000000050188f 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  0x00000000008e2535 in GateMaterialDatabase::~GateMaterialDatabase() ()<br>#7  0x000000000087a7c6 in GateDetectorConstruction::~GateDetectorConstruction() ()<br>#8  0x00007f916e8981e6 in G4RunManager::DeleteUserInitializations() (this=this<br>entry=0x20087a0) at /home/goldan/GATE/geant4.10.05.p01/source/run/src/G4RunManager.cc:236<br>#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<br>#10 0x0000000000830cf9 in GateRunManager::~GateRunManager() ()<br>#11 0x000000000050188f in main ()<br>===========================================================<br></div><div>The phantom in example is just a GATE github contribution file. Did anyone see this error before and have experience to share?</div><div><br></div><div>Best,</div><div>Xinjie</div><div><br></div></div>