Bug 195718 - KRunner crashed when I killed an application (used view: tree structure) (QSortFilterProxyModelPrivate::proxy_to_source, QSortFilterProxyModel::mapToSource, ..., ProcessFilter)
Summary: KRunner crashed when I killed an application (used view: tree structure) (QSo...
Status: RESOLVED FIXED
Alias: None
Product: ksysguard
Classification: Applications
Component: Process Controller - krunner part (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: KSysGuard Developers
URL:
Keywords:
: 201575 203213 205932 207081 207147 218110 219077 219144 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-06-08 23:13 UTC by Unknown
Modified: 2010-01-13 14:16 UTC (History)
11 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 Unknown 2009-06-08 23:13:53 UTC
Version:           ismeretlen (using 4.2.88 (KDE 4.2.88 (KDE 4.3 >= 20090527)) "release 1", KDE:KDE4:UNSTABLE:Desktop / openSUSE_11.1)
Compiler:          gcc
OS:                Linux (x86_64) release 2.6.27.21-0.1-default

I tried to kill `mc` but it was using hard-disk intensively, thus it was very hard to eliminate it. So I switched to tree view and tried to kill its parent, `bash`. During this, in a separate bash session I also tried to kill mc with `killall -9 mc`.

In the system manager mc and bash suddenly disappeared and then the whole manager crashed.

Here is the backtrace:

Application: Parancsindító felület (krunner), signal: Segmentation fault
[Current thread is 1 (Thread 0x7fe0d1503790 (LWP 30577))]

Thread 5 (Thread 0x7fe0b5aef950 (LWP 30585)):
#0  0x00007fe0ceb3cd59 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fe0cedade19 in QWaitCondition::wait (this=0x710758, mutex=0x710380, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  0x00007fe0d0530644 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x710730, th=0xa78ba0) at /usr/src/debug/kdelibs-4.2.89svn977047/threadweaver/Weaver/WeaverImpl.cpp:365
#3  0x00007fe0d0532da3 in ThreadWeaver::WorkingHardState::applyForWork (this=0x710310, th=0xa78ba0) at /usr/src/debug/kdelibs-4.2.89svn977047/threadweaver/Weaver/WorkingHardState.cpp:71
#4  0x00007fe0d053136f in ThreadWeaver::ThreadRunHelper::run (this=0x7fe0b5aef040, parent=0x710730, th=0xa78ba0) at /usr/src/debug/kdelibs-4.2.89svn977047/threadweaver/Weaver/Thread.cpp:87
#5  0x00007fe0d05317c9 in ThreadWeaver::Thread::run (this=0xa78ba0) at /usr/src/debug/kdelibs-4.2.89svn977047/threadweaver/Weaver/Thread.cpp:142
#6  0x00007fe0cedace65 in QThreadPrivate::start (arg=0xa78ba0) at thread/qthread_unix.cpp:188
#7  0x00007fe0ceb39070 in start_thread () from /lib64/libpthread.so.0
#8  0x00007fe0cbfc710d in clone () from /lib64/libc.so.6
#9  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7fe0b52ee950 (LWP 30586)):
#0  0x00007fe0ceb3cd59 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fe0cedade19 in QWaitCondition::wait (this=0x710758, mutex=0x710380, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  0x00007fe0d0530644 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x710730, th=0xa7d5f0) at /usr/src/debug/kdelibs-4.2.89svn977047/threadweaver/Weaver/WeaverImpl.cpp:365
#3  0x00007fe0d0532da3 in ThreadWeaver::WorkingHardState::applyForWork (this=0x710310, th=0xa7d5f0) at /usr/src/debug/kdelibs-4.2.89svn977047/threadweaver/Weaver/WorkingHardState.cpp:71
#4  0x00007fe0d053136f in ThreadWeaver::ThreadRunHelper::run (this=0x7fe0b52ee040, parent=0x710730, th=0xa7d5f0) at /usr/src/debug/kdelibs-4.2.89svn977047/threadweaver/Weaver/Thread.cpp:87
#5  0x00007fe0d05317c9 in ThreadWeaver::Thread::run (this=0xa7d5f0) at /usr/src/debug/kdelibs-4.2.89svn977047/threadweaver/Weaver/Thread.cpp:142
#6  0x00007fe0cedace65 in QThreadPrivate::start (arg=0xa7d5f0) at thread/qthread_unix.cpp:188
#7  0x00007fe0ceb39070 in start_thread () from /lib64/libpthread.so.0
#8  0x00007fe0cbfc710d in clone () from /lib64/libc.so.6
#9  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fe0b4aed950 (LWP 30587)):
#0  0x00007fe0ceb3cd59 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fe0cedade19 in QWaitCondition::wait (this=0x710758, mutex=0x710380, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  0x00007fe0d0530644 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x710730, th=0xa80820) at /usr/src/debug/kdelibs-4.2.89svn977047/threadweaver/Weaver/WeaverImpl.cpp:365
#3  0x00007fe0d0532da3 in ThreadWeaver::WorkingHardState::applyForWork (this=0x710310, th=0xa80820) at /usr/src/debug/kdelibs-4.2.89svn977047/threadweaver/Weaver/WorkingHardState.cpp:71
#4  0x00007fe0d0532dbc in ThreadWeaver::WorkingHardState::applyForWork (this=0x710310, th=0xa80820) at /usr/src/debug/kdelibs-4.2.89svn977047/threadweaver/Weaver/WorkingHardState.cpp:74
#5  0x00007fe0d053136f in ThreadWeaver::ThreadRunHelper::run (this=0x7fe0b4aed040, parent=0x710730, th=0xa80820) at /usr/src/debug/kdelibs-4.2.89svn977047/threadweaver/Weaver/Thread.cpp:87
#6  0x00007fe0d05317c9 in ThreadWeaver::Thread::run (this=0xa80820) at /usr/src/debug/kdelibs-4.2.89svn977047/threadweaver/Weaver/Thread.cpp:142
#7  0x00007fe0cedace65 in QThreadPrivate::start (arg=0xa80820) at thread/qthread_unix.cpp:188
#8  0x00007fe0ceb39070 in start_thread () from /lib64/libpthread.so.0
#9  0x00007fe0cbfc710d in clone () from /lib64/libc.so.6
#10 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fe0b42ec950 (LWP 30588)):
#0  0x00007fe0ceb3cd59 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fe0cedade19 in QWaitCondition::wait (this=0x710758, mutex=0x710380, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  0x00007fe0d0530644 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x710730, th=0xa83040) at /usr/src/debug/kdelibs-4.2.89svn977047/threadweaver/Weaver/WeaverImpl.cpp:365
#3  0x00007fe0d0532da3 in ThreadWeaver::WorkingHardState::applyForWork (this=0x710310, th=0xa83040) at /usr/src/debug/kdelibs-4.2.89svn977047/threadweaver/Weaver/WorkingHardState.cpp:71
#4  0x00007fe0d0532dbc in ThreadWeaver::WorkingHardState::applyForWork (this=0x710310, th=0xa83040) at /usr/src/debug/kdelibs-4.2.89svn977047/threadweaver/Weaver/WorkingHardState.cpp:74
#5  0x00007fe0d053136f in ThreadWeaver::ThreadRunHelper::run (this=0x7fe0b42ec040, parent=0x710730, th=0xa83040) at /usr/src/debug/kdelibs-4.2.89svn977047/threadweaver/Weaver/Thread.cpp:87
#6  0x00007fe0d05317c9 in ThreadWeaver::Thread::run (this=0xa83040) at /usr/src/debug/kdelibs-4.2.89svn977047/threadweaver/Weaver/Thread.cpp:142
#7  0x00007fe0cedace65 in QThreadPrivate::start (arg=0xa83040) at thread/qthread_unix.cpp:188
#8  0x00007fe0ceb39070 in start_thread () from /lib64/libpthread.so.0
#9  0x00007fe0cbfc710d in clone () from /lib64/libc.so.6
#10 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fe0d1503790 (LWP 30577)):
[KCrash Handler]
#5  QSortFilterProxyModelPrivate::proxy_to_source (this=0x1455060, proxy_index=@0x7fffd96456f0) at itemviews/qsortfilterproxymodel.cpp:320
#6  0x00007fe0ce67ac4d in QSortFilterProxyModel::mapToSource (this=<value optimized out>, proxyIndex=@0x7fffd96456f0) at itemviews/qsortfilterproxymodel.cpp:2383
#7  0x00007fe0ce672d45 in QSortFilterProxyModelPrivate::store_persistent_indexes (this=<value optimized out>) at itemviews/qsortfilterproxymodel.cpp:912
#8  0x00007fe0ce679489 in QSortFilterProxyModelPrivate::_q_sourceDataChanged (this=0x1455060, source_top_left=@0x7fffd9645a80, source_bottom_right=@0x7fffd9645a80)
    at itemviews/qsortfilterproxymodel.cpp:1063
#9  0x00007fe0ce67a44a in QSortFilterProxyModel::qt_metacall (this=0x141dff8, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffd9645a20)
    at .moc/release-shared/moc_qsortfilterproxymodel.cpp:120
#10 0x00007fe0d0da3a85 in ProcessFilter::qt_metacall (this=0x1, _c=21319776, _id=-647735568, _a=0x0)
    at /usr/src/debug/kdebase-workspace-4.2.89svn977047/build/libs/ksysguard/processui/ProcessFilter.moc:75
#11 0x00007fe0ceeab6e2 in QMetaObject::activate (sender=0x141dfe0, from_signal_index=<value optimized out>, to_signal_index=4, argv=0x0) at kernel/qobject.cpp:3113
#12 0x00007fe0ceee3117 in QAbstractItemModel::dataChanged (this=0x1, _t1=<value optimized out>, _t2=<value optimized out>) at .moc/release-shared/moc_qabstractitemmodel.cpp:126
#13 0x00007fe0d0da4ceb in ProcessModelPrivate::processChanged (this=0x13be9b0, process=0x144f9d0, onlyTotalCpu=false)
    at /usr/src/debug/kdebase-workspace-4.2.89svn977047/libs/ksysguard/processui/ProcessModel.cc:372
#14 0x00007fe0d0da8516 in ProcessModelPrivate::qt_metacall (this=0x13be9b0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffd9645bd0)
    at /usr/src/debug/kdebase-workspace-4.2.89svn977047/build/libs/ksysguard/processui/ProcessModel_p.moc:88
#15 0x00007fe0ceeab6e2 in QMetaObject::activate (sender=0x85cc90, from_signal_index=<value optimized out>, to_signal_index=4, argv=0x0) at kernel/qobject.cpp:3113
#16 0x00007fe0d0b7a19d in KSysGuard::Processes::processChanged (this=0x1, _t1=0x144f9d0, _t2=false)
    at /usr/src/debug/kdebase-workspace-4.2.89svn977047/build/libs/ksysguard/processcore/processes.moc:103
#17 0x00007fe0d0b7a501 in KSysGuard::Processes::updateProcess (this=0x85cc90, ps=0x1455060, ppid=0, onlyReparent=<value optimized out>)
    at /usr/src/debug/kdebase-workspace-4.2.89svn977047/libs/ksysguard/processcore/processes.cpp:235
#18 0x00007fe0d0b7bbd3 in KSysGuard::Processes::updateOrAddProcess (this=0x85cc90, pid=1) at /usr/src/debug/kdebase-workspace-4.2.89svn977047/libs/ksysguard/processcore/processes.cpp:283
#19 0x00007fe0d0b7bf3d in KSysGuard::Processes::processesUpdated (this=0x85cc90) at /usr/src/debug/kdebase-workspace-4.2.89svn977047/libs/ksysguard/processcore/processes.cpp:313
#20 0x00007fe0d0b7c810 in KSysGuard::Processes::qt_metacall (this=0x85cc90, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffd9645e50)
    at /usr/src/debug/kdebase-workspace-4.2.89svn977047/build/libs/ksysguard/processcore/processes.moc:91
#21 0x00007fe0ceeab6e2 in QMetaObject::activate (sender=0x85ccf0, from_signal_index=<value optimized out>, to_signal_index=4, argv=0x0) at kernel/qobject.cpp:3113
#22 0x00007fe0d0da5181 in ProcessModel::update (this=0x141dfe0, updateDurationMS=21319776) at /usr/src/debug/kdebase-workspace-4.2.89svn977047/libs/ksysguard/processui/ProcessModel.cc:226
#23 0x00007fe0d0d99e04 in KSysGuardProcessList::updateList (this=0x13b1bb0) at /usr/src/debug/kdebase-workspace-4.2.89svn977047/libs/ksysguard/processui/ksysguardprocesslist.cpp:742
#24 0x00007fe0d0da15a5 in KSysGuardProcessList::qt_metacall (this=0x13b1bb0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffd9645f80)
    at /usr/src/debug/kdebase-workspace-4.2.89svn977047/build/libs/ksysguard/processui/ksysguardprocesslist.moc:150
#25 0x00007fe0ceeab6e2 in QMetaObject::activate (sender=0x14768a0, from_signal_index=<value optimized out>, to_signal_index=4, argv=0x0) at kernel/qobject.cpp:3113
#26 0x00007fe0ceea6533 in QObject::event (this=0x14768a0, e=0x1455060) at kernel/qobject.cpp:1075
#27 0x00007fe0ce11ac7d in QApplicationPrivate::notify_helper (this=0x634f90, receiver=0x14768a0, e=0x7fffd9646670) at kernel/qapplication.cpp:4056
#28 0x00007fe0ce122f0a in QApplication::notify (this=0x62ad50, receiver=0x14768a0, e=0x7fffd9646670) at kernel/qapplication.cpp:4021
#29 0x00007fe0cfcd204b in KApplication::notify (this=0x62ad50, receiver=0x14768a0, event=0x7fffd9646670) at /usr/src/debug/kdelibs-4.2.89svn977047/kdeui/kernel/kapplication.cpp:302
#30 0x00007fe0cee9694c in QCoreApplication::notifyInternal (this=0x62ad50, receiver=0x14768a0, event=0x7fffd9646670) at kernel/qcoreapplication.cpp:610
#31 0x00007fe0ceec3c50 in QTimerInfoList::activateTimers (this=0x6320e0) at kernel/qcoreapplication.h:213
#32 0x00007fe0ceebfddd in timerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:165
#33 0x00007fe0c75cf0fb in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#34 0x00007fe0c75d28cd in ?? () from /usr/lib64/libglib-2.0.so.0
#35 0x00007fe0c75d2a8b in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#36 0x00007fe0ceebfd3f in QEventDispatcherGlib::processEvents (this=0x609060, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:327
#37 0x00007fe0ce1b1e1f in QGuiEventDispatcherGlib::processEvents (this=0x1, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#38 0x00007fe0cee951d2 in QEventLoop::processEvents (this=<value optimized out>, flags={i = -647730800}) at kernel/qeventloop.cpp:149
#39 0x00007fe0cee955a4 in QEventLoop::exec (this=0x7fffd96469d0, flags={i = -647730720}) at kernel/qeventloop.cpp:201
#40 0x00007fe0cee97894 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#41 0x00007fe0d11f9424 in kdemain (argc=1, argv=0x7fffd9646c88) at /usr/src/debug/kdebase-workspace-4.2.89svn977047/krunner/main.cpp:59
#42 0x00007fe0cbf12586 in __libc_start_main () from /lib64/libc.so.6
#43 0x0000000000400819 in _start () at ../sysdeps/x86_64/elf/start.S:113
Comment 1 Dario Andres 2009-06-09 00:45:00 UTC
This could be related to bug 158399. Thanks
Comment 2 John Tapsell 2009-06-09 00:53:31 UTC
Oh boy.  I really hate bugs in the custom model.  It's nearly impossible to get right.  This is going to take _weeks_ to track down and fix, if I ever get the energy to attempt it.
Comment 3 Sebastien Martel 2009-08-02 20:37:05 UTC
Is there a way to reproduce this I tried doing something similar with krunner but couldn't reproduce this error.
Comment 4 Dario Andres 2009-08-09 23:34:09 UTC
*** Bug 203213 has been marked as a duplicate of this bug. ***
Comment 5 Dario Andres 2009-09-02 02:40:48 UTC
*** Bug 201575 has been marked as a duplicate of this bug. ***
Comment 6 Dario Andres 2009-09-02 02:40:56 UTC
*** Bug 205932 has been marked as a duplicate of this bug. ***
Comment 7 Dario Andres 2009-09-11 16:50:59 UTC
*** Bug 207081 has been marked as a duplicate of this bug. ***
Comment 8 Dario Andres 2009-09-12 17:05:13 UTC
*** Bug 207147 has been marked as a duplicate of this bug. ***
Comment 9 Dario Andres 2009-12-10 14:41:58 UTC
*** Bug 218110 has been marked as a duplicate of this bug. ***
Comment 10 Dario Andres 2009-12-17 16:20:16 UTC
From bug 219077:
---
What I was doing when the application crashed:
Firefox (not Iceweasel) always hangs when I try to close it, so I went to kill
the hung process in System Activity app.  After killing Firefox, there was
another process 'mozilla.sh' (I think) and when I clicked that to see it, the
System Activity app crashed.
Comment 11 Dario Andres 2009-12-17 16:20:19 UTC
*** Bug 219077 has been marked as a duplicate of this bug. ***
Comment 12 Dario Andres 2009-12-18 16:35:01 UTC
*** Bug 219144 has been marked as a duplicate of this bug. ***
Comment 13 John Tapsell 2010-01-13 14:16:30 UTC
This should be fixed now.  Please reopen if it appears in 4.4 RC2 or newer.