Bug 241531

Summary: Run Command Interface crashed when trying to start gnome-terminal [ref, QString, KRun::runCommand, ShellRunner::run]
Product: [Plasma] krunner Reporter: Prateek <kprateek88+kdebugs>
Component: generalAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: luismottacampos, mat69, mr.kryptos, sanya10, wildshekhar
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:

Description Prateek 2010-06-12 12:04:59 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-22-generic i686
Distribution: Ubuntu 10.04 LTS

-- Information about the crash:
I had entered 'gnome-terminal', and had clicked on the "Run gnome-terminal" option that came up, when it crashed. Before that it was being generally slow and unresponsive.

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

Thread 6 (Thread 0xab90cb70 (LWP 1952)):
#0  0x00a73e16 in *__GI_clock_gettime (clock_id=10977268, tp=0xab90bfb8) at ../sysdeps/unix/clock_gettime.c:100
#1  0x006406fb in qt_gettime () at kernel/qcore_unix.cpp:111
#2  0x00645825 in QTimerInfoList::updateCurrentTime (this=0x9786e74) at kernel/qeventdispatcher_unix.cpp:340
#3  0x0064586a in QTimerInfoList::timerWait (this=0x9786e74, tm=...) at kernel/qeventdispatcher_unix.cpp:443
#4  0x00643818 in timerSourcePrepareHelper (src=<value optimized out>, timeout=0xab90c0cc) at kernel/qeventdispatcher_glib.cpp:136
#5  0x006438a5 in timerSourcePrepare (source=0x0, timeout=0xa77ff4) at kernel/qeventdispatcher_glib.cpp:169
#6  0x06ec4aca in g_main_context_prepare () from /lib/libglib-2.0.so.0
#7  0x06ec4ee9 in ?? () from /lib/libglib-2.0.so.0
#8  0x06ec54b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#9  0x0064360f in QEventDispatcherGlib::processEvents (this=0x9807670, flags=...) at kernel/qeventdispatcher_glib.cpp:414
#10 0x00616059 in QEventLoop::processEvents (this=0xab90c290, flags=) at kernel/qeventloop.cpp:149
#11 0x006164aa in QEventLoop::exec (this=0xab90c290, flags=...) at kernel/qeventloop.cpp:201
#12 0x005125a8 in QThread::exec (this=0x976f138) at thread/qthread.cpp:487
#13 0x005f5c1b in QInotifyFileSystemWatcherEngine::run (this=0x976f138) at io/qfilesystemwatcher_inotify.cpp:248
#14 0x0051532e in QThreadPrivate::start (arg=0x976f138) at thread/qthread_unix.cpp:248
#15 0x00aa496e in start_thread (arg=0xab90cb70) at pthread_create.c:300
#16 0x0267ba4e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 5 (Thread 0xaa4ffb70 (LWP 2193)):
#0  0x00934422 in __kernel_vsyscall ()
#1  0x00aa9015 in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:122
#2  0x00516287 in QWaitConditionPrivate::wait (this=0x952c100, mutex=0x94f53c8, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#3  QWaitCondition::wait (this=0x952c100, mutex=0x94f53c8, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#4  0x03a5a870 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x952c0e8, th=0x9b72010) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#5  0x03a5d38c in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x94ec968, th=0x9b72010) at ../../../threadweaver/Weaver/WorkingHardState.cpp:80
#6  0x03a5927b in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x952c0e8, th=0x9b72010) at ../../../threadweaver/Weaver/WeaverImpl.cpp:356
#7  0x03a5d482 in ThreadWeaver::WorkingHardState::applyForWork (this=0x94ec968, th=0x9b72010) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#8  0x03a5a4d3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x952c0e8, th=0x9b72010, previous=0x9d5c3d8) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#9  0x03a5b51e in ThreadWeaver::ThreadRunHelper::run (this=0xaa4ff2f4, parent=0x952c0e8, th=0x9b72010) at ../../../threadweaver/Weaver/Thread.cpp:87
#10 0x03a5bc3b in ThreadWeaver::Thread::run (this=0x9b72010) at ../../../threadweaver/Weaver/Thread.cpp:142
#11 0x0051532e in QThreadPrivate::start (arg=0x9b72010) at thread/qthread_unix.cpp:248
#12 0x00aa496e in start_thread (arg=0xaa4ffb70) at pthread_create.c:300
#13 0x0267ba4e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 4 (Thread 0xa9cfeb70 (LWP 2194)):
#0  0x00934422 in __kernel_vsyscall ()
#1  0x00aa9015 in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:122
#2  0x00516287 in QWaitConditionPrivate::wait (this=0x952c100, mutex=0x94f53c8, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#3  QWaitCondition::wait (this=0x952c100, mutex=0x94f53c8, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#4  0x03a5a870 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x952c0e8, th=0x9842480) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#5  0x03a5d38c in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x94ec968, th=0x9842480) at ../../../threadweaver/Weaver/WorkingHardState.cpp:80
#6  0x03a5927b in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x952c0e8, th=0x9842480) at ../../../threadweaver/Weaver/WeaverImpl.cpp:356
#7  0x03a5d482 in ThreadWeaver::WorkingHardState::applyForWork (this=0x94ec968, th=0x9842480) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#8  0x03a5a4d3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x952c0e8, th=0x9842480, previous=0x9d7af00) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#9  0x03a5b51e in ThreadWeaver::ThreadRunHelper::run (this=0xa9cfe2f4, parent=0x952c0e8, th=0x9842480) at ../../../threadweaver/Weaver/Thread.cpp:87
#10 0x03a5bc3b in ThreadWeaver::Thread::run (this=0x9842480) at ../../../threadweaver/Weaver/Thread.cpp:142
#11 0x0051532e in QThreadPrivate::start (arg=0x9842480) at thread/qthread_unix.cpp:248
#12 0x00aa496e in start_thread (arg=0xa9cfeb70) at pthread_create.c:300
#13 0x0267ba4e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 3 (Thread 0xa94fdb70 (LWP 2195)):
#0  0x00934422 in __kernel_vsyscall ()
#1  0x00aa9015 in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:122
#2  0x00516287 in QWaitConditionPrivate::wait (this=0x952c100, mutex=0x94f53c8, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#3  QWaitCondition::wait (this=0x952c100, mutex=0x94f53c8, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#4  0x03a5a870 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x952c0e8, th=0x958d560) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#5  0x03a5d38c in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x94ec968, th=0x958d560) at ../../../threadweaver/Weaver/WorkingHardState.cpp:80
#6  0x03a5927b in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x952c0e8, th=0x958d560) at ../../../threadweaver/Weaver/WeaverImpl.cpp:356
#7  0x03a5d482 in ThreadWeaver::WorkingHardState::applyForWork (this=0x94ec968, th=0x958d560) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#8  0x03a5a4d3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x952c0e8, th=0x958d560, previous=0x9bed8b0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#9  0x03a5b51e in ThreadWeaver::ThreadRunHelper::run (this=0xa94fd2f4, parent=0x952c0e8, th=0x958d560) at ../../../threadweaver/Weaver/Thread.cpp:87
#10 0x03a5bc3b in ThreadWeaver::Thread::run (this=0x958d560) at ../../../threadweaver/Weaver/Thread.cpp:142
#11 0x0051532e in QThreadPrivate::start (arg=0x958d560) at thread/qthread_unix.cpp:248
#12 0x00aa496e in start_thread (arg=0xa94fdb70) at pthread_create.c:300
#13 0x0267ba4e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 2 (Thread 0xa8cfcb70 (LWP 2196)):
#0  0x00934422 in __kernel_vsyscall ()
#1  0x00aa9015 in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:122
#2  0x00516287 in QWaitConditionPrivate::wait (this=0x952c100, mutex=0x94f53c8, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#3  QWaitCondition::wait (this=0x952c100, mutex=0x94f53c8, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#4  0x03a5a870 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x952c0e8, th=0x9ae2600) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#5  0x03a5d38c in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x94ec968, th=0x9ae2600) at ../../../threadweaver/Weaver/WorkingHardState.cpp:80
#6  0x03a5927b in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x952c0e8, th=0x9ae2600) at ../../../threadweaver/Weaver/WeaverImpl.cpp:356
#7  0x03a5d482 in ThreadWeaver::WorkingHardState::applyForWork (this=0x94ec968, th=0x9ae2600) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#8  0x03a5a4d3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x952c0e8, th=0x9ae2600, previous=0x9d7b120) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#9  0x03a5b51e in ThreadWeaver::ThreadRunHelper::run (this=0xa8cfc2f4, parent=0x952c0e8, th=0x9ae2600) at ../../../threadweaver/Weaver/Thread.cpp:87
#10 0x03a5bc3b in ThreadWeaver::Thread::run (this=0x9ae2600) at ../../../threadweaver/Weaver/Thread.cpp:142
#11 0x0051532e in QThreadPrivate::start (arg=0x9ae2600) at thread/qthread_unix.cpp:248
#12 0x00aa496e in start_thread (arg=0xa8cfcb70) at pthread_create.c:300
#13 0x0267ba4e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb7796aa0 (LWP 1869)):
[KCrash Handler]
#6  QBasicAtomicInt::ref (cmd=..., window=0x0, workingDirectory=...) at /usr/include/qt4/QtCore/qatomic_i386.h:120
#7  QString (cmd=..., window=0x0, workingDirectory=...) at /usr/include/qt4/QtCore/qstring.h:715
#8  KRun::runCommand (cmd=..., window=0x0, workingDirectory=...) at ../../kio/kio/krun.cpp:1019
#9  0x00378cca in KRun::runCommand (cmd=..., window=0x0) at ../../kio/kio/krun.cpp:1010
#10 0x021ba363 in ShellRunner::run (this=0x9b18720, context=..., match=...) at ../../../../../plasma/generic/runners/shell/shellrunner.cpp:86
#11 0x07168a70 in Plasma::QueryMatch::run (this=0xaa52ec90, context=...) at ../../plasma/querymatch.cpp:224
#12 0x07175ad8 in Plasma::RunnerContext::run (this=0x94110c0, match=...) at ../../plasma/runnercontext.cpp:544
#13 0x07178e14 in Plasma::RunnerManager::run (this=0x9411050, match=...) at ../../plasma/runnermanager.cpp:528
#14 0x014429a7 in ResultItem::run (this=0xaa52ec78, manager=0x9411050) at ../../krunner/interfaces/default/resultitem.cpp:308
#15 0x01445c3b in ResultScene::run (this=0x9630758, item=0x49) at ../../krunner/interfaces/default/resultscene.cpp:423
#16 0x01440e94 in Interface::run (this=0x952a130, item=0xaa52ec78) at ../../krunner/interfaces/default/interface.cpp:523
#17 0x01441567 in Interface::qt_metacall (this=0x952a130, _c=QMetaObject::InvokeMetaMethod, _id=88, _a=0xbfb76a68) at ./interface.moc:104
#18 0x0061cc9a in QMetaObject::metacall (object=0x952a130, cl=3216467632, idx=88, argv=0xbfb76a68) at kernel/qmetaobject.cpp:237
#19 0x0062b3d5 in QMetaObject::activate (sender=0x9630758, m=0x1468e90, local_signal_index=0, argv=0xbfb76a68) at kernel/qobject.cpp:3293
#20 0x01445ac3 in ResultScene::itemActivated (this=0x9630758, _t1=0xaa52ec78) at ./resultscene.moc:122
#21 0x01447dcf in ResultScene::qt_metacall (this=0x9630758, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0xbfb76b88) at ./resultscene.moc:96
#22 0x0061cc9a in QMetaObject::metacall (object=0x9630758, cl=3216467632, idx=20, argv=0xbfb76b88) at kernel/qmetaobject.cpp:237
#23 0x0062b3d5 in QMetaObject::activate (sender=0xaa52ec78, m=0x1468ca4, local_signal_index=1, argv=0xbfb76b88) at kernel/qobject.cpp:3293
#24 0x01442293 in ResultItem::activated (this=0xaa52ec78, _t1=0xaa52ec78) at ./resultitem.moc:177
#25 0x01442749 in ResultItem::mouseReleaseEvent (this=0xaa52ec78, event=0xbfb7736c) at ../../krunner/interfaces/default/resultitem.cpp:475
#26 0x02f93624 in QGraphicsItem::sceneEvent (this=0xaa52ec80, event=0xbfb7736c) at graphicsview/qgraphicsitem.cpp:6499
#27 0x02fe5057 in QGraphicsWidget::sceneEvent (this=0xaa52ec78, event=0xbfb7736c) at graphicsview/qgraphicswidget.cpp:1129
#28 0x02fa8d99 in QGraphicsScenePrivate::sendEvent (this=0x975d140, item=0xaa52ec80, event=0xbfb7736c) at graphicsview/qgraphicsscene.cpp:1181
#29 0x02fab26b in QGraphicsScenePrivate::sendMouseEvent (this=0x975d140, mouseEvent=0xbfb7736c) at graphicsview/qgraphicsscene.cpp:1255
#30 0x02faf144 in QGraphicsScene::mouseReleaseEvent (this=0x9630758, mouseEvent=0xbfb7736c) at graphicsview/qgraphicsscene.cpp:4057
#31 0x02fbe6dc in QGraphicsScene::event (this=0x9630758, event=0xbfb7736c) at graphicsview/qgraphicsscene.cpp:3398
#32 0x029124dc in QApplicationPrivate::notify_helper (this=0x9395a78, receiver=0x9630758, e=0xbfb7736c) at kernel/qapplication.cpp:4300
#33 0x0291905e in QApplication::notify (this=0x9395878, receiver=0x9630758, e=0xbfb7736c) at kernel/qapplication.cpp:3704
#34 0x01000f2a in KApplication::notify (this=0x9395878, receiver=0x9630758, event=0xbfb7736c) at ../../kdeui/kernel/kapplication.cpp:302
#35 0x00617a3b in QCoreApplication::notifyInternal (this=0x9395878, receiver=0x9630758, event=0xbfb7736c) at kernel/qcoreapplication.cpp:704
#36 0x029132be in QCoreApplication::sendSpontaneousEvent (receiver=0x9630758, event=0x0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#37 qt_sendSpontaneousEvent (receiver=0x9630758, event=0x0) at kernel/qapplication.cpp:5279
#38 0x02fdecd5 in QGraphicsView::mouseReleaseEvent (this=0x95a7118, event=0xbfb77ae0) at graphicsview/qgraphicsview.cpp:3259
#39 0x029707f8 in QWidget::event (this=0x95a7118, event=0xbfb77ae0) at kernel/qwidget.cpp:7998
#40 0x02d6cfd3 in QFrame::event (this=0x95a7118, e=0xbfb77ae0) at widgets/qframe.cpp:557
#41 0x02e07382 in QAbstractScrollArea::viewportEvent (this=0xbfb766b0, e=0x0) at widgets/qabstractscrollarea.cpp:1036
#42 0x02fdd06b in QGraphicsView::viewportEvent (this=0x95a7118, event=0xbfb77ae0) at graphicsview/qgraphicsview.cpp:2787
#43 0x02e09c65 in QAbstractScrollAreaPrivate::viewportEvent (this=0x95c94e0, o=0x95a4610, e=0xbfb77ae0) at widgets/qabstractscrollarea_p.h:100
#44 QAbstractScrollAreaFilter::eventFilter (this=0x95c94e0, o=0x95a4610, e=0xbfb77ae0) at widgets/qabstractscrollarea_p.h:116
#45 0x00616cda in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x9395a78, receiver=0x95a4610, event=0xbfb77ae0) at kernel/qcoreapplication.cpp:819
#46 0x029124b9 in QApplicationPrivate::notify_helper (this=0x9395a78, receiver=0x95a4610, e=0xbfb77ae0) at kernel/qapplication.cpp:4296
#47 0x029199f7 in QApplication::notify (this=0x9395878, receiver=0x95a4610, e=0xbfb77ae0) at kernel/qapplication.cpp:3865
#48 0x01000f2a in KApplication::notify (this=0x9395878, receiver=0x95a4610, event=0xbfb77ae0) at ../../kdeui/kernel/kapplication.cpp:302
#49 0x00617a3b in QCoreApplication::notifyInternal (this=0x9395878, receiver=0x95a4610, event=0xbfb77ae0) at kernel/qcoreapplication.cpp:704
#50 0x02918952 in QCoreApplication::sendEvent (receiver=0x95a4610, event=0xbfb77ae0, alienWidget=0x95a4610, nativeWidget=0x952a130, buttonDown=0x3256058, lastMouseReceiver=..., spontaneous=true)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#51 QApplicationPrivate::sendMouseEvent (receiver=0x95a4610, event=0xbfb77ae0, alienWidget=0x95a4610, nativeWidget=0x952a130, buttonDown=0x3256058, lastMouseReceiver=..., spontaneous=true)
    at kernel/qapplication.cpp:2965
