<html><body>Hello,<br><br>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?<br><br><br>Warning in <TClass::TClass>: no dictionary for class TH1D is available<br>Warning in <TClass::TClass>: no dictionary for class TH1 is available<br>Warning in <TClass::TClass>: no dictionary for class TAxis is available<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 0x7fadfa2f9700 (LWP 3715)):<br>#0 0x00007fae08b7ffdd in poll () at ../sysdeps/unix/syscall-template.S:81<br>#1 0x00007fae063e3fe4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0<br>#2 0x00007fae063e40ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0<br>#3 0x00007fadfa3011ad in ?? () from /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so<br>#4 0x00007fae06408f05 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0<br>#5 0x00007fae08460184 in start_thread (arg=0x7fadfa2f9700) at pthread_create.c:312<br>#6 0x00007fae08b8d37d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111<br><br>Thread 4 (Thread 0x7fadf9af8700 (LWP 3716)):<br>#0 0x00007fae08b7ffdd in poll () at ../sysdeps/unix/syscall-template.S:81<br>#1 0x00007fae063e3fe4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0<br>#2 0x00007fae063e430a in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0<br>#3 0x00007fadfecd3336 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0<br>#4 0x00007fae06408f05 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0<br>#5 0x00007fae08460184 in start_thread (arg=0x7fadf9af8700) at pthread_create.c:312<br>#6 0x00007fae08b8d37d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111<br><br>Thread 3 (Thread 0x7fadf2605700 (LWP 3717)):<br>#0 0x00007fae08b7ffdd in poll () at ../sysdeps/unix/syscall-template.S:81<br>#1 0x00007fae063e3fe4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0<br>#2 0x00007fae063e40ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0<br>#3 0x00007fae063e4129 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0<br>#4 0x00007fae06408f05 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0<br>#5 0x00007fae08460184 in start_thread (arg=0x7fadf2605700) at pthread_create.c:312<br>#6 0x00007fae08b8d37d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111<br><br>Thread 2 (Thread 0x7fadd5ffb700 (LWP 3762)):<br>#0 pthread_cond_timedwait<br><br>GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238<br>#1 0x00007fae06425ce5 in g_cond_wait_until () from /lib/x86_64-linux-gnu/libglib-2.0.so.0<br>#2 0x00007fae063ba1c1 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0<br>#3 0x00007fae063ba74b in g_async_queue_timeout_pop () from /lib/x86_64-linux-gnu/libglib-2.0.so.0<br>#4 0x00007fae06409956 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0<br>#5 0x00007fae06408f05 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0<br>#6 0x00007fae08460184 in start_thread (arg=0x7fadd5ffb700) at pthread_create.c:312<br>#7 0x00007fae08b8d37d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111<br><br>Thread 1 (Thread 0x7fae0b7801c0 (LWP 3714)):<br>#0 0x00007fae08b53a59 in __libc_waitpid (pid=3789, stat_loc=stat_loc<br>entry=0x7ffd716a7c00, options=options<br>entry=0) at ../sysdeps/unix/sysv/linux/waitpid.c:40<br>#1 0x00007fae08ad9232 in do_system (line=<optimized out>) at ../sysdeps/posix/system.c:148<br>#2 0x00007fae0b104f23 in TUnixSystem::StackTrace() () from /home/zakarumit/Desktop/7.2/root5.34.34/lib/libCore.so<br>#3 0x00007fae0b106b4c in TUnixSystem::DispatchSignals(ESignals) () from /home/zakarumit/Desktop/7.2/root5.34.34/lib/libCore.so<br>#4 <signal handler called><br>#5 0x000000000040a2a4 in GATE_PET_2_STIR::create_ROOT_michelogram (this=0x7ffd716ab1b0) at gate_pet_2_stir.cpp:590<br>#6 0x000000000040889b in GATE_PET_2_STIR::on_actionSelectROOTfiles_triggered (this=0x7ffd716ab1b0) at gate_pet_2_stir.cpp:248<br>#7 0x00000000004292ac in GATE_PET_2_STIR::qt_static_metacall (_o=0x7ffd716ab1b0, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0x7ffd716aa450) at moc_gate_pet_2_stir.cpp:63<br>#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<br>#9 0x00007fae09503a78 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4<br>#10 0x00007fae09a1aa62 in QAction::triggered(bool) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4<br>#11 0x00007fae09a1c433 in QAction::activate(QAction::ActionEvent) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4<br>#12 0x00007fae0950387a in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4<br>#13 0x00007fae09dd2af6 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4<br>#14 0x00007fae09dd309c in QAbstractButton::mousePressEvent(QMouseEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4<br>#15 0x00007fae09a7038b in QWidget::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4<br>#16 0x00007fae09a20e2c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4<br>#17 0x00007fae09a275dd in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4<br>#18 0x00007fae094ef4dd in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4<br>#19 0x00007fae09a26d93 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4<br>#20 0x00007fae09a9b9eb in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4<br>#21 0x00007fae09a9b289 in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4<br>#22 0x00007fae09ac2b32 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4<br>#23 0x00007fae063e3e04 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0<br>#24 0x00007fae063e4048 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0<br>#25 0x00007fae063e40ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0<br>#26 0x00007fae0951c7a1 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4<br>#27 0x00007fae09ac2be6 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4<br>#28 0x00007fae094ee0af in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4<br>#29 0x00007fae094ee3a5 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4<br>#30 0x00007fae094f3b79 in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4<br>#31 0x00000000004071a0 in main (argc=1, argv=0x7ffd716ab488) at main.cpp:21<br>===========================================================<br><br><br>The lines below might hint at the cause of the crash.<br>If they do not help you then please submit a bug report at<br>http://root.cern.ch/bugs. 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>#5 0x000000000040a2a4 in GATE_PET_2_STIR::create_ROOT_michelogram (this=0x7ffd716ab1b0) at gate_pet_2_stir.cpp:590<br>#6 0x000000000040889b in GATE_PET_2_STIR::on_actionSelectROOTfiles_triggered (this=0x7ffd716ab1b0) at gate_pet_2_stir.cpp:248<br>#7 0x00000000004292ac in GATE_PET_2_STIR::qt_static_metacall (_o=0x7ffd716ab1b0, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0x7ffd716aa450) at moc_gate_pet_2_stir.cpp:63<br>#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<br>#9 0x00007fae09503a78 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4<br>#10 0x00007fae09a1aa62 in QAction::triggered(bool) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4<br>#11 0x00007fae09a1c433 in QAction::activate(QAction::ActionEvent) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4<br>#12 0x00007fae0950387a in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4<br>#13 0x00007fae09dd2af6 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4<br>#14 0x00007fae09dd309c in QAbstractButton::mousePressEvent(QMouseEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4<br>#15 0x00007fae09a7038b in QWidget::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4<br>#16 0x00007fae09a20e2c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4<br>#17 0x00007fae09a275dd in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4<br>#18 0x00007fae094ef4dd in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4<br>#19 0x00007fae09a26d93 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4<br>#20 0x00007fae09a9b9eb in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4<br>#21 0x00007fae09a9b289 in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4<br>#22 0x00007fae09ac2b32 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4<br>#23 0x00007fae063e3e04 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0<br>#24 0x00007fae063e4048 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0<br>#25 0x00007fae063e40ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0<br>#26 0x00007fae0951c7a1 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4<br>#27 0x00007fae09ac2be6 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4<br>#28 0x00007fae094ee0af in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4<br>#29 0x00007fae094ee3a5 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4<br>#30 0x00007fae094f3b79 in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4<br>#31 0x00000000004071a0 in main (argc=1, argv=0x7ffd716ab488) at main.cpp:21<br>===========================================================<br><br><br>Segmentation fault (core dumped)<br>zakarumit@zakarumit-M50Vc:~/Desktop/7.2/GATE_PET_2_STIR$ <br><br>Thank you in advance.<br>Best regards,<br><br>Jiri<br><br><br></body></html>