Bug 299109 - krunner crashes after entering program name
Summary: krunner crashes after entering program name
Status: RESOLVED FIXED
Alias: None
Product: krunner
Classification: Plasma
Component: windows (show other bugs)
Version: 4.7.4
Platform: Debian testing Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-30 14:06 UTC by cataclysmorama+kdebugs
Modified: 2015-02-04 17:02 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (2.78 KB, text/plain)
2012-05-03 06:42 UTC, predatorgcc
Details

Note You need to log in before you can comment on or make changes to this bug.
Description cataclysmorama+kdebugs 2012-04-30 14:06:15 UTC
Application: krunner (0.1)
KDE Platform Version: 4.7.4 (4.7.4)
Qt Version: 4.7.4
Operating System: Linux 3.2.0-2-amd64 x86_64
Distribution: Debian GNU/Linux testing (wheezy)

-- Information about the crash:
- What I was doing when the application crashed:
After pressing ALT+F2, I typed in "remmina" to open said program. When pressing the enter key, krunner crashed.
It should be noted that the pop-down menu wasn't open when I pressed enter, so krunner might not have chosen a menu entry from there.

After trying again (with the same command), krunner works without crashing.
Pop-down menu opens immidiatly.

The crash does not seem to be reproducible.

-- Backtrace:
Application: Oberfläche zur Ausführung von Befehlen (krunner), signal: Aborted
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f69086967a0 (LWP 2414))]

