Bug 229981 - ksysguard crashed while doing nothing with it
Summary: ksysguard crashed while doing nothing with it
Status: RESOLVED FIXED
Alias: None
Product: ksysguard
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: KSysGuard Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-08 19:32 UTC by Christoph Obexer
Modified: 2010-05-19 09:58 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (6.83 KB, text/plain)
2010-04-02 10:40 UTC, Christoph Obexer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Christoph Obexer 2010-03-08 19:32:17 UTC
Application: ksysguard (4.4.1 (KDE 4.4.1) "release 225")
KDE Platform Version: 4.4.1 (KDE 4.4.1) "release 225"
Qt Version: 4.6.2
Operating System: Linux 2.6.33-rc6-0.1-desktop-gruewo x86_64
Distribution: "openSUSE 11.3 Milestone 3 (x86_64)"

-- Information about the crash:
i opened ksysguard and had a look at the running processes - i did not use any control and after some seconds it crashed (during this time there was high load on the dbus daemon if that helps)

 -- Backtrace:
Application: Systemmonitor (kdeinit4), signal: Segmentation fault
The current source language is "auto; currently asm".
[KCrash Handler]
#5  ref (this=0xc200000302) at ../../src/corelib/arch/qatomic_x86_64.h:121
#6  QString (this=0xc200000302) at ../../src/corelib/tools/qstring.h:715
#7  v_construct<QString> (this=0xc200000302) at ../../src/corelib/kernel/qvariant_p.h:130
#8  QVariant::QVariant (this=0xc200000302) at kernel/qvariant.cpp:1670
#9  0x00007f21f4986498 in ProcessModel::data (this=0x7dfaa0, index=<value optimized out>, role=<value optimized out>)
    at /usr/src/debug/kdebase-workspace-4.4.1/libs/ksysguard/processui/ProcessModel.cc:1383
#10 0x00007f2201c98931 in QSortFilterProxyModel::data (this=<value optimized out>, index=<value optimized out>, role=0) at itemviews/qsortfilterproxymodel.cpp:1678
#11 0x00007f2201cb9916 in data (arole=0, this=0x7fffffff8c80) at ../../src/corelib/kernel/qabstractitemmodel.h:398
#12 QStyledItemDelegate::initStyleOption (arole=0, this=0x7fffffff8c80) at itemviews/qstyleditemdelegate.cpp:380
#13 0x00007f21f498b381 in ProgressBarItemDelegate::paint (this=0x7f25c0, painter=0x7fffffff9100, opt=<value optimized out>, index=...)
    at /usr/src/debug/kdebase-workspace-4.4.1/libs/ksysguard/processui/ksysguardprocesslist.cpp:80
