[Gate-users] GATE_PET_2_STIR

Zakarumit.Z at seznam.cz Zakarumit.Z at seznam.cz
Tue Mar 7 09:54:51 CET 2017


Hello,

I am trying to use GATE_PET_2_STIR software in order to convert my ROOT 
files (output of my GATE PET simulation) into STIR projection files. I load 
my macro without problems but my efforts end when I try to load the root 
file for conversion and I receive following crash - has anyone seen this 
behaviour or can someone tell me whats the problem?


Warning in <TClass::TClass>: no dictionary for class TH1D is available
Warning in <TClass::TClass>: no dictionary for class TH1 is available
Warning in <TClass::TClass>: no dictionary for class TAxis is available

 *** Break *** segmentation violation



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

Thread 5 (Thread 0x7fadfa2f9700 (LWP 3715)):
#0  0x00007fae08b7ffdd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fae063e3fe4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fae063e40ec in g_main_context_iteration () from /lib/x86_64-linux
-gnu/libglib-2.0.so.0
#3  0x00007fadfa3011ad in ?? () from /usr/lib/x86_64-linux-gnu/gio/modules/
libdconfsettings.so
#4  0x00007fae06408f05 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fae08460184 in start_thread (arg=0x7fadfa2f9700) at pthread_
create.c:312
#6  0x00007fae08b8d37d in clone () at ../sysdeps/unix/sysv/linux/x86_64/
clone.S:111

Thread 4 (Thread 0x7fadf9af8700 (LWP 3716)):
#0  0x00007fae08b7ffdd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fae063e3fe4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fae063e430a in g_main_loop_run () from /lib/x86_64-linux-gnu/
libglib-2.0.so.0
#3  0x00007fadfecd3336 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.
so.0
#4  0x00007fae06408f05 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fae08460184 in start_thread (arg=0x7fadf9af8700) at pthread_
create.c:312
#6  0x00007fae08b8d37d in clone () at ../sysdeps/unix/sysv/linux/x86_64/
clone.S:111

Thread 3 (Thread 0x7fadf2605700 (LWP 3717)):
#0  0x00007fae08b7ffdd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fae063e3fe4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fae063e40ec in g_main_context_iteration () from /lib/x86_64-linux
-gnu/libglib-2.0.so.0
#3  0x00007fae063e4129 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fae06408f05 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fae08460184 in start_thread (arg=0x7fadf2605700) at pthread_
create.c:312
#6  0x00007fae08b8d37d in clone () at ../sysdeps/unix/sysv/linux/x86_64/
clone.S:111

Thread 2 (Thread 0x7fadd5ffb700 (LWP 3762)):
#0  pthread_cond_timedwait

GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_
timedwait.S:238
#1  0x00007fae06425ce5 in g_cond_wait_until () from /lib/x86_64-linux-gnu/
libglib-2.0.so.0
#2  0x00007fae063ba1c1 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fae063ba74b in g_async_queue_timeout_pop () from /lib/x86_64-
linux-gnu/libglib-2.0.so.0
#4  0x00007fae06409956 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fae06408f05 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007fae08460184 in start_thread (arg=0x7fadd5ffb700) at pthread_
create.c:312
#7  0x00007fae08b8d37d in clone () at ../sysdeps/unix/sysv/linux/x86_64/
clone.S:111

Thread 1 (Thread 0x7fae0b7801c0 (LWP 3714)):
#0  0x00007fae08b53a59 in __libc_waitpid (pid=3789, stat_loc=stat_loc
entry=0x7ffd716a7c00, options=options
entry=0) at ../sysdeps/unix/sysv/linux/waitpid.c:40
#1  0x00007fae08ad9232 in do_system (line=<optimized out>) at ../sysdeps/
posix/system.c:148
#2  0x00007fae0b104f23 in TUnixSystem::StackTrace() () from /home/zakarumit/
Desktop/7.2/root5.34.34/lib/libCore.so
#3  0x00007fae0b106b4c in TUnixSystem::DispatchSignals(ESignals) () from /
home/zakarumit/Desktop/7.2/root5.34.34/lib/libCore.so
#4  <signal handler called>
#5  0x000000000040a2a4 in GATE_PET_2_STIR::create_ROOT_michelogram (this=0x7
ffd716ab1b0) at gate_pet_2_stir.cpp:590
#6  0x000000000040889b in GATE_PET_2_STIR::on_actionSelectROOTfiles_
triggered (this=0x7ffd716ab1b0) at gate_pet_2_stir.cpp:248
#7  0x00000000004292ac in GATE_PET_2_STIR::qt_static_metacall (_o=0x7ffd716
ab1b0, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0x7ffd716aa450) at moc_
gate_pet_2_stir.cpp:63
#8  0x00000000004293e2 in GATE_PET_2_STIR::qt_metacall (this=0x7ffd716ab1b0,
_c=QMetaObject::InvokeMetaMethod, _id=2, _a=0x7ffd716aa450) at moc_gate_pet_
2_stir.cpp:106
#9  0x00007fae09503a78 in QMetaObject::activate(QObject*, QMetaObject 
const*, int, void**) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#10 0x00007fae09a1aa62 in QAction::triggered(bool) () from /usr/lib/x86_64-
linux-gnu/libQtGui.so.4
#11 0x00007fae09a1c433 in QAction::activate(QAction::ActionEvent) () from /
usr/lib/x86_64-linux-gnu/libQtGui.so.4
#12 0x00007fae0950387a in QMetaObject::activate(QObject*, QMetaObject 
const*, int, void**) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#13 0x00007fae09dd2af6 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#14 0x00007fae09dd309c in QAbstractButton::mousePressEvent(QMouseEvent*) () 
from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#15 0x00007fae09a7038b in QWidget::event(QEvent*) () from /usr/lib/x86_64-
linux-gnu/libQtGui.so.4
#16 0x00007fae09a20e2c in QApplicationPrivate::notify_helper(QObject*, 
QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#17 0x00007fae09a275dd in QApplication::notify(QObject*, QEvent*) () from /
usr/lib/x86_64-linux-gnu/libQtGui.so.4
#18 0x00007fae094ef4dd in QCoreApplication::notifyInternal(QObject*, 
QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#19 0x00007fae09a26d93 in QApplicationPrivate::sendMouseEvent(QWidget*, 
QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () 
from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#20 0x00007fae09a9b9eb in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#21 0x00007fae09a9b289 in QApplication::x11ProcessEvent(_XEvent*) () from /
usr/lib/x86_64-linux-gnu/libQtGui.so.4
#22 0x00007fae09ac2b32 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#23 0x00007fae063e3e04 in g_main_context_dispatch () from /lib/x86_64-linux-
gnu/libglib-2.0.so.0
#24 0x00007fae063e4048 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#25 0x00007fae063e40ec in g_main_context_iteration () from /lib/x86_64-linux
-gnu/libglib-2.0.so.0
#26 0x00007fae0951c7a1 in QEventDispatcherGlib::processEvents(QFlags<
QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.
so.4
#27 0x00007fae09ac2be6 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#28 0x00007fae094ee0af in QEventLoop::processEvents(QFlags<QEventLoop::
ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#29 0x00007fae094ee3a5 in QEventLoop::exec(QFlags<QEventLoop::
ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#30 0x00007fae094f3b79 in QCoreApplication::exec() () from /usr/lib/x86_64-
linux-gnu/libQtCore.so.4
#31 0x00000000004071a0 in main (argc=1, argv=0x7ffd716ab488) at main.cpp:21
===========================================================


