Bug 245599

Summary: krunner crashed after killing a process of user root
Product: [Unmaintained] ksysguard Reporter: m.stoeckholz
Component: Process Controller - krunner partAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: francesco314
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description m.stoeckholz 2010-07-24 02:11:33 UTC
Application: krunner (0.1)
KDE Platform Version: 4.4.2 (KDE 4.4.2)
Qt Version: 4.7.0
Operating System: Linux 2.6.32-24-generic x86_64
Distribution: Ubuntu 10.04.1 LTS

-- Information about the crash:
When I want to kill/term an autostart process of user root a few seconds after startup krunner crashes and the process is not killed/termed.

The crash can be reproduced every time.

 -- Backtrace:
Application: Oberfläche zur Ausführung von Befehlen (kdeinit4), signal: Segmentation fault
[Current thread is 1 (Thread 0x7fd3c47e4760 (LWP 2009))]

Thread 2 (Thread 0x7fd3a4070710 (LWP 2039)):
#0  0x00007fd3c176ef83 in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fd3be10f4a9 in ?? () from /lib/libglib-2.0.so.0
#2  0x00007fd3be10f8fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0x00007fd3c2dc59c6 in QEventDispatcherGlib::processEvents (this=0x1d7feb0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414
#4  0x00007fd3c2d985b2 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#5  0x00007fd3c2d9898c in QEventLoop::exec (this=0x7fd3a406fdb0, flags=) at kernel/qeventloop.cpp:201
#6  0x00007fd3c2ca41cd in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:490
#7  0x00007fd3c2d784d8 in QInotifyFileSystemWatcherEngine::run (this=0x1d84e70) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007fd3c2ca714e in QThreadPrivate::start (arg=0x1d84e70) at thread/qthread_unix.cpp:266
#9  0x00007fd3c2a159ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#10 0x00007fd3c177b6fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fd3c47e4760 (LWP 2009)):
[KCrash Handler]
#5  QSortFilterProxyModelPrivate::proxy_to_source (this=0x1f49920, proxy_index=...) at itemviews/qsortfilterproxymodel.cpp:368
#6  0x00007fd3c24ca54d in QSortFilterProxyModel::mapToSource (this=<value optimized out>, proxyIndex=...) at itemviews/qsortfilterproxymodel.cpp:2491
#7  0x00007fd3c24c3866 in QSortFilterProxyModelPrivate::store_persistent_indexes (this=<value optimized out>) at itemviews/qsortfilterproxymodel.cpp:994
#8  0x00007fd3c24c3aed in QSortFilterProxyModelPrivate::sort (this=0x1f49920) at itemviews/qsortfilterproxymodel.cpp:424
#9  0x00007fd3c24827d7 in QTreeView::qt_metacall (this=0x1f36b30, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff491446d0) at .moc/release-shared/moc_qtreeview.cpp:142
#10 0x00007fd3c2db1597 in QMetaObject::activate (sender=0x1f438c0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x9) at kernel/qobject.cpp:3280
#11 0x00007fd3c244146f in QHeaderView::sortIndicatorChanged (this=0xb, _t1=5, _t2=Qt::AscendingOrder) at .moc/release-shared/moc_qheaderview.cpp:281
#12 0x00007fd3c2471288 in QTreeView::sortByColumn (this=<value optimized out>, column=32807200, order=1226065088) at itemviews/qtreeview.cpp:2572
#13 0x00007fd3b68e4002 in KSysGuardProcessList::updateList (this=0x1d86a40) at ../../../../libs/ksysguard/processui/ksysguardprocesslist.cpp:917
#14 0x00007fd3b68eb689 in KSysGuardProcessList::qt_metacall (this=0x1d86a40, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff49144890) at ./ksysguardprocesslist.moc:164
#15 0x00007fd3c2db1597 in QMetaObject::activate (sender=0x1d31880, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x9) at kernel/qobject.cpp:3280
#16 0x00007fd3c2dab389 in QObject::event (this=0x1d31880, e=0x1f49920) at kernel/qobject.cpp:1183
#17 0x00007fd3c1ef3a2c in QApplicationPrivate::notify_helper (this=0x1ad7290, receiver=0x1d31880, e=0x7fff49144fe0) at kernel/qapplication.cpp:4358
#18 0x00007fd3c1ef94cd in QApplication::notify (this=0x1ad6fb0, receiver=0x1d31880, e=0x7fff49144fe0) at kernel/qapplication.cpp:4241
#19 0x00007fd3c32fe526 in KApplication::notify (this=0x1ad6fb0, receiver=0x1d31880, event=0x7fff49144fe0) at ../../kdeui/kernel/kapplication.cpp:302
#20 0x00007fd3c2d9987c in QCoreApplication::notifyInternal (this=0x1ad6fb0, receiver=0x1d31880, event=0x7fff49144fe0) at kernel/qcoreapplication.cpp:732
#21 0x00007fd3c2dc8ea2 in QCoreApplication::sendEvent (this=0x1adaa40) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#22 QTimerInfoList::activateTimers (this=0x1adaa40) at kernel/qeventdispatcher_unix.cpp:602
#23 0x00007fd3c2dc5c84 in timerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:184
#24 0x00007fd3be10b8c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#25 0x00007fd3be10f748 in ?? () from /lib/libglib-2.0.so.0
#26 0x00007fd3be10f8fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#27 0x00007fd3c2dc5973 in QEventDispatcherGlib::processEvents (this=0x1a4cd70, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#28 0x00007fd3c1fa4fce in QGuiEventDispatcherGlib::processEvents (this=0xb, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#29 0x00007fd3c2d985b2 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#30 0x00007fd3c2d9898c in QEventLoop::exec (this=0x7fff49145280, flags=) at kernel/qeventloop.cpp:201
#31 0x00007fd3c2d9ca3b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#32 0x00007fd3b6ddc6b4 in kdemain (argc=<value optimized out>, argv=<value optimized out>) at ../../krunner/main.cpp:65
#33 0x00000000004070f3 in launch (argc=1, _name=<value optimized out>, args=<value optimized out>, cwd=<value optimized out>, envc=0, envs=<value optimized out>, reset_env=false, tty=0x0, 
    avoid_loops=false, startup_id_str=0x40a4f9 "0") at ../../kinit/kinit.cpp:717
