Bug 259873

Summary: KRunnner autocompletion crash (DBus 1.4.0) [_dbus_abort. _dbus_warn_check_failed, q_dbus_pending_call_block, QDBusConnectionPrivate::waitForFinished, ..., KGetRunner::parseUrls]
Product: [Plasma] krunner Reporter: Jan Essert <netz>
Component: generalAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: andresbajotierra, diego.ml, giecrilj, kget, maarten, mat69, rdieter, xenomorph, zilti
Priority: NOR    
Version: 4.6.2   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi
New crash information added by DrKonqi
New crash information added by DrKonqi
New crash information added by DrKonqi
New crash information added by DrKonqi
New crash information added by DrKonqi

Description Jan Essert 2010-12-14 18:48:25 UTC
Application: krunner (0.1)
KDE Platform Version: 4.5.4 (KDE 4.5.4) (Compiled from sources)
Qt Version: 4.7.1
Operating System: Linux 2.6.36-gentoo-r5 x86_64
Distribution: "Gentoo Base System release 2.0.1-r1"

-- Information about the crash:
- What I was doing when the application crashed:
krunner auto completion led to this crash.

This is with dbus 1.4.0.

-- Backtrace:
Application: Oberfläche zur Ausführung von Befehlen (kdeinit4), signal: Aborted
pthread_cond_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
	in ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
[Current thread is 1 (Thread 0x7f4708c32780 (LWP 4161))]

