Bug 158399 - ksysguard mysteriously crashes in background
Summary: ksysguard mysteriously crashes in background
Status: RESOLVED FIXED
Alias: None
Product: ksysguard
Classification: Unmaintained
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: KSysGuard Developers
URL:
Keywords:
: 169065 193923 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-02-25 15:57 UTC by Marcel Partap
Modified: 2009-08-08 22:01 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marcel Partap 2008-02-25 15:57:51 UTC
Version:           unknown (using 4.00.63 (KDE 4.0.63 >= 20080221), Gentoo)
Compiler:          x86_64-pc-linux-gnu-gcc
OS:                Linux (x86_64) release 2.6.24-git18

well since some time it happens every now and then ksysguard just crashes in the background.. svned up tonight and when it just occured I thought let's attach a backtrace in bugzilla so here it is:
Application: System Monitor (ksysguard), signal SIGSEGV
Using host libthread_db library "/lib/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread 0x7f3173bb5740 (LWP 7988)]
[New Thread 0x41190950 (LWP 8005)]
[KCrash handler]
#5  QSortFilterProxyModelPrivate::source_to_proxy (this=0x9d9fd0,
    source_index=@0x7fff7bd09160)
    at src/corelib/kernel/qabstractitemmodel.h:364
#6  0x00007f316eae6fed in QSortFilterProxyModel::mapFromSource (
    this=<value optimized out>, sourceIndex=@0x1d4)
    at itemviews/qsortfilterproxymodel.cpp:2249
#7  0x00007f316eae53a5 in QSortFilterProxyModel::parent (this=0x9d36c8,
    child=<value optimized out>) at itemviews/qsortfilterproxymodel.cpp:1451
#8  0x00007f316f797660 in QAbstractItemModelPrivate::rowsAboutToBeRemoved (
    this=0x9d9fd0, parent=@0x7fff7bd09340, first=2, last=2)
    at kernel/qabstractitemmodel.h:364
#9  0x00007f316f797895 in QAbstractItemModel::beginRemoveRows (this=0x9d36c8,
    parent=@0x7fff7bd09340, first=2, last=2)
    at kernel/qabstractitemmodel.cpp:2122
#10 0x00007f316eae5d0f in QSortFilterProxyModelPrivate::remove_proxy_interval
    (this=0x9d9fd0, source_to_proxy=@0x258c990, proxy_to_source=@0x258c980,
    proxy_start=2, proxy_end=2, proxy_parent=@0x24269100000,
    orient=Qt::Vertical, emit_signal=true)
    at itemviews/qsortfilterproxymodel.cpp:453
#11 0x00007f316eae6d67 in QSortFilterProxyModelPrivate::remove_source_items (
    this=0x9d9fd0, source_to_proxy=@0x258c990, proxy_to_source=@0x258c980,
    source_items=<value optimized out>, source_parent=<value optimized out>,
    orient=Qt::Vertical, emit_signal=true)
    at itemviews/qsortfilterproxymodel.cpp:435
#12 0x00007f316eae7e04 in QSortFilterProxyModelPrivate::source_items_about_to_be_removed (this=0x9d9fd0, source_parent=@0x7fff7bd09640, start=2, end=2,
    orient=Qt::Vertical) at itemviews/qsortfilterproxymodel.cpp:720
#13 0x00007f316eaeb794 in QSortFilterProxyModel::qt_metacall (this=0x9d36c8,
    _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>,
    _a=0x7fff7bd095b0) at .moc/debug-shared/moc_qsortfilterproxymodel.cpp:126
#14 0x00007f31732a39c5 in ProcessFilter::qt_metacall ()
   from /usr/kde/svn/lib64/libprocessui.so.4
#15 0x00007f316f7b60e2 in QMetaObject::activate (sender=0x9d36b0,
    from_signal_index=<value optimized out>, to_signal_index=10,
    argv=0x22800000) at kernel/qobject.cpp:3010
#16 0x00007f316f7f3e84 in QAbstractItemModel::rowsAboutToBeRemoved (
    this=0x7fff7bd09140, _t1=<value optimized out>, _t2=2, _t3=2)
    at .moc/debug-shared/moc_qabstractitemmodel.cpp:164