#14 0x00007f2201c52cfa in QTreeView::drawRow (this=0x877960, painter=<value optimized out>, option=<value optimized out>, index=<value optimized out>) at itemviews/qtreeview.cpp:1670
#15 0x00007f2201c56d03 in QTreeView::drawTree (this=<value optimized out>, painter=<value optimized out>, region=<value optimized out>) at itemviews/qtreeview.cpp:1433
#16 0x00007f2201c576e3 in QTreeView::paintEvent (this=0x877960, event=0x7fffffff9dc0) at itemviews/qtreeview.cpp:1266
#17 0x00007f2201772154 in QWidget::event (this=0x877960, event=0x7fffffff9dc0) at kernel/qwidget.cpp:8144
#18 0x00007f2201b08696 in QFrame::event (this=0x877960, e=0x7fffffff9dc0) at widgets/qframe.cpp:557
#19 0x00007f2201c145a3 in QAbstractItemView::viewportEvent (this=0x877960, event=0x7fffffff9dc0) at itemviews/qabstractitemview.cpp:1610
#20 0x00007f2201c58912 in QTreeView::viewportEvent (this=0x877960, event=0x7fffffff9dc0) at itemviews/qtreeview.cpp:1248
#21 0x00007f2202548307 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<value optimized out>, receiver=0x877ba0, event=0x7fffffff9dc0) at kernel/qcoreapplication.cpp:819
#22 0x00007f2201722781 in QApplicationPrivate::notify_helper (this=0x67da70, receiver=0x877ba0, e=0x7fffffff9dc0) at kernel/qapplication.cpp:4296
#23 0x00007f220172687a in QApplication::notify (this=<value optimized out>, receiver=0x877ba0, e=0x7fffffff9dc0) at kernel/qapplication.cpp:4183
#24 0x00007f22029d7e36 in KApplication::notify (this=0x67d990, receiver=0x877ba0, event=0x7fffffff9dc0) at /usr/src/debug/kdelibs-4.4.1/kdeui/kernel/kapplication.cpp:302
#25 0x00007f220254817c in QCoreApplication::notifyInternal (this=0x67d990, receiver=0x877ba0, event=0x7fffffff9dc0) at kernel/qcoreapplication.cpp:704
#26 0x00007f220176d588 in sendSpontaneousEvent (event=<value optimized out>, receiver=0x877ba0) at ../../src/corelib/kernel/qcoreapplication.h:218
#27 QWidgetPrivate::drawWidget (event=<value optimized out>, receiver=0x877ba0) at kernel/qwidget.cpp:5339
#28 0x00007f220191fc68 in QWidgetBackingStore::sync (this=0x7bc190) at painting/qbackingstore.cpp:1283
#29 0x00007f2201764090 in QWidgetPrivate::syncBackingStore (this=0x742d00) at kernel/qwidget.cpp:1672
#30 0x00007f2201772652 in QWidget::event (this=0x73f230, event=0x939150) at kernel/qwidget.cpp:8291
#31 0x00007f2201b21d2b in QMainWindow::event (this=0x73f230, event=0x939150) at widgets/qmainwindow.cpp:1433
#32 0x00007f2202a5edf3 in KXmlGuiWindow::event (this=0x73f230, ev=0x939150) at /usr/src/debug/kdelibs-4.4.1/kdeui/xmlgui/kxmlguiwindow.cpp:131
#33 0x00007f21f4c799ee in TopLevel::event (this=0x73f230, e=<value optimized out>) at /usr/src/debug/kdebase-workspace-4.4.1/ksysguard/gui/ksysguard.cc:335
#34 0x00007f22017227b4 in QApplicationPrivate::notify_helper (this=0x67da70, receiver=0x73f230, e=0x939150) at kernel/qapplication.cpp:4300
#35 0x00007f220172687a in QApplication::notify (this=<value optimized out>, receiver=0x73f230, e=0x939150) at kernel/qapplication.cpp:4183
#36 0x00007f22029d7e36 in KApplication::notify (this=0x67d990, receiver=0x73f230, event=0x939150) at /usr/src/debug/kdelibs-4.4.1/kdeui/kernel/kapplication.cpp:302
#37 0x00007f220254817c in QCoreApplication::notifyInternal (this=0x67d990, receiver=0x73f230, event=0x939150) at kernel/qcoreapplication.cpp:704
#38 0x00007f220254b81d in sendEvent (event=<value optimized out>, receiver=<value optimized out>) at kernel/qcoreapplication.h:215
#39 QCoreApplicationPrivate::sendPostedEvents (event=<value optimized out>, receiver=<value optimized out>) at kernel/qcoreapplication.cpp:1345
#40 0x00007f2202570613 in sendPostedEvents () at kernel/qcoreapplication.h:220
#41 postEventSourceDispatch () at kernel/qeventdispatcher_glib.cpp:276
#42 0x00007f21fd7cfa13 in g_main_dispatch (context=<value optimized out>) at gmain.c:1960
#43 IA__g_main_context_dispatch (context=<value optimized out>) at gmain.c:2513
#44 0x00007f21fd7d01c0 in g_main_context_iterate (context=0x680520, block=<value optimized out>, dispatch=<value optimized out>) at gmain.c:2591
#45 0x00007f21fd7d048d in IA__g_main_context_iteration (context=0x680520, may_block=1) at gmain.c:2654
#46 0x00007f2202570b4f in QEventDispatcherGlib::processEvents (this=0x61c6d0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#47 0x00007f22017c1fae in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#48 0x00007f2202547562 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#49 0x00007f220254779c in QEventLoop::exec (this=0x7fffffffaf80, flags=...) at kernel/qeventloop.cpp:201
#50 0x00007f220254bacb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#51 0x00007f21f4ca2cea in kdemain (argc=<value optimized out>, argv=<value optimized out>) at /usr/src/debug/kdebase-workspace-4.4.1/ksysguard/gui/ksysguard.cc:582
#52 0x0000000000406ef6 in _start ()

