Bug 235787 - "Run Command" GUI crashes when is filled only part of the command and launched by Enter [Plasma::QueryMatch::type, Interface::run, Interface::runDefaultResultItem]
Summary: "Run Command" GUI crashes when is filled only part of the command and launche...
Status: CLOSED FIXED
Alias: None
Product: krunner
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
: 242153 267738 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-04-30 08:06 UTC by Milan Masek
Modified: 2011-12-13 00:18 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 Milan Masek 2010-04-30 08:06:04 UTC
Application: krunner (0.1)
KDE Platform Version: 4.4.2 (KDE 4.4.2)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-21-generic i686
Distribution: Ubuntu 10.04 LTS

-- Information about the crash:
This happens when "Run Command" is launched for the first time after OS has been started. Press ALT+F2, type eg. "fire" to start Firefox and hit enter.

The crash can be reproduced some of the time.

 -- Backtrace:
Application: Run Command Interface (kdeinit4), signal: Segmentation fault
[Current thread is 1 (Thread 0xb7808aa0 (LWP 1490))]

Thread 6 (Thread 0xab9c1b70 (LWP 1521)):
#0  0x00783422 in __kernel_vsyscall ()
#1  0x00a67b86 in poll () from /lib/tls/i686/cmov/libc.so.6
#2  0x029fc4eb in g_poll () from /lib/libglib-2.0.so.0
#3  0x029ef0ac in ?? () from /lib/libglib-2.0.so.0
#4  0x029ef4b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#5  0x0064260f in QEventDispatcherGlib::processEvents (this=0x9ebc8e8, flags=...) at kernel/qeventdispatcher_glib.cpp:414
#6  0x00615059 in QEventLoop::processEvents (this=0xab9c1290, flags=) at kernel/qeventloop.cpp:149
#7  0x006154aa in QEventLoop::exec (this=0xab9c1290, flags=...) at kernel/qeventloop.cpp:201
#8  0x005115a8 in QThread::exec (this=0x9e8d5c0) at thread/qthread.cpp:487
#9  0x005f4c1b in QInotifyFileSystemWatcherEngine::run (this=0x9e8d5c0) at io/qfilesystemwatcher_inotify.cpp:248
#10 0x0051432e in QThreadPrivate::start (arg=0x9e8d5c0) at thread/qthread_unix.cpp:248
#11 0x0073196e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#12 0x00a75a0e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 5 (Thread 0xab050b70 (LWP 1612)):
#0  0x00783422 in __kernel_vsyscall ()
#1  0x00736015 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x00515287 in QWaitConditionPrivate::wait (this=0x9d706b8, mutex=0x9d58130, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#3  QWaitCondition::wait (this=0x9d706b8, mutex=0x9d58130, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#4  0x02948870 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x9d706a0, th=0x9d75b00) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#5  0x0294b38c in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x9d723f0, th=0x9d75b00) at ../../../threadweaver/Weaver/WorkingHardState.cpp:80
#6  0x0294727b in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x9d706a0, th=0x9d75b00) at ../../../threadweaver/Weaver/WeaverImpl.cpp:356
#7  0x0294b482 in ThreadWeaver::WorkingHardState::applyForWork (this=0x9d723f0, th=0x9d75b00) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#8  0x029484d3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x9d706a0, th=0x9d75b00, previous=0x9ee15c0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#9  0x0294951e in ThreadWeaver::ThreadRunHelper::run (this=0xab0502f4, parent=0x9d706a0, th=0x9d75b00) at ../../../threadweaver/Weaver/Thread.cpp:87
#10 0x02949c3b in ThreadWeaver::Thread::run (this=0x9d75b00) at ../../../threadweaver/Weaver/Thread.cpp:142
#11 0x0051432e in QThreadPrivate::start (arg=0x9d75b00) at thread/qthread_unix.cpp:248
#12 0x0073196e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#13 0x00a75a0e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 4 (Thread 0xaa6ffb70 (LWP 1613)):
#0  0x00783422 in __kernel_vsyscall ()
#1  0x00736015 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x00515287 in QWaitConditionPrivate::wait (this=0x9d706b8, mutex=0x9d58130, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#3  QWaitCondition::wait (this=0x9d706b8, mutex=0x9d58130, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#4  0x02948870 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x9d706a0, th=0x9ed1488) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#5  0x0294b38c in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x9d723f0, th=0x9ed1488) at ../../../threadweaver/Weaver/WorkingHardState.cpp:80
#6  0x0294727b in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x9d706a0, th=0x9ed1488) at ../../../threadweaver/Weaver/WeaverImpl.cpp:356
#7  0x0294b482 in ThreadWeaver::WorkingHardState::applyForWork (this=0x9d723f0, th=0x9ed1488) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#8  0x029484d3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x9d706a0, th=0x9ed1488, previous=0x9fbb718) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#9  0x0294951e in ThreadWeaver::ThreadRunHelper::run (this=0xaa6ff2f4, parent=0x9d706a0, th=0x9ed1488) at ../../../threadweaver/Weaver/Thread.cpp:87
#10 0x02949c3b in ThreadWeaver::Thread::run (this=0x9ed1488) at ../../../threadweaver/Weaver/Thread.cpp:142
#11 0x0051432e in QThreadPrivate::start (arg=0x9ed1488) at thread/qthread_unix.cpp:248
#12 0x0073196e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#13 0x00a75a0e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 3 (Thread 0xa9efeb70 (LWP 1614)):
#0  0x00783422 in __kernel_vsyscall ()
#1  0x00736015 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x00515287 in QWaitConditionPrivate::wait (this=0x9d706b8, mutex=0x9d58130, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#3  QWaitCondition::wait (this=0x9d706b8, mutex=0x9d58130, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#4  0x02948870 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x9d706a0, th=0x9d95930) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#5  0x0294b38c in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x9d723f0, th=0x9d95930) at ../../../threadweaver/Weaver/WorkingHardState.cpp:80
#6  0x0294727b in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x9d706a0, th=0x9d95930) at ../../../threadweaver/Weaver/WeaverImpl.cpp:356
#7  0x0294b482 in ThreadWeaver::WorkingHardState::applyForWork (this=0x9d723f0, th=0x9d95930) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#8  0x029484d3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x9d706a0, th=0x9d95930, previous=0x0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#9  0x0294b4a1 in ThreadWeaver::WorkingHardState::applyForWork (this=0x9d723f0, th=0x9d95930) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#10 0x029484d3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x9d706a0, th=0x9d95930, previous=0x9de6a10) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#11 0x0294951e in ThreadWeaver::ThreadRunHelper::run (this=0xa9efe2f4, parent=0x9d706a0, th=0x9d95930) at ../../../threadweaver/Weaver/Thread.cpp:87
#12 0x02949c3b in ThreadWeaver::Thread::run (this=0x9d95930) at ../../../threadweaver/Weaver/Thread.cpp:142
#13 0x0051432e in QThreadPrivate::start (arg=0x9d95930) at thread/qthread_unix.cpp:248
#14 0x0073196e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#15 0x00a75a0e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 2 (Thread 0xa96fdb70 (LWP 1615)):
#0  0x00783422 in __kernel_vsyscall ()
#1  0x00736015 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x00515287 in QWaitConditionPrivate::wait (this=0x9d706b8, mutex=0x9d58130, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#3  QWaitCondition::wait (this=0x9d706b8, mutex=0x9d58130, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#4  0x02948870 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x9d706a0, th=0x9d6b700) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#5  0x0294b38c in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x9d723f0, th=0x9d6b700) at ../../../threadweaver/Weaver/WorkingHardState.cpp:80
#6  0x0294727b in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x9d706a0, th=0x9d6b700) at ../../../threadweaver/Weaver/WeaverImpl.cpp:356
#7  0x0294b482 in ThreadWeaver::WorkingHardState::applyForWork (this=0x9d723f0, th=0x9d6b700) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#8  0x029484d3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x9d706a0, th=0x9d6b700, previous=0x0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#9  0x0294b4a1 in ThreadWeaver::WorkingHardState::applyForWork (this=0x9d723f0, th=0x9d6b700) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#10 0x029484d3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x9d706a0, th=0x9d6b700, previous=0x0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#11 0x0294b4a1 in ThreadWeaver::WorkingHardState::applyForWork (this=0x9d723f0, th=0x9d6b700) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#12 0x029484d3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x9d706a0, th=0x9d6b700, previous=0x0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#13 0x0294b4a1 in ThreadWeaver::WorkingHardState::applyForWork (this=0x9d723f0, th=0x9d6b700) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#14 0x029484d3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x9d706a0, th=0x9d6b700, previous=0x9f02480) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#15 0x0294951e in ThreadWeaver::ThreadRunHelper::run (this=0xa96fd2f4, parent=0x9d706a0, th=0x9d6b700) at ../../../threadweaver/Weaver/Thread.cpp:87
#16 0x02949c3b in ThreadWeaver::Thread::run (this=0x9d6b700) at ../../../threadweaver/Weaver/Thread.cpp:142
#17 0x0051432e in QThreadPrivate::start (arg=0x9d6b700) at thread/qthread_unix.cpp:248
#18 0x0073196e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#19 0x00a75a0e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb7808aa0 (LWP 1490)):
[KCrash Handler]
#6  0x01470949 in Plasma::QueryMatch::type (this=0xa8d37e98) at ../../plasma/querymatch.cpp:96
#7  0x016d4e23 in Interface::run (this=0x9d8fb68, item=0xa8d37e98) at ../../krunner/interfaces/default/interface.cpp:490
#8  0x016d51cc in Interface::runDefaultResultItem (this=0x9d8fb68) at ../../krunner/interfaces/default/interface.cpp:543
#9  0x016d557b in Interface::qt_metacall (this=0x9d8fb68, _c=QMetaObject::InvokeMetaMethod, _id=89, _a=0xbfdb43bc) at ./interface.moc:105
#10 0x0061bc9a in QMetaObject::metacall (object=0x9d8fb68, cl=QMetaObject::ReadProperty, idx=89, argv=0xbfdb43bc) at kernel/qmetaobject.cpp:237
#11 0x0062a3d5 in QMetaObject::activate (sender=0x9d873d8, m=0x12ed51c, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3293
#12 0x011e9aa7 in KComboBox::returnPressed (this=0x9d873d8) at ./kcombobox.moc:168
#13 0x011eb043 in KComboBox::qt_metacall (this=0x9d873d8, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0xbfdb451c) at ./kcombobox.moc:111
#14 0x0120024a in KHistoryComboBox::qt_metacall (this=0x9d873d8, _c=QMetaObject::InvokeMetaMethod, _id=51, _a=0xbfdb451c) at ./khistorycombobox.moc:83
#15 0x0061bc9a in QMetaObject::metacall (object=0x9d873d8, cl=QMetaObject::ReadProperty, idx=51, argv=0xbfdb451c) at kernel/qmetaobject.cpp:237
#16 0x0062a3d5 in QMetaObject::activate (sender=0x9db1428, m=0x70c6b48, local_signal_index=3, argv=0x0) at kernel/qobject.cpp:3293
#17 0x06c020d7 in QLineEdit::returnPressed (this=0x9db1428) at .moc/release-shared/moc_qlineedit.cpp:258
#18 0x06c0622b in QLineEdit::qt_metacall (this=0x9db1428, _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0xbfdb46ac) at .moc/release-shared/moc_qlineedit.cpp:159
#19 0x0121154a in KLineEdit::qt_metacall (this=0x9db1428, _c=QMetaObject::InvokeMetaMethod, _id=30, _a=0xbfdb46ac) at ./klineedit.moc:134
#20 0x0061bc9a in QMetaObject::metacall (object=0x9db1428, cl=QMetaObject::ReadProperty, idx=30, argv=0xbfdb46ac) at kernel/qmetaobject.cpp:237
#21 0x0062a3d5 in QMetaObject::activate (sender=0x9db3670, m=0x70d4888, local_signal_index=6, argv=0x0) at kernel/qobject.cpp:3293
#22 0x06ec6d67 in QLineControl::accepted (this=0x9db3670) at .moc/release-shared/moc_qlinecontrol_p.cpp:150
#23 0x06c0e601 in QLineControl::processKeyEvent (this=0x9db3670, event=0xbfdb51f4) at widgets/qlinecontrol.cpp:1526
#24 0x06c02495 in QLineEdit::keyPressEvent (this=0x9db1428, event=0xbfdb51f4) at widgets/qlineedit.cpp:1661
#25 0x0120d142 in KLineEdit::keyPressEvent (this=0x9db1428, e=0xbfdb51f4) at ../../kdeui/widgets/klineedit.cpp:1025
#26 0x067f6503 in QWidget::event (this=0x9db1428, event=0xbfdb51f4) at kernel/qwidget.cpp:8033
#27 0x06c03aeb in QLineEdit::event (this=0x9db1428, e=0xbfdb51f4) at widgets/qlineedit.cpp:1474
#28 0x0120ef0c in KLineEdit::event (this=0x9db1428, ev=0xbfdb51f4) at ../../kdeui/widgets/klineedit.cpp:1329
#29 0x06bc3480 in QComboBox::keyPressEvent (this=0x9d873d8, e=0xbfdb51f4) at widgets/qcombobox.cpp:2927
#30 0x011fff8d in KHistoryComboBox::keyPressEvent (this=0x9d873d8, e=0xbfdb51f4) at ../../kdeui/widgets/khistorycombobox.cpp:344
#31 0x067f6503 in QWidget::event (this=0x9d873d8, event=0xbfdb51f4) at kernel/qwidget.cpp:8033
#32 0x06bc1ddc in QComboBox::event (this=0x9d873d8, event=0xbfdb51f4) at widgets/qcombobox.cpp:2746
#33 0x067984dc in QApplicationPrivate::notify_helper (this=0x9cc9a00, receiver=0x9d873d8, e=0xbfdb51f4) at kernel/qapplication.cpp:4300
#34 0x067a0b71 in QApplication::notify (this=0x9cc9800, receiver=0x9d873d8, e=0xbfdb51f4) at kernel/qapplication.cpp:3763
#35 0x01122f2a in KApplication::notify (this=0x9cc9800, receiver=0x9d873d8, event=0xbfdb51f4) at ../../kdeui/kernel/kapplication.cpp:302
#36 0x00616a3b in QCoreApplication::notifyInternal (this=0x9cc9800, receiver=0x9d873d8, event=0xbfdb51f4) at kernel/qcoreapplication.cpp:704
#37 0x067992be in QCoreApplication::sendSpontaneousEvent (receiver=0x9d873d8, event=0x0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#38 qt_sendSpontaneousEvent (receiver=0x9d873d8, event=0x0) at kernel/qapplication.cpp:5279
#39 0x06852d90 in QKeyMapper::sendKeyEvent (keyWidget=0x9d873d8, grab=false, type=QEvent::KeyPress, code=16777220, modifiers=..., text=..., autorepeat=<value optimized out>, 
    count=<value optimized out>, nativeScanCode=36, nativeVirtualKey=65293, nativeModifiers=0) at kernel/qkeymapper_x11.cpp:1861
