Bug 207386 - CPU Usage sort crash in process tree view
Summary: CPU Usage sort crash in process tree view
Status: RESOLVED WORKSFORME
Alias: None
Product: ksysguard
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: KSysGuard Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-14 22:12 UTC by Doug Semler
Modified: 2018-04-02 16:47 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Doug Semler 2009-09-14 22:12:27 UTC
Application that crashed: ksysguard
Version of the application: 4.3.00 (KDE 4.3.0)
KDE Version: 4.3.00 (KDE 4.3.0)
Qt Version: 4.5.2
Operating System: Linux 2.6.30.5-43.fc11.x86_64 x86_64

What I was doing when the application crashed:
This was running the process view of the system monitor applet under a fairly heavy load.  The app crashed when I was attempting to sort the process list (which was in tree view at the time) by CPU percentage.  (I think)

 -- Backtrace:
Application: System Monitor (ksysguard), signal: Segmentation fault
[KCrash Handler]
#5  QModelIndex (other=<value optimized out>, this=<value optimized out>) at ../../src/corelib/kernel/qabstractitemmodel.h:65
#6  QSortFilterProxyModel::parent (other=<value optimized out>, this=<value optimized out>) at itemviews/qsortfilterproxymodel.cpp:1552
#7  0x00000032b3333d73 in QModelIndex::parent (this=<value optimized out>) at kernel/qabstractitemmodel.h:369
#8  QPersistentModelIndex::parent (this=<value optimized out>) at kernel/qabstractitemmodel.cpp:346
#9  0x0000003b75cb2139 in QItemSelectionRange::parent (this=<value optimized out>) at itemviews/qitemselectionmodel.h:78
#10 QItemSelectionRange::contains (this=<value optimized out>) at itemviews/qitemselectionmodel.h:92
#11 QItemSelectionModel::isColumnSelected (this=<value optimized out>) at itemviews/qitemselectionmodel.cpp:1284
#12 0x0000003b75c6bd5d in QHeaderViewPrivate::isColumnSelected (column=<value optimized out>, this=<value optimized out>) at ../../src/gui/itemviews/qheaderview_p.h:132
#13 QHeaderViewPrivate::isSectionSelected (column=<value optimized out>, this=<value optimized out>) at itemviews/qheaderview.cpp:2899
#14 0x0000003b75c6c242 in QHeaderView::paintSection (this=0xfc9cd0, painter=<value optimized out>, rect=<value optimized out>, logicalIndex=1) at itemviews/qheaderview.cpp:2488
#15 0x0000003b75c72b90 in QHeaderView::paintEvent (this=0xfc9cd0, e=<value optimized out>) at itemviews/qheaderview.cpp:2095
#16 0x0000003b757ddb68 in QWidget::event (this=0xfc9cd0, event=0x7fffe051c4a0) at kernel/qwidget.cpp:7687
#17 0x0000003b75b35916 in QFrame::event (this=0xfc9cd0, e=0x7fffe051c4a0) at widgets/qframe.cpp:559
#18 0x0000003b75c674eb in QAbstractItemView::viewportEvent (this=0xfc9cd0, event=0x7fffe051c4a0) at itemviews/qabstractitemview.cpp:1476
#19 0x0000003b75c7095b in QHeaderView::viewportEvent (this=0xfc9cd0, e=0x7fffe051c4a0) at itemviews/qheaderview.cpp:2400
#20 0x00000032b333e8e7 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<value optimized out>, receiver=0x1148eb0, event=0x7fffe051c4a0) at kernel/qcoreapplication.cpp:726
#21 0x0000003b7578f66c in QApplicationPrivate::notify_helper (this=0xf410a0, receiver=0x1148eb0, e=0x7fffe051c4a0) at kernel/qapplication.cpp:4052
#22 0x0000003b757968fe in QApplication::notify (this=0xf40b90, receiver=0x1148eb0, e=0x7fffe051c4a0) at kernel/qapplication.cpp:4021
#23 0x0000003b76c11296 in KApplication::notify (this=0xf40b90, receiver=0x1148eb0, event=0x7fffe051c4a0) at /usr/src/debug/kdelibs-4.3.0/kdeui/kernel/kapplication.cpp:302
#24 0x00000032b333f59c in QCoreApplication::notifyInternal (this=0xf40b90, receiver=0x1148eb0, event=0x7fffe051c4a0) at kernel/qcoreapplication.cpp:610
#25 0x0000003b757e4ec3 in QCoreApplication::sendSpontaneousEvent (event=<value optimized out>, receiver=<value optimized out>) at ../../src/corelib/kernel/qcoreapplication.h:216
#26 QWidgetPrivate::drawWidget (event=<value optimized out>, receiver=<value optimized out>) at kernel/qwidget.cpp:5079
#27 0x0000003b75954c9e in QWidgetBackingStore::sync (this=0xfa0e30) at painting/qbackingstore.cpp:1261
#28 0x0000003b757d7470 in QWidgetPrivate::syncBackingStore (this=0xfb2770) at kernel/qwidget.cpp:1603
#29 0x0000003b757dd981 in QWidget::event (this=0xfa1f80, event=0x12a9850) at kernel/qwidget.cpp:7827
#30 0x0000003b75b4ff6b in QMainWindow::event (this=0xfa1f80, event=0x12a9850) at widgets/qmainwindow.cpp:1399
#31 0x0000003b76d1c2b3 in KXmlGuiWindow::event (this=0x7fffe051b540, ev=0xffc5d8) at /usr/src/debug/kdelibs-4.3.0/kdeui/xmlgui/kxmlguiwindow.cpp:131
#32 0x0000003b7906fd1e in TopLevel::event (this=0xfa1f80, e=0xffc5d8) at /usr/src/debug/kdebase-workspace-4.3.0/ksysguard/gui/ksysguard.cc:329
#33 0x0000003b7578f69c in QApplicationPrivate::notify_helper (this=0xf410a0, receiver=0xfa1f80, e=0x12a9850) at kernel/qapplication.cpp:4056
#34 0x0000003b757968fe in QApplication::notify (this=0xf40b90, receiver=0xfa1f80, e=0x12a9850) at kernel/qapplication.cpp:4021
#35 0x0000003b76c11296 in KApplication::notify (this=0xf40b90, receiver=0xfa1f80, event=0x12a9850) at /usr/src/debug/kdelibs-4.3.0/kdeui/kernel/kapplication.cpp:302
#36 0x00000032b333f59c in QCoreApplication::notifyInternal (this=0xf40b90, receiver=0xfa1f80, event=0x12a9850) at kernel/qcoreapplication.cpp:610
#37 0x00000032b33401a2 in QCoreApplication::sendEvent (event=<value optimized out>, receiver=<value optimized out>) at kernel/qcoreapplication.h:213
#38 QCoreApplicationPrivate::sendPostedEvents (event=<value optimized out>, receiver=<value optimized out>) at kernel/qcoreapplication.cpp:1247
#39 0x00000032b3367cc3 in QCoreApplication::sendPostedEvents () at kernel/qcoreapplication.h:218
#40 postEventSourceDispatch () at kernel/qeventdispatcher_glib.cpp:210
#41 0x00000032a9a37abe in g_main_dispatch (context=<value optimized out>) at gmain.c:1824
#42 IA__g_main_context_dispatch (context=<value optimized out>) at gmain.c:2377
#43 0x00000032a9a3b278 in g_main_context_iterate (context=0xf43d20, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at gmain.c:2455
#44 0x00000032a9a3b3a0 in IA__g_main_context_iteration (context=0xf43d20, may_block=1) at gmain.c:2518
#45 0x00000032b3367936 in QEventDispatcherGlib::processEvents (this=0xf27810, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:327
#46 0x0000003b75821f8e in QGuiEventDispatcherGlib::processEvents (this=0x7fffe051b540, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#47 0x00000032b333ded2 in QEventLoop::processEvents (this=<value optimized out>, flags={i = 36}) at kernel/qeventloop.cpp:149
#48 0x00000032b333e2a4 in QEventLoop::exec (this=0x7fffe051d3d0, flags={i = 0}) at kernel/qeventloop.cpp:201
#49 0x00000032b3340439 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#50 0x0000003b7906e963 in kdemain (argc=<value optimized out>, argv=<value optimized out>) at /usr/src/debug/kdebase-workspace-4.3.0/ksysguard/gui/ksysguard.cc:579
#51 0x00000032a7e1ea2d in __libc_start_main () from /lib64/libc.so.6
#52 0x0000000000400709 in _start ()

Reported using DrKonqi
Comment 1 Dario Andres 2009-09-16 03:59:06 UTC
- Does KSysGuard crash again if you repeat a similar situation ? Thanks
Comment 2 Doug Semler 2009-09-16 04:50:13 UTC
I really didn't try...the load was really high and my machine was lagging (runaway swapping) in a rogue app. I was trying to sort by cpu usage so i could kill the procs...but the sys monitor crashed.   In addition, i really wasn't paying attention to what i was doing prior to the crash, since i wasn't looking for it...
Comment 3 Dario Andres 2009-12-06 23:36:15 UTC
The crash is in fact related to the Qt library, and it is related to some component which will be difficult to debug/fix if we don't have more information. Please reopen if you experience this crash again. Thanks
Comment 4 Julian Steinmann 2018-04-02 16:47:32 UTC
Actually closing now, no new information provided.