Thread 5 (Thread 0x7f46e86d0710 (LWP 12298)):
#0  pthread_cond_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f47077f8e4b in wait (this=<value optimized out>, mutex=0x1ebefe0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x1ebefe0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f46fd43d914 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x1ee7d70, th=0x2587df0) at /var/tmp/portage/kde-base/kdelibs-4.5.4/work/kdelibs-4.5.4/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f46fd43ffa3 in ThreadWeaver::WorkingHardState::applyForWork (this=0x1ee7d50, th=0x2587df0) at /var/tmp/portage/kde-base/kdelibs-4.5.4/work/kdelibs-4.5.4/threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f46fd43ed8f in ThreadWeaver::ThreadRunHelper::run (this=0x7f46e86cfe10, parent=0x1ee7d70, th=0x2587df0) at /var/tmp/portage/kde-base/kdelibs-4.5.4/work/kdelibs-4.5.4/threadweaver/Weaver/Thread.cpp:87
#6  0x00007f46fd43ee18 in ThreadWeaver::Thread::run (this=0x2587df0) at /var/tmp/portage/kde-base/kdelibs-4.5.4/work/kdelibs-4.5.4/threadweaver/Weaver/Thread.cpp:142
#7  0x00007f47077f875e in QThreadPrivate::start (arg=0x2587df0) at thread/qthread_unix.cpp:285
#8  0x00007f4707568e0c in start_thread () from /lib/libpthread.so.0
#9  0x00007f47063460bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 4 (Thread 0x7f46e59a6710 (LWP 12299)):
#0  pthread_cond_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f47077f8e4b in wait (this=<value optimized out>, mutex=0x1ebefe0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x1ebefe0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f46fd43d914 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x1ee7d70, th=0x252e8e0) at /var/tmp/portage/kde-base/kdelibs-4.5.4/work/kdelibs-4.5.4/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f46fd43ffa3 in ThreadWeaver::WorkingHardState::applyForWork (this=0x1ee7d50, th=0x252e8e0) at /var/tmp/portage/kde-base/kdelibs-4.5.4/work/kdelibs-4.5.4/threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f46fd43ed8f in ThreadWeaver::ThreadRunHelper::run (this=0x7f46e59a5e10, parent=0x1ee7d70, th=0x252e8e0) at /var/tmp/portage/kde-base/kdelibs-4.5.4/work/kdelibs-4.5.4/threadweaver/Weaver/Thread.cpp:87
#6  0x00007f46fd43ee18 in ThreadWeaver::Thread::run (this=0x252e8e0) at /var/tmp/portage/kde-base/kdelibs-4.5.4/work/kdelibs-4.5.4/threadweaver/Weaver/Thread.cpp:142
#7  0x00007f47077f875e in QThreadPrivate::start (arg=0x252e8e0) at thread/qthread_unix.cpp:285
#8  0x00007f4707568e0c in start_thread () from /lib/libpthread.so.0
#9  0x00007f47063460bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 3 (Thread 0x7f46e51a5710 (LWP 12300)):
[KCrash Handler]
#6  0x00007f4706298e55 in raise () from /lib/libc.so.6
#7  0x00007f470629a685 in abort () from /lib/libc.so.6
#8  0x00007f4702267935 in _dbus_abort () at /var/tmp/portage/sys-apps/dbus-1.4.0/work/dbus-1.4.0/dbus/dbus-sysdeps.c:94
#9  0x00007f470225eb65 in _dbus_warn_check_failed (format=0x7f470226dba8 "arguments to %s() were incorrect, assertion \"%s\" failed in file %s line %d.\nThis is normally a bug in some application using the D-Bus library.\n") at /var/tmp/portage/sys-apps/dbus-1.4.0/work/dbus-1.4.0/dbus/dbus-internals.c:289
#10 0x00007f4704cf6d45 in q_dbus_pending_call_block (this=0x1d6a280, pcall=0x7f46d8055f50) at qdbus_symbols_p.h:305
#11 QDBusConnectionPrivate::waitForFinished (this=0x1d6a280, pcall=0x7f46d8055f50) at qdbusintegrator.cpp:1718
#12 0x00007f4704d358e3 in QDBusPendingCallPrivate::waitForFinished (this=0x7f46d8055f50) at qdbuspendingcall.cpp:242
#13 0x00007f4704d36d2b in QDBusPendingReplyData::argumentAt (this=0x7f46e51a4ac0, index=0) at qdbuspendingreply.cpp:264
#14 0x00007f46e70917c1 in argumentAt<0> (this=0x7f46e0005290, text=...) at /usr/include/qt4/QtDBus/qdbuspendingreply.h:176
#15 value (this=0x7f46e0005290, text=...) at /usr/include/qt4/QtDBus/qdbuspendingreply.h:181
#16 KGetRunner::parseUrls (this=0x7f46e0005290, text=...) at /var/tmp/portage/kde-base/kget-4.5.4/work/kget-4.5.4/kget/plasma/runner/kgetrunner.cpp:124
#17 0x00007f46e7091b78 in KGetRunner::match (this=0x7f46e0005290, context=...) at /var/tmp/portage/kde-base/kget-4.5.4/work/kget-4.5.4/kget/plasma/runner/kgetrunner.cpp:49
#18 0x00007f46ff42ef73 in Plasma::AbstractRunner::performMatch (this=0x7f46e0005290, localContext=...) at /var/tmp/portage/kde-base/kdelibs-4.5.4/work/kdelibs-4.5.4/plasma/abstractrunner.cpp:132
#19 0x00007f46fd43f471 in ThreadWeaver::JobRunHelper::runTheJob (this=0x7f46e51a4d80, th=0x252eeb0, job=0x26d8220) at /var/tmp/portage/kde-base/kdelibs-4.5.4/work/kdelibs-4.5.4/threadweaver/Weaver/Job.cpp:106
#20 0x00007f46fd43f5ae in ThreadWeaver::Job::execute (this=0x26d8220, th=0x252eeb0) at /var/tmp/portage/kde-base/kdelibs-4.5.4/work/kdelibs-4.5.4/threadweaver/Weaver/Job.cpp:135
#21 0x00007f46fd43ed5f in ThreadWeaver::ThreadRunHelper::run (this=0x7f46e51a4e10, parent=0x1ee7d70, th=0x252eeb0) at /var/tmp/portage/kde-base/kdelibs-4.5.4/work/kdelibs-4.5.4/threadweaver/Weaver/Thread.cpp:95
#22 0x00007f46fd43ee18 in ThreadWeaver::Thread::run (this=0x252eeb0) at /var/tmp/portage/kde-base/kdelibs-4.5.4/work/kdelibs-4.5.4/threadweaver/Weaver/Thread.cpp:142
#23 0x00007f47077f875e in QThreadPrivate::start (arg=0x252eeb0) at thread/qthread_unix.cpp:285
#24 0x00007f4707568e0c in start_thread () from /lib/libpthread.so.0
#25 0x00007f47063460bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 2 (Thread 0x7f46e49a4710 (LWP 12301)):
#0  pthread_cond_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f47077f8e4b in wait (this=<value optimized out>, mutex=0x1ebefe0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x1ebefe0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f46fd43d914 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x1ee7d70, th=0x2531d30) at /var/tmp/portage/kde-base/kdelibs-4.5.4/work/kdelibs-4.5.4/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f46fd43ffa3 in ThreadWeaver::WorkingHardState::applyForWork (this=0x1ee7d50, th=0x2531d30) at /var/tmp/portage/kde-base/kdelibs-4.5.4/work/kdelibs-4.5.4/threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f46fd43ed8f in ThreadWeaver::ThreadRunHelper::run (this=0x7f46e49a3e10, parent=0x1ee7d70, th=0x2531d30) at /var/tmp/portage/kde-base/kdelibs-4.5.4/work/kdelibs-4.5.4/threadweaver/Weaver/Thread.cpp:87
#6  0x00007f46fd43ee18 in ThreadWeaver::Thread::run (this=0x2531d30) at /var/tmp/portage/kde-base/kdelibs-4.5.4/work/kdelibs-4.5.4/threadweaver/Weaver/Thread.cpp:142
#7  0x00007f47077f875e in QThreadPrivate::start (arg=0x2531d30) at thread/qthread_unix.cpp:285
#8  0x00007f4707568e0c in start_thread () from /lib/libpthread.so.0
#9  0x00007f47063460bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x7f4708c32780 (LWP 4161)):
#0  pthread_cond_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f47077f78b3 in QMutexPrivate::wait (this=0x1d6a4a0, timeout=-1) at thread/qmutex_unix.cpp:84
#2  0x00007f47077f434d in QMutex::lock (this=0x1d6a2e8) at thread/qmutex.cpp:204
#3  0x00007f4704cf62b2 in QDBusMutexLocker (this=0x1d6a280) at qdbusthreaddebug_p.h:188
#4  QDBusDispatchLocker (this=0x1d6a280) at qdbusthreaddebug_p.h:203
#5  QDBusConnectionPrivate::doDispatch (this=0x1d6a280) at qdbusintegrator.cpp:1092
#6  0x00007f4704d39534 in QDBusConnectionPrivate::qt_metacall (this=0x1d6a280, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x23f2500) at .moc/release-shared/moc_qdbusconnection_p.cpp:98
#7  0x00007f47078f47ca in QObject::event (this=0x1d6a280, e=<value optimized out>) at kernel/qobject.cpp:1211
#8  0x00007f4706ab8df4 in QApplicationPrivate::notify_helper (this=0x1d77e90, receiver=0x1d6a280, e=0x20cc160) at kernel/qapplication.cpp:4445
#9  0x00007f4706abd8ba in QApplication::notify (this=<value optimized out>, receiver=0x1d6a280, e=0x20cc160) at kernel/qapplication.cpp:4324
#10 0x00007f470864b2e6 in KApplication::notify (this=0x1d77b60, receiver=0x1d6a280, event=0x20cc160) at /var/tmp/portage/kde-base/kdelibs-4.5.4/work/kdelibs-4.5.4/kdeui/kernel/kapplication.cpp:310
#11 0x00007f47078e063b in QCoreApplication::notifyInternal (this=0x1d77b60, receiver=0x1d6a280, event=0x20cc160) at kernel/qcoreapplication.cpp:732
#12 0x00007f47078e3df4 in sendEvent (receiver=0x0, event_type=0, data=0x1d0cbd0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#13 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x1d0cbd0) at kernel/qcoreapplication.cpp:1373
#14 0x00007f470790b393 in sendPostedEvents (s=0x1d7bfe0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#15 postEventSourceDispatch (s=0x1d7bfe0) at kernel/qeventdispatcher_glib.cpp:277
#16 0x00007f47033ef2f2 in g_main_dispatch (context=0x1d7b520) at gmain.c:2149
#17 g_main_context_dispatch (context=0x1d7b520) at gmain.c:2702
#18 0x00007f47033efad0 in g_main_context_iterate (context=0x1d7b520, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2780
#19 0x00007f47033efd6d in g_main_context_iteration (context=0x1d7b520, may_block=1) at gmain.c:2843
#20 0x00007f470790b52f in QEventDispatcherGlib::processEvents (this=0x1d77290, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:415
#21 0x00007f4706b5d5be in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#22 0x00007f47078df9e2 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#23 0x00007f47078dfc24 in QEventLoop::exec (this=0x7fff8ce871e0, flags=...) at kernel/qeventloop.cpp:201
#24 0x00007f47078e40ab in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#25 0x00007f46f783ddd6 in kdemain (argc=1, argv=0x1d0ede0) at /var/tmp/portage/kde-base/krunner-4.5.4/work/krunner-4.5.4/krunner/main.cpp:65
#26 0x00000000004071e9 in launch (argc=1, _name=0x1d71ac8 "/usr/bin/krunner", args=<value optimized out>, cwd=0x0, envc=<value optimized out>, envs=<value optimized out>, reset_env=false, tty=0x0, avoid_loops=false, startup_id_str=0x40b18e "0") at /var/tmp/portage/kde-base/kdelibs-4.5.4/work/kdelibs-4.5.4/kinit/kinit.cpp:716
#27 0x0000000000407d4f in handle_launcher_request (sock=<value optimized out>, who=<value optimized out>) at /var/tmp/portage/kde-base/kdelibs-4.5.4/work/kdelibs-4.5.4/kinit/kinit.cpp:1208
#28 0x0000000000408425 in handle_requests (waitForPid=0) at /var/tmp/portage/kde-base/kdelibs-4.5.4/work/kdelibs-4.5.4/kinit/kinit.cpp:1401
#29 0x0000000000409037 in main (argc=4, argv=0x7fff8ce88518, envp=0x7fff8ce88540) at /var/tmp/portage/kde-base/kdelibs-4.5.4/work/kdelibs-4.5.4/kinit/kinit.cpp:1885