#17 0x00007f316f797885 in QAbstractItemModel::beginRemoveRows (this=0x9d36b0,
    parent=@0x7fff7bd09640, first=2, last=2)
    at kernel/qabstractitemmodel.cpp:2121
#18 0x00007f31732a81c4 in ?? () from /usr/kde/svn/lib64/libprocessui.so.4
#19 0x00007f31732a93e1 in ?? () from /usr/kde/svn/lib64/libprocessui.so.4
#20 0x00007f316f7b60e2 in QMetaObject::activate (sender=0x7bf250,
    from_signal_index=<value optimized out>, to_signal_index=7,
    argv=0x22800000) at kernel/qobject.cpp:3010
#21 0x00007f317307bc12 in KSysGuard::Processes::beginRemoveProcess ()
   from /usr/kde/svn/lib64/libprocesscore.so.4
#22 0x00007f317307e7fd in ?? () from /usr/kde/svn/lib64/libprocesscore.so.4
#23 0x00007f317307c5d8 in KSysGuard::Processes::processesUpdated ()
   from /usr/kde/svn/lib64/libprocesscore.so.4
#24 0x00007f317307c702 in KSysGuard::Processes::qt_metacall ()
   from /usr/kde/svn/lib64/libprocesscore.so.4
#25 0x00007f316f7b60e2 in QMetaObject::activate (sender=0x7c7ff0,
    from_signal_index=<value optimized out>, to_signal_index=4,
    argv=0x22800000) at kernel/qobject.cpp:3010
#26 0x00007f31732a8331 in ProcessModel::update ()
   from /usr/kde/svn/lib64/libprocessui.so.4
#27 0x00007f317329c9f9 in KSysGuardProcessList::updateList ()
   from /usr/kde/svn/lib64/libprocessui.so.4
#28 0x00007f31732a0464 in KSysGuardProcessList::qt_metacall ()
   from /usr/kde/svn/lib64/libprocessui.so.4
#29 0x00007f316f7b60e2 in QMetaObject::activate (sender=0x7c2600,
    from_signal_index=<value optimized out>, to_signal_index=4,
    argv=0x22800000) at kernel/qobject.cpp:3010
#30 0x00007f316f7b1d35 in QObject::event (this=0x7c2600, e=0x24269100000)
    at kernel/qobject.cpp:1105
#31 0x00007f316e5c07ff in QApplicationPrivate::notify_helper (this=0x61a910,
    receiver=0x7c2600, e=0x7fff7bd0a180) at kernel/qapplication.cpp:3761
#32 0x00007f316e5c53b5 in QApplication::notify (this=0x618e60,
    receiver=0x7c2600, e=0x7fff7bd0a180) at kernel/qapplication.cpp:3728
#33 0x00007f31726aa33e in KApplication::notify ()
   from /usr/kde/svn/lib64/libkdeui.so.5
#34 0x00007f316f7a09b8 in QCoreApplication::notifyInternal (this=0x618e60,
    receiver=0x7c2600, event=0x7fff7bd0a180)
    at kernel/qcoreapplication.cpp:586
#35 0x00007f316f7cfc49 in QTimerInfoList::activateTimers (this=0x61e120)
    at src/corelib/kernel/qcoreapplication.h:215
#36 0x00007f316f7ccacd in timerSourceDispatch (source=<value optimized out>)
    at kernel/qeventdispatcher_glib.cpp:166
#37 0x00007f316baf9be3 in IA__g_main_context_dispatch (context=0x61ca20)
    at gmain.c:2061
#38 0x00007f316bafcebd in g_main_context_iterate (context=0x61ca20, block=1,
    dispatch=1, self=<value optimized out>) at gmain.c:2694
#39 0x00007f316bafd38e in IA__g_main_context_iteration (context=0x61ca20,
    may_block=1) at gmain.c:2753
#40 0x00007f316f7cd12f in QEventDispatcherGlib::processEvents (this=0x61a340,
    flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:325
#41 0x00007f316e64dfef in QGuiEventDispatcherGlib::processEvents (
    this=0x7fff7bd09140, flags=<value optimized out>)
    at kernel/qguieventdispatcher_glib.cpp:204