#40 0x068552f5 in QKeyMapperPrivate::translateKeyEvent (this=0x9d09b40, keyWidget=0x9d873d8, event=0xbfdb58bc, grab=62) at kernel/qkeymapper_x11.cpp:1831
#41 0x06828757 in QApplication::x11ProcessEvent (this=0x9cc9800, event=0xbfdb58bc) at kernel/qapplication_x11.cpp:3394
#42 0x0685860a in x11EventSourceDispatch (s=0x9ccc840, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#43 0x029eb5e5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#44 0x029ef2d8 in ?? () from /lib/libglib-2.0.so.0
#45 0x029ef4b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#46 0x006425d5 in QEventDispatcherGlib::processEvents (this=0x9c7db48, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#47 0x06858135 in QGuiEventDispatcherGlib::processEvents (this=0x9c7db48, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#48 0x00615059 in QEventLoop::processEvents (this=0xbfdb5bb4, flags=) at kernel/qeventloop.cpp:149
#49 0x006154aa in QEventLoop::exec (this=0xbfdb5bb4, flags=...) at kernel/qeventloop.cpp:201
#50 0x0061969f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#51 0x06798577 in QApplication::exec () at kernel/qapplication.cpp:3579
#52 0x016cfd7e in kdemain (argc=1, argv=0x9cb7f98) at ../../krunner/main.cpp:65
#53 0x0804e133 in launch (argc=<value optimized out>, _name=<value optimized out>, args=<value optimized out>, cwd=0x0, envc=0, envs=0x9cbabd9 "", reset_env=false, tty=0x0, avoid_loops=false, 
    startup_id_str=0x8051465 "0") at ../../kinit/kinit.cpp:717