This bug may be a duplicate of or related to bug 254034.

Possible duplicates by query: bug 259204, bug 254034, bug 240689, bug 231404.

Reported using DrKonqi
Comment 1 Dario Andres 2010-12-15 14:18:13 UTC
[Comment from a bug triager]
Likely to be connected with bug 240689, which also mentions the KGet runner.
Comment 2 Matthias Fuchs 2010-12-18 11:07:36 UTC
*** Bug 240689 has been marked as a duplicate of this bug. ***
Comment 3 Diego 2011-01-19 10:16:51 UTC
Created attachment 56184 [details]
New crash information added by DrKonqi

krunner (0.1) on KDE Platform 4.5.5 (KDE 4.5.5) using Qt 4.7.1

- What I was doing when the application crashed:

Alt+F2 -> KRunner appears -> KRunner crashes

KGet opened.

-- Backtrace (Reduced):
#8  0x0000003f390304f5 in _dbus_abort () at dbus-sysdeps.c:94
#9  0x0000003f39027435 in _dbus_warn_check_failed (format=0x3f39036628 "arguments to %s() were incorrect, assertion \"%s\" failed in file %s line %d.\nThis is normally a bug in some application using the D-Bus library.\n") at dbus-internals.c:289
#10 0x000000336981a185 in q_dbus_pending_call_block (this=0x7152b0, pcall=0x7fa144011090) at qdbus_symbols_p.h:305
#11 QDBusConnectionPrivate::waitForFinished (this=0x7152b0, pcall=0x7fa144011090) at qdbusintegrator.cpp:1718
#12 0x0000003369858f93 in QDBusPendingCallPrivate::waitForFinished (this=0x7fa144011090) at qdbuspendingcall.cpp:242
Comment 4 Christopher Yeleighton 2011-02-07 15:34:12 UTC
Created attachment 56945 [details]
New crash information added by DrKonqi

