[Gate-users] benchPET segmentation fault

LORENA VAZQUEZ CANELAS lorena.vazquez at usal.es
Fri Mar 27 13:32:36 CET 2015


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>:

> 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)
>
> 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
>> http://lists.opengatecollaboration.org/mailman/listinfo/gate-users
>>
>>  _______________________________________________
> Gate-users mailing list
> Gate-users at lists.opengatecollaboration.org
> 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
web: http://campus.usal.es/~lri/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20150327/909e8785/attachment-0001.html>


More information about the Gate-users mailing list