Bug 354235 - KRunner crashed after connecting external monitor (QScreen::availableGeometry)
Summary: KRunner crashed after connecting external monitor (QScreen::availableGeometry)
Status: RESOLVED FIXED
Alias: None
Product: krunner
Classification: Plasma
Component: general (show other bugs)
Version: 5.4.0
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Kai Uwe Broulik
URL:
Keywords:
: 373130 (view as bug list)
Depends on:
Blocks:
 
Reported: 2015-10-22 22:37 UTC by Lukáš Karas
Modified: 2016-12-07 15:00 UTC (History)
3 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 Lukáš Karas 2015-10-22 22:37:05 UTC
Qt Version: 5.4.2
Operating System: Linux 4.2.3 x86_64
Distribution: Ubuntu 15.10

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

When I connected external monitor, krunner crashed. It happens often, but not every time. 

I have Intel Graphic card  [8086:0166], using Kubuntu 15.10, Xorg server with xrandr 1.4...

-- Backtrace:
Application: krunner (krunner), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f2cf567d800 (LWP 5176))]

Thread 10 (Thread 0x7f2cd7125700 (LWP 5188)):
#0  0x00007f2cf21458dd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f2cef8251ec in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f2cef8252fc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f2cf2a6f29b in QEventDispatcherGlib::processEvents (this=0x7f2cd00008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#4  0x00007f2cf2a1575a in QEventLoop::exec (this=this@entry=0x7f2cd7124da0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#5  0x00007f2cf28333d4 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:503
#6  0x00007f2cf463af85 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#7  0x00007f2cf28382be in QThreadPrivate::start (arg=0x28a0f70) at thread/qthread_unix.cpp:337
#8  0x00007f2cf03a46aa in start_thread (arg=0x7f2cd7125700) at pthread_create.c:333
#9  0x00007f2cf2150eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 9 (Thread 0x7f2cbe78e700 (LWP 24153)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f2cf283955b in QWaitConditionPrivate::wait (time=18446744073709551615, this=0x2db7210) at thread/qwaitcondition_unix.cpp:136
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x25b9f10, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:208
#3  0x00007f2ccfdec29f in ThreadWeaver::Weaver::takeFirstAvailableJobOrSuspendOrWait(ThreadWeaver::Thread*, bool, bool, bool) () from /usr/lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5
#4  0x00007f2ccfdf04c8 in ?? () from /usr/lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5
#5  0x00007f2ccfdeb44d in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () from /usr/lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5
#6  0x00007f2ccfdee423 in ThreadWeaver::Thread::run() () from /usr/lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5
#7  0x00007f2cf28382be in QThreadPrivate::start (arg=0x40c99e0) at thread/qthread_unix.cpp:337
#8  0x00007f2cf03a46aa in start_thread (arg=0x7f2cbe78e700) at pthread_create.c:333
#9  0x00007f2cf2150eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 8 (Thread 0x7f2cbdf8d700 (LWP 24154)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f2cf283955b in QWaitConditionPrivate::wait (time=18446744073709551615, this=0x2db7210) at thread/qwaitcondition_unix.cpp:136
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x25b9f10, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:208
#3  0x00007f2ccfdec29f in ThreadWeaver::Weaver::takeFirstAvailableJobOrSuspendOrWait(ThreadWeaver::Thread*, bool, bool, bool) () from /usr/lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5
#4  0x00007f2ccfdf04c8 in ?? () from /usr/lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5
#5  0x00007f2ccfdeb44d in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () from /usr/lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5
#6  0x00007f2ccfdee423 in ThreadWeaver::Thread::run() () from /usr/lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5
#7  0x00007f2cf28382be in QThreadPrivate::start (arg=0x452cd60) at thread/qthread_unix.cpp:337
#8  0x00007f2cf03a46aa in start_thread (arg=0x7f2cbdf8d700) at pthread_create.c:333
#9  0x00007f2cf2150eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 7 (Thread 0x7f2cbd78c700 (LWP 24155)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f2cf283955b in QWaitConditionPrivate::wait (time=18446744073709551615, this=0x2db7210) at thread/qwaitcondition_unix.cpp:136
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x25b9f10, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:208
#3  0x00007f2ccfdec29f in ThreadWeaver::Weaver::takeFirstAvailableJobOrSuspendOrWait(ThreadWeaver::Thread*, bool, bool, bool) () from /usr/lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5
#4  0x00007f2ccfdf04c8 in ?? () from /usr/lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5
#5  0x00007f2ccfdeb44d in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () from /usr/lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5
#6  0x00007f2ccfdee423 in ThreadWeaver::Thread::run() () from /usr/lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5
#7  0x00007f2cf28382be in QThreadPrivate::start (arg=0x451d3e0) at thread/qthread_unix.cpp:337
#8  0x00007f2cf03a46aa in start_thread (arg=0x7f2cbd78c700) at pthread_create.c:333
#9  0x00007f2cf2150eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 6 (Thread 0x7f2cbcf8b700 (LWP 24156)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f2cf283955b in QWaitConditionPrivate::wait (time=18446744073709551615, this=0x2db7210) at thread/qwaitcondition_unix.cpp:136
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x25b9f10, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:208
#3  0x00007f2ccfdec29f in ThreadWeaver::Weaver::takeFirstAvailableJobOrSuspendOrWait(ThreadWeaver::Thread*, bool, bool, bool) () from /usr/lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5
#4  0x00007f2ccfdf04c8 in ?? () from /usr/lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5
#5  0x00007f2ccfdeb44d in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () from /usr/lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5
#6  0x00007f2ccfdee423 in ThreadWeaver::Thread::run() () from /usr/lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5
#7  0x00007f2cf28382be in QThreadPrivate::start (arg=0x40bd400) at thread/qthread_unix.cpp:337
#8  0x00007f2cf03a46aa in start_thread (arg=0x7f2cbcf8b700) at pthread_create.c:333
#9  0x00007f2cf2150eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 5 (Thread 0x7f2cb7fff700 (LWP 24157)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f2cf283955b in QWaitConditionPrivate::wait (time=18446744073709551615, this=0x2db7210) at thread/qwaitcondition_unix.cpp:136
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x25b9f10, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:208
#3  0x00007f2ccfdec29f in ThreadWeaver::Weaver::takeFirstAvailableJobOrSuspendOrWait(ThreadWeaver::Thread*, bool, bool, bool) () from /usr/lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5
#4  0x00007f2ccfdf04c8 in ?? () from /usr/lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5
#5  0x00007f2ccfdeb44d in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () from /usr/lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5
#6  0x00007f2ccfdee423 in ThreadWeaver::Thread::run() () from /usr/lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5
#7  0x00007f2cf28382be in QThreadPrivate::start (arg=0x7f2cb8002f90) at thread/qthread_unix.cpp:337
#8  0x00007f2cf03a46aa in start_thread (arg=0x7f2cb7fff700) at pthread_create.c:333
#9  0x00007f2cf2150eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 4 (Thread 0x7f2cb77fe700 (LWP 24158)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f2cf283955b in QWaitConditionPrivate::wait (time=18446744073709551615, this=0x2db7210) at thread/qwaitcondition_unix.cpp:136
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x25b9f10, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:208
#3  0x00007f2ccfdec29f in ThreadWeaver::Weaver::takeFirstAvailableJobOrSuspendOrWait(ThreadWeaver::Thread*, bool, bool, bool) () from /usr/lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5
#4  0x00007f2ccfdf04c8 in ?? () from /usr/lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5
#5  0x00007f2ccfdeb44d in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () from /usr/lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5
#6  0x00007f2ccfdee423 in ThreadWeaver::Thread::run() () from /usr/lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5
#7  0x00007f2cf28382be in QThreadPrivate::start (arg=0x40c04b0) at thread/qthread_unix.cpp:337
#8  0x00007f2cf03a46aa in start_thread (arg=0x7f2cb77fe700) at pthread_create.c:333
#9  0x00007f2cf2150eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7f2cb6ffd700 (LWP 24159)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f2cf283955b in QWaitConditionPrivate::wait (time=18446744073709551615, this=0x2db7210) at thread/qwaitcondition_unix.cpp:136
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x25b9f10, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:208
#3  0x00007f2ccfdec29f in ThreadWeaver::Weaver::takeFirstAvailableJobOrSuspendOrWait(ThreadWeaver::Thread*, bool, bool, bool) () from /usr/lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5
#4  0x00007f2ccfdf04c8 in ?? () from /usr/lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5
#5  0x00007f2ccfdeb44d in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () from /usr/lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5
#6  0x00007f2ccfdee423 in ThreadWeaver::Thread::run() () from /usr/lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5
#7  0x00007f2cf28382be in QThreadPrivate::start (arg=0x7f2cb0002f90) at thread/qthread_unix.cpp:337
#8  0x00007f2cf03a46aa in start_thread (arg=0x7f2cb6ffd700) at pthread_create.c:333
#9  0x00007f2cf2150eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7f2cb67fc700 (LWP 24160)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f2cf283955b in QWaitConditionPrivate::wait (time=18446744073709551615, this=0x2db7210) at thread/qwaitcondition_unix.cpp:136
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x25b9f10, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:208
#3  0x00007f2ccfdec29f in ThreadWeaver::Weaver::takeFirstAvailableJobOrSuspendOrWait(ThreadWeaver::Thread*, bool, bool, bool) () from /usr/lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5
#4  0x00007f2ccfdf04c8 in ?? () from /usr/lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5
#5  0x00007f2ccfdeb44d in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () from /usr/lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5
#6  0x00007f2ccfdee423 in ThreadWeaver::Thread::run() () from /usr/lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5
#7  0x00007f2cf28382be in QThreadPrivate::start (arg=0x7f2cb80036c0) at thread/qthread_unix.cpp:337
#8  0x00007f2cf03a46aa in start_thread (arg=0x7f2cb67fc700) at pthread_create.c:333
#9  0x00007f2cf2150eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7f2cf567d800 (LWP 5176)):
[KCrash Handler]
#6  QScreen::availableGeometry (this=this@entry=0x0) at kernel/qscreen.cpp:284
#7  0x000000000040867b in View::positionOnScreen (this=this@entry=0x7ffddb09eb70) at ../../krunner/view.cpp:236
#8  0x0000000000408b29 in View::screenGeometryChanged (this=this@entry=0x7ffddb09eb70) at ../../krunner/view.cpp:209
#9  0x0000000000408c42 in View::<lambda(QScreen*)>::operator() (screen=0x46dc3f0, __closure=<synthetic pointer>) at ../../krunner/view.cpp:105
#10 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QScreen*>, void, View::View(QWindow*)::<lambda(QScreen*)> >::call (arg=<optimized out>, f=...) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:494
#11 QtPrivate::Functor<View::View(QWindow*)::<lambda(QScreen*)>, 1>::call<QtPrivate::List<QScreen*>, void> (arg=<optimized out>, f=...) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:551
#12 QtPrivate::QFunctorSlotObject<View::View(QWindow*)::<lambda(QScreen*)>, 1, QtPrivate::List<QScreen*>, void>::impl(int, QtPrivate::QSlotObjectBase *, QObject *, void **, bool *) (which=<optimized out>, this_=<optimized out>, r=<optimized out>, a=<optimized out>, ret=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:192
#13 0x00007f2cf2a48617 in QtPrivate::QSlotObjectBase::call (a=0x7ffddb09e140, r=0x7ffddb09eb70, this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobject_impl.h:124
#14 QMetaObject::activate (sender=0x7ffddb09eb00, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7ffddb09e140) at kernel/qobject.cpp:3702
#15 0x00007f2cf2a48f87 in QMetaObject::activate (sender=<optimized out>, m=m@entry=0x7f2cf3178320 <QGuiApplication::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7ffddb09e140) at kernel/qobject.cpp:3582
#16 0x00007f2cf2d308e2 in QGuiApplication::screenAdded (this=<optimized out>, _t1=_t1@entry=0x46dc3f0) at .moc/moc_qguiapplication.cpp:321
#17 0x00007f2cf2d2745f in QPlatformIntegration::screenAdded (this=<optimized out>, ps=<optimized out>) at kernel/qplatformintegration.cpp:439
#18 0x00007f2ce3e037ef in QXcbConnection::updateScreens (this=this@entry=0x25538c0) at qxcbconnection.cpp:303
#19 0x00007f2ce3e045c6 in QXcbConnection::handleXcbEvent (this=this@entry=0x25538c0, event=event@entry=0x7f2cdc009ec0) at qxcbconnection.cpp:961
#20 0x00007f2ce3e053b3 in QXcbConnection::processXcbEvents (this=0x25538c0) at qxcbconnection.cpp:1303
#21 0x00007f2cf2a49651 in QObject::event (this=0x25538c0, e=<optimized out>) at kernel/qobject.cpp:1245
#22 0x00007f2cf356ab8c in QApplicationPrivate::notify_helper (this=this@entry=0x2548180, receiver=receiver@entry=0x25538c0, e=e@entry=0x7f2cdc004c00) at kernel/qapplication.cpp:3720
#23 0x00007f2cf3570230 in QApplication::notify (this=0x7ffddb09eb00, receiver=0x25538c0, e=0x7f2cdc004c00) at kernel/qapplication.cpp:3503
#24 0x00007f2cf2a17f1b in QCoreApplication::notifyInternal (this=0x7ffddb09eb00, receiver=0x25538c0, event=event@entry=0x7f2cdc004c00) at kernel/qcoreapplication.cpp:935
#25 0x00007f2cf2a1a057 in QCoreApplication::sendEvent (event=0x7f2cdc004c00, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:228
#26 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x2544080) at kernel/qcoreapplication.cpp:1552
#27 0x00007f2cf2a1a588 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1410
#28 0x00007f2cf2a6ee73 in postEventSourceDispatch (s=0x257fd90) at kernel/qeventdispatcher_glib.cpp:271
#29 0x00007f2cef824ff7 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#30 0x00007f2cef825250 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#31 0x00007f2cef8252fc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#32 0x00007f2cf2a6f27f in QEventDispatcherGlib::processEvents (this=0x258b0d0, flags=...) at kernel/qeventdispatcher_glib.cpp:418
#33 0x00007f2cf2a1575a in QEventLoop::exec (this=this@entry=0x7ffddb09ea30, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#34 0x00007f2cf2a1d2cc in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1188
#35 0x00007f2cf2d3200c in QGuiApplication::exec () at kernel/qguiapplication.cpp:1510
#36 0x00007f2cf3567025 in QApplication::exec () at kernel/qapplication.cpp:2956
#37 0x0000000000407b89 in main (argc=1, argv=<optimized out>) at ../../krunner/main.cpp:80