krunner (0.1) on KDE Platform 4.6.00 (4.6.0) "release 376" using Qt 4.7.1

- What I was doing when the application crashed:

told KRunner to launch ~/.gpg-agent-info
Pressed the Open action using the mouse button

-- Backtrace (Reduced):
#8  0x00007f40c6283075 in _dbus_abort () from /lib64/libdbus-1.so.3
#9  0x00007f40c6279ff5 in _dbus_warn_check_failed () from /lib64/libdbus-1.so.3
#10 0x00007f40c8feaab5 in q_dbus_pending_call_block (this=0x6a22c0, pcall=0x894020) at qdbus_symbols_p.h:305
#11 QDBusConnectionPrivate::waitForFinished (this=0x6a22c0, pcall=0x894020) at qdbusintegrator.cpp:1718
#12 0x00007f40c9029fc3 in QDBusPendingCallPrivate::waitForFinished (this=0x894020) at qdbuspendingcall.cpp:242
Comment 5 Maarten ter Huurne 2011-02-13 13:06:29 UTC
Created attachment 57206 [details]
New crash information added by DrKonqi

krunner (0.1) on KDE Platform 4.6.00 (4.6.0) using Qt 4.7.1

- What I was doing when the application crashed:

I pressed ALT-F2 and then started typing my query. KRunner crashed before I finished typing.