#52 0x029a4088 in QETWidget::translateMouseEvent (this=0x952a130, event=0xbfb77ffc) at kernel/qapplication_x11.cpp:4368
#53 0x029a3511 in QApplication::x11ProcessEvent (this=0x9395878, event=0xbfb77ffc) at kernel/qapplication_x11.cpp:3379
#54 0x029d260a in x11EventSourceDispatch (s=0x93989a8, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#55 0x06ec15e5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#56 0x06ec52d8 in ?? () from /lib/libglib-2.0.so.0
#57 0x06ec54b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#58 0x006435d5 in QEventDispatcherGlib::processEvents (this=0x93927d8, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#59 0x029d2135 in QGuiEventDispatcherGlib::processEvents (this=0x93927d8, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#60 0x00616059 in QEventLoop::processEvents (this=0xbfb782f4, flags=) at kernel/qeventloop.cpp:149
#61 0x006164aa in QEventLoop::exec (this=0xbfb782f4, flags=...) at kernel/qeventloop.cpp:201
#62 0x0061a69f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#63 0x02912577 in QApplication::exec () at kernel/qapplication.cpp:3579
#64 0x0143bd7e in kdemain (argc=1, argv=0x9389850) at ../../krunner/main.cpp:65
#65 0x0804e133 in launch (argc=<value optimized out>, _name=<value optimized out>, args=<value optimized out>, cwd=0x0, envc=0, envs=0x9389a99 "", reset_env=false, tty=0x0, avoid_loops=false, 
    startup_id_str=0x8051465 "0") at ../../kinit/kinit.cpp:717
#66 0x0804ec6d in handle_launcher_request (sock=<value optimized out>, who=<value optimized out>) at ../../kinit/kinit.cpp:1209
#67 0x0804f190 in handle_requests (waitForPid=<value optimized out>) at ../../kinit/kinit.cpp:1402
#68 0x0804fe4f in main (argc=4, argv=0xbfb78d74, envp=0xbfb78d88) at ../../kinit/kinit.cpp:1845

Reported using DrKonqi
Comment 1 Nicolas L. 2010-08-20 18:47:13 UTC
*** Bug 243835 has been marked as a duplicate of this bug. ***
Comment 2 Nicolas L. 2010-08-20 18:47:21 UTC
*** Bug 248414 has been marked as a duplicate of this bug. ***
Comment 3 Nicolas L. 2010-08-20 18:47:31 UTC
*** Bug 248525 has been marked as a duplicate of this bug. ***
Comment 4 Christoph Feck 2010-09-27 14:17:16 UTC
*** Bug 251440 has been marked as a duplicate of this bug. ***
Comment 5 Matthias Fuchs 2011-01-16 17:58:08 UTC

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