#34 0x0000000000407cb0 in handle_launcher_request (sock=8, who=<value optimized out>) at ../../kinit/kinit.cpp:1209
#35 0x000000000040823a in handle_requests (waitForPid=0) at ../../kinit/kinit.cpp:1402
#36 0x0000000000408e22 in main (argc=4, argv=<value optimized out>, envp=<value optimized out>) at ../../kinit/kinit.cpp:1845

Possible duplicates by query: bug 234884, bug 232891, bug 229496, bug 219144, bug 219077.

Reported using DrKonqi
Comment 1 Christoph Feck 2010-10-11 14:15:49 UTC

*** This bug has been marked as a duplicate of bug 230488 ***
Comment 2 Francesco 2010-11-20 15:50:32 UTC
Created attachment 53576 [details]
New crash information added by DrKonqi

ksysguard (4.4.2 (KDE 4.4.2)) on KDE Platform 4.5.1 (KDE 4.5.1) using Qt 4.7.0

- What I was doing when the application crashed: I was killing gnash, whose CPU usage was out of control. Kdesysguard immediatly crashed. I don't know if process was actually killed (if it was, it reasterted afterwards)

-- Backtrace (Reduced):
#7  QSortFilterProxyModelPrivate::proxy_to_source (this=0x9cbd2e0, proxy_index=...) at itemviews/qsortfilterproxymodel.cpp:369
#8  0x08cd0a73 in QSortFilterProxyModel::mapToSource (this=0x9ce12c4, proxyIndex=...) at itemviews/qsortfilterproxymodel.cpp:2491
#9  0x08cc9d37 in QSortFilterProxyModelPrivate::store_persistent_indexes (this=0x9cbd2e0) at itemviews/qsortfilterproxymodel.cpp:994
#10 0x08cc9ecd in QSortFilterProxyModelPrivate::sort (this=0x9cbd2e0) at itemviews/qsortfilterproxymodel.cpp:424
#11 0x08c72878 in QTreeViewPrivate::_q_sortIndicatorChanged (this=0x9d10710, column=5, order=Qt::AscendingOrder) at itemviews/qtreeview.cpp:3690