Reported using DrKonqi
Comment 1 Christoph Obexer 2010-04-02 10:40:58 UTC
Created attachment 42437 [details]
New crash information added by DrKonqi

ksysguard runs fine when on the "Systemload"? (de: Systemlast) tab but crashes reproducable on the "Processtable" tab
Comment 2 Will Stephenson 2010-04-22 11:36:39 UTC
Also reported downstream as https://bugzilla.novell.com/show_bug.cgi?id=597156
Comment 3 Graham Anderson 2010-05-14 11:58:54 UTC
I can confirm this and to reproduce every time simply have the process table tab open and close any application.

Another trace, sorry not a full set of symbols :(

Application: System Monitor (kdeinit4), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f6d8cde7760 (LWP 18216))]

Thread 2 (Thread 0x7f6d7a457710 (LWP 18217)):
#0  0x00007f6d89ef71d3 in select () from /lib64/libc.so.6
#1  0x00007f6d8b46d51d in ?? () from /usr/lib64/libQtCore.so.4
#2  0x00007f6d8b3a31c5 in ?? () from /usr/lib64/libQtCore.so.4
#3  0x00007f6d8b115a3f in start_thread () from /lib64/libpthread.so.0
#4  0x00007f6d89efdc3d in clone () from /lib64/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f6d8cde7760 (LWP 18216)):
[KCrash Handler]
#5  0x00007f6d8a7265ee in QPixmap::isNull() const () from /usr/lib64/libQtGui.so.4
#6  0x00007f6d7ce7c0c5 in ProcessModel::data (this=0x950fe0, index=<value optimized out>, role=<value optimized out>)
    at /usr/src/debug/kdebase-workspace-4.4.3/libs/ksysguard/processui/ProcessModel.cc:1440
#7  0x00007f6d8abd0b41 in QSortFilterProxyModel::data(QModelIndex const&, int) const () from /usr/lib64/libQtGui.so.4
#8  0x00007f6d8abf1a9c in QStyledItemDelegate::initStyleOption(QStyleOptionViewItem*, QModelIndex const&) const () from /usr/lib64/libQtGui.so.4
#9  0x00007f6d7ce813f1 in ProgressBarItemDelegate::paint (this=0x793a50, painter=0x7fff8f529d40, opt=<value optimized out>, index=...)
    at /usr/src/debug/kdebase-workspace-4.4.3/libs/ksysguard/processui/ksysguardprocesslist.cpp:80