Version of D-Bus installed: 1.4.1.

-- Backtrace (Reduced):
#8  0x00007fc891792075 in _dbus_abort () at dbus-sysdeps.c:94
#9  0x00007fc891788ff5 in _dbus_warn_check_failed (format=
    0x7fc8917982d0 "arguments to %s() were incorrect, assertion \"%s\" failed in file %s line %d.\nThis is normally a bug in some application using the D-Bus library.\n") at dbus-internals.c:289
#10 0x00007fc8944f8ab5 in q_dbus_pending_call_block (this=0x6e65c0, pcall=0x7fc8681037b0) at qdbus_symbols_p.h:305
#11 QDBusConnectionPrivate::waitForFinished (this=0x6e65c0, pcall=0x7fc8681037b0) at qdbusintegrator.cpp:1718
#12 0x00007fc894537fc3 in QDBusPendingCallPrivate::waitForFinished (this=0x7fc8681037b0) at qdbuspendingcall.cpp:242
Comment 6 Diego 2011-04-08 17:00:17 UTC
Created attachment 58713 [details]
New crash information added by DrKonqi

krunner (0.1) on KDE Platform 4.6.1 (4.6.1) using Qt 4.7.1

- What I was doing when the application crashed:

Alt+F2 -> type -> crash.

Also this time KGet was opened, this still applies in KDE 4.6.1.
dbus-1.4.0-2.fc14.x86_64

-- Backtrace (Reduced):
#8  0x0000003b022304f5 in _dbus_abort () at dbus-sysdeps.c:94
#9  0x0000003b02227435 in _dbus_warn_check_failed (format=0x3b02236628 "arguments to %s() were incorrect, assertion \"%s\" failed in file %s line %d.\nThis is normally a bug in some application using the D-Bus library.\n") at dbus-internals.c:289
#10 0x00000033f141a185 in q_dbus_pending_call_block (this=0x108ada0, pcall=0x7f5e30003b00) at qdbus_symbols_p.h:305
#11 QDBusConnectionPrivate::waitForFinished (this=0x108ada0, pcall=0x7f5e30003b00) at qdbusintegrator.cpp:1718
#12 0x00000033f1458f93 in QDBusPendingCallPrivate::waitForFinished (this=0x7f5e30003b00) at qdbuspendingcall.cpp:242
Comment 7 Diego 2011-05-11 17:57:44 UTC
Created attachment 59911 [details]
New crash information added by DrKonqi

krunner (0.1) on KDE Platform 4.6.2 (4.6.2) using Qt 4.7.2

- What I was doing when the application crashed:

Alt+F2 - started typing "firefox" -> crash

dbus-1.4.0-2.fc14.x86_64

-- Backtrace (Reduced):
#8  0x0000003b022304f5 in _dbus_abort () at dbus-sysdeps.c:94
#9  0x0000003b02227435 in _dbus_warn_check_failed (format=0x3b02236628 "arguments to %s() were incorrect, assertion \"%s\" failed in file %s line %d.\nThis is normally a bug in some application using the D-Bus library.\n") at dbus-internals.c:289
#10 0x000000373681a285 in q_dbus_pending_call_block (this=0x1f2fe00, pcall=0x7f22a0006570) at qdbus_symbols_p.h:305
#11 QDBusConnectionPrivate::waitForFinished (this=0x1f2fe00, pcall=0x7f22a0006570) at qdbusintegrator.cpp:1739
#12 0x0000003736858df3 in QDBusPendingCallPrivate::waitForFinished (this=0x7f22a0006570) at qdbuspendingcall.cpp:242
Comment 8 Diego 2011-05-13 11:27:06 UTC
Created attachment 59962 [details]
New crash information added by DrKonqi

