https://bugs.kde.org/show_bug.cgi?id=449427

            Bug ID: 449427
           Summary: KRunner crashed after external monitor input change on
                    Alt+F2 in QXcbConnection::hasDefaultVisualId()
           Product: krunner
           Version: 5.23.4
          Platform: openSUSE RPMs
                OS: Linux
            Status: REPORTED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: alexander.loh...@gmx.de
          Reporter: szots...@gmail.com
                CC: plasma-b...@kde.org
  Target Milestone: ---

Application: krunner (5.23.4)

Qt Version: 5.15.2
Frameworks Version: 5.89.0
Operating System: Linux 5.15.12-1-default x86_64
Windowing System: X11
Distribution: "openSUSE Tumbleweed"
DrKonqi: 5.23.4 [KCrashBackend]

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

1. Monitor input has changed while KDE was running
2. Alt+F2 -> KRunner crashed.

Qt version:
libqt5-qtbase: 5.15.2+kde268

The crash can be reproduced sometimes.

-- Backtrace:
Application: krunner (krunner), signal: Segmentation fault
Content of s_kcrashErrorMessage: std::unique_ptr<char []> = {get() = 0x0}
[KCrash Handler]
#6  0x00007f90dcd57173 in QXcbConnection::hasDefaultVisualId (this=<optimized
out>) at
/usr/src/debug/libqt5-qtbase-5.15.2+kde268-1.1.x86_64/src/plugins/platforms/xcb/qxcbconnection.h:169
#7  QXcbVirtualDesktop::surfaceFormatFor (this=0x31, format=...) at
qxcbscreen.cpp:425
#8  0x00007f90dcd57752 in QXcbScreen::surfaceFormatFor
(this=this@entry=0x55b182954780, format=...) at qxcbscreen.cpp:653
#9  0x00007f90dc04316c in QXcbGlxIntegration::createPlatformOpenGLContext
(this=<optimized out>, context=0x7f90d8008ce0) at qxcbglxintegration.cpp:196
#10 0x00007f90e2259bed in QOpenGLContext::create (this=0x7f90d8008ce0) at
kernel/qopenglcontext.cpp:612
#11 0x00007f90e37344b8 in QSGRenderThread::sync
(this=this@entry=0x7f90d8009710, inExpose=inExpose@entry=true,
inGrab=inGrab@entry=false) at
/usr/src/debug/libqt5-qtdeclarative-5.15.2+kde36-1.3.x86_64/src/quick/scenegraph/qsgthreadedrenderloop.cpp:620
#12 0x00007f90e373625c in QSGRenderThread::syncAndRender (this=0x7f90d8009710,
grabImage=0x0) at
/usr/src/debug/libqt5-qtdeclarative-5.15.2+kde36-1.3.x86_64/src/quick/scenegraph/qsgthreadedrenderloop.cpp:778
#13 0x00007f90e3736f97 in QSGRenderThread::run (this=0x7f90d8009710) at
/usr/src/debug/libqt5-qtdeclarative-5.15.2+kde36-1.3.x86_64/src/quick/scenegraph/qsgthreadedrenderloop.cpp:1043
#14 0x00007f90e1a3bdf1 in QThreadPrivate::start (arg=0x7f90d8009710) at
thread/qthread_unix.cpp:329
#15 0x00007f90e15a23d7 in start_thread (arg=<optimized out>) at
pthread_create.c:435
#16 0x00007f90e162b6e0 in clone3 () at
../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 4 (Thread 0x7f90cf5ef640 (LWP 2599) "QQmlThread"):
#1  0x00007f90e00f50be in g_main_context_poll (priority=<optimized out>,
n_fds=1, fds=0x7f90c8004a60, timeout=<optimized out>, context=0x7f90c8000c20)
at ../glib/gmain.c:4478
#2  g_main_context_iterate (context=context@entry=0x7f90c8000c20,
block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at
../glib/gmain.c:4170
#3  0x00007f90e00f51df in g_main_context_iteration (context=0x7f90c8000c20,
may_block=1) at ../glib/gmain.c:4240
#4  0x00007f90e1c78276 in QEventDispatcherGlib::processEvents
(this=0x7f90c8000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007f90e1c1f72b in QEventLoop::exec (this=this@entry=0x7f90cf5eeb60,
flags=..., flags@entry=...) at
../../include/QtCore/../../src/corelib/global/qflags.h:69
#6  0x00007f90e1a3acbe in QThread::exec (this=this@entry=0x55b182243600) at
../../include/QtCore/../../src/corelib/global/qflags.h:121
#7  0x00007f90e33a0cc5 in QQmlThreadPrivate::run (this=0x55b182243600) at
/usr/src/debug/libqt5-qtdeclarative-5.15.2+kde36-1.3.x86_64/src/qml/qml/ftw/qqmlthread.cpp:155
#8  0x00007f90e1a3bdf1 in QThreadPrivate::start (arg=0x55b182243600) at
thread/qthread_unix.cpp:329
#9  0x00007f90e15a23d7 in start_thread (arg=<optimized out>) at
pthread_create.c:435
#10 0x00007f90e162b6e0 in clone3 () at
../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 3 (Thread 0x7f90d7f7c640 (LWP 2397) "QDBusConnection"):
#1  0x00007f90e00f4592 in g_main_context_prepare
(context=context@entry=0x7f90d0000c20, priority=priority@entry=0x7f90d7f7ba10)
at ../glib/gmain.c:3697
#2  0x00007f90e00f4feb in g_main_context_iterate
(context=context@entry=0x7f90d0000c20, block=block@entry=1,
dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4155
#3  0x00007f90e00f51df in g_main_context_iteration (context=0x7f90d0000c20,
may_block=1) at ../glib/gmain.c:4240
#4  0x00007f90e1c78276 in QEventDispatcherGlib::processEvents
(this=0x7f90d0000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007f90e1c1f72b in QEventLoop::exec (this=this@entry=0x7f90d7f7bb50,
flags=..., flags@entry=...) at
../../include/QtCore/../../src/corelib/global/qflags.h:69
#6  0x00007f90e1a3acbe in QThread::exec (this=this@entry=0x7f90e2039440
<(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at
../../include/QtCore/../../src/corelib/global/qflags.h:121
#7  0x00007f90e1fc0287 in QDBusConnectionManager::run (this=0x7f90e2039440
<(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at
qdbusconnection.cpp:179
#8  0x00007f90e1a3bdf1 in QThreadPrivate::start (arg=0x7f90e2039440 <(anonymous
namespace)::Q_QGS__q_manager::innerFunction()::holder>) at
thread/qthread_unix.cpp:329
#9  0x00007f90e15a23d7 in start_thread (arg=<optimized out>) at
pthread_create.c:435
#10 0x00007f90e162b6e0 in clone3 () at
../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 2 (Thread 0x7f90dcc38640 (LWP 2354) "QXcbEventQueue"):
#1  0x00007f90e1433892 in poll (__timeout=-1, __nfds=1, __fds=0x7f90dcc37a88)
at /usr/include/bits/poll2.h:48
#2  _xcb_conn_wait (c=0x55b181ba7a10, vector=0x0, count=0x0, cond=<optimized
out>) at /usr/src/debug/libxcb-1.14-1.7.x86_64/src/xcb_conn.c:480
#3  0x00007f90e14352ac in _xcb_conn_wait (count=0x0, vector=0x0,
cond=0x55b181ba7a50, c=0x55b181ba7a10) at
/usr/src/debug/libxcb-1.14-1.7.x86_64/src/xcb_conn.c:446
#4  xcb_wait_for_event (c=0x55b181ba7a10) at
/usr/src/debug/libxcb-1.14-1.7.x86_64/src/xcb_in.c:697
#5  0x00007f90dcd71cb0 in QXcbEventQueue::run (this=0x55b181b9a7c0) at
qxcbeventqueue.cpp:228
#6  0x00007f90e1a3bdf1 in QThreadPrivate::start (arg=0x55b181b9a7c0) at
thread/qthread_unix.cpp:329
#7  0x00007f90e15a23d7 in start_thread (arg=<optimized out>) at
pthread_create.c:435
#8  0x00007f90e162b6e0 in clone3 () at
../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 1 (Thread 0x7f90ded68980 (LWP 2292) "krunner"):
#1  __futex_abstimed_wait_common (futex_word=futex_word@entry=0x7f90d0010354,
expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0,
private=private@entry=0, cancel=cancel@entry=true) at futex-internal.c:87
#2  0x00007f90e159eb5f in __GI___futex_abstimed_wait_cancelable64
(futex_word=futex_word@entry=0x7f90d0010354, expected=expected@entry=0,
clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at
futex-internal.c:139
#3  0x00007f90e15a1710 in __pthread_cond_wait_common (abstime=0x0, clockid=0,
mutex=0x7f90d0010300, cond=0x7f90d0010328) at pthread_cond_wait.c:504
#4  ___pthread_cond_wait (cond=0x7f90d0010328, mutex=0x7f90d0010300) at
pthread_cond_wait.c:619
#5  0x00007f90e1a41c4b in QWaitConditionPrivate::wait (deadline=...,
deadline=..., this=0x7f90d0010300) at thread/qwaitcondition_unix.cpp:146
#6  QWaitCondition::wait (this=<optimized out>, mutex=0x7f90d8009768,
deadline=...) at thread/qwaitcondition_unix.cpp:225
#7  0x00007f90e37388ea in QSGThreadedRenderLoop::polishAndSync
(this=this@entry=0x55b181e95ea0, w=w@entry=0x55b1824040a0,
inExpose=inExpose@entry=true) at /usr/include/qt5/QtCore/qdeadlinetimer.h:68
#8  0x00007f90e3739c52 in QSGThreadedRenderLoop::handleExposure
(this=0x55b181e95ea0, window=<optimized out>) at
/usr/src/debug/libqt5-qtdeclarative-5.15.2+kde36-1.3.x86_64/src/quick/scenegraph/qsgthreadedrenderloop.cpp:1375
#9  0x00007f90e2220585 in QWindow::event (this=this@entry=0x7ffcfc3e91c0,
ev=ev@entry=0x7ffcfc3e8dd0) at kernel/qwindow.cpp:2438
#10 0x00007f90e37a4c03 in QQuickWindow::event (this=this@entry=0x7ffcfc3e91c0,
e=e@entry=0x7ffcfc3e8dd0) at
/usr/src/debug/libqt5-qtdeclarative-5.15.2+kde36-1.3.x86_64/src/quick/items/qquickwindow.cpp:1902
#11 0x00007f90e3c50793 in PlasmaQuick::Dialog::event
(this=this@entry=0x7ffcfc3e91c0, event=event@entry=0x7ffcfc3e8dd0) at
/usr/src/debug/plasma-framework-5.89.0-1.1.x86_64/src/plasmaquick/dialog.cpp:1387
#12 0x000055b181848d76 in View::event (this=0x7ffcfc3e91c0,
event=0x7ffcfc3e8dd0) at
/usr/src/debug/plasma5-workspace-5.23.4-1.3.x86_64/krunner/view.cpp:165
#13 0x00007f90e2966a7f in QApplicationPrivate::notify_helper (this=<optimized
out>, receiver=0x7ffcfc3e91c0, e=0x7ffcfc3e8dd0) at
kernel/qapplication.cpp:3632
#14 0x00007f90e1c20d2a in QCoreApplication::notifyInternal2
(receiver=0x7ffcfc3e91c0, event=0x7ffcfc3e8dd0) at
kernel/qcoreapplication.cpp:1064
#15 0x00007f90e22158dd in QGuiApplicationPrivate::processExposeEvent
(e=0x55b1830fbf20) at kernel/qguiapplication.cpp:3258
#16 0x00007f90e21ea79c in QWindowSystemInterface::sendWindowSystemEvents
(flags=flags@entry=...) at kernel/qwindowsysteminterface.cpp:1169
#17 0x00007f90dcd72cfa in xcbSourceDispatch
(source=source@entry=0x55b181c54960) at qxcbeventdispatcher.cpp:105
#18 0x00007f90e00f4d9f in g_main_dispatch (context=0x7f90d8005000) at
../glib/gmain.c:3381
#19 g_main_context_dispatch (context=0x7f90d8005000) at ../glib/gmain.c:4099
#20 0x00007f90e00f5128 in g_main_context_iterate
(context=context@entry=0x7f90d8005000, block=block@entry=1,
dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4175
#21 0x00007f90e00f51df in g_main_context_iteration (context=0x7f90d8005000,
may_block=1) at ../glib/gmain.c:4240
#22 0x00007f90e1c78204 in QEventDispatcherGlib::processEvents
(this=0x55b181c69910, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#23 0x00007f90e1c1f72b in QEventLoop::exec (this=this@entry=0x7ffcfc3e9040,
flags=..., flags@entry=...) at
../../include/QtCore/../../src/corelib/global/qflags.h:69
#24 0x00007f90e1c27a10 in QCoreApplication::exec () at
../../include/QtCore/../../src/corelib/global/qflags.h:121
#25 0x00007f90e220819c in QGuiApplication::exec () at
kernel/qguiapplication.cpp:1867
#26 0x00007f90e29669f5 in QApplication::exec () at kernel/qapplication.cpp:2824
#27 0x000055b181845bd7 in main (argc=<optimized out>, argv=<optimized out>) at
/usr/src/debug/plasma5-workspace-5.23.4-1.3.x86_64/krunner/main.cpp:115
[Inferior 1 (process 2292) detached]

Reported using DrKonqi

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to