Bug 237455

Summary: Krunner crashed [ QIcon | QuickSand::QsMatchView::showSelected | QuickSand::QsMatchView::keyPressEvent ]
Product: [Plasma] krunner Reporter: PC LX <kde>
Component: generalAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: andresbajotierra
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description PC LX 2010-05-13 03:08:10 UTC
Application that crashed: krunner
Version of the application: 0.1
KDE Version: 4.3.5 (KDE 4.3.5)
Qt Version: 4.5.3
Operating System: Linux 2.6.31.13-desktop-1mnb x86_64
Distribution: "Mandriva Linux 2010.0"

What I was doing when the application crashed:
Krunner crashed when executing a command. I was able to crash it another time, but I don't know how to reproduce it. The Krunner has the GUI set to in task oriented mode.

This crash's back trace seams very similar to the back trace in bug report 200648.


 -- Backtrace:
Application: Interface de Execução de Comandos (kdeinit4), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f8798dfa710 (LWP 4793))]

Thread 9 (Thread 0x7f8775e37910 (LWP 10873)):
#0  0x00007f87985d6e59 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f8798841d5b in QWaitCondition::wait (this=<value optimized out>, mutex=0x15d5960, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  0x00007f878f33ca66 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x15f6080, th=0x157dca0) at /usr/src/debug/kdelibs-4.3.5/threadweaver/Weaver/WeaverImpl.cpp:365
#3  0x00007f878f33eb9b in ThreadWeaver::WorkingHardState::applyForWork (this=0x15e3bb0, th=0x157dca0) at /usr/src/debug/kdelibs-4.3.5/threadweaver/Weaver/WorkingHardState.cpp:71
#4  0x00007f878f33d19f in ThreadWeaver::ThreadRunHelper::run (this=0x7f8775e37090, parent=0x15f6080, th=0x157dca0) at /usr/src/debug/kdelibs-4.3.5/threadweaver/Weaver/Thread.cpp:87
#5  0x00007f878f33d5f8 in ThreadWeaver::Thread::run (this=0x157dca0) at /usr/src/debug/kdelibs-4.3.5/threadweaver/Weaver/Thread.cpp:142
#6  0x00007f8798840ca5 in QThreadPrivate::start (arg=0x157dca0) at thread/qthread_unix.cpp:188
#7  0x00007f87985d27cd in start_thread () from /lib64/libpthread.so.0
#8  0x00007f8795fb937d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#9  0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7f8775636910 (LWP 10874)):
#0  0x00007f87985d6e59 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f8798841d5b in QWaitCondition::wait (this=<value optimized out>, mutex=0x15d5960, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  0x00007f878f33ca66 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x15f6080, th=0x15dddd0) at /usr/src/debug/kdelibs-4.3.5/threadweaver/Weaver/WeaverImpl.cpp:365
#3  0x00007f878f33eb9b in ThreadWeaver::WorkingHardState::applyForWork (this=0x15e3bb0, th=0x15dddd0) at /usr/src/debug/kdelibs-4.3.5/threadweaver/Weaver/WorkingHardState.cpp:71
#4  0x00007f878f33d19f in ThreadWeaver::ThreadRunHelper::run (this=0x7f8775636090, parent=0x15f6080, th=0x15dddd0) at /usr/src/debug/kdelibs-4.3.5/threadweaver/Weaver/Thread.cpp:87
#5  0x00007f878f33d5f8 in ThreadWeaver::Thread::run (this=0x15dddd0) at /usr/src/debug/kdelibs-4.3.5/threadweaver/Weaver/Thread.cpp:142
#6  0x00007f8798840ca5 in QThreadPrivate::start (arg=0x15dddd0) at thread/qthread_unix.cpp:188
#7  0x00007f87985d27cd in start_thread () from /lib64/libpthread.so.0
#8  0x00007f8795fb937d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#9  0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7f8774e35910 (LWP 10875)):
#0  0x00007f87985d6e59 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f8798841d5b in QWaitCondition::wait (this=<value optimized out>, mutex=0x15d5960, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  0x00007f878f33ca66 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x15f6080, th=0x1579af0) at /usr/src/debug/kdelibs-4.3.5/threadweaver/Weaver/WeaverImpl.cpp:365
#3  0x00007f878f33eb9b in ThreadWeaver::WorkingHardState::applyForWork (this=0x15e3bb0, th=0x1579af0) at /usr/src/debug/kdelibs-4.3.5/threadweaver/Weaver/WorkingHardState.cpp:71
#4  0x00007f878f33d19f in ThreadWeaver::ThreadRunHelper::run (this=0x7f8774e35090, parent=0x15f6080, th=0x1579af0) at /usr/src/debug/kdelibs-4.3.5/threadweaver/Weaver/Thread.cpp:87
#5  0x00007f878f33d5f8 in ThreadWeaver::Thread::run (this=0x1579af0) at /usr/src/debug/kdelibs-4.3.5/threadweaver/Weaver/Thread.cpp:142
#6  0x00007f8798840ca5 in QThreadPrivate::start (arg=0x1579af0) at thread/qthread_unix.cpp:188
#7  0x00007f87985d27cd in start_thread () from /lib64/libpthread.so.0
#8  0x00007f8795fb937d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#9  0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7f8774634910 (LWP 10876)):
#0  0x00007f87985d6e59 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f8798841d5b in QWaitCondition::wait (this=<value optimized out>, mutex=0x15d5960, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  0x00007f878f33ca66 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x15f6080, th=0x177a9d0) at /usr/src/debug/kdelibs-4.3.5/threadweaver/Weaver/WeaverImpl.cpp:365
#3  0x00007f878f33eb9b in ThreadWeaver::WorkingHardState::applyForWork (this=0x15e3bb0, th=0x177a9d0) at /usr/src/debug/kdelibs-4.3.5/threadweaver/Weaver/WorkingHardState.cpp:71
#4  0x00007f878f33d19f in ThreadWeaver::ThreadRunHelper::run (this=0x7f8774634090, parent=0x15f6080, th=0x177a9d0) at /usr/src/debug/kdelibs-4.3.5/threadweaver/Weaver/Thread.cpp:87
#5  0x00007f878f33d5f8 in ThreadWeaver::Thread::run (this=0x177a9d0) at /usr/src/debug/kdelibs-4.3.5/threadweaver/Weaver/Thread.cpp:142
#6  0x00007f8798840ca5 in QThreadPrivate::start (arg=0x177a9d0) at thread/qthread_unix.cpp:188
#7  0x00007f87985d27cd in start_thread () from /lib64/libpthread.so.0
#8  0x00007f8795fb937d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#9  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f8773e33910 (LWP 10877)):
#0  0x00007f87985d6e59 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f8798841d5b in QWaitCondition::wait (this=<value optimized out>, mutex=0x15d5960, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  0x00007f878f33ca66 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x15f6080, th=0x166e910) at /usr/src/debug/kdelibs-4.3.5/threadweaver/Weaver/WeaverImpl.cpp:365
#3  0x00007f878f33eb9b in ThreadWeaver::WorkingHardState::applyForWork (this=0x15e3bb0, th=0x166e910) at /usr/src/debug/kdelibs-4.3.5/threadweaver/Weaver/WorkingHardState.cpp:71
#4  0x00007f878f33d19f in ThreadWeaver::ThreadRunHelper::run (this=0x7f8773e33090, parent=0x15f6080, th=0x166e910) at /usr/src/debug/kdelibs-4.3.5/threadweaver/Weaver/Thread.cpp:87
#5  0x00007f878f33d5f8 in ThreadWeaver::Thread::run (this=0x166e910) at /usr/src/debug/kdelibs-4.3.5/threadweaver/Weaver/Thread.cpp:142
#6  0x00007f8798840ca5 in QThreadPrivate::start (arg=0x166e910) at thread/qthread_unix.cpp:188
#7  0x00007f87985d27cd in start_thread () from /lib64/libpthread.so.0
#8  0x00007f8795fb937d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#9  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f8773632910 (LWP 10878)):
#0  0x00007f87985d6e59 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f8798841d5b in QWaitCondition::wait (this=<value optimized out>, mutex=0x15d5960, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  0x00007f878f33ca66 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x15f6080, th=0x1714de0) at /usr/src/debug/kdelibs-4.3.5/threadweaver/Weaver/WeaverImpl.cpp:365
#3  0x00007f878f33eb9b in ThreadWeaver::WorkingHardState::applyForWork (this=0x15e3bb0, th=0x1714de0) at /usr/src/debug/kdelibs-4.3.5/threadweaver/Weaver/WorkingHardState.cpp:71
#4  0x00007f878f33d19f in ThreadWeaver::ThreadRunHelper::run (this=0x7f8773632090, parent=0x15f6080, th=0x1714de0) at /usr/src/debug/kdelibs-4.3.5/threadweaver/Weaver/Thread.cpp:87
#5  0x00007f878f33d5f8 in ThreadWeaver::Thread::run (this=0x1714de0) at /usr/src/debug/kdelibs-4.3.5/threadweaver/Weaver/Thread.cpp:142
#6  0x00007f8798840ca5 in QThreadPrivate::start (arg=0x1714de0) at thread/qthread_unix.cpp:188
#7  0x00007f87985d27cd in start_thread () from /lib64/libpthread.so.0
#8  0x00007f8795fb937d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#9  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f8772e31910 (LWP 10879)):
#0  0x00007f87985d6e59 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f8798841d5b in QWaitCondition::wait (this=<value optimized out>, mutex=0x15d5960, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  0x00007f878f33ca66 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x15f6080, th=0x1574730) at /usr/src/debug/kdelibs-4.3.5/threadweaver/Weaver/WeaverImpl.cpp:365
#3  0x00007f878f33eb9b in ThreadWeaver::WorkingHardState::applyForWork (this=0x15e3bb0, th=0x1574730) at /usr/src/debug/kdelibs-4.3.5/threadweaver/Weaver/WorkingHardState.cpp:71
#4  0x00007f878f33d19f in ThreadWeaver::ThreadRunHelper::run (this=0x7f8772e31090, parent=0x15f6080, th=0x1574730) at /usr/src/debug/kdelibs-4.3.5/threadweaver/Weaver/Thread.cpp:87
#5  0x00007f878f33d5f8 in ThreadWeaver::Thread::run (this=0x1574730) at /usr/src/debug/kdelibs-4.3.5/threadweaver/Weaver/Thread.cpp:142
#6  0x00007f8798840ca5 in QThreadPrivate::start (arg=0x1574730) at thread/qthread_unix.cpp:188
#7  0x00007f87985d27cd in start_thread () from /lib64/libpthread.so.0
#8  0x00007f8795fb937d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#9  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f8772630910 (LWP 10880)):
#0  0x00007f87985d6e59 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f8798841d5b in QWaitCondition::wait (this=<value optimized out>, mutex=0x15d5960, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  0x00007f878f33ca66 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x15f6080, th=0x18eff90) at /usr/src/debug/kdelibs-4.3.5/threadweaver/Weaver/WeaverImpl.cpp:365
#3  0x00007f878f33eb9b in ThreadWeaver::WorkingHardState::applyForWork (this=0x15e3bb0, th=0x18eff90) at /usr/src/debug/kdelibs-4.3.5/threadweaver/Weaver/WorkingHardState.cpp:71
#4  0x00007f878f33d19f in ThreadWeaver::ThreadRunHelper::run (this=0x7f8772630090, parent=0x15f6080, th=0x18eff90) at /usr/src/debug/kdelibs-4.3.5/threadweaver/Weaver/Thread.cpp:87
#5  0x00007f878f33d5f8 in ThreadWeaver::Thread::run (this=0x18eff90) at /usr/src/debug/kdelibs-4.3.5/threadweaver/Weaver/Thread.cpp:142
#6  0x00007f8798840ca5 in QThreadPrivate::start (arg=0x18eff90) at thread/qthread_unix.cpp:188
#7  0x00007f87985d27cd in start_thread () from /lib64/libpthread.so.0
#8  0x00007f8795fb937d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#9  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f8798dfa710 (LWP 4793)):
[KCrash Handler]
#5  QIcon (this=0x7fff32bff850, other=@0x39) at image/qicon.cpp:578
#6  0x00007f878ad8d41c in QuickSand::QsMatchView::showSelected (this=0x1577fe0) at /usr/src/debug/kdebase-workspace-4.3.5/krunner/interfaces/quicksand/qs_matchitem.h:55
#7  0x00007f878ad8f280 in QuickSand::QsMatchView::keyPressEvent (this=0x1577fe0, e=0x7fff32bffee0) at /usr/src/debug/kdebase-workspace-4.3.5/krunner/interfaces/quicksand/qs_matchview.cpp:634
#8  0x00007f8796728a22 in QWidget::event (this=0x1577fe0, event=0x7fff32bffee0) at kernel/qwidget.cpp:7589
#9  0x00007f87966da12c in QApplicationPrivate::notify_helper (this=0x14bbe30, receiver=0x1577fe0, e=0x7fff32bffee0) at kernel/qapplication.cpp:4065
#10 0x00007f87966e1f13 in QApplication::notify (this=<value optimized out>, receiver=0x1577fe0, e=0x7fff32bffee0) at kernel/qapplication.cpp:3664
#11 0x00007f87972fe3f6 in KApplication::notify (this=0x14bba30, receiver=0x1577fe0, event=0x7fff32bffee0) at /usr/src/debug/kdelibs-4.3.5/kdeui/kernel/kapplication.cpp:302
#12 0x00007f87989266ac in QCoreApplication::notifyInternal (this=0x14bba30, receiver=0x1577fe0, event=0x7fff32bffee0) at kernel/qcoreapplication.cpp:610
#13 0x00007f8796769f8a in QKeyMapper::sendKeyEvent (keyWidget=0x1577fe0, grab=<value optimized out>, type=QEvent::KeyPress, code=16777220, modifiers=<value optimized out>, text=@0x7fff32c00100, 
    autorepeat=false, count=1, nativeScanCode=36, nativeVirtualKey=65293, nativeModifiers=16) at kernel/qkeymapper_x11.cpp:1861