krunner (0.1) on KDE Platform 4.6.2 (4.6.2) using Qt 4.7.2

- What I was doing when the application crashed:

Started typing "it2en: tecnico installatore", but it crashed before I could type the whole string.

$ rpm -q dbus
dbus-1.4.0-2.fc14.x86_64

-- Backtrace (Reduced):
#8  0x0000003b022304f5 in _dbus_abort () at dbus-sysdeps.c:94
#9  0x0000003b02227435 in _dbus_warn_check_failed (format=0x3b02236628 "arguments to %s() were incorrect, assertion \"%s\" failed in file %s line %d.\nThis is normally a bug in some application using the D-Bus library.\n") at dbus-internals.c:289
#10 0x000000373681a285 in q_dbus_pending_call_block (this=0xf26e00, pcall=0x7fd55401c9c0) at qdbus_symbols_p.h:305
#11 QDBusConnectionPrivate::waitForFinished (this=0xf26e00, pcall=0x7fd55401c9c0) at qdbusintegrator.cpp:1739
#12 0x0000003736858df3 in QDBusPendingCallPrivate::waitForFinished (this=0x7fd55401c9c0) at qdbuspendingcall.cpp:242
Comment 9 Diego 2011-05-13 11:40:45 UTC
Found a way to always reproduce on my system: KRunner -> start typing "it2en: blah blah blah" and so on. Continuing writing random chars makes KRunner crash at some point. 
I'd like to provide a full Valgrind log, if I'm able to.
Is there a way I can attach valgrind to KRunner while running or should I just kill KRunner and then start it from command line? Any option you'd like me to put in valgrind command line? Thanks.

For the record, ABRT report: https://bugzilla.redhat.com/show_bug.cgi?id=704474
Comment 10 Matthias Fuchs 2011-05-13 11:52:15 UTC
Thank you for the information.
I think kquitapp krunner and then simply krunner should be enough.
Maybe krunner --nofork is needed, though I am not sure on that.

Btw. interestingly I was finally able to reproduce a crash with what you described on #9 but only with my regular account, not with the devel one.
Comment 11 Diego 2011-05-13 13:37:54 UTC
(In reply to comment #10)
> Thank you for the information.
> I think kquitapp krunner and then simply krunner should be enough.
> Maybe krunner --nofork is needed, though I am not sure on that.

Interestingly it doesn't crash under Valgrind... it should be a nasty threading issue.

> Btw. interestingly I was finally able to reproduce a crash with what you
> described on #9 but only with my regular account, not with the devel one.

What do you mean with the "devel account"? Running 4.7 currently in development or just with another user account?
What's your DBus version?
Comment 12 Matthias Fuchs 2011-05-13 20:00:39 UTC
Well I have 4.6.2 here and also an own account where I run master/trunk. It crashes in the first with your method but not in the later.

You see the problem is that I don't know what is wrong with that line, for me it is valid code that tends to crash sometime for some users. :/
I guess I should remove the check where it crashes altogether. Better to not always correctly identify downloadable urls than having a program crashing.
Ideally I'd digg into dbus to see what goes wrong, though I doubt that I'll have time for that atm.

The dbus version I have is 1.4.8.
Comment 13 Matthias Fuchs 2011-05-13 23:12:23 UTC
Just in case this is what I get when starting krunner in the terminal and crashing it:

process 13567: arguments to dbus_pending_call_block() were incorrect, assertion "pending != NULL" failed in file dbus-pending-call.c line 704.
This is normally a bug in some application using the D-Bus library.
  D-Bus not built with -rdynamic so unable to print a backtrace
Comment 14 Matthias Fuchs 2011-05-13 23:19:21 UTC
SVN commit 1231749 by mfuchs:

Workaround: KGet runner does not use the KGet interface anymore. That way a crash in upstream is worked around.
TODO: Reenable once the bug has been fixed upstream.

CCBUG:259873

 M  +8 -2      kgetrunner.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1231749
Comment 15 Jekyll Wu 2011-12-10 04:57:57 UTC
*** Bug 267932 has been marked as a duplicate of this bug. ***
Comment 16 Jekyll Wu 2012-12-01 23:52:43 UTC

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