Bug 198959 - doubleclicking enter too quickly kills krunner
Summary: doubleclicking enter too quickly kills krunner
Status: RESOLVED DUPLICATE of bug 200648
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-07-04 23:38 UTC by Arne Babenhauserheide
Modified: 2009-07-18 16:54 UTC (History)
2 users (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 Arne Babenhauserheide 2009-07-04 23:38:49 UTC
Application that crashed: krunner
Version of the application: 0.1
KDE Version: 4.2.95 (KDE 4.2.95 (KDE 4.3 RC1))
Qt Version: 4.5.2
Operating System: Linux 2.6.29-hh2 x86_64

What I was doing when the application crashed:
When I type a part of some command in krunner (opened via alt-f2) and then click enter twice and too quickly, krunner crashes. I tried this a few times and it's repeatable. 

 -- Backtrace:
Application: Oberfläche zur Ausführung von Befehlen (kdeinit4), signal: Segmentation fault
[Current thread is 0 (LWP 954)]

Thread 5 (Thread 0x7f95cfe0b950 (LWP 1491)):
#0  0x00007f95ebec1dc9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f95ec12f359 in QWaitCondition::wait () from /usr/lib64/qt4/libQtCore.so.4
#2  0x00007f95e2364414 in ?? () from /usr/lib64/libthreadweaver.so.4
#3  0x00007f95e2366b43 in ?? () from /usr/lib64/libthreadweaver.so.4
#4  0x00007f95e2366b5c in ?? () from /usr/lib64/libthreadweaver.so.4
#5  0x00007f95e2365117 in ?? () from /usr/lib64/libthreadweaver.so.4
#6  0x00007f95e2365559 in ThreadWeaver::Thread::run () from /usr/lib64/libthreadweaver.so.4
#7  0x00007f95ec12e614 in ?? () from /usr/lib64/qt4/libQtCore.so.4
#8  0x00007f95ebebe017 in start_thread () from /lib/libpthread.so.0
#9  0x00007f95e8b5048d in clone () from /lib/libc.so.6
#10 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f95cf60a950 (LWP 1492)):
#0  0x00007f95ebec1dc9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f95ec12f359 in QWaitCondition::wait () from /usr/lib64/qt4/libQtCore.so.4
#2  0x00007f95e2364414 in ?? () from /usr/lib64/libthreadweaver.so.4
#3  0x00007f95e2366b43 in ?? () from /usr/lib64/libthreadweaver.so.4
#4  0x00007f95e2365117 in ?? () from /usr/lib64/libthreadweaver.so.4
#5  0x00007f95e2365559 in ThreadWeaver::Thread::run () from /usr/lib64/libthreadweaver.so.4
#6  0x00007f95ec12e614 in ?? () from /usr/lib64/qt4/libQtCore.so.4
#7  0x00007f95ebebe017 in start_thread () from /lib/libpthread.so.0
#8  0x00007f95e8b5048d in clone () from /lib/libc.so.6
#9  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f95cee09950 (LWP 1493)):
#0  0x00007f95ec225d61 in ?? () from /usr/lib64/qt4/libQtCore.so.4
#1  0x00007f95e81b5faa in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0
#2  0x00007f95e81b63ba in ?? () from /usr/lib/libglib-2.0.so.0
#3  0x00007f95e81b687b in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#4  0x00007f95ec225c16 in QEventDispatcherGlib::processEvents () from /usr/lib64/qt4/libQtCore.so.4
#5  0x00007f95ec1ffa32 in QEventLoop::processEvents () from /usr/lib64/qt4/libQtCore.so.4
#6  0x00007f95ec1ffbcc in QEventLoop::exec () from /usr/lib64/qt4/libQtCore.so.4
#7  0x00007f95d0ba2223 in Nepomuk::Search::QueryServiceClient::blockingQuery () from /usr/lib64/libnepomukqueryclient.so.4
#8  0x00007f95d153b1f7 in ?? () from /usr/lib64/kde4/krunner_nepomuksearchrunner.so
#9  0x00007f95d153a740 in ?? () from /usr/lib64/kde4/krunner_nepomuksearchrunner.so
#10 0x00007f95e3c6085b in Plasma::AbstractRunner::performMatch () from /usr/lib64/libplasma.so.3
#11 0x00007f95e2365dfc in ?? () from /usr/lib64/libthreadweaver.so.4
#12 0x00007f95e2366111 in ThreadWeaver::Job::execute () from /usr/lib64/libthreadweaver.so.4
#13 0x00007f95e23650e7 in ?? () from /usr/lib64/libthreadweaver.so.4
#14 0x00007f95e2365559 in ThreadWeaver::Thread::run () from /usr/lib64/libthreadweaver.so.4
#15 0x00007f95ec12e614 in ?? () from /usr/lib64/qt4/libQtCore.so.4
#16 0x00007f95ebebe017 in start_thread () from /lib/libpthread.so.0
#17 0x00007f95e8b5048d in clone () from /lib/libc.so.6
#18 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f95ce608950 (LWP 1494)):
#0  0x00007f95ebec1dc9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f95ec12f359 in QWaitCondition::wait () from /usr/lib64/qt4/libQtCore.so.4
#2  0x00007f95e2364414 in ?? () from /usr/lib64/libthreadweaver.so.4
#3  0x00007f95e2366b43 in ?? () from /usr/lib64/libthreadweaver.so.4
#4  0x00007f95e2365117 in ?? () from /usr/lib64/libthreadweaver.so.4
#5  0x00007f95e2365559 in ThreadWeaver::Thread::run () from /usr/lib64/libthreadweaver.so.4
#6  0x00007f95ec12e614 in ?? () from /usr/lib64/qt4/libQtCore.so.4
#7  0x00007f95ebebe017 in start_thread () from /lib/libpthread.so.0
#8  0x00007f95e8b5048d in clone () from /lib/libc.so.6
#9  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f95ec6b0750 (LWP 954)):
[KCrash Handler]
#5  0x00007f95e979eb70 in QIcon::QIcon () from /usr/lib64/qt4/libQtGui.so.4
#6  0x00007f95e114c3e1 in ?? () from /usr/lib64/libkdeinit4_krunner.so
#7  0x00007f95e114c991 in ?? () from /usr/lib64/libkdeinit4_krunner.so
#8  0x00007f95e9764973 in QWidget::event () from /usr/lib64/qt4/libQtGui.so.4
#9  0x00007f95e9717b3d in QApplicationPrivate::notify_helper () from /usr/lib64/qt4/libQtGui.so.4
#10 0x00007f95e97213a5 in QApplication::notify () from /usr/lib64/qt4/libQtGui.so.4
#11 0x00007f95ea6ecbbb in KApplication::notify () from /usr/lib64/libkdeui.so.5
#12 0x00007f95ec201033 in QCoreApplication::notifyInternal () from /usr/lib64/qt4/libQtCore.so.4
#13 0x00007f95e9799d64 in ?? () from /usr/lib64/qt4/libQtGui.so.4
#14 0x00007f95e979bde0 in ?? () from /usr/lib64/qt4/libQtGui.so.4
#15 0x00007f95e9778c0d in QApplication::x11ProcessEvent () from /usr/lib64/qt4/libQtGui.so.4
#16 0x00007f95e979d5a4 in ?? () from /usr/lib64/qt4/libQtGui.so.4
#17 0x00007f95e81b2fe1 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#18 0x00007f95e81b66bd in ?? () from /usr/lib/libglib-2.0.so.0
#19 0x00007f95e81b687b in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#20 0x00007f95ec225bff in QEventDispatcherGlib::processEvents () from /usr/lib64/qt4/libQtCore.so.4
#21 0x00007f95e979ce6f in ?? () from /usr/lib64/qt4/libQtGui.so.4
#22 0x00007f95ec1ffa32 in QEventLoop::processEvents () from /usr/lib64/qt4/libQtCore.so.4
#23 0x00007f95ec1ffbcc in QEventLoop::exec () from /usr/lib64/qt4/libQtCore.so.4
#24 0x00007f95ec201bc4 in QCoreApplication::exec () from /usr/lib64/qt4/libQtCore.so.4
#25 0x00007f95e113c04c in kdemain () from /usr/lib64/libkdeinit4_krunner.so
#26 0x0000000000407650 in _start ()

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

Reported using DrKonqi
Comment 1 Arne Babenhauserheide 2009-07-04 23:39:39 UTC
PS: Whoever wrote DrKonqui: You're great!
Comment 2 Arne Babenhauserheide 2009-07-04 23:44:34 UTC
Correction: it's mostly repeatable, but I have to be really fast to get krunner to die. 

After the first crash it now doesn't show DrKonqui again, though. It just diappears but keeps working (alt-f2 shows it again).
Comment 3 Dario Andres 2009-07-07 02:04:49 UTC
As you can reproduce the crash at will, may you read http://techbase.kde.org/Development/Tutorials/Debugging/How_to_create_useful_crash_reports and post a complete backtrace here? You need to get debug symbols for kdebase-workspace. Thanks
Comment 4 Arne Babenhauserheide 2009-07-07 12:40:09 UTC
is kdebase-workspace synonymous to kde-base/plasma-workspace?
Comment 5 Dario Andres 2009-07-07 12:43:05 UTC
No, kdebase/workspace includes more things than Plasma. May be the name is kde-base/krunner ?
Comment 6 Arne Babenhauserheide 2009-07-07 13:33:48 UTC
I ctreated a new backtrace - hopefully with the right debugging symbols. 

For the record: This is how I rebuilt it - I hope I did no error in that: 

$ FLAGS="-march=k8 -O2 -pipe -gddb" CXXFLAGS="${CFLAGS}" FEATURES="nostrip" emerge krunner

Backtrace: 

====== ====== ====== ====== ====== ====== 

Application: Oberfläche zur Ausführung von Befehlen (kdeinit4), signal: Segmentation fault
[Current thread is 0 (LWP 24246)]

Thread 5 (Thread 0x7f8208e2f950 (LWP 24885)):
#0  0x00007f8221e14dc9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f8222082359 in QWaitCondition::wait () from /usr/lib64/qt4/libQtCore.so.4
#2  0x00007f82182b7414 in ?? () from /usr/lib64/libthreadweaver.so.4
#3  0x00007f82182b9b43 in ?? () from /usr/lib64/libthreadweaver.so.4
#4  0x00007f82182b9b5c in ?? () from /usr/lib64/libthreadweaver.so.4
#5  0x00007f82182b8117 in ?? () from /usr/lib64/libthreadweaver.so.4
#6  0x00007f82182b8559 in ThreadWeaver::Thread::run () from /usr/lib64/libthreadweaver.so.4
#7  0x00007f8222081614 in ?? () from /usr/lib64/qt4/libQtCore.so.4
#8  0x00007f8221e11017 in start_thread () from /lib/libpthread.so.0
#9  0x00007f821eaa348d in clone () from /lib/libc.so.6
#10 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f820862e950 (LWP 24886)):
#0  0x00007f8221e14dc9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f8222082359 in QWaitCondition::wait () from /usr/lib64/qt4/libQtCore.so.4
#2  0x00007f82182b7414 in ?? () from /usr/lib64/libthreadweaver.so.4
#3  0x00007f82182b9b43 in ?? () from /usr/lib64/libthreadweaver.so.4
#4  0x00007f82182b8117 in ?? () from /usr/lib64/libthreadweaver.so.4
#5  0x00007f82182b8559 in ThreadWeaver::Thread::run () from /usr/lib64/libthreadweaver.so.4
#6  0x00007f8222081614 in ?? () from /usr/lib64/qt4/libQtCore.so.4
#7  0x00007f8221e11017 in start_thread () from /lib/libpthread.so.0
#8  0x00007f821eaa348d in clone () from /lib/libc.so.6
#9  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f8207e2d950 (LWP 24887)):
#0  0x00007f8221e14dc9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f8222082359 in QWaitCondition::wait () from /usr/lib64/qt4/libQtCore.so.4
#2  0x00007f82182b7414 in ?? () from /usr/lib64/libthreadweaver.so.4
#3  0x00007f82182b9b43 in ?? () from /usr/lib64/libthreadweaver.so.4
#4  0x00007f82182b9b5c in ?? () from /usr/lib64/libthreadweaver.so.4
#5  0x00007f82182b8117 in ?? () from /usr/lib64/libthreadweaver.so.4
#6  0x00007f82182b8559 in ThreadWeaver::Thread::run () from /usr/lib64/libthreadweaver.so.4
#7  0x00007f8222081614 in ?? () from /usr/lib64/qt4/libQtCore.so.4
#8  0x00007f8221e11017 in start_thread () from /lib/libpthread.so.0
#9  0x00007f821eaa348d in clone () from /lib/libc.so.6
#10 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f820762c950 (LWP 24888)):
#0  0x00007f8221e14dc9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f8222082359 in QWaitCondition::wait () from /usr/lib64/qt4/libQtCore.so.4
#2  0x00007f82182b7414 in ?? () from /usr/lib64/libthreadweaver.so.4
#3  0x00007f82182b9b43 in ?? () from /usr/lib64/libthreadweaver.so.4
#4  0x00007f82182b8117 in ?? () from /usr/lib64/libthreadweaver.so.4
#5  0x00007f82182b8559 in ThreadWeaver::Thread::run () from /usr/lib64/libthreadweaver.so.4
#6  0x00007f8222081614 in ?? () from /usr/lib64/qt4/libQtCore.so.4
#7  0x00007f8221e11017 in start_thread () from /lib/libpthread.so.0
#8  0x00007f821eaa348d in clone () from /lib/libc.so.6
#9  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f8222603750 (LWP 24246)):
[KCrash Handler]
#5  0x00007f821f6f1b70 in QIcon::QIcon () from /usr/lib64/qt4/libQtGui.so.4
#6  0x00007f821709f3e1 in QuickSand::QsMatchView::showSelected () from /usr/lib64/libkdeinit4_krunner.so
#7  0x00007f821709f991 in QuickSand::QsMatchView::keyPressEvent () from /usr/lib64/libkdeinit4_krunner.so
#8  0x00007f821f6b7973 in QWidget::event () from /usr/lib64/qt4/libQtGui.so.4
#9  0x00007f821f66ab3d in QApplicationPrivate::notify_helper () from /usr/lib64/qt4/libQtGui.so.4
#10 0x00007f821f6743a5 in QApplication::notify () from /usr/lib64/qt4/libQtGui.so.4
#11 0x00007f822063fbbb in KApplication::notify () from /usr/lib64/libkdeui.so.5
#12 0x00007f8222154033 in QCoreApplication::notifyInternal () from /usr/lib64/qt4/libQtCore.so.4
#13 0x00007f821f6ecd64 in ?? () from /usr/lib64/qt4/libQtGui.so.4
#14 0x00007f821f6eede0 in ?? () from /usr/lib64/qt4/libQtGui.so.4
#15 0x00007f821f6cbc0d in QApplication::x11ProcessEvent () from /usr/lib64/qt4/libQtGui.so.4
#16 0x00007f821f6f05a4 in ?? () from /usr/lib64/qt4/libQtGui.so.4
#17 0x00007f821e105fe1 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#18 0x00007f821e1096bd in ?? () from /usr/lib/libglib-2.0.so.0
#19 0x00007f821e10987b in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#20 0x00007f8222178bff in QEventDispatcherGlib::processEvents () from /usr/lib64/qt4/libQtCore.so.4
#21 0x00007f821f6efe6f in ?? () from /usr/lib64/qt4/libQtGui.so.4
#22 0x00007f8222152a32 in QEventLoop::processEvents () from /usr/lib64/qt4/libQtCore.so.4
#23 0x00007f8222152bcc in QEventLoop::exec () from /usr/lib64/qt4/libQtCore.so.4
#24 0x00007f8222154bc4 in QCoreApplication::exec () from /usr/lib64/qt4/libQtCore.so.4
#25 0x00007f821708f04c in kdemain () from /usr/lib64/libkdeinit4_krunner.so
#26 0x0000000000407650 in _start ()

====== ====== ====== ====== ====== ======
Comment 7 Dario Andres 2009-07-07 13:37:27 UTC
It still not complete but it has more information. It looks like bug 183478 (but the reporter said he couldn't reproduce anymore)...
Comment 8 Arne Babenhauserheide 2009-07-07 14:48:43 UTC
I assume I'd have to recompile larger heaps of KDE to add more information... if it's necessary I can do so, but I'd rather not (will take quite some time). 

I can only reproduce it one time after logging in. Afterwards krunner just dies silently - till I log out and log in again.
Comment 9 Dario Andres 2009-07-07 20:39:00 UTC
If you restart KRunner (with "krunner" on Konsole), it should reappear again.
Comment 10 Arne Babenhauserheide 2009-07-08 08:31:02 UTC
After a crash it doesn't start from console. 

$ gdb krunner
GNU gdb 6.8               
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.           
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"   
and "show warranty" for details.                                             
This GDB was configured as "x86_64-pc-linux-gnu"...                          
(no debugging symbols found)                                                 
(gdb) run                                                                    
Starting program: /usr/bin/krunner                                           
(no debugging symbols found)                                                 
...
(no debugging symbols found)                                                 
[Thread debugging using libthread_db enabled]                                
(no debugging symbols found)                                                 
...
(no debugging symbols found)                                                 
---Type <return> to continue, or q <return> to quit---                       
(no debugging symbols found)                                                 
...
(no debugging symbols found)                                                 
---Type <return> to continue, or q <return> to quit---                       
(no debugging symbols found)                                                 
...
(no debugging symbols found)
[New Thread 0x7ffcb399f760 (LWP 3402)]
---Type <return> to continue, or q <return> to quit---
(no debugging symbols found)
<unknown program name>(3402)/: Communication problem with  "krunner" , it probably crashed.
Error message was:  "org.freedesktop.DBus.Error.NoReply" : " "Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken." "


Program exited with code 0377.
(gdb)

(this is damn crude, though, because I don't know much about gdb)
Comment 11 Dario Andres 2009-07-18 16:54:04 UTC
Marking as duplicate of bug 200648 as it has an updated and complete backtrace.
Thanks

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