Thread 6 (Thread 0x7f68ed0fe700 (LWP 2490)):
#0  0x00007f68fd6f162e in __pthread_mutex_unlock_usercnt (mutex=0x1399140, decr=<optimized out>) at pthread_mutex_unlock.c:52
#1  0x00007f68fd25bff1 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f68fd220aea in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f68fd220c24 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f69049e64a6 in QEventDispatcherGlib::processEvents (this=0x135ef20, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#5  0x00007f69049ba972 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f69049bab6f in QEventLoop::exec (this=0x7f68ed0fdcf0, flags=...) at kernel/qeventloop.cpp:201
#7  0x00007f69048d24af in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#8  0x00007f690499d9cf in QInotifyFileSystemWatcherEngine::run (this=0x1358b10) at io/qfilesystemwatcher_inotify.cpp:248
#9  0x00007f69048d4ec5 in QThreadPrivate::start (arg=0x1358b10) at thread/qthread_unix.cpp:331
#10 0x00007f68f8c15b74 in ?? () from /usr/lib/x86_64-linux-gnu/libGL.so.1
#11 0x00007f68fd6edb50 in start_thread (arg=<optimized out>) at pthread_create.c:304
#12 0x00007f6907fbb90d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#13 0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f68e1dd7700 (LWP 8197)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f69048d535b in wait (time=18446744073709551615, this=0x13bf1f0) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x138ebc0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f6900123a94 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x1467f70, th=0x173ae30) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f690012603b in ThreadWeaver::WorkingHardState::applyForWork (this=0x136e8a0, th=0x173ae30) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f6900124eff in ThreadWeaver::ThreadRunHelper::run (this=0x7f68e1dd6d40, parent=0x1467f70, th=0x173ae30) at ../../../threadweaver/Weaver/Thread.cpp:87
#6  0x00007f6900124f8b in ThreadWeaver::Thread::run (this=0x173ae30) at ../../../threadweaver/Weaver/Thread.cpp:142
#7  0x00007f69048d4ec5 in QThreadPrivate::start (arg=0x173ae30) at thread/qthread_unix.cpp:331
#8  0x00007f68f8c15b74 in ?? () from /usr/lib/x86_64-linux-gnu/libGL.so.1
#9  0x00007f68fd6edb50 in start_thread (arg=<optimized out>) at pthread_create.c:304
#10 0x00007f6907fbb90d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f68da322700 (LWP 8198)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f69048d535b in wait (time=18446744073709551615, this=0x13bf1f0) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x138ebc0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f6900123a94 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x1467f70, th=0x17a18f0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f690012603b in ThreadWeaver::WorkingHardState::applyForWork (this=0x136e8a0, th=0x17a18f0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f6900124eff in ThreadWeaver::ThreadRunHelper::run (this=0x7f68da321d40, parent=0x1467f70, th=0x17a18f0) at ../../../threadweaver/Weaver/Thread.cpp:87
#6  0x00007f6900124f8b in ThreadWeaver::Thread::run (this=0x17a18f0) at ../../../threadweaver/Weaver/Thread.cpp:142
#7  0x00007f69048d4ec5 in QThreadPrivate::start (arg=0x17a18f0) at thread/qthread_unix.cpp:331
#8  0x00007f68f8c15b74 in ?? () from /usr/lib/x86_64-linux-gnu/libGL.so.1
#9  0x00007f68fd6edb50 in start_thread (arg=<optimized out>) at pthread_create.c:304
#10 0x00007f6907fbb90d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f68d9b21700 (LWP 8199)):
[KCrash Handler]
#6  0x00007f6907f15475 in *__GI_raise (sig=<optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#7  0x00007f6907f186f0 in *__GI_abort () at abort.c:92
#8  0x00007f6907f0e621 in *__GI___assert_fail (assertion=0x7f6906553b25 "!xcb_xlib_unknown_req_in_deq", file=<optimized out>, line=178, function=0x7f6906553c20 "dequeue_pending_request") at assert.c:81
#9  0x00007f69064e0e19 in ?? () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#10 0x00007f69064e1f5c in _XReply () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#11 0x00007f69064c686b in XGetWindowProperty () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#12 0x00007f690700c343 in NETRootInfo::update (this=0x7f68d9b203a0, dirty_props=<optimized out>) at ../../kdeui/windowmanagement/netwm.cpp:2137
#13 0x00007f6906ffd4fe in KWindowSystem::allowedActionsSupported () at ../../kdeui/windowmanagement/kwindowsystem_x11.cpp:976
#14 0x00007f690700342e in KWindowInfo::actionSupported (this=0x7f68d9b20530, action=NET::ActionMinimize) at ../../kdeui/windowmanagement/kwindowinfo_x11.cpp:414
#15 0x00007f68e2410e63 in WindowsRunner::match (this=0x1690040, context=...) at ../../../../../plasma/generic/runners/windows/windowsrunner.cpp:279
#16 0x00007f69073d8be4 in Plasma::AbstractRunner::performMatch (this=0x1690040, localContext=...) at ../../plasma/abstractrunner.cpp:136
#17 0x00007f69001256c1 in ThreadWeaver::JobRunHelper::runTheJob (this=0x7f68d9b20cc0, th=0x1432290, job=0x1367d90) at ../../../threadweaver/Weaver/Job.cpp:106
#18 0x00007f69001257ec in ThreadWeaver::Job::execute (this=0x1367d90, th=0x1432290) at ../../../threadweaver/Weaver/Job.cpp:135
#19 0x00007f6900124ecf in ThreadWeaver::ThreadRunHelper::run (this=0x7f68d9b20d40, parent=0x1467f70, th=0x1432290) at ../../../threadweaver/Weaver/Thread.cpp:95
#20 0x00007f6900124f8b in ThreadWeaver::Thread::run (this=0x1432290) at ../../../threadweaver/Weaver/Thread.cpp:142
#21 0x00007f69048d4ec5 in QThreadPrivate::start (arg=0x1432290) at thread/qthread_unix.cpp:331
#22 0x00007f68f8c15b74 in ?? () from /usr/lib/x86_64-linux-gnu/libGL.so.1
#23 0x00007f68fd6edb50 in start_thread (arg=<optimized out>) at pthread_create.c:304
#24 0x00007f6907fbb90d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#25 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f68d9320700 (LWP 8200)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f69048d535b in wait (time=18446744073709551615, this=0x7f68dc118c10) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x7f68dc0d8250, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f69048d1dd5 in QSemaphore::acquire (this=0x7f68d931fb50, n=1) at thread/qsemaphore.cpp:144
#4  0x00007f69049ce698 in blocking_activate (argv=0x7f68d931fbb0, c=0x1664870, signal=10, sender=0x1601260) at kernel/qobject.cpp:3175
#5  QMetaObject::activate (sender=0x1601260, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7f68d931fbb0) at kernel/qobject.cpp:3252
#6  0x00007f68e4709c6f in PlacesRunner::doMatch (this=<optimized out>, _t1=0x15c0a68) at ./placesrunner.moc:152
#7  0x00007f69073d8be4 in Plasma::AbstractRunner::performMatch (this=0x1601260, localContext=...) at ../../plasma/abstractrunner.cpp:136
#8  0x00007f69001256c1 in ThreadWeaver::JobRunHelper::runTheJob (this=0x7f68d931fcc0, th=0x164db80, job=0x15c0a50) at ../../../threadweaver/Weaver/Job.cpp:106
#9  0x00007f69001257ec in ThreadWeaver::Job::execute (this=0x15c0a50, th=0x164db80) at ../../../threadweaver/Weaver/Job.cpp:135
#10 0x00007f6900124ecf in ThreadWeaver::ThreadRunHelper::run (this=0x7f68d931fd40, parent=0x1467f70, th=0x164db80) at ../../../threadweaver/Weaver/Thread.cpp:95
#11 0x00007f6900124f8b in ThreadWeaver::Thread::run (this=0x164db80) at ../../../threadweaver/Weaver/Thread.cpp:142
#12 0x00007f69048d4ec5 in QThreadPrivate::start (arg=0x164db80) at thread/qthread_unix.cpp:331
#13 0x00007f68f8c15b74 in ?? () from /usr/lib/x86_64-linux-gnu/libGL.so.1
#14 0x00007f68fd6edb50 in start_thread (arg=<optimized out>) at pthread_create.c:304
#15 0x00007f6907fbb90d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#16 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f69086967a0 (LWP 2414)):
#0  0x00007f69064e1dc4 in _XReply () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#1  0x00007f69064dd4e3 in XSync () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#2  0x00007f690541a37e in QETWidget::translateConfigEvent (this=0x140d5f0, event=<optimized out>) at kernel/qapplication_x11.cpp:5321
#3  0x00007f6905426ecf in QApplication::x11ProcessEvent (this=0x120f610, event=0x7fffab636090) at kernel/qapplication_x11.cpp:3496
#4  0x00007f690544f662 in x11EventSourceDispatch (s=0x1217f20, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#5  0x00007f68fd22079a in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007f68fd220b60 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#7  0x00007f68fd220c24 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#8  0x00007f69049e643f in QEventDispatcherGlib::processEvents (this=0x115ef40, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#9  0x00007f690544f2ee in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#10 0x00007f69049ba972 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#11 0x00007f69049bab6f in QEventLoop::exec (this=0x7fffab636430, flags=...) at kernel/qeventloop.cpp:201
#12 0x00007f69049bed37 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#13 0x00007f690829773f in kdemain (argc=1, argv=0x7fffab6366d8) at ../../krunner/main.cpp:66
#14 0x00007f6907f01ead in __libc_start_main (main=<optimized out>, argc=<optimized out>, ubp_av=<optimized out>, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffab6366c8) at libc-start.c:228
#15 0x00000000004006f1 in _start ()

Reported using DrKonqi
Comment 1 Christoph Feck 2012-04-30 17:38:47 UTC
The crash is caused by the "WindowsRunner" doing X11 calls in the non-UI thread.
Comment 2 predatorgcc 2012-05-03 06:42:45 UTC
Created attachment 70821 [details]
New crash information added by DrKonqi

krunner (0.1) on KDE Platform 4.8.2 (4.8.2) using Qt 4.8.1

Linux netbook 3.3.4-1-ARCH #1 SMP PREEMPT Sat Apr 28 00:21:22 CEST 2012 x86_64 Intel(R) Atom(TM) CPU N450 @ 1.66GHz GenuineIntel GNU/Linux

KDE 4.8.2 from bin

-- Backtrace (Reduced):
#12 0x00007f86cc190484 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#13 0x00007f86cc194bf8 in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#14 0x00007f86b9d9650f in kdemain () from /usr/lib/libkdeinit4_krunner.so
#15 0x00000000004083e4 in _start ()
Comment 3 Vishesh Handa 2015-02-04 17:02:51 UTC
Fixed with Plasma 5.