Analyzers
Talk to fellow users of Intel Analyzer tools (Intel VTune™ Profiler, Intel Advisor)
4974 Discussions

Vtune gui crashes when I "File->Open->Results", ubuntu linux 12.10

don_w_
Beginner
249 Views

This issue is with regards to "Intel VTune Aplifier XE 2013" Update 5, build 274450.

Our target system is running CentOS 6.  It doesn't have graphics capabilities (doesn't use them). I have installed the cli-only version on the target box and use amplxe-cl to run our app and gather information.  Once the program being analysed exits, an "r*" directory is generated. I copy that directory down onto another box for analysis.

The viewer with the GUI side is running Ubuntu 12.10 under KDE.  I copy the "r*" directory from the target into my working directory and run ample-gui.  I direct it to File->Open->Result, and point it to the "r*" directory.  And the GUI generates a seg-fault and presents me with the information contained in the attached file.

I have access to a Windows 7 machine, so I installed "Intel VTune Aplifier XE 2013",  copied the "r*" directory from my target, and loaded it into the gui.  No crash.

To complete this task, I need this to work in a linux vm.  I'm still in the eval-period for the vtune product...  Any idea why its crashing?  Is there a work-around?  I don't need the VM version to do any analysis... I just need it to do presentation of the info recorded on the target.

-d

0 Kudos
4 Replies
Bernard
Valued Contributor I
249 Views

Hi don,

Unfortunately the dump file does not resolve at all functions call stack,so it is impossible to reconstruct the chain of events that lead to segfault exception.

0 Kudos
Bernard
Valued Contributor I
249 Views

don,

Is it possible to open dmp file with GDB?

0 Kudos
don_w_
Beginner
249 Views

Here's a gdb backtrace using the core file:

(gdb) bt
#0  0x00007f5446d7db7b in raise () from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00007f542b146f0c in qfagent_1_11::exceptionSignalHandler(int, siginfo*, void*) ()
   from /opt/intel/vtune_amplifier_xe_2013/lib64/../lib64/libamplxe_qfagent_minidump_1.11.so
#2  <signal handler called>
#3  0x00007f5424de5602 in perfclient_1_3::SummaryPanelWrapper::internalCreate(abclient_1_12::WindowManagerDM*) ()
   from /opt/intel/vtune_amplifier_xe_2013/lib64/libamplxe_client_1.3.so
#4  0x00007f5424de4f4a in perfclient_1_3::SummaryPanelWrapper::onActivated(abclient_1_12::WindowManagerDM*) ()
   from /opt/intel/vtune_amplifier_xe_2013/lib64/libamplxe_client_1.3.so
#5  0x00007f542bd184f6 in abclient_1_12::WindowManagerDM::onTabItemSelected(abclient_1_12::ITabItem*) ()
   from /opt/intel/vtune_amplifier_xe_2013/lib64/../lib64/libamplxe_abclient_1.14.so
#6  0x00007f542bd0e6be in gen_helpers2::_internal::signal_templ<abclient_1_12::WindowManagerDM, void (abclient_1_12::WindowManagerDM::*)(abclient_1_12::ITabItem*), abclient_1_12::ITabItem*, gen_helpers2::_internal::dummy_t, gen_helpers2::_internal::dummy_t, gen_helpers2::_internal::dummy_t, gen_helpers2::_internal::dummy_t, gen_helpers2::_internal::dummy_t>::caster(void*, gen_helpers2::_internal::typeless_connection_t, abclient_1_12::ITabItem*) ()
   from /opt/intel/vtune_amplifier_xe_2013/lib64/../lib64/libamplxe_abclient_1.14.so
#7  0x00007f542bd6f719 in abclient_1_12::TabPaneHelper::onItemActivated(abclient_1_12::ITabPaneItem*) ()
   from /opt/intel/vtune_amplifier_xe_2013/lib64/../lib64/libamplxe_abclient_1.14.so
#8  0x00007f542bd5ff3e in gen_helpers2::_internal::signal_templ<abclient_1_12::TabPaneHelper, void (abclient_1_12::TabPaneHelper::*)(abclient_1_12::ITabPaneItem*), abclient_1_12::ITabPaneItem*, gen_helpers2::_internal::dummy_t, gen_helpers2::_internal::dummy_t, gen_helpers2::_internal::dummy_t, gen_helpers2::_internal::dummy_t, gen_helpers2::_internal::dummy_t>::caster(void*, gen_helpers2::_internal::typeless_connection_t, abclient_1_12::ITabPaneItem*)
    () from /opt/intel/vtune_amplifier_xe_2013/lib64/../lib64/libamplxe_abclient_1.14.so
#9  0x00007f542bd59ad1 in gen_helpers2::_internal::signal_templ<gen_helpers2::_internal::dummy_t, gen_helpers2::_internal::dummy_t, abclient_1_12::ITabPaneItem*, gen_helpers2::_internal::dummy_t, gen_helpers2::_internal::dummy_t, gen_helpers2::_internal::dummy_t, gen_helpers2::_internal::dummy_t, gen_helpers2::_internal::dummy_t>::operator()(abclient_1_12::ITabPaneItem*) const ()
   from /opt/intel/vtune_amplifier_xe_2013/lib64/../lib64/libamplxe_abclient_1.14.so