#42 0x00007f316f79fc78 in QEventLoop::processEvents (
    this=<value optimized out>, flags=<value optimized out>)
    at kernel/qeventloop.cpp:146
#43 0x00007f316f79fdbe in QEventLoop::exec (this=0x7fff7bd0a400,
    flags=@0x7fff7bd0a410) at kernel/qeventloop.cpp:197
#44 0x00007f316f7a1f49 in QCoreApplication::exec ()
    at kernel/qcoreapplication.cpp:838
#45 0x00007f31738d1fa9 in kdemain ()
   from /usr/kde/svn/lib64/libkdeinit4_ksysguard.so
#46 0x00007f316caa91f4 in __libc_start_main (
    main=0x400a30 <__libc_start_main@plt+208>, argc=3, ubp_av=0x7fff7bd0a9c8,
    init=<value optimized out>, fini=<value optimized out>,
    rtld_fini=<value optimized out>, stack_end=0x7fff7bd0a9b8)
    at libc-start.c:227
#47 0x0000000000400999 in _start ()
#0  0x00007f316cb22c41 in nanosleep () from /lib64/libc.so.6
Comment 1 Dario Andres 2008-12-04 19:12:38 UTC
This may be related to bug 169065 (~ similar backtrace).
Have you experienced this bug again with a recent KDE version? (4.1.3 / 4.2beta1 /4.2svn) ? Thanks :)
Comment 2 John Tapsell 2008-12-06 10:46:00 UTC
Closing the bug since it seems to have been fixed in recent versions.
Comment 3 John Tapsell 2008-12-06 11:06:02 UTC
*** Bug 169065 has been marked as a duplicate of this bug. ***
Comment 4 Remco Bloemen 2009-04-16 20:04:52 UTC
I just experienced this similar crash on KDE 4.2.2 it happend directly after  I  xkilled a cpu-hogging blender and ctrl-c-ed an "amarok --nofork" running in konsole. I was not able to reproduce this. Perhaps a process getting deleted while the view is updating?

Application: System Monitor (ksysguard), signal SIGSEGV
0x00007f60b7639901 in nanosleep () from /lib/libc.so.6
Current language:  auto; currently c
[Current thread is 0 (LWP 12603)]

Thread 2 (Thread 0x7f60aea98950 (LWP 12604)):
#0  0x00007f60b7663682 in select () from /lib/libc.so.6
#1  0x00007f60b8edb365 in QProcessManager::run (this=0x255f010) at io/qprocess_unix.cpp:305
#2  0x00007f60b8e240a9 in QThreadPrivate::start (arg=0x255f010) at thread/qthread_unix.cpp:189
#3  0x00007f60b8bb3037 in start_thread () from /lib/libpthread.so.0
#4  0x00007f60b7669f7d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f60bba86760 (LWP 12603)):
[KCrash Handler]
#5  QSortFilterProxyModelPrivate::proxy_to_source (this=0x27a6d80, proxy_index=@0x7fffc3c63ee0) at itemviews/qsortfilterproxymodel.cpp:315
#6  0x00007f60b87599ad in QSortFilterProxyModel::mapToSource (this=<value optimized out>, proxyIndex=@0x7fffc3c63ee0) at itemviews/qsortfilterproxymodel.cpp:2346
#7  0x00007f60b875a390 in QSortFilterProxyModelPrivate::store_persistent_indexes (this=<value optimized out>) at itemviews/qsortfilterproxymodel.cpp:903
#8  0x00007f60b875fe74 in QSortFilterProxyModelPrivate::_q_sourceDataChanged (this=0x27a6d80, source_top_left=@0x7fffc3c64240, source_bottom_right=@0x7fffc3c64240)
    at itemviews/qsortfilterproxymodel.cpp:1042
#9  0x00007f60b87607ca in QSortFilterProxyModel::qt_metacall (this=0x2783bb8, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffc3c641e0)
    at .moc/release-shared/moc_qsortfilterproxymodel.cpp:120
#10 0x00007f60bb5a7417 in ProcessFilter::qt_metacall (this=0x2, _c=41577856, _id=-1010417952, _a=0x0)
    at /var/tmp/paludis/kde-base-ksysguard-4.2.2/work/ksysguard_build/libs/ksysguard/processui/ProcessFilter.moc:75
