Bug 215475 - Using Alt-F2 to run a program as another user fails
Summary: Using Alt-F2 to run a program as another user fails
Status: RESOLVED DUPLICATE of bug 210695
Alias: None
Product: krunner
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-20 20:40 UTC by Philip Ashmore
Modified: 2009-11-21 03:45 UTC (History)
1 user (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 Philip Ashmore 2009-11-20 20:40:18 UTC
Application that crashed: krunner
Version of the application: 0.1
KDE Version: 4.3.2 (KDE 4.3.2)
Qt Version: 4.5.2
Operating System: Linux 2.6.31-14-generic x86_64
Distribution: Ubuntu 9.10

What I was doing when the application crashed:
I was trying to recreate the problem described by https://bugs.launchpad.net/ubuntu/+source/kdesudo/+bug/250330
"kdesu starts empty after login".
To do this I typed Alt-F2 (hold the alt key down, type the F2 key and release the alt key)
to run kate as root.
I eventually figured out that one can select another user to run a program by clicking
on the spanner icon on the "Run kate" list item.
I clicked the "Run as a different user" checkbox,
tabbed to the username field, entered my username tried to tab to the password field but for some reason failed.
When I tried clicking on the password field with the mouse, I think that's when it crashed.

 -- Backtrace:
Application: Run Command Interface (kdeinit4), signal: Segmentation fault
The current source language is "auto; currently c".
[Current thread is 1 (Thread 0x7f166fbfc750 (LWP 2254))]

Thread 5 (Thread 0x7f1651209910 (LWP 2888)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f166f63d4fb in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x1d105e0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x1d105e0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f1665a61326 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x1d10c90, th=0x20a8f00) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f1665a6345b in ThreadWeaver::WorkingHardState::applyForWork (this=0x1d10870, th=0x20a8f00) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f1665a61a5f in ThreadWeaver::ThreadRunHelper::run (this=0x7f1651209050, parent=0x1d10c90, th=0x20a8f00) at ../../../threadweaver/Weaver/Thread.cpp:87
#6  0x00007f1665a61eb8 in ThreadWeaver::Thread::run (this=0x20a8f00) at ../../../threadweaver/Weaver/Thread.cpp:142
#7  0x00007f166f63c445 in QThreadPrivate::start (arg=0x20a8f00) at thread/qthread_unix.cpp:188
#8  0x00007f166c3b2a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#9  0x00007f166cf927bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f1650a08910 (LWP 2889)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f166f63d4fb in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x1d105e0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x1d105e0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f1665a61326 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x1d10c90, th=0x1f44970) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f1665a6345b in ThreadWeaver::WorkingHardState::applyForWork (this=0x1d10870, th=0x1f44970) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f1665a63474 in ThreadWeaver::WorkingHardState::applyForWork (this=0x1d10870, th=0x1f44970) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007f1665a61a5f in ThreadWeaver::ThreadRunHelper::run (this=0x7f1650a08050, parent=0x1d10c90, th=0x1f44970) at ../../../threadweaver/Weaver/Thread.cpp:87
#7  0x00007f1665a61eb8 in ThreadWeaver::Thread::run (this=0x1f44970) at ../../../threadweaver/Weaver/Thread.cpp:142
#8  0x00007f166f63c445 in QThreadPrivate::start (arg=0x1f44970) at thread/qthread_unix.cpp:188
#9  0x00007f166c3b2a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#10 0x00007f166cf927bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()
The current source language is "auto; currently asm".

Thread 3 (Thread 0x7f164bfff910 (LWP 2890)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f166f63d4fb in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x1d105e0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x1d105e0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f1665a61326 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x1d10c90, th=0x1f43200) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f1665a6345b in ThreadWeaver::WorkingHardState::applyForWork (this=0x1d10870, th=0x1f43200) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f1665a61a5f in ThreadWeaver::ThreadRunHelper::run (this=0x7f164bfff050, parent=0x1d10c90, th=0x1f43200) at ../../../threadweaver/Weaver/Thread.cpp:87
#6  0x00007f1665a61eb8 in ThreadWeaver::Thread::run (this=0x1f43200) at ../../../threadweaver/Weaver/Thread.cpp:142
#7  0x00007f166f63c445 in QThreadPrivate::start (arg=0x1f43200) at thread/qthread_unix.cpp:188
#8  0x00007f166c3b2a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#9  0x00007f166cf927bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f164b7fe910 (LWP 2891)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f166f63d4fb in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x1d105e0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x1d105e0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f1665a61326 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x1d10c90, th=0x1c95700) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f1665a6345b in ThreadWeaver::WorkingHardState::applyForWork (this=0x1d10870, th=0x1c95700) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f1665a61a5f in ThreadWeaver::ThreadRunHelper::run (this=0x7f164b7fe050, parent=0x1d10c90, th=0x1c95700) at ../../../threadweaver/Weaver/Thread.cpp:87
#6  0x00007f1665a61eb8 in ThreadWeaver::Thread::run (this=0x1c95700) at ../../../threadweaver/Weaver/Thread.cpp:142
#7  0x00007f166f63c445 in QThreadPrivate::start (arg=0x1c95700) at thread/qthread_unix.cpp:188
#8  0x00007f166c3b2a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#9  0x00007f166cf927bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f166fbfc750 (LWP 2254)):
[KCrash Handler]
#5  0x00007f166dc80cfd in QGraphicsScene::addItem (this=0x1df30c0, item=0x20e34a0) at graphicsview/qgraphicsscene.cpp:2928
#6  0x00007f16647d8b2a in ResultScene::addQueryMatch (this=0x1df30c0, match=<value optimized out>, useAnyId=<value optimized out>) at ../../krunner/interfaces/default/resultscene.cpp:250
#7  0x00007f16647d8ded in ResultScene::setQueryMatches (this=0x1df30c0, m=<value optimized out>) at ../../krunner/interfaces/default/resultscene.cpp:175
#8  0x00007f16647d9365 in ResultScene::qt_metacall (this=0x1df30c0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffdb7a56d0) at ./resultscene.moc:95
#9  0x00007f166f737ddc in QMetaObject::activate (sender=0x1ce2e80, from_signal_index=<value optimized out>, to_signal_index=<value optimized out>, argv=0x1d0ff70) at kernel/qobject.cpp:3113
#10 0x00007f166728b2e2 in Plasma::RunnerManager::matchesChanged (this=0x20e34a0, _t1=<value optimized out>) at ./runnermanager.moc:107
#11 0x00007f166728ce03 in Plasma::RunnerManagerPrivate::matchesChanged (this=<value optimized out>, _c=<value optimized out>, _id=<value optimized out>, _a=0x7fffdb7a5810)
    at ../../plasma/runnermanager.cpp:81
#12 Plasma::RunnerManager::qt_metacall (this=<value optimized out>, _c=<value optimized out>, _id=<value optimized out>, _a=0x7fffdb7a5810) at ./runnermanager.moc:93
#13 0x00007f166f737ddc in QMetaObject::activate (sender=0x1c8eec8, from_signal_index=<value optimized out>, to_signal_index=<value optimized out>, argv=0x1d0ff70) at kernel/qobject.cpp:3113
#14 0x00007f166f731d83 in QObject::event (this=0x1c8eec8, e=0x20e3490) at kernel/qobject.cpp:1075
#15 0x00007f166d6d2efc in QApplicationPrivate::notify_helper (this=0x1c0a2a0, receiver=0x1c8eec8, e=0x7fffdb7a5e10) at kernel/qapplication.cpp:4056
#16 0x00007f166d6da1ce in QApplication::notify (this=0x1c09fc0, receiver=0x1c8eec8, e=0x7fffdb7a5e10) at kernel/qapplication.cpp:4021
#17 0x00007f166e309ab6 in KApplication::notify (this=0x1c09fc0, receiver=0x1c8eec8, event=0x7fffdb7a5e10) at ../../kdeui/kernel/kapplication.cpp:302
#18 0x00007f166f722c2c in QCoreApplication::notifyInternal (this=0x1c09fc0, receiver=0x1c8eec8, event=0x7fffdb7a5e10) at kernel/qcoreapplication.cpp:610
#19 0x00007f166f74d862 in QCoreApplication::sendEvent (this=0x1c0d9a0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#20 QTimerInfoList::activateTimers (this=0x1c0d9a0) at kernel/qeventdispatcher_unix.cpp:572
#21 0x00007f166f74b25d in timerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:165
#22 0x00007f166c603bbe in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#23 0x00007f166c607588 in ?? () from /lib/libglib-2.0.so.0
#24 0x00007f166c6076b0 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#25 0x00007f166f74b1a6 in QEventDispatcherGlib::processEvents (this=0x1b7c040, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:327
#26 0x00007f166d7674be in QGuiEventDispatcherGlib::processEvents (this=0x20e34a0, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#27 0x00007f166f721532 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#28 0x00007f166f721904 in QEventLoop::exec (this=0x7fffdb7a60b0, flags=) at kernel/qeventloop.cpp:201
#29 0x00007f166f723ab9 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#30 0x00007f16647cf584 in kdemain (argc=<value optimized out>, argv=<value optimized out>) at ../../krunner/main.cpp:65
#31 0x0000000000406da8 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=0x40a299 "0") at ../../kinit/kinit.cpp:677
#32 0x0000000000407aa0 in handle_launcher_request (sock=7, who=<value optimized out>) at ../../kinit/kinit.cpp:1169
#33 0x0000000000407f51 in handle_requests (waitForPid=0) at ../../kinit/kinit.cpp:1362
#34 0x0000000000408bb2 in main (argc=2, argv=<value optimized out>, envp=<value optimized out>) at ../../kinit/kinit.cpp:1793
The current source language is "auto; currently c".

Reported using DrKonqi
Comment 1 Philip Ashmore 2009-11-20 20:43:46 UTC
Sorry, it wasn't my user name (obviously) it was root.
Comment 2 Dario Andres 2009-11-21 03:45:25 UTC
Merging with bug 210695 Thanks

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