#10 0x00007f542bd59527 in abclient_1_12::TabPane::onActivateItem(abclient_1_12::ITabPaneItem*, abclient_1_12::TabPanel*) ()
   from /opt/intel/vtune_amplifier_xe_2013/lib64/../lib64/libamplxe_abclient_1.14.so
#11 0x00007f542bd56c06 in abclient_1_12::TabPanel::onActivateItem(abclient_1_12::ITabPaneItem*) ()
   from /opt/intel/vtune_amplifier_xe_2013/lib64/../lib64/libamplxe_abclient_1.14.so
#12 0x00007f542bd552cd in abclient_1_12::TabPaneItem::activate() () from /opt/intel/vtune_amplifier_xe_2013/lib64/../lib64/libamplxe_abclient_1.14.so
#13 0x00007f542bd6748b in abclient_1_12::TabItem::activate() () from /opt/intel/vtune_amplifier_xe_2013/lib64/../lib64/libamplxe_abclient_1.14.so
#14 0x00007f542bd1b754 in abclient_1_12::WindowManagerDM::selectDefaultTab(gen_helpers2::sptr_t<abclient_1_12::ITabsDescription>) ()
   from /opt/intel/vtune_amplifier_xe_2013/lib64/../lib64/libamplxe_abclient_1.14.so
#15 0x00007f542bd12f4a in abclient_1_12::WindowManagerDM::onViewpointReady() ()
   from /opt/intel/vtune_amplifier_xe_2013/lib64/../lib64/libamplxe_abclient_1.14.so
#16 0x00007f542bd0e697 in gen_helpers2::_internal::signal_templ<abclient_1_12::WindowManagerDM, void (abclient_1_12::WindowManagerDM::*)(), gen_helpers2::_internal::dummy_t, gen_helpers2::_internal::dummy_t, gen_helpers2::_internal::dummy_t, gen_helpers2::_internal::dummy_t, gen_helpers2::_internal::dummy_t, gen_helpers2::_internal::dummy_t>::caster(void*, gen_helpers2::_internal::typeless_connection_t) ()
   from /opt/intel/vtune_amplifier_xe_2013/lib64/../lib64/libamplxe_abclient_1.14.so
#17 0x00007f5424d583db in perfclient_1_3::DataModel::sendViewpointReady() () from /opt/intel/vtune_amplifier_xe_2013/lib64/libamplxe_client_1.3.so
#18 0x00007f5424d57e1c in perfclient_1_3::DataModel::openViewpoint(cfgmgr2::IConfigDescriptor const*) ()
   from /opt/intel/vtune_amplifier_xe_2013/lib64/libamplxe_client_1.3.so
#19 0x00007f5424d57a08 in perfclient_1_3::DataModel::startViewpointPreparation() ()
---Type <return> to continue, or q <return> to quit---
   from /opt/intel/vtune_amplifier_xe_2013/lib64/libamplxe_client_1.3.so
#20 0x00007f542bd122e9 in abclient_1_12::WindowManagerDM::onDataModelReady() ()
   from /opt/intel/vtune_amplifier_xe_2013/lib64/../lib64/libamplxe_abclient_1.14.so
#21 0x00007f542bd0e697 in gen_helpers2::_internal::signal_templ<abclient_1_12::WindowManagerDM, void (abclient_1_12::WindowManagerDM::*)(), gen_helpers2::_internal::dummy_t, gen_helpers2::_internal::dummy_t, gen_helpers2::_internal::dummy_t, gen_helpers2::_internal::dummy_t, gen_helpers2::_internal::dummy_t, gen_helpers2::_internal::dummy_t>::caster(void*, gen_helpers2::_internal::typeless_connection_t) ()
   from /opt/intel/vtune_amplifier_xe_2013/lib64/../lib64/libamplxe_abclient_1.14.so
#22 0x00007f5424d53296 in perfclient_1_3::DataModel::sendDataReady() () from /opt/intel/vtune_amplifier_xe_2013/lib64/libamplxe_client_1.3.so
#23 0x00007f5424d52a97 in perfclient_1_3::DataModel::startDataPreparation() () from /opt/intel/vtune_amplifier_xe_2013/lib64/libamplxe_client_1.3.so
#24 0x00007f542bd1939e in abclient_1_12::WindowManagerDM::sendStartPrepareData() ()
   from /opt/intel/vtune_amplifier_xe_2013/lib64/../lib64/libamplxe_abclient_1.14.so
#25 0x00007f542bd0e697 in gen_helpers2::_internal::signal_templ<abclient_1_12::WindowManagerDM, void (abclient_1_12::WindowManagerDM::*)(), gen_helpers2::_internal::dummy_t, gen_helpers2::_internal::dummy_t, gen_helpers2::_internal::dummy_t, gen_helpers2::_internal::dummy_t, gen_helpers2::_internal::dummy_t, gen_helpers2::_internal::dummy_t>::caster(void*, gen_helpers2::_internal::typeless_connection_t) ()
   from /opt/intel/vtune_amplifier_xe_2013/lib64/../lib64/libamplxe_abclient_1.14.so