Nahlásit na https://bugs.kde.org/
Comment 1 Elias Probst 2015-11-23 22:48:56 UTC
Seeing this crash here as well on KF5/P5 from git master and Qt 5.5.1:

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

Thread 3 (Thread 0x7f5456566700 (LWP 3238)):
#0  0x00007f54667d59fd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f5465cdd9a2 in poll (__timeout=-1, __nfds=1, __fds=0x7f5456565c80) at /usr/include/bits/poll2.h:46
#2  _xcb_conn_wait (c=c@entry=0xe5b340, cond=cond@entry=0xe5b380, vector=vector@entry=0x0, count=count@entry=0x0) at /var/tmp/portage/x11-libs/libxcb-1.11-r1/work/libxcb-1.11/src/xcb_conn.c:459
#3  0x00007f5465cdf46f in xcb_wait_for_event (c=0xe5b340) at /var/tmp/portage/x11-libs/libxcb-1.11-r1/work/libxcb-1.11/src/xcb_in.c:623
#4  0x00007f5457a6bcb9 in QXcbEventReader::run (this=0xe65a00) at qxcbconnection.cpp:1229
#5  0x00007f5466e450c2 in QThreadPrivate::start (arg=0xe65a00) at thread/qthread_unix.cpp:331
#6  0x00007f5464a2f324 in start_thread (arg=0x7f5456566700) at pthread_create.c:333
#7  0x00007f54667de79d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7f544d1ad700 (LWP 3286)):
#0  0x00007f54667d1a3d in read () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f5462b93c90 in read (__nbytes=16, __buf=0x7f544d1acb60, __fd=<optimized out>) at /usr/include/bits/unistd.h:44
#2  g_wakeup_acknowledge (wakeup=0xeb18b0) at /var/tmp/portage/dev-libs/glib-2.44.1-r1/work/glib-2.44.1/glib/gwakeup.c:210
#3  0x00007f5462b505ec in g_main_context_check (context=context@entry=0x7f5448000990, max_priority=2147483647, fds=fds@entry=0x7f5448003070, n_fds=n_fds@entry=1) at /var/tmp/portage/dev-libs/glib-2.44.1-r1/work/glib-2.44.1/glib/gmain.c:3600
#4  0x00007f5462b50ae0 in g_main_context_iterate (context=context@entry=0x7f5448000990, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /var/tmp/portage/dev-libs/glib-2.44.1-r1/work/glib-2.44.1/glib/gmain.c:3805
#5  0x00007f5462b50c4c in g_main_context_iteration (context=0x7f5448000990, may_block=1) at /var/tmp/portage/dev-libs/glib-2.44.1-r1/work/glib-2.44.1/glib/gmain.c:3869
#6  0x00007f546703cf4c in QEventDispatcherGlib::processEvents (this=0x7f54480008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:418
#7  0x00007f5466feeafa in QEventLoop::exec (this=this@entry=0x7f544d1acd60, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#8  0x00007f5466e40714 in QThread::exec (this=this@entry=0x114e340) at thread/qthread.cpp:503
#9  0x00007f5468bdf585 in QQmlThreadPrivate::run (this=0x114e340) at qml/ftw/qqmlthread.cpp:141
#10 0x00007f5466e450c2 in QThreadPrivate::start (arg=0x114e340) at thread/qthread_unix.cpp:331
#11 0x00007f5464a2f324 in start_thread (arg=0x7f544d1ad700) at pthread_create.c:333
#12 0x00007f54667de79d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7f5457e67840 (LWP 3231)):
[KCrash Handler]
#6  QScreen::availableGeometry (this=this@entry=0x0) at kernel/qscreen.cpp:316
#7  0x00000000004091ab in View::positionOnScreen (this=this@entry=0x7fff5cd400a0) at /var/tmp/portage/kde-plasma/plasma-workspace-9999/work/plasma-workspace-9999/krunner/view.cpp:236
#8  0x00000000004095e9 in View::screenGeometryChanged (this=this@entry=0x7fff5cd400a0) at /var/tmp/portage/kde-plasma/plasma-workspace-9999/work/plasma-workspace-9999/krunner/view.cpp:209
#9  0x0000000000409703 in operator() (screen=0x2907450, __closure=<synthetic pointer>) at /var/tmp/portage/kde-plasma/plasma-workspace-9999/work/plasma-workspace-9999/krunner/view.cpp:105
#10 call (arg=<optimized out>, f=...) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:495
#11 call<QtPrivate::List<QScreen*>, void> (arg=<optimized out>, f=...) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:552
#12 QtPrivate::QFunctorSlotObject<View::View(QWindow*)::<lambda(QScreen*)>, 1, QtPrivate::List<QScreen*>, void>::impl(int, QtPrivate::QSlotObjectBase *, QObject *, void **, bool *) (which=<optimized out>, this_=<optimized out>, r=<optimized out>, a=<optimized out>, ret=<optimized out>) at /usr/include/qt5/QtCore/qobject_impl.h:192
#13 0x00007f5467017643 in call (a=0x7fff5cd3f800, r=0x7fff5cd400a0, this=0x1613730) at ../../include/QtCore/../../src/corelib/kernel/qobject_impl.h:124
#14 QMetaObject::activate (sender=0x7fff5cd40030, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7fff5cd3f800) at kernel/qobject.cpp:3698
#15 0x00007f5467018287 in QMetaObject::activate (sender=<optimized out>, m=m@entry=0x7f54676d3b80 <QGuiApplication::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7fff5cd3f800) at kernel/qobject.cpp:3578
#16 0x00007f54673125c2 in QGuiApplication::screenAdded (this=<optimized out>, _t1=0x2907450) at .moc/moc_qguiapplication.cpp:326
#17 0x00007f54673092bb in QPlatformIntegration::screenAdded (this=<optimized out>, ps=<optimized out>, isPrimary=<optimized out>) at kernel/qplatformintegration.cpp:459
#18 0x00007f5457a67eb3 in QXcbConnection::updateScreens (this=this@entry=0xe59b70, event=event@entry=0x133d2e0) at qxcbconnection.cpp:272
#19 0x00007f5457a6a103 in QXcbConnection::handleXcbEvent (this=this@entry=0xe59b70, event=event@entry=0x133d2e0) at qxcbconnection.cpp:1136
#20 0x00007f5457a6b8fb in QXcbConnection::processXcbEvents (this=0xe59b70) at qxcbconnection.cpp:1502
#21 0x00007f5467018c4a in QObject::event (this=0xe59b70, e=<optimized out>) at kernel/qobject.cpp:1239
#22 0x00007f5467ad56bc in QApplicationPrivate::notify_helper (this=this@entry=0xe51300, receiver=receiver@entry=0xe59b70, e=e@entry=0x7f5450004600) at kernel/qapplication.cpp:3716
#23 0x00007f5467adaba8 in QApplication::notify (this=0x7fff5cd40030, receiver=0xe59b70, e=0x7f5450004600) at kernel/qapplication.cpp:3499
#24 0x00007f5466fefe9d in QCoreApplication::notifyInternal (this=0x7fff5cd40030, receiver=0xe59b70, event=event@entry=0x7f5450004600) at kernel/qcoreapplication.cpp:965
#25 0x00007f5466ff2c33 in sendEvent (event=0x7f5450004600, receiver=<optimized out>) at kernel/qcoreapplication.h:224
#26 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0xe4fd10) at kernel/qcoreapplication.cpp:1593
#27 0x00007f5466ff31f8 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1451
#28 0x00007f546703cec3 in postEventSourceDispatch (s=0xe84b80) at kernel/qeventdispatcher_glib.cpp:271
#29 0x00007f5462b508bd in g_main_dispatch (context=0x7f5450002450) at /var/tmp/portage/dev-libs/glib-2.44.1-r1/work/glib-2.44.1/glib/gmain.c:3122
#30 g_main_context_dispatch (context=context@entry=0x7f5450002450) at /var/tmp/portage/dev-libs/glib-2.44.1-r1/work/glib-2.44.1/glib/gmain.c:3737
#31 0x00007f5462b50ba0 in g_main_context_iterate (context=context@entry=0x7f5450002450, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /var/tmp/portage/dev-libs/glib-2.44.1-r1/work/glib-2.44.1/glib/gmain.c:3808
#32 0x00007f5462b50c4c in g_main_context_iteration (context=0x7f5450002450, may_block=1) at /var/tmp/portage/dev-libs/glib-2.44.1-r1/work/glib-2.44.1/glib/gmain.c:3869
#33 0x00007f546703cf37 in QEventDispatcherGlib::processEvents (this=0xe933d0, flags=...) at kernel/qeventdispatcher_glib.cpp:418
#34 0x00007f5466feeafa in QEventLoop::exec (this=this@entry=0x7fff5cd3ff60, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#35 0x00007f5466ff5ddc in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1229
#36 0x00007f546731366c in QGuiApplication::exec () at kernel/qguiapplication.cpp:1527
#37 0x00007f5467ad12e5 in QApplication::exec () at kernel/qapplication.cpp:2976
#38 0x0000000000408552 in main (argc=1, argv=<optimized out>) at /var/tmp/portage/kde-plasma/plasma-workspace-9999/work/plasma-workspace-9999/krunner/main.cpp:80
Comment 2 Franco Pellegrini 2016-06-01 14:08:50 UTC
I can confirm this issue still exists in 