#11 0x00007f60b8f0a600 in QMetaObject::activate (sender=0x2783ba0, from_signal_index=<value optimized out>, to_signal_index=4, argv=0x0) at kernel/qobject.cpp:3057
#12 0x00007f60b8f3cfc7 in QAbstractItemModel::dataChanged (this=0x2, _t1=<value optimized out>, _t2=<value optimized out>) at .moc/release-shared/moc_qabstractitemmodel.cpp:126
#13 0x00007f60bb5a867b in ProcessModelPrivate::processChanged (this=0x2782970, process=0x27e7d70, onlyTotalCpu=false)
    at /var/tmp/paludis/kde-base-ksysguard-4.2.2/work/ksysguard-4.2.2/libs/ksysguard/processui/ProcessModel.cc:369
#14 0x00007f60bb5abf86 in ProcessModelPrivate::qt_metacall (this=0x2782970, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffc3c643a0)
    at /var/tmp/paludis/kde-base-ksysguard-4.2.2/work/ksysguard_build/libs/ksysguard/processui/ProcessModel_p.moc:88
#15 0x00007f60b8f0a600 in QMetaObject::activate (sender=0x25d33f0, from_signal_index=<value optimized out>, to_signal_index=4, argv=0x0) at kernel/qobject.cpp:3057
#16 0x00007f60bb37cafd in KSysGuard::Processes::processChanged (this=0x2, _t1=0x27e7d70, _t2=false)
    at /var/tmp/paludis/kde-base-ksysguard-4.2.2/work/ksysguard_build/libs/ksysguard/processcore/processes.moc:103
#17 0x00007f60bb37ce8d in KSysGuard::Processes::updateProcess (this=0x25d33f0, ps=0x27a6d80, ppid=0, onlyReparent=false)
    at /var/tmp/paludis/kde-base-ksysguard-4.2.2/work/ksysguard-4.2.2/libs/ksysguard/processcore/processes.cpp:227
#18 0x00007f60bb37e421 in KSysGuard::Processes::updateOrAddProcess (this=0x25d33f0, pid=1)
    at /var/tmp/paludis/kde-base-ksysguard-4.2.2/work/ksysguard-4.2.2/libs/ksysguard/processcore/processes.cpp:275
#19 0x00007f60bb37e3ce in KSysGuard::Processes::updateOrAddProcess (this=0x25d33f0, pid=5997)
    at /var/tmp/paludis/kde-base-ksysguard-4.2.2/work/ksysguard-4.2.2/libs/ksysguard/processcore/processes.cpp:268
#20 0x00007f60bb37e3ce in KSysGuard::Processes::updateOrAddProcess (this=0x25d33f0, pid=1285)
    at /var/tmp/paludis/kde-base-ksysguard-4.2.2/work/ksysguard-4.2.2/libs/ksysguard/processcore/processes.cpp:268
#21 0x00007f60bb37e80d in KSysGuard::Processes::processesUpdated (this=0x25d33f0) at /var/tmp/paludis/kde-base-ksysguard-4.2.2/work/ksysguard-4.2.2/libs/ksysguard/processcore/processes.cpp:305
#22 0x00007f60bb37f100 in KSysGuard::Processes::qt_metacall (this=0x25d33f0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffc3c646c0)
    at /var/tmp/paludis/kde-base-ksysguard-4.2.2/work/ksysguard_build/libs/ksysguard/processcore/processes.moc:91
#23 0x00007f60b8f0a600 in QMetaObject::activate (sender=0x2796590, from_signal_index=<value optimized out>, to_signal_index=4, argv=0x0) at kernel/qobject.cpp:3057
#24 0x00007f60bb5a8b39 in ProcessModel::update (this=0x2783ba0, updateDurationMS=41577856)
    at /var/tmp/paludis/kde-base-ksysguard-4.2.2/work/ksysguard-4.2.2/libs/ksysguard/processui/ProcessModel.cc:223