#10 0x00007f6d8ab8ae9a in QTreeView::drawRow(QPainter*, QStyleOptionViewItem const&, QModelIndex const&) const () from /usr/lib64/libQtGui.so.4
#11 0x00007f6d8ab8eea3 in QTreeView::drawTree(QPainter*, QRegion const&) const () from /usr/lib64/libQtGui.so.4
#12 0x00007f6d8ab8f883 in QTreeView::paintEvent(QPaintEvent*) () from /usr/lib64/libQtGui.so.4
#13 0x00007f6d8a6a84a4 in QWidget::event(QEvent*) () from /usr/lib64/libQtGui.so.4
#14 0x00007f6d8aa408f6 in QFrame::event(QEvent*) () from /usr/lib64/libQtGui.so.4
#15 0x00007f6d8ab4c783 in QAbstractItemView::viewportEvent(QEvent*) () from /usr/lib64/libQtGui.so.4
#16 0x00007f6d8ab90aa2 in QTreeView::viewportEvent(QEvent*) () from /usr/lib64/libQtGui.so.4
#17 0x00007f6d8b48c677 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib64/libQtCore.so.4
#18 0x00007f6d8a658ac1 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#19 0x00007f6d8a65cbda in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#20 0x00007f6d8b91ce56 in KApplication::notify (this=0x68bdc0, receiver=0x838050, event=0x7fff8f52aa00) at /usr/src/debug/kdelibs-4.4.3/kdeui/kernel/kapplication.cpp:302
#21 0x00007f6d8b48c4ec in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/libQtCore.so.4
#22 0x00007f6d8a6a38d8 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib64/libQtGui.so.4
#23 0x00007f6d8a857db8 in ?? () from /usr/lib64/libQtGui.so.4
#24 0x00007f6d8a69a3e0 in QWidgetPrivate::syncBackingStore() () from /usr/lib64/libQtGui.so.4
#25 0x00007f6d8a6a89a2 in QWidget::event(QEvent*) () from /usr/lib64/libQtGui.so.4
#26 0x00007f6d8aa59f7b in QMainWindow::event(QEvent*) () from /usr/lib64/libQtGui.so.4
#27 0x00007f6d8b9a3c43 in KXmlGuiWindow::event (this=0x722710, ev=0x8b9d30) at /usr/src/debug/kdelibs-4.4.3/kdeui/xmlgui/kxmlguiwindow.cpp:131
#28 0x00007f6d7d1409ee in TopLevel::event (this=0x722710, e=<value optimized out>) at /usr/src/debug/kdebase-workspace-4.4.3/ksysguard/gui/ksysguard.cc:335
#29 0x00007f6d8a658af4 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#30 0x00007f6d8a65cbda in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#31 0x00007f6d8b91ce56 in KApplication::notify (this=0x68bdc0, receiver=0x722710, event=0x8b9d30) at /usr/src/debug/kdelibs-4.4.3/kdeui/kernel/kapplication.cpp:302
#32 0x00007f6d8b48c4ec in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/libQtCore.so.4
#33 0x00007f6d8b48fb8d in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib64/libQtCore.so.4
#34 0x00007f6d8b4b49a3 in ?? () from /usr/lib64/libQtCore.so.4
#35 0x00007f6d866fb973 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#36 0x00007f6d866fc150 in ?? () from /usr/lib64/libglib-2.0.so.0
#37 0x00007f6d866fc3ed in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#38 0x00007f6d8b4b4edf in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#39 0x00007f6d8a6f831e in ?? () from /usr/lib64/libQtGui.so.4
#40 0x00007f6d8b48b8d2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#41 0x00007f6d8b48bb0c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#42 0x00007f6d8b48fe3b in QCoreApplication::exec() () from /usr/lib64/libQtCore.so.4
#43 0x00007f6d7d169cca in kdemain (argc=1, argv=0x671b40) at /usr/src/debug/kdebase-workspace-4.4.3/ksysguard/gui/ksysguard.cc:582
#44 0x0000000000407069 in _start ()
Comment 4 Lubos Lunak 2010-05-18 18:08:34 UTC
SVN commit 1128192 by lunakl:

Valgrind a day keeps the crashes away.
BUG: 229981
BUG: 232179



 M  +1 -1      ProcessModel.cc  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1128192
Comment 5 John Tapsell 2010-05-19 09:58:37 UTC
I've stared and stared at your change, but can't see why it would
crash my way and not your way ?