#14 0x00007f879676c500 in QKeyMapperPrivate::translateKeyEvent (this=0x7fff32c000c0, keyWidget=0x1577fe0, event=<value optimized out>, grab=57) at kernel/qkeymapper_x11.cpp:1831
#15 0x00007f8796745624 in QApplication::x11ProcessEvent (this=<value optimized out>, event=0x7fff32c01cc0) at kernel/qapplication_x11.cpp:3445
#16 0x00007f879676de9c in x11EventSourceDispatch (s=<value optimized out>, callback=<value optimized out>, user_data=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:146
#17 0x00007f87956344ce in IA__g_main_context_dispatch (context=0x14be530) at gmain.c:1960
#18 0x00007f8795637e98 in g_main_context_iterate (context=0x14be530, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at gmain.c:2591
#19 0x00007f8795637fc0 in IA__g_main_context_iteration (context=0x14be530, may_block=1) at gmain.c:2654
#20 0x00007f879894ec73 in QEventDispatcherGlib::processEvents (this=0x141f080, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:406
#21 0x00007f879676d64e in QGuiEventDispatcherGlib::processEvents (this=0x7fff32bff850, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#22 0x00007f8798924fe2 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#23 0x00007f87989253b4 in QEventLoop::exec (this=0x7fff32c01ff0, flags=) at kernel/qeventloop.cpp:201
#24 0x00007f8798927569 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#25 0x00007f878ad7bd04 in kdemain (argc=<value optimized out>, argv=<value optimized out>) at /usr/src/debug/kdebase-workspace-4.3.5/krunner/main.cpp:65
#26 0x00000000004068b8 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=0x409d9d "0") at /usr/src/debug/kdelibs-4.3.5/kinit/kinit.cpp:677
#27 0x00000000004075b0 in handle_launcher_request (sock=7, who=<value optimized out>) at /usr/src/debug/kdelibs-4.3.5/kinit/kinit.cpp:1169
#28 0x0000000000407a61 in handle_requests (waitForPid=0) at /usr/src/debug/kdelibs-4.3.5/kinit/kinit.cpp:1362
#29 0x00000000004086c2 in main (argc=2, argv=<value optimized out>, envp=<value optimized out>) at /usr/src/debug/kdelibs-4.3.5/kinit/kinit.cpp:1793

This bug may be a duplicate of or related to bug 200648

Reported using DrKonqi
Comment 1 Alex Fiestas 2010-05-21 22:33:13 UTC
SVN commit 1129275 by afiestas:

The m_currentItem is already initialized and -1 has no sense here (never is checked)

BUG: 236506
BUG: 224355
BUG: 237455


 M  +0 -2      qs_matchview.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1129275
Comment 2 Dario Andres 2010-12-13 20:53:10 UTC

*** This bug has been marked as a duplicate of bug 200648 ***