The lines below might hint at the cause of the crash.
If they do not help you then please submit a bug 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.
===========================================================
#5  0x000000000040a2a4 in GATE_PET_2_STIR::create_ROOT_michelogram (this=0x7
ffd716ab1b0) at gate_pet_2_stir.cpp:590
#6  0x000000000040889b in GATE_PET_2_STIR::on_actionSelectROOTfiles_
triggered (this=0x7ffd716ab1b0) at gate_pet_2_stir.cpp:248
#7  0x00000000004292ac in GATE_PET_2_STIR::qt_static_metacall (_o=0x7ffd716
ab1b0, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0x7ffd716aa450) at moc_
gate_pet_2_stir.cpp:63
#8  0x00000000004293e2 in GATE_PET_2_STIR::qt_metacall (this=0x7ffd716ab1b0,
_c=QMetaObject::InvokeMetaMethod, _id=2, _a=0x7ffd716aa450) at moc_gate_pet_
2_stir.cpp:106
#9  0x00007fae09503a78 in QMetaObject::activate(QObject*, QMetaObject 
const*, int, void**) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#10 0x00007fae09a1aa62 in QAction::triggered(bool) () from /usr/lib/x86_64-
linux-gnu/libQtGui.so.4
#11 0x00007fae09a1c433 in QAction::activate(QAction::ActionEvent) () from /
usr/lib/x86_64-linux-gnu/libQtGui.so.4
#12 0x00007fae0950387a in QMetaObject::activate(QObject*, QMetaObject 
const*, int, void**) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#13 0x00007fae09dd2af6 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#14 0x00007fae09dd309c in QAbstractButton::mousePressEvent(QMouseEvent*) () 
from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#15 0x00007fae09a7038b in QWidget::event(QEvent*) () from /usr/lib/x86_64-
linux-gnu/libQtGui.so.4
#16 0x00007fae09a20e2c in QApplicationPrivate::notify_helper(QObject*, 
QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#17 0x00007fae09a275dd in QApplication::notify(QObject*, QEvent*) () from /
usr/lib/x86_64-linux-gnu/libQtGui.so.4
#18 0x00007fae094ef4dd in QCoreApplication::notifyInternal(QObject*, 
QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#19 0x00007fae09a26d93 in QApplicationPrivate::sendMouseEvent(QWidget*, 
QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () 
from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#20 0x00007fae09a9b9eb in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#21 0x00007fae09a9b289 in QApplication::x11ProcessEvent(_XEvent*) () from /
usr/lib/x86_64-linux-gnu/libQtGui.so.4
#22 0x00007fae09ac2b32 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#23 0x00007fae063e3e04 in g_main_context_dispatch () from /lib/x86_64-linux-
gnu/libglib-2.0.so.0
#24 0x00007fae063e4048 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#25 0x00007fae063e40ec in g_main_context_iteration () from /lib/x86_64-linux
-gnu/libglib-2.0.so.0
#26 0x00007fae0951c7a1 in QEventDispatcherGlib::processEvents(QFlags<
QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.
so.4
#27 0x00007fae09ac2be6 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#28 0x00007fae094ee0af in QEventLoop::processEvents(QFlags<QEventLoop::
ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#29 0x00007fae094ee3a5 in QEventLoop::exec(QFlags<QEventLoop::
ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#30 0x00007fae094f3b79 in QCoreApplication::exec() () from /usr/lib/x86_64-
linux-gnu/libQtCore.so.4
#31 0x00000000004071a0 in main (argc=1, argv=0x7ffd716ab488) at main.cpp:21
===========================================================


Segmentation fault (core dumped)
zakarumit at zakarumit-M50Vc:~/Desktop/7.2/GATE_PET_2_STIR$ 

Thank you in advance.
Best regards,

Jiri

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20170307/f105a21a/attachment-0001.html>


More information about the Gate-users mailing list