#54 0x0804ec6d in handle_launcher_request (sock=<value optimized out>, who=<value optimized out>) at ../../kinit/kinit.cpp:1209
#55 0x0804f190 in handle_requests (waitForPid=<value optimized out>) at ../../kinit/kinit.cpp:1402
#56 0x0804fe4f in main (argc=4, argv=0xbfdb6634, envp=0xbfdb6648) at ../../kinit/kinit.cpp:1845

Reported using DrKonqi
Comment 1 Nicolas L. 2010-06-19 13:43:07 UTC
*** Bug 242153 has been marked as a duplicate of this bug. ***
Comment 2 Dario Andres 2011-03-07 22:08:27 UTC
[Comment from a bug triager]
From 267738 (KDE SC 4.4.5):
-- Information about the crash:
I pressed ALT+F2, typed "oper" into the command execution box, this was
automatically completed into "opera" with a grey "a" at the end, I pressed
enter, this crash wizard appeared.

- Could you check if you can repeat this crash on KDE SC 4.5.x or 4.6.x ?
Thanks
Comment 3 Dario Andres 2011-03-07 22:08:34 UTC
*** Bug 267738 has been marked as a duplicate of this bug. ***
Comment 4 jos poortvliet 2011-12-12 23:25:32 UTC
I tried it, can't reproduce it in any way on Plasma Desktop 4.7.3. This must have been fixed in the bugfixing frenzy on KRunner last year. Evan, Andres, if you can get a new backtrace on a newer version of Plasma/KRunner, that'd be awesome. Please re-open the bug then, I'll close it now as 'remind' - a reminder to you, OK?

Thanks for reporting!
Comment 5 Milan Masek 2011-12-13 00:18:23 UTC
Hi guys, thanks for fixing this.
I haven't experienced this nasty behavior in last two versions of Kubuntu. It must be fixed already.

My current environment:
Distribution: Ubuntu 11.10
plasma-desktop: 4:4.7.2-0ubuntu2
libqt4-core: 4:4.7.4-0ubuntu8
Operating System: 3.0.0-13-generic-pae