pcp
[Top] [All Lists]

[Bug 886] New: kmchart aborts on broken metric

To: pcp@xxxxxxxxxxx
Subject: [Bug 886] New: kmchart aborts on broken metric
From: bugzilla-daemon@xxxxxxxxxxx
Date: Thu, 13 May 2010 23:39:59 -0500
Auto-submitted: auto-generated
http://oss.sgi.com/bugzilla/show_bug.cgi?id=886

           Summary: kmchart aborts on broken metric
           Product: pcp
           Version: unspecified
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: pcp-gui
        AssignedTo: nathans@xxxxxxxxxx
        ReportedBy: gnb@xxxxxxxxxxx
                CC: pcp@xxxxxxxxxxx
   Estimated Hours: 0.0
    Classification: Unclassified


We have a metric which appears in the namespace but is broken
at the PMDA in some way (which is not important right now).
Using kmchart, I optimistically tried to display this metric. I
clicked New Chart, then Add Host, entered the hostname (it
goes through a proxy with the @ syntax, FWIW), and walk down 
the namespace. When I open the namespace node which is the 
immediate parent of the metric I want, I see a popup with

Cannot find metric descriptor at "evds.interposer.out.errors".
Unknown or illegal metric identifier.

Click OK, the dialog goes away, and some new metrics are visible
in the tree, including the one which kmchart complained about and
the one I want (which is a different metric).  Double-clicking the
one I want and kmchart dies:

gnb@gnb-desktop 659> kmchart
Aborted


(gdb) bt
#0  0x00007f831bc0a4b5 in *__GI_raise (sig=<value optimized out>) at
../nptl/sysdeps/unix/sysv/linux/raise.c:64
#1  0x00007f831bc0df50 in *__GI_abort () at abort.c:92
#2  0x00000000004731ad in ?? ()
#3  0x0000000000473d41 in ?? ()
#4  0x00000000004316ac in ?? ()
#5  0x0000000000483c12 in ?? ()
#6  0x00007f831ca66ddc in QMetaObject::activate(QObject*, int, int, void**) ()
from /usr/lib/libQtCore.so.4
#7  0x00007f831d6ccc05 in QAbstractItemView::doubleClicked(QModelIndex const&)
() from /usr/lib/libQtGui.so.4
#8  0x00007f831d719b93 in QTreeView::mouseDoubleClickEvent(QMouseEvent*) ()
from /usr/lib/libQtGui.so.4
#9  0x00007f831d24e808 in QWidget::event(QEvent*) () from
/usr/lib/libQtGui.so.4
#10 0x00007f831d5aa2a6 in QFrame::event(QEvent*) () from /usr/lib/libQtGui.so.4
#11 0x00007f831d6dd21b in QAbstractItemView::viewportEvent(QEvent*) () from
/usr/lib/libQtGui.so.4
#12 0x00007f831d714420 in QTreeView::viewportEvent(QEvent*) () from
/usr/lib/libQtGui.so.4
#13 0x00007f831ca50f47 in
QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) ()
from /usr/lib/libQtCore.so.4
#14 0x00007f831d1ffecc in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() from /usr/lib/libQtGui.so.4
#15 0x00007f831d207011 in QApplication::notify(QObject*, QEvent*) () from
/usr/lib/libQtGui.so.4
#16 0x00007f831ca51c2c in QCoreApplication::notifyInternal(QObject*, QEvent*)
() from /usr/lib/libQtCore.so.4
#17 0x00007f831d2068e0 in QApplicationPrivate::sendMouseEvent(QWidget*,
QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&) () from
/usr/lib/libQtGui.so.4
#18 0x00007f831d26ca0e in ?? () from /usr/lib/libQtGui.so.4
#19 0x00007f831d26baa9 in QApplication::x11ProcessEvent(_XEvent*) () from
/usr/lib/libQtGui.so.4
#20 0x00007f831d294d0c in ?? () from /usr/lib/libQtGui.so.4
#21 0x00007f831a801bce in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#22 0x00007f831a805598 in ?? () from /lib/libglib-2.0.so.0
#23 0x00007f831a8056c0 in g_main_context_iteration () from
/lib/libglib-2.0.so.0
#24 0x00007f831ca7a1a6 in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /usr/lib/libQtCore.so.4
#25 0x00007f831d2944be in ?? () from /usr/lib/libQtGui.so.4
#26 0x00007f831ca50532 in
QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib/libQtCore.so.4
#27 0x00007f831ca50904 in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib/libQtCore.so.4
#28 0x00007f831ca52ab9 in QCoreApplication::exec() () from
/usr/lib/libQtCore.so.4
#29 0x000000000042d001 in ?? ()
#30 0x00007f831bbf5abd in __libc_start_main (main=<value optimized out>,
argc=<value optimized out>, ubp_av=<value optimized out>, init=<value optimized
out>, fini=<value optimized out>, rtld_fini=<value optimized out>,
stack_end=0x7fff60a2a7b8) at libc-start.c:220
#31 0x000000000041e5da in ?? ()
#32 0x00007fff60a2a7b8 in ?? ()
#33 0x000000000000001c in ?? ()
#34 0x0000000000000001 in ?? ()
#35 0x00007fff60a2c691 in ?? ()
#36 0x0000000000000000 in ?? ()


The complete lack of application symbols makes this really rather less
than useful, sorry.

The version of the pcp-gui package is 1.4.6.

FWIW, pminfo shows

gnb@gnb-desktop 672> pminfo -h hw2-ipsr2@hw2-proxy evds.interposer.out.reads
evds.interposer.out.reads
gnb@gnb-desktop 673> pminfo -f -h hw2-ipsr2@hw2-proxy evds.interposer.out.reads
evds.interposer.out.reads: pmLookupDesc: Unknown or illegal metric identifier

-- 
Configure bugmail: http://oss.sgi.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

<Prev in Thread] Current Thread [Next in Thread>
  • [Bug 886] New: kmchart aborts on broken metric, bugzilla-daemon <=