#25 0x00007f60bb59d684 in KSysGuardProcessList::updateList (this=0x2783a90) at /var/tmp/paludis/kde-base-ksysguard-4.2.2/work/ksysguard-4.2.2/libs/ksysguard/processui/ksysguardprocesslist.cpp:687
#26 0x00007f60bb5a4e85 in KSysGuardProcessList::qt_metacall (this=0x2783a90, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffc3c64800)
    at /var/tmp/paludis/kde-base-ksysguard-4.2.2/work/ksysguard_build/libs/ksysguard/processui/ksysguardprocesslist.moc:145
#27 0x00007f60b8f0a600 in QMetaObject::activate (sender=0x27b0500, from_signal_index=<value optimized out>, to_signal_index=4, argv=0x0) at kernel/qobject.cpp:3057
#28 0x00007f60b8f06e0b in QObject::event (this=0x27b0500, e=0x27a6d80) at kernel/qobject.cpp:1073
#29 0x00007f60b823731d in QApplicationPrivate::notify_helper (this=0x255aa00, receiver=0x27b0500, e=0x7fffc3c64eb0) at kernel/qapplication.cpp:4084
#30 0x00007f60b823e9ba in QApplication::notify (this=0x255a900, receiver=0x27b0500, e=0x7fffc3c64eb0) at kernel/qapplication.cpp:4049
#31 0x00007f60b9d045ca in KApplication::notify (this=0x255a900, receiver=0x27b0500, event=0x7fffc3c64eb0)
    at /var/tmp/paludis/kde-base-kdelibs-4.2.2-r1/work/kdelibs-4.2.2/kdeui/kernel/kapplication.cpp:307
#32 0x00007f60b8ef838b in QCoreApplication::notifyInternal (this=0x255a900, receiver=0x27b0500, event=0x7fffc3c64eb0) at kernel/qcoreapplication.cpp:598
#33 0x00007f60b8f20c1e in QTimerInfoList::activateTimers (this=0x255e190) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#34 0x00007f60b8f1daed in timerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:164
#35 0x00007f60b316068a in IA__g_main_context_dispatch (context=0x255d520) at gmain.c:2144
#36 0x00007f60b3163c6d in g_main_context_iterate (context=0x255d520, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2778
#37 0x00007f60b3163e1d in IA__g_main_context_iteration (context=0x255d520, may_block=1) at gmain.c:2841
#38 0x00007f60b8f1da4f in QEventDispatcherGlib::processEvents (this=0x2547550, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:323
#39 0x00007f60b82bcce8 in QGuiEventDispatcherGlib::processEvents (this=0x2, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#40 0x00007f60b8ef6d12 in QEventLoop::processEvents (this=<value optimized out>, flags={i = -1010413280}) at kernel/qeventloop.cpp:149
#41 0x00007f60b8ef6eb5 in QEventLoop::exec (this=0x7fffc3c65160, flags={i = -1010413200}) at kernel/qeventloop.cpp:196
#42 0x00007f60b8ef8f3c in QCoreApplication::exec () at kernel/qcoreapplication.cpp:880
#43 0x00007f60bb82fd07 in kdemain (argc=1, argv=0x7fffc3c656e8) at /var/tmp/paludis/kde-base-ksysguard-4.2.2/work/ksysguard-4.2.2/ksysguard/gui/ksysguard.cc:590
#44 0x00007f60b75b85c6 in __libc_start_main (main=0x4009a0 <main>, argc=1, ubp_av=0x7fffc3c656e8, init=0x4009e0 <__libc_csu_init>, fini=<value optimized out>, rtld_fini=<value optimized out>, 
    stack_end=0x7fffc3c656d8) at libc-start.c:226
#45 0x00000000004008a9 in _start () at ../sysdeps/x86_64/elf/start.S:113
Comment 5 Dario Andres 2009-04-18 13:55:16 UTC
@Remco Bloemen: what is your Qt version ?
Thanks
Comment 6 Remco Bloemen 2009-04-19 22:03:36 UTC
Qt version 4.5.0, kde 4.2.2-r1, gcc 4.3.3-r2 p1.1 (pie-10.1.5) on Gentoo amd 64.
Comment 7 Dario Andres 2009-05-24 19:39:02 UTC
*** Bug 193923 has been marked as a duplicate of this bug. ***
Comment 8 Marcel Partap 2009-08-08 22:01:03 UTC
Hasn't happened in some time now -> good.