#26 0x00007f542bd0c1d4 in wx_helpers1::tasks::_internal::PostSignalTask<gen_helpers2::_internal::signal_t<gen_helpers2::_internal::dummy_t, gen_helpers2::_internal::dummy_t, gen_helpers2::_internal::dummy_t, gen_helpers2::_internal::dummy_t, gen_helpers2::_internal::dummy_t, gen_helpers2::_internal::dummy_t>, wx_helpers1::tasks::_internal::dummy_t, wx_helpers1::tasks::_internal::dummy_t, wx_helpers1::tasks::_internal::dummy_t, wx_helpers1::tasks::_internal::dummy_t, wx_helpers1::tasks::_internal::dummy_t, wx_helpers1::tasks::_internal::dummy_t>::DoGUITask() ()
   from /opt/intel/vtune_amplifier_xe_2013/lib64/../lib64/libamplxe_abclient_1.14.so
#27 0x00007f54470f589a in wx_helpers1::tasks::GUITask::TaskStarted() ()
   from /opt/intel/vtune_amplifier_xe_2013/bin64/../lib64/libamplxe_wx_helpers_core_1.15.so
#28 0x00007f54470edc3d in wx_helpers1::tasks::Scheduler::OnPrepareTask(wx_helpers1::tasks::wxTaskEvent&) ()
   from /opt/intel/vtune_amplifier_xe_2013/bin64/../lib64/libamplxe_wx_helpers_core_1.15.so
#29 0x00007f5446744e47 in wxEvtHandler::ProcessEventIfMatches(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) ()
   from /opt/intel/vtune_amplifier_xe_2013/bin64/../lib64/libwx_gtk2-2.8.so.0
#30 0x00007f5446743e4e in wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) ()
   from /opt/intel/vtune_amplifier_xe_2013/bin64/../lib64/libwx_gtk2-2.8.so.0
#31 0x00007f5446744fe2 in wxEvtHandler::ProcessEvent(wxEvent&) () from /opt/intel/vtune_amplifier_xe_2013/bin64/../lib64/libwx_gtk2-2.8.so.0
#32 0x00007f5446744cb1 in wxEvtHandler::ProcessPendingEvents() () from /opt/intel/vtune_amplifier_xe_2013/bin64/../lib64/libwx_gtk2-2.8.so.0
#33 0x00007f544669ce0b in wxAppConsole::ProcessPendingEvents() () from /opt/intel/vtune_amplifier_xe_2013/bin64/../lib64/libwx_gtk2-2.8.so.0
#34 0x00007f544681ca51 in wxAppBase::ProcessIdle() () from /opt/intel/vtune_amplifier_xe_2013/bin64/../lib64/libwx_gtk2-2.8.so.0
#35 0x00007f544676cb18 in ?? () from /opt/intel/vtune_amplifier_xe_2013/bin64/../lib64/libwx_gtk2-2.8.so.0
#36 0x00007f5441ba2ab5 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#37 0x00007f5441ba2de8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#38 0x00007f5441ba31e2 in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#39 0x00007f544312ac77 in gtk_main () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#40 0x00007f54467887a5 in wxEventLoop::Run() () from /opt/intel/vtune_amplifier_xe_2013/bin64/../lib64/libwx_gtk2-2.8.so.0
#41 0x00007f544681c6ac in wxAppBase::MainLoop() () from /opt/intel/vtune_amplifier_xe_2013/bin64/../lib64/libwx_gtk2-2.8.so.0
#42 0x00007f544681c806 in wxAppBase::OnRun() () from /opt/intel/vtune_amplifier_xe_2013/bin64/../lib64/libwx_gtk2-2.8.so.0
#43 0x00007f54466e81e5 in wxEntry(int&, char**) () from /opt/intel/vtune_amplifier_xe_2013/bin64/../lib64/libwx_gtk2-2.8.so.0
#44 0x000000000045307b in ?? ()
---Type <return> to continue, or q <return> to quit---
#45 0x00007f544385576d in __libc_start_main () from /lib/x86_64-linux-gnu/libc.so.6
#46 0x000000000041b26a in ?? ()
#47 0x00007fffa1a752b8 in ?? ()
#48 0x000000000000001c in ?? ()
#49 0x0000000000000001 in ?? ()
#50 0x00007fffa1a772f2 in ?? ()
#51 0x0000000000000000 in ?? ()
(gdb)

0 Kudos
Bernard
Valued Contributor I
249 Views

I do not know GDB,because I'm working mainly with Windows debuggers and there is an option to analyze collected dmp file.I'd like to ask you is there such a option in GDB it could simplify and automate stack call deciphering?

From what I have been able to understand the seg fault could come from this address "0x00007f5424de5602 in perfclient_1_3::SummaryPanelWrapper::internalCreate(abclient_1_12::WindowManagerDM*)

I suppose that faulting ip is at this address "0x00007fd5eeaca602" can you go backward in GDB from this address?Can you resolve register  R10 value  0xa284e2656e755456  it seems very strange to me.

0 Kudos
Reply