Bug 369830

Summary: krunner 5.26 crashes when used with quick keyboard input [backtrace]
Product: [Plasma] krunner Reporter: Frank Steinmetzger <dev+kde>
Component: generalAssignee: Kai Uwe Broulik <kde>
Status: RESOLVED DUPLICATE    
Severity: crash Keywords: drkonqi
Priority: NOR    
Version: 5.7.5   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Frank Steinmetzger 2016-10-03 20:01:57 UTC
Application: krunner (5.7.5)

Qt Version: 5.6.1
Frameworks Version: 5.26.0
Operating System: Linux 4.7.3-kern x86_64
Distribution (Platform): Gentoo Packages

-- Information about the crash:
- What I was doing when the application crashed:

Several times now I could observe the following.
- first use of krunner after login
- press Alt+F2 to bring up krunner
- start typing quickly and press enter (not really waiting for what it wants to show me)
- Krunner crashes.

I'm currently using Plasma 5.7.5 on Gentoo Linux with standard packages.

The crash can be reproduced sometimes.

-- Backtrace:
Application: krunner (krunner), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fde54baf780 (LWP 2488))]

Thread 4 (Thread 0x7fde4311a700 (LWP 2490)):
#0  0x00007fde514263ed in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fde5091d8f2 in poll (__timeout=-1, __nfds=1, __fds=0x7fde43119d40) at /usr/include/bits/poll2.h:46
#2  _xcb_conn_wait (c=c@entry=0x25c8290, cond=cond@entry=0x25c82d0, vector=vector@entry=0x0, count=count@entry=0x0) at /var/tmp/portage/x11-libs/libxcb-1.12/work/libxcb-1.12/src/xcb_conn.c:479
#3  0x00007fde5091f6df in xcb_wait_for_event (c=0x25c8290) at /var/tmp/portage/x11-libs/libxcb-1.12/work/libxcb-1.12/src/xcb_in.c:693
#4  0x00007fde45477009 in QXcbEventReader::run (this=0x25d2960) at qxcbconnection.cpp:1325
#5  0x00007fde51ae2c9c in QThreadPrivate::start (arg=0x25d2960) at thread/qthread_unix.cpp:341
#6  0x00007fde4f451434 in start_thread (arg=0x7fde4311a700) at pthread_create.c:334
#7  0x00007fde5142f50d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7fde409b2700 (LWP 2492)):
#0  0x00007fde514263ed in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fde4d52ef2c in g_bookmark_file_load_from_data (bookmark=0x7fde34000990, data=0xffffffff <error: Cannot access memory at address 0xffffffff>, length=<optimized out>, error=0x7fde4d53dc60 <g_date_set_year+160>) at /var/tmp/portage/dev-libs/glib-2.48.2/work/glib-2.48.2/glib/gbookmarkfile.c:1642
#2  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fde3a2cb700 (LWP 2512)):
#0  0x00007fde514263ed in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fde4d52ef2c in g_bookmark_file_load_from_data (bookmark=0x7fde30000990, data=0xffffffff <error: Cannot access memory at address 0xffffffff>, length=<optimized out>, error=0x7fde4d53dc60 <g_date_set_year+160>) at /var/tmp/portage/dev-libs/glib-2.48.2/work/glib-2.48.2/glib/gbookmarkfile.c:1642
#2  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fde54baf780 (LWP 2488)):
[KCrash Handler]
#6  0x00000000ffffffff in ?? ()
#7  0x00007fde25bc1071 in gobject_init () at /var/tmp/portage/dev-libs/glib-2.48.2/work/glib-2.48.2/gobject/gtype.c:4378
#8  gobject_init_ctor () at /var/tmp/portage/dev-libs/glib-2.48.2/work/glib-2.48.2/gobject/gtype.c:4496
#9  0x00007fde54b7826a in call_init (l=<optimized out>, argc=argc@entry=1, argv=argv@entry=0x7fff9bbcd708, env=env@entry=0x7fff9bbcd718) at dl-init.c:72
#10 0x00007fde54b7837b in call_init (env=0x7fff9bbcd718, argv=0x7fff9bbcd708, argc=1, l=<optimized out>) at dl-init.c:30
#11 _dl_init (main_map=main_map@entry=0x473a870, argc=1, argv=0x7fff9bbcd708, env=0x7fff9bbcd718) at dl-init.c:120
#12 0x00007fde54b7c8f0 in dl_open_worker (a=a@entry=0x7fff9bbc6748) at dl-open.c:564
#13 0x00007fde54b78114 in _dl_catch_error (objname=objname@entry=0x7fff9bbc6738, errstring=errstring@entry=0x7fff9bbc6740, mallocedp=mallocedp@entry=0x7fff9bbc6737, operate=operate@entry=0x7fde54b7c510 <dl_open_worker>, args=args@entry=0x7fff9bbc6748) at dl-error.c:187
#14 0x00007fde54b7bf83 in _dl_open (file=0x471a2e8 "/usr/lib64/qt5/plugins/plasma_runner_marble.so", mode=-2147483647, caller_dlopen=0x7fde51c852e0 <QLibraryPrivate::load_sys()+1904>, nsid=-2, argc=<optimized out>, argv=<optimized out>, env=0x7fff9bbcd718) at dl-open.c:649
#15 0x00007fde4d81efd9 in dlopen_doit (a=a@entry=0x7fff9bbc6960) at dlopen.c:66
#16 0x00007fde54b78114 in _dl_catch_error (objname=0x25be990, errstring=0x25be998, mallocedp=0x25be988, operate=0x7fde4d81ef80 <dlopen_doit>, args=0x7fff9bbc6960) at dl-error.c:187
#17 0x00007fde4d81f589 in _dlerror_run (operate=operate@entry=0x7fde4d81ef80 <dlopen_doit>, args=args@entry=0x7fff9bbc6960) at dlerror.c:163
#18 0x00007fde4d81f071 in __dlopen (file=<optimized out>, mode=<optimized out>) at dlopen.c:87
#19 0x00007fde51c852e0 in QLibraryPrivate::load_sys (this=0x4736040) at plugin/qlibrary_unix.cpp:227
#20 0x00007fde51c7e5b5 in QLibraryPrivate::load (this=this@entry=0x4736040) at plugin/qlibrary.cpp:532
#21 0x00007fde51c7e7eb in QLibraryPrivate::loadPlugin (this=0x4736040) at plugin/qlibrary.cpp:580
#22 0x00007fde51c7483e in QPluginLoader::load (this=<optimized out>) at plugin/qpluginloader.cpp:232
#23 0x00007fde5240d10a in KPluginLoader::load (this=this@entry=0x7fff9bbc6d90) at /var/tmp/portage/kde-frameworks/kcoreaddons-5.26.0/work/kcoreaddons-5.26.0/src/lib/plugin/kpluginloader.cpp:184
#24 0x00007fde5240d20a in KPluginLoader::pluginVersion (this=this@entry=0x7fff9bbc6d90) at /var/tmp/portage/kde-frameworks/kcoreaddons-5.26.0/work/kcoreaddons-5.26.0/src/lib/plugin/kpluginloader.cpp:132
#25 0x00007fde2fdf65c8 in Plasma::RunnerManagerPrivate::loadInstalledRunner (this=this@entry=0x29aa450, service=...) at /var/tmp/portage/kde-frameworks/krunner-5.26.0/work/krunner-5.26.0/src/runnermanager.cpp:306
#26 0x00007fde2fdf704a in Plasma::RunnerManagerPrivate::loadRunners (this=0x29aa450) at /var/tmp/portage/kde-frameworks/krunner-5.26.0/work/krunner-5.26.0/src/runnermanager.cpp:214
#27 0x00007fde2fdf3306 in Plasma::RunnerManager::launchQuery (this=0x29aa3b0, untrimmedTerm=..., runnerName=...) at /var/tmp/portage/kde-frameworks/krunner-5.26.0/work/krunner-5.26.0/src/runnermanager.cpp:789
#28 0x00007fde3819c9ae in Milou::SourcesModel::setQueryString (this=this@entry=0x29aa0f0, str=...) at /var/tmp/portage/kde-plasma/milou-5.7.5/work/milou-5.7.5/lib/sourcesmodel.cpp:224
#29 0x00007fde381a274d in Milou::SourcesModel::qt_static_metacall (_o=_o@entry=0x29aa0f0, _c=_c@entry=QMetaObject::WriteProperty, _id=_id@entry=0, _a=_a@entry=0x7fff9bbc7200) at /var/tmp/portage/kde-plasma/milou-5.7.5/work/milou-5.7.5_build/lib/moc_sourcesmodel.cpp:203
#30 0x00007fde381a2e53 in Milou::SourcesModel::qt_metacall (this=0x29aa0f0, _c=QMetaObject::WriteProperty, _id=0, _a=0x7fff9bbc7200) at /var/tmp/portage/kde-plasma/milou-5.7.5/work/milou-5.7.5_build/lib/moc_sourcesmodel.cpp:249
#31 0x00007fde53aea413 in QQmlBinding::write (this=this@entry=0x2d638e0, core=..., result=..., isUndefined=<optimized out>, flags=...) at qml/qqmlbinding.cpp:254
#32 0x00007fde53aeb98a in QQmlBinding::update (this=0x2d638e0, flags=...) at qml/qqmlbinding.cpp:191
#33 0x00007fde53aebabe in QQmlBinding::expressionChanged (this=<optimized out>) at qml/qqmlbinding.cpp:398
#34 0x00007fde53ac1a04 in QQmlNotifier::emitNotify (endpoint=<optimized out>, a=a@entry=0x0) at qml/qqmlnotifier.cpp:94
#35 0x00007fde53a69efc in QQmlData::signalEmitted (object=0x2796310, index=31, a=0x0) at qml/qqmlengine.cpp:772
#36 0x00007fde51caf6a1 in QMetaObject::activate (sender=0x2796310, signalOffset=<optimized out>, local_signal_index=<optimized out>, argv=argv@entry=0x0) at kernel/qobject.cpp:3616
#37 0x00007fde53a64375 in QQmlVMEMetaObject::activate (this=this@entry=0x2796740, object=<optimized out>, index=<optimized out>, args=args@entry=0x0) at qml/qqmlvmemetaobject.cpp:1196
#38 0x00007fde53a65951 in QQmlVMEMetaObject::metaCall (this=0x2796740, o=<optimized out>, c=<optimized out>, _id=<optimized out>, a=<optimized out>) at qml/qqmlvmemetaobject.cpp:748
#39 0x00007fde53a3e627 in QV4::QObjectWrapper::setProperty (engine=0x2841020, object=0x2796310, property=0x7fde300b9a88, value=...) at jsruntime/qv4qobjectwrapper.cpp:515
#40 0x00007fde53a55e80 in QV4::Runtime::setQmlQObjectProperty (engine=0x2841020, object=..., propertyIndex=<optimized out>, value=...) at jsruntime/qv4runtime.cpp:1456
#41 0x00007fde3807c113 in ?? ()
#42 0x0000000000000000 in ?? ()

Reported using DrKonqi
Comment 1 Christoph Feck 2018-01-02 19:47:54 UTC

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