[Gate-users] benchPET segmentation fault

Patay Gergely patay.gergely at mediso.hu
Fri Mar 27 13:40:07 CET 2015


Or maybe the phase of the Moon :)

The attached log clearly shows that the crash originates from
  CLHEP::MTwistEngine::showStatus() const ()


On 2015-03-27 13:33, LORENA VAZQUEZ CANELAS wrote:
> Hi all,
>
> It may be viewer that you're using or you can some “#” in startDAQ or you have
> wrong written the “setMaterialDatabase”. You can probe it to see happens.
>
>
> 2015-03-27 13:32 GMT+01:00 LORENA VAZQUEZ CANELAS <lorena.vazquez at usal.es
> <mailto:lorena.vazquez at usal.es>>:
>
>     Hi all,
>
>     It may be viewer that you're using or you can some “#” or you have wrong
>     written the “setMaterialDatabase”. You can probe it to see happens.
>
>
>
>     2015-03-27 13:23 GMT+01:00 Patay Gergely <patay.gergely at mediso.hu
>     <mailto:patay.gergely at mediso.hu>>:
>
>         Hi,
>
>         in short: comment out the
>
>         /gate/random/verbose 1
>
>         line in the benchPET.mac file.
>         For a more detailed explanation please read the discussion in mailing
>         list archive
>         (http://lists.__opengatecollaboration.org/__mailman/private/gate-users/__2014-September/007725.html
>         <http://lists.opengatecollaboration.org/mailman/private/gate-users/2014-September/007725.html>)
>
>         best regards,
>           Gergely
>
>
>
>         On 2015-03-27 13:12, imen elhamrouni wrote:
>
>             Hi again,
>
>             Sorry for my insistence, i launched the benchPET example from gate
>             but i have a
>             segmentation fault problem as you can see below , i wonder if anyone
>             have an idea
>
>                *** Break *** segmentation violation
>
>
>
>             ==============================__=============================
>             There was a crash (#8 0xb50bb93b in SigHandler(ESignals) () from
>             /home/imen/root/lib/libCore.__so).
>             This is the entire stack trace of all threads:
>             ==============================__=============================
>
>             Thread 4 (Thread 0xaf666b40 (LWP 5251)):
>             #0  0xb771f424 in __kernel_vsyscall ()
>             #1  0xb3eab7ab in poll () at ../sysdeps/unix/syscall-__template.S:81
>             #2  0xb207620b in g_poll () from /lib/i386-linux-gnu/libglib-2.__0.so.0
>             #3  0xb20673e8 in ?? () from /lib/i386-linux-gnu/libglib-2.__0.so.0
>             #4  0xb2067528 in g_main_context_iteration () from
>             /lib/i386-linux-gnu/libglib-2.__0.so.0
>             #5  0xaf71c670 in ?? () from
>             /usr/lib/i386-linux-gnu/gio/__modules/libdconfsettings.so
>             #6  0xb208d9aa in ?? () from /lib/i386-linux-gnu/libglib-2.__0.so.0
>             #7  0xb3f84f70 in start_thread (arg=0xaf666b40) at pthread_create.c:312
>             #8  0xb3eba70e in clone () at
>             ../sysdeps/unix/sysv/linux/__i386/clone.S:129
>
>             Thread 3 (Thread 0xaecffb40 (LWP 5252)):
>             #0  0xb771f424 in __kernel_vsyscall ()
>             #1  0xb3eab7ab in poll () at ../sysdeps/unix/syscall-__template.S:81
>             #2  0xb207620b in g_poll () from /lib/i386-linux-gnu/libglib-2.__0.so.0
>             #3  0xb20673e8 in ?? () from /lib/i386-linux-gnu/libglib-2.__0.so.0
>             #4  0xb206776b in g_main_loop_run () from
>             /lib/i386-linux-gnu/libglib-2.__0.so.0
>             #5  0xb00d936a in ?? () from /usr/lib/i386-linux-gnu/__libgio-2.0.so.0
>             #6  0xb208d9aa in ?? () from /lib/i386-linux-gnu/libglib-2.__0.so.0
>             #7  0xb3f84f70 in start_thread (arg=0xaecffb40) at pthread_create.c:312
>             #8  0xb3eba70e in clone () at
>             ../sysdeps/unix/sysv/linux/__i386/clone.S:129
>
>             Thread 2 (Thread 0xadec3b40 (LWP 5253)):
>             #0  0xb771f424 in __kernel_vsyscall ()
>             #1  0xb3eab7ab in poll () at ../sysdeps/unix/syscall-__template.S:81
>             #2  0xb207620b in g_poll () from /lib/i386-linux-gnu/libglib-2.__0.so.0
>             #3  0xb20673e8 in ?? () from /lib/i386-linux-gnu/libglib-2.__0.so.0
>             #4  0xb2067528 in g_main_context_iteration () from
>             /lib/i386-linux-gnu/libglib-2.__0.so.0
>             #5  0xb206757e in ?? () from /lib/i386-linux-gnu/libglib-2.__0.so.0
>             #6  0xb208d9aa in ?? () from /lib/i386-linux-gnu/libglib-2.__0.so.0
>             #7  0xb3f84f70 in start_thread (arg=0xadec3b40) at pthread_create.c:312
>             #8  0xb3eba70e in clone () at
>             ../sysdeps/unix/sysv/linux/__i386/clone.S:129
>
>             Thread 1 (Thread 0xb1f49000 (LWP 5250)):
>             #0  0xb771f424 in __kernel_vsyscall ()
>             #1  0xb3e83e7b in waitpid () at ../sysdeps/unix/syscall-__template.S:81
>             #2  0xb3e0dfcd in do_system (line=line
>             entry=0xa9dcc70 "/home/imen/root/etc/gdb-__backtrace.sh 5250 1>&2") at
>             ../sysdeps/posix/system.c:148
>             #3  0xb3e0e3d0 in __libc_system (line=line
>             entry=0xa9dcc70 "/home/imen/root/etc/gdb-__backtrace.sh 5250 1>&2") at
>             ../sysdeps/posix/system.c:184
>             #4  0xb3f8d10b in system (line=0xa9dcc70
>             "/home/imen/root/etc/gdb-__backtrace.sh
>             5250 1>&2") at pt-system.c:28
>             #5  0xb50b5a3b in TUnixSystem::Exec(char const*) () from
>             /home/imen/root/lib/libCore.so
>             #6  0xb50b9742 in TUnixSystem::StackTrace() () from
>             /home/imen/root/lib/libCore.so
>             #7  0xb50bb807 in TUnixSystem::DispatchSignals(__ESignals) () from
>             /home/imen/root/lib/libCore.so
>             #8  0xb50bb93b in SigHandler(ESignals) () from
>             /home/imen/root/lib/libCore.so
>             #9  0xb50b4912 in sighandler(int) () from /home/imen/root/lib/libCore.so
>             #10 <signal handler called>
>             #11 0xb56598d6 in CLHEP::MTwistEngine::__showStatus() const () from
>             /home/imen/geant4.9.6/geant4-__install/lib/libG4clhep.so
>             #12 0x08478693 in GateApplicationMgr::StartDAQ() ()
>             #13 0x0847e620 in
>             GateApplicationMgrMessenger::__SetNewValue(G4UIcommand*,
>             G4String) ()
>             #14 0xb570d8f6 in G4UIcommand::DoIt(G4String) () from
>             /home/imen/geant4.9.6/geant4-__install/lib/libG4intercoms.so
>             #15 0xb57246b7 in G4UImanager::ApplyCommand(char const*) () from
>             /home/imen/geant4.9.6/geant4-__install/lib/libG4intercoms.so
>             #16 0xb5724d65 in G4UImanager::ApplyCommand(__G4String const&) () from
>             /home/imen/geant4.9.6/geant4-__install/lib/libG4intercoms.so
>             #17 0xb56fc797 in G4UIbatch::ExecCommand(__G4String const&) () from
>             /home/imen/geant4.9.6/geant4-__install/lib/libG4intercoms.so
>             #18 0xb56fdc7c in G4UIbatch::SessionStart() () from
>             /home/imen/geant4.9.6/geant4-__install/lib/libG4intercoms.so
>             #19 0xb57208b5 in G4UImanager::ExecuteMacroFile(__char const*) () from
>             /home/imen/geant4.9.6/geant4-__install/lib/libG4intercoms.so
>             #20 0xb5717bf2 in G4UIcontrolMessenger::__SetNewValue(G4UIcommand*,
>             G4String) ()
>             from /home/imen/geant4.9.6/geant4-__install/lib/libG4intercoms.so
>             #21 0xb570d8f6 in G4UIcommand::DoIt(G4String) () from
>             /home/imen/geant4.9.6/geant4-__install/lib/libG4intercoms.so
>             #22 0xb57246b7 in G4UImanager::ApplyCommand(char const*) () from
>             /home/imen/geant4.9.6/geant4-__install/lib/libG4intercoms.so
>             #23 0xb5724d65 in G4UImanager::ApplyCommand(__G4String const&) () from
>             /home/imen/geant4.9.6/geant4-__install/lib/libG4intercoms.so
>             #24 0xb73e85ca in G4VBasicShell::ExecuteCommand(__G4String const&)
>             () from
>             /home/imen/geant4.9.6/geant4-__install/lib/libG4interfaces.so
>             #25 0xb73ed12e in G4VBasicShell::__ApplyShellCommand(G4String
>             const&, bool&,
>             bool&) () from
>             /home/imen/geant4.9.6/geant4-__install/lib/libG4interfaces.so
>             #26 0xb73dc3ce in G4UIQt::__CommandEnteredCallback() () from
>             /home/imen/geant4.9.6/geant4-__install/lib/libG4interfaces.so
>             #27 0xb73e4800 in G4UIQt::qt_static_metacall(__QObject*,
>             QMetaObject::Call, int,
>             void**) [clone .part.0] () from
>             /home/imen/geant4.9.6/geant4-__install/lib/libG4interfaces.so
>             #28 0xb2ee40f7 in QMetaObject::activate(QObject*__, QMetaObject
>             const*, int,
>             void**) () from /usr/lib/i386-linux-gnu/__libQtCore.so.4
>             #29 0xb35e8075 in QLineEdit::returnPressed() () from
>             /usr/lib/i386-linux-gnu/__libQtGui.so.4
>             #30 0xb35e84bc in ?? () from /usr/lib/i386-linux-gnu/__libQtGui.so.4
>             #31 0xb2ee40f7 in QMetaObject::activate(QObject*__, QMetaObject
>             const*, int,
>             void**) () from /usr/lib/i386-linux-gnu/__libQtCore.so.4
>             #32 0xb3877e45 in QLineControl::accepted() () from
>             /usr/lib/i386-linux-gnu/__libQtGui.so.4
>             #33 0xb35efc9f in QLineControl::processKeyEvent(__QKeyEvent*) () from
>             /usr/lib/i386-linux-gnu/__libQtGui.so.4
>             #34 0xb35e402f in QLineEdit::keyPressEvent(__QKeyEvent*) () from
>             /usr/lib/i386-linux-gnu/__libQtGui.so.4
>             #35 0xb31d1252 in QWidget::event(QEvent*) () from
>             /usr/lib/i386-linux-gnu/__libQtGui.so.4
>             #36 0xb35e9f0a in QLineEdit::event(QEvent*) () from
>             /usr/lib/i386-linux-gnu/__libQtGui.so.4
>             #37 0xb31777f4 in QApplicationPrivate::notify___helper(QObject*,
>             QEvent*) () from
>             /usr/lib/i386-linux-gnu/__libQtGui.so.4
>             #38 0xb317fb65 in QApplication::notify(QObject*, QEvent*) () from
>             /usr/lib/i386-linux-gnu/__libQtGui.so.4
>             #39 0xb2ecee4a in QCoreApplication::__notifyInternal(QObject*,
>             QEvent*) () from
>             /usr/lib/i386-linux-gnu/__libQtCore.so.4
>             #40 0xb3175c7d in ?? () from /usr/lib/i386-linux-gnu/__libQtGui.so.4
>             #41 0xb3229829 in ?? () from /usr/lib/i386-linux-gnu/__libQtGui.so.4
>             #42 0xb3229c18 in ?? () from /usr/lib/i386-linux-gnu/__libQtGui.so.4
>             #43 0xb31ffda5 in QApplication::x11ProcessEvent(___XEvent*) () from
>             /usr/lib/i386-linux-gnu/__libQtGui.so.4
>             #44 0xb322c524 in ?? () from /usr/lib/i386-linux-gnu/__libQtGui.so.4
>             #45 0xb20671e3 in g_main_context_dispatch () from
>             /lib/i386-linux-gnu/libglib-2.__0.so.0
>             #46 0xb2067468 in ?? () from /lib/i386-linux-gnu/libglib-2.__0.so.0
>             #47 0xb2067528 in g_main_context_iteration () from
>             /lib/i386-linux-gnu/libglib-2.__0.so.0
>             #48 0xb2efe93b in
>             QEventDispatcherGlib::__processEvents(QFlags<__QEventLoop::ProcessEventsFlag>__)
>             ()
>             from /usr/lib/i386-linux-gnu/__libQtCore.so.4
>             #49 0xb322c5de in ?? () from /usr/lib/i386-linux-gnu/__libQtGui.so.4
>             #50 0xb2ecd823 in
>             QEventLoop::processEvents(__QFlags<QEventLoop::__ProcessEventsFlag>)
>             () from
>             /usr/lib/i386-linux-gnu/__libQtCore.so.4
>             #51 0xb2ecdb49 in
>             QEventLoop::exec(QFlags<__QEventLoop::ProcessEventsFlag>__) ()
>             from /usr/lib/i386-linux-gnu/__libQtCore.so.4
>             #52 0xb2ed38fe in QCoreApplication::exec() () from
>             /usr/lib/i386-linux-gnu/__libQtCore.so.4
>             #53 0xb3175a24 in QApplication::exec() () from
>             /usr/lib/i386-linux-gnu/__libQtGui.so.4
>             #54 0xb73cf388 in G4UIQt::SessionStart() () from
>             /home/imen/geant4.9.6/geant4-__install/lib/libG4interfaces.so
>             #55 0xb73c0972 in G4UIExecutive::SessionStart() () from
>             /home/imen/geant4.9.6/geant4-__install/lib/libG4interfaces.so
>             #56 0x08112b14 in main ()
>             ==============================__=============================
>
>
>             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.
>             ==============================__=============================
>             #11 0xb56598d6 in CLHEP::MTwistEngine::__showStatus() const () from
>             /home/imen/geant4.9.6/geant4-__install/lib/libG4clhep.so
>             #12 0x08478693 in GateApplicationMgr::StartDAQ() ()
>             #13 0x0847e620 in
>             GateApplicationMgrMessenger::__SetNewValue(G4UIcommand*,
>             G4String) ()
>             #14 0xb570d8f6 in G4UIcommand::DoIt(G4String) () from
>             /home/imen/geant4.9.6/geant4-__install/lib/libG4intercoms.so
>             #15 0xb57246b7 in G4UImanager::ApplyCommand(char const*) () from
>             /home/imen/geant4.9.6/geant4-__install/lib/libG4intercoms.so
>             #16 0xb5724d65 in G4UImanager::ApplyCommand(__G4String const&) () from
>             /home/imen/geant4.9.6/geant4-__install/lib/libG4intercoms.so
>             #17 0xb56fc797 in G4UIbatch::ExecCommand(__G4String const&) () from
>             /home/imen/geant4.9.6/geant4-__install/lib/libG4intercoms.so
>             #18 0xb56fdc7c in G4UIbatch::SessionStart() () from
>             /home/imen/geant4.9.6/geant4-__install/lib/libG4intercoms.so
>             #19 0xb57208b5 in G4UImanager::ExecuteMacroFile(__char const*) () from
>             /home/imen/geant4.9.6/geant4-__install/lib/libG4intercoms.so
>             #20 0xb5717bf2 in G4UIcontrolMessenger::__SetNewValue(G4UIcommand*,
>             G4String) ()
>             from /home/imen/geant4.9.6/geant4-__install/lib/libG4intercoms.so
>             #21 0xb570d8f6 in G4UIcommand::DoIt(G4String) () from
>             /home/imen/geant4.9.6/geant4-__install/lib/libG4intercoms.so
>             #22 0xb57246b7 in G4UImanager::ApplyCommand(char const*) () from
>             /home/imen/geant4.9.6/geant4-__install/lib/libG4intercoms.so
>             #23 0xb5724d65 in G4UImanager::ApplyCommand(__G4String const&) () from
>             /home/imen/geant4.9.6/geant4-__install/lib/libG4intercoms.so
>             #24 0xb73e85ca in G4VBasicShell::ExecuteCommand(__G4String const&)
>             () from
>             /home/imen/geant4.9.6/geant4-__install/lib/libG4interfaces.so
>             #25 0xb73ed12e in G4VBasicShell::__ApplyShellCommand(G4String
>             const&, bool&,
>             bool&) () from
>             /home/imen/geant4.9.6/geant4-__install/lib/libG4interfaces.so
>             #26 0xb73dc3ce in G4UIQt::__CommandEnteredCallback() () from
>             /home/imen/geant4.9.6/geant4-__install/lib/libG4interfaces.so
>             #27 0xb73e4800 in G4UIQt::qt_static_metacall(__QObject*,
>             QMetaObject::Call, int,
>             void**) [clone .part.0] () from
>             /home/imen/geant4.9.6/geant4-__install/lib/libG4interfaces.so
>             #28 0xb2ee40f7 in QMetaObject::activate(QObject*__, QMetaObject
>             const*, int,
>             void**) () from /usr/lib/i386-linux-gnu/__libQtCore.so.4
>             #29 0xb35e8075 in QLineEdit::returnPressed() () from
>             /usr/lib/i386-linux-gnu/__libQtGui.so.4
>             #30 0xb35e84bc in ?? () from /usr/lib/i386-linux-gnu/__libQtGui.so.4
>             #31 0xb2ee40f7 in QMetaObject::activate(QObject*__, QMetaObject
>             const*, int,
>             void**) () from /usr/lib/i386-linux-gnu/__libQtCore.so.4
>             #32 0xb3877e45 in QLineControl::accepted() () from
>             /usr/lib/i386-linux-gnu/__libQtGui.so.4
>             #33 0xb35efc9f in QLineControl::processKeyEvent(__QKeyEvent*) () from
>             /usr/lib/i386-linux-gnu/__libQtGui.so.4
>             #34 0xb35e402f in QLineEdit::keyPressEvent(__QKeyEvent*) () from
>             /usr/lib/i386-linux-gnu/__libQtGui.so.4
>             #35 0xb31d1252 in QWidget::event(QEvent*) () from
>             /usr/lib/i386-linux-gnu/__libQtGui.so.4
>             #36 0xb35e9f0a in QLineEdit::event(QEvent*) () from
>             /usr/lib/i386-linux-gnu/__libQtGui.so.4
>             #37 0xb31777f4 in QApplicationPrivate::notify___helper(QObject*,
>             QEvent*) () from
>             /usr/lib/i386-linux-gnu/__libQtGui.so.4
>             #38 0xb317fb65 in QApplication::notify(QObject*, QEvent*) () from
>             /usr/lib/i386-linux-gnu/__libQtGui.so.4
>             #39 0xb2ecee4a in QCoreApplication::__notifyInternal(QObject*,
>             QEvent*) () from
>             /usr/lib/i386-linux-gnu/__libQtCore.so.4
>             #40 0xb3175c7d in ?? () from /usr/lib/i386-linux-gnu/__libQtGui.so.4
>             #41 0xb3229829 in ?? () from /usr/lib/i386-linux-gnu/__libQtGui.so.4
>             #42 0xb3229c18 in ?? () from /usr/lib/i386-linux-gnu/__libQtGui.so.4
>             #43 0xb31ffda5 in QApplication::x11ProcessEvent(___XEvent*) () from
>             /usr/lib/i386-linux-gnu/__libQtGui.so.4
>             #44 0xb322c524 in ?? () from /usr/lib/i386-linux-gnu/__libQtGui.so.4
>             #45 0xb20671e3 in g_main_context_dispatch () from
>             /lib/i386-linux-gnu/libglib-2.__0.so.0
>             #46 0xb2067468 in ?? () from /lib/i386-linux-gnu/libglib-2.__0.so.0
>             #47 0xb2067528 in g_main_context_iteration () from
>             /lib/i386-linux-gnu/libglib-2.__0.so.0
>             #48 0xb2efe93b in
>             QEventDispatcherGlib::__processEvents(QFlags<__QEventLoop::ProcessEventsFlag>__)
>             ()
>             from /usr/lib/i386-linux-gnu/__libQtCore.so.4
>             #49 0xb322c5de in ?? () from /usr/lib/i386-linux-gnu/__libQtGui.so.4
>             #50 0xb2ecd823 in
>             QEventLoop::processEvents(__QFlags<QEventLoop::__ProcessEventsFlag>)
>             () from
>             /usr/lib/i386-linux-gnu/__libQtCore.so.4
>             #51 0xb2ecdb49 in
>             QEventLoop::exec(QFlags<__QEventLoop::ProcessEventsFlag>__) ()
>             from /usr/lib/i386-linux-gnu/__libQtCore.so.4
>             #52 0xb2ed38fe in QCoreApplication::exec() () from
>             /usr/lib/i386-linux-gnu/__libQtCore.so.4
>             #53 0xb3175a24 in QApplication::exec() () from
>             /usr/lib/i386-linux-gnu/__libQtGui.so.4
>             #54 0xb73cf388 in G4UIQt::SessionStart() () from
>             /home/imen/geant4.9.6/geant4-__install/lib/libG4interfaces.so
>             #55 0xb73c0972 in G4UIExecutive::SessionStart() () from
>             /home/imen/geant4.9.6/geant4-__install/lib/libG4interfaces.so
>             #56 0x08112b14 in main ()
>             ==============================__=============================
>
>
>             Segmentation fault (core dumped)
>
>             thanks!
>             Best Regards,
>             Imen
>
>>
>
>             _________________________________________________
>             Gate-users mailing list
>             Gate-users at lists.__opengatecollaboration.org
>             <mailto:Gate-users at lists.opengatecollaboration.org>
>             http://lists.__opengatecollaboration.org/__mailman/listinfo/gate-users
>             <http://lists.opengatecollaboration.org/mailman/listinfo/gate-users>
>
>         _________________________________________________
>         Gate-users mailing list
>         Gate-users at lists.__opengatecollaboration.org
>         <mailto:Gate-users at lists.opengatecollaboration.org>
>         http://lists.__opengatecollaboration.org/__mailman/listinfo/gate-users
>         <http://lists.opengatecollaboration.org/mailman/listinfo/gate-users>
>
>
>
>
>     --
>
>     LORENA VÁZQUEZ CANELAS
>     PhD student
>     LRI - Datación (Despacho Técnicos)
>     Calle Espejo, s/n, 37008 - Salamanca (Spain)
>     TEL: +34 923 294930 ext:4932 email:lorena.vazquez at usal.es  <mailto:lorena.vazquez at usal.es>
>     web:http://campus.usal.es/~lri/  <http://campus.usal.es/%7Elri/>
>
>
>
>
> --
>
> LORENA VÁZQUEZ CANELAS
> PhD student
> LRI - Datación (Despacho Técnicos)
> Calle Espejo, s/n, 37008 - Salamanca (Spain)
> TEL: +34 923 294930 ext:4932 email:lorena.vazquez at usal.es  <mailto:lorena.vazquez at usal.es>
> web:http://campus.usal.es/~lri/  <http://campus.usal.es/%7Elri/>
>


More information about the Gate-users mailing list