Plasma: 5.6.4
KDE: 5.22.0
QT: 5.5.1
Kubuntu 16.04

Here is the backtrace:

Application: krunner (krunner), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fddf69948c0 (LWP 1592))]

Thread 3 (Thread 0x7fdde23d5700 (LWP 1594)):
#0  0x00007fddf316ae8d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fddf2653c62 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007fddf26558d7 in xcb_wait_for_event () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007fdde4523629 in QXcbEventReader::run (this=0x1b153f0) at qxcbconnection.cpp:1253
#4  0x00007fddf386084e in QThreadPrivate::start (arg=0x1b153f0) at thread/qthread_unix.cpp:331
#5  0x00007fddf13cf6fa in start_thread (arg=0x7fdde23d5700) at pthread_create.c:333
#6  0x00007fddf3176b5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7fddda8e6700 (LWP 1605)):
#0  0x00007fddf316ae8d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fddf061b39c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fddf061b4ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fddf3a97a9b in QEventDispatcherGlib::processEvents (this=0x7fddd40008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#4  0x00007fddf3a3edea in QEventLoop::exec (this=this@entry=0x7fddda8e5ce0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#5  0x00007fddf385b8a4 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:503
#6  0x00007fddf58fe3c5 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#7  0x00007fddf386084e in QThreadPrivate::start (arg=0x1d249c0) at thread/qthread_unix.cpp:331
#8  0x00007fddf13cf6fa in start_thread (arg=0x7fddda8e6700) at pthread_create.c:333
#9  0x00007fddf3176b5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7fddf69948c0 (LWP 1592)):
[KCrash Handler]
#6  QScreen::availableGeometry (this=this@entry=0x0) at kernel/qscreen.cpp:316
#7  0x00000000004076fb in View::positionOnScreen (this=this@entry=0x7ffea73092b0) at /build/plasma-workspace-LFQsCW/plasma-workspace-5.6.4/krunner/view.cpp:299
#8  0x0000000000407b99 in View::screenGeometryChanged (this=this@entry=0x7ffea73092b0) at /build/plasma-workspace-LFQsCW/plasma-workspace-5.6.4/krunner/view.cpp:272
#9  0x0000000000407cb2 in View::<lambda(QScreen*)>::operator() (screen=0x3b99310, __closure=<synthetic pointer>) at /build/plasma-workspace-LFQsCW/plasma-workspace-5.6.4/krunner/view.cpp:114
#10 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QScreen*>, void, View::View(QWindow*)::<lambda(QScreen*)> >::call (arg=<optimized out>, f=...) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:495
#11 QtPrivate::Functor<View::View(QWindow*)::<lambda(QScreen*)>, 1>::call<QtPrivate::List<QScreen*>, void> (arg=<optimized out>, f=...) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:552
#12 QtPrivate::QFunctorSlotObject<View::View(QWindow*)::<lambda(QScreen*)>, 1, QtPrivate::List<QScreen*>, void>::impl(int, QtPrivate::QSlotObjectBase *, QObject *, void **, bool *) (which=<optimized out>, this_=<optimized out>, r=<optimized out>, a=<optimized out>, ret=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:192
#13 0x00007fddf3a6fe4f in QtPrivate::QSlotObjectBase::call (a=0x7ffea73089f0, r=0x7ffea73092b0, this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobject_impl.h:124
#14 QMetaObject::activate (sender=0x7ffea7309240, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7ffea73089f0) at kernel/qobject.cpp:3698
#15 0x00007fddf3a707d7 in QMetaObject::activate (sender=<optimized out>, m=m@entry=0x7fddf41c4460 <QGuiApplication::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7ffea73089f0) at kernel/qobject.cpp:3578
#16 0x00007fddf3d79422 in QGuiApplication::screenAdded (this=<optimized out>, _t1=0x3b99310) at .moc/moc_qguiapplication.cpp:341
#17 0x00007fddf3d6f680 in QPlatformIntegration::screenAdded (this=<optimized out>, ps=<optimized out>, isPrimary=<optimized out>) at kernel/qplatformintegration.cpp:459
#18 0x00007fdde45239ce in QXcbConnection::createScreen (this=this@entry=0x1b09550, virtualDesktop=virtualDesktop@entry=0x1b17840, outputChange=..., outputInfo=outputInfo@entry=0x7fdddc005200) at qxcbconnection.cpp:324
#19 0x00007fdde4524b58 in QXcbConnection::updateScreens (this=this@entry=0x1b09550, event=event@entry=0x2009920) at qxcbconnection.cpp:236
#20 0x00007fdde45259f3 in QXcbConnection::handleXcbEvent (this=this@entry=0x1b09550, event=event@entry=0x2009920) at qxcbconnection.cpp:1160
#21 0x00007fdde4525e53 in QXcbConnection::processXcbEvents (this=0x1b09550) at qxcbconnection.cpp:1532
#22 0x00007fddf3a70ea1 in QObject::event (this=0x1b09550, e=<optimized out>) at kernel/qobject.cpp:1239
#23 0x00007fddf45c305c in QApplicationPrivate::notify_helper (this=this@entry=0x1afdde0, receiver=receiver@entry=0x1b09550, e=e@entry=0x7fdddc004ec0) at kernel/qapplication.cpp:3716
#24 0x00007fddf45c8516 in QApplication::notify (this=0x7ffea7309240, receiver=0x1b09550, e=0x7fdddc004ec0) at kernel/qapplication.cpp:3499
#25 0x00007fddf3a4162b in QCoreApplication::notifyInternal (this=0x7ffea7309240, receiver=0x1b09550, event=event@entry=0x7fdddc004ec0) at kernel/qcoreapplication.cpp:965
#26 0x00007fddf3a43a26 in QCoreApplication::sendEvent (event=0x7fdddc004ec0, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:224
#27 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x1afc720) at kernel/qcoreapplication.cpp:1593
#28 0x00007fddf3a43f08 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1451
#29 0x00007fddf3a97673 in postEventSourceDispatch (s=0x1b3ce10) at kernel/qeventdispatcher_glib.cpp:271
#30 0x00007fddf061b1a7 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#31 0x00007fddf061b400 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#32 0x00007fddf061b4ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#33 0x00007fddf3a97a7f in QEventDispatcherGlib::processEvents (this=0x1b34f80, flags=...) at kernel/qeventdispatcher_glib.cpp:418
#34 0x00007fddf3a3edea in QEventLoop::exec (this=this@entry=0x7ffea7309170, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#35 0x00007fddf3a46e8c in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1229
#36 0x00007fddf3d7ac3c in QGuiApplication::exec () at kernel/qguiapplication.cpp:1542
#37 0x00007fddf45bf495 in QApplication::exec () at kernel/qapplication.cpp:2976
#38 0x0000000000406947 in main (argc=1, argv=<optimized out>) at /build/plasma-workspace-LFQsCW/plasma-workspace-5.6.4/krunner/main.cpp:83
Comment 3 Kai Uwe Broulik 2016-09-01 10:51:55 UTC
Qt starting in 5.6 will no longer return a null QScreen
Comment 4 Christoph Feck 2016-12-07 15:00:23 UTC
*** Bug 373130 has been marked as a duplicate of this bug. ***