https://bugs.kde.org/show_bug.cgi?id=449270
Bug ID: 449270 Summary: Crash in QXcbScreen::surfaceFormatFor() after QXcbGlxIntegration::createPlatformOpenGLContext) Product: kwin Version: 5.23.4 Platform: openSUSE RPMs OS: Linux Status: REPORTED Keywords: drkonqi Severity: crash Priority: NOR Component: general Assignee: kwin-bugs-n...@kde.org Reporter: szots...@gmail.com Target Milestone: --- Application: kwin_x11 (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: I pressed Alt+Tab when KWin crashed. Similar crash happens after I change monitor inputs and then I start KRunner or click on a taskbar icon. I'll try to gather more backtraces from those occasions. KDE Qt version: libqt5-qtbase-devel: 5.15.2+kde268 The reporter is unsure if this crash is reproducible. -- Backtrace: Application: KWin (kwin_x11), signal: Segmentation fault Content of s_kcrashErrorMessage: std::unique_ptr<char []> = {get() = 0x0} [KCrash Handler] #6 0x00007f23a72bc739 in QXcbScreen::surfaceFormatFor(QSurfaceFormat const&) const (this=this@entry=0x0, format=...) at qxcbscreen.cpp:653 #7 0x00007f23a660116c in QXcbGlxIntegration::createPlatformOpenGLContext(QOpenGLContext*) const (this=<optimized out>, context=0x55faa641b5a0) at qxcbglxintegration.cpp:196 #8 0x00007f23ae29bbed in QOpenGLContext::create() (this=0x55faa641b5a0) at kernel/qopenglcontext.cpp:612 #9 0x00007f23ac32b4b8 in QSGRenderThread::sync(bool, bool) (this=this@entry=0x55faa6461680, 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 #10 0x00007f23ac32d25c in QSGRenderThread::syncAndRender(QImage*) (this=0x55faa6461680, grabImage=0x0) at /usr/src/debug/libqt5-qtdeclarative-5.15.2+kde36-1.3.x86_64/src/quick/scenegraph/qsgthreadedrenderloop.cpp:778 #11 0x00007f23ac32df97 in QSGRenderThread::run() (this=0x55faa6461680) at /usr/src/debug/libqt5-qtdeclarative-5.15.2+kde36-1.3.x86_64/src/quick/scenegraph/qsgthreadedrenderloop.cpp:1043 #12 0x00007f23adc14df1 in QThreadPrivate::start(void*) (arg=0x55faa6461680) at thread/qthread_unix.cpp:329 #13 0x00007f23acef93d7 in start_thread (arg=<optimized out>) at pthread_create.c:435 #14 0x00007f23acf826e0 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81 Thread 5 (Thread 0x7f235cbb9640 (LWP 12743) "FreezeDetector"): #1 0x00007f23ade4d2b9 in ppoll (__ss=<optimized out>, __timeout=<optimized out>, __nfds=<optimized out>, __fds=<optimized out>) at /usr/include/bits/poll2.h:81 #2 qt_ppoll (timeout_ts=0x0, nfds=1, fds=0x55faa5cffce8) at kernel/qcore_unix.cpp:132 #3 qt_ppoll (timeout_ts=0x0, nfds=1, fds=0x55faa5cffce8) at kernel/qcore_unix.cpp:129 #4 qt_safe_poll(pollfd*, unsigned long, timespec const*) (fds=0x55faa5cffce8, nfds=1, timeout_ts=timeout_ts@entry=0x0) at kernel/qcore_unix.cpp:155 #5 0x00007f23ade4e963 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=<optimized out>, flags=...) at kernel/qeventdispatcher_unix.cpp:502 #6 0x00007f23addf872b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f235cbb8b80, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69 #7 0x00007f23adc13cbe in QThread::exec() (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121 #8 0x00007f23adc14df1 in QThreadPrivate::start(void*) (arg=0x55faa596d020) at thread/qthread_unix.cpp:329 #9 0x00007f23acef93d7 in start_thread (arg=<optimized out>) at pthread_create.c:435 #10 0x00007f23acf826e0 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81 Thread 4 (Thread 0x7f233500f640 (LWP 32050) "CPMMListener"): #1 0x00007f239eba3b51 in () at /lib64/libnvidia-glcore.so.495.46 #2 0x00007f239eba15e8 in () at /lib64/libnvidia-glcore.so.495.46 #3 0x00007f23acef93d7 in start_thread (arg=<optimized out>) at pthread_create.c:435 #4 0x00007f23acf826e0 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81 Thread 3 (Thread 0x7f235e3fb640 (LWP 32040) "QQmlThread"): #1 0x00007f23ade4d2b9 in ppoll (__ss=<optimized out>, __timeout=<optimized out>, __nfds=<optimized out>, __fds=<optimized out>) at /usr/include/bits/poll2.h:81 #2 qt_ppoll (timeout_ts=0x0, nfds=1, fds=0x7f234c000d78) at kernel/qcore_unix.cpp:132 #3 qt_ppoll (timeout_ts=0x0, nfds=1, fds=0x7f234c000d78) at kernel/qcore_unix.cpp:129 #4 qt_safe_poll(pollfd*, unsigned long, timespec const*) (fds=0x7f234c000d78, nfds=1, timeout_ts=timeout_ts@entry=0x0) at kernel/qcore_unix.cpp:155 #5 0x00007f23ade4e963 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=<optimized out>, flags=...) at kernel/qeventdispatcher_unix.cpp:502 #6 0x00007f23addf872b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f235e3fab60, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69 #7 0x00007f23adc13cbe in QThread::exec() (this=this@entry=0x7f23a001fe50) at ../../include/QtCore/../../src/corelib/global/qflags.h:121 #8 0x00007f23abf97cc5 in QQmlThreadPrivate::run() (this=0x7f23a001fe50) at /usr/src/debug/libqt5-qtdeclarative-5.15.2+kde36-1.3.x86_64/src/qml/qml/ftw/qqmlthread.cpp:155 #9 0x00007f23adc14df1 in QThreadPrivate::start(void*) (arg=0x7f23a001fe50) at thread/qthread_unix.cpp:329 #10 0x00007f23acef93d7 in start_thread (arg=<optimized out>) at pthread_create.c:435 #11 0x00007f23acf826e0 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81 Thread 2 (Thread 0x7f23a55d2640 (LWP 32018) "QDBusConnection"): #1 0x00007f23ade4d2b9 in ppoll (__ss=<optimized out>, __timeout=<optimized out>, __nfds=<optimized out>, __fds=<optimized out>) at /usr/include/bits/poll2.h:81 #2 qt_ppoll (timeout_ts=0x0, nfds=1, fds=0x7f239800b2c8) at kernel/qcore_unix.cpp:132 #3 qt_ppoll (timeout_ts=0x0, nfds=1, fds=0x7f239800b2c8) at kernel/qcore_unix.cpp:129 #4 qt_safe_poll(pollfd*, unsigned long, timespec const*) (fds=0x7f239800b2c8, nfds=1, timeout_ts=timeout_ts@entry=0x0) at kernel/qcore_unix.cpp:155 #5 0x00007f23ade4e963 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=<optimized out>, flags=...) at kernel/qeventdispatcher_unix.cpp:502 #6 0x00007f23addf872b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f23a55d1b50, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69 #7 0x00007f23adc13cbe in QThread::exec() (this=this@entry=0x7f23adb1e440 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121 #8 0x00007f23adaa5287 in QDBusConnectionManager::run() (this=0x7f23adb1e440 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:179 #9 0x00007f23adc14df1 in QThreadPrivate::start(void*) (arg=0x7f23adb1e440 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:329 #10 0x00007f23acef93d7 in start_thread (arg=<optimized out>) at pthread_create.c:435 #11 0x00007f23acf826e0 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81 Thread 1 (Thread 0x7f23a92ce380 (LWP 32004) "kwin_x11"): #1 __futex_abstimed_wait_common (futex_word=futex_word@entry=0x55faa6472744, 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 0x00007f23acef5b5f in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x55faa6472744, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at futex-internal.c:139 #3 0x00007f23acef8710 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55faa64726f0, cond=0x55faa6472718) at pthread_cond_wait.c:504 #4 ___pthread_cond_wait (cond=0x55faa6472718, mutex=0x55faa64726f0) at pthread_cond_wait.c:619 #5 0x00007f23adc1ac4b in QWaitConditionPrivate::wait(QDeadlineTimer) (deadline=..., deadline=..., this=0x55faa64726f0) at thread/qwaitcondition_unix.cpp:146 #6 QWaitCondition::wait(QMutex*, QDeadlineTimer) (this=<optimized out>, mutex=0x55faa64616d8, deadline=...) at thread/qwaitcondition_unix.cpp:225 #7 0x00007f23ac32f8ea in QSGThreadedRenderLoop::polishAndSync(QSGThreadedRenderLoop::Window*, bool) (this=this@entry=0x55faa5d01120, w=w@entry=0x55faa64727d0, inExpose=inExpose@entry=true) at /usr/include/qt5/QtCore/qdeadlinetimer.h:68 #8 0x00007f23ac330c52 in QSGThreadedRenderLoop::handleExposure(QQuickWindow*) (this=0x55faa5d01120, window=<optimized out>) at /usr/src/debug/libqt5-qtdeclarative-5.15.2+kde36-1.3.x86_64/src/quick/scenegraph/qsgthreadedrenderloop.cpp:1375 #9 0x00007f23ae262585 in QWindow::event(QEvent*) (this=0x55faa6213250, ev=<optimized out>) at kernel/qwindow.cpp:2438 #10 0x00007f23ad449a7f in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=<optimized out>, receiver=0x55faa6213250, e=0x7ffe4503ab60) at kernel/qapplication.cpp:3632 #11 0x00007f23addf9d2a in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x55faa6213250, event=0x7ffe4503ab60) at kernel/qcoreapplication.cpp:1064 #12 0x00007f23ae2578dd in QGuiApplicationPrivate::processExposeEvent(QWindowSystemInterfacePrivate::ExposeEvent*) (e=0x55faa5907080) at kernel/qguiapplication.cpp:3258 #13 0x00007f23ae22c79c in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) (flags=...) at kernel/qwindowsysteminterface.cpp:1169 #14 0x00007f23a72d80b3 in QXcbUnixEventDispatcher::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x55faa55b4d20, flags=...) at qxcbeventdispatcher.cpp:63 #15 0x00007f23addf872b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7ffe4503ac90, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69 #16 0x00007f23ade00a10 in QCoreApplication::exec() () at ../../include/QtCore/../../src/corelib/global/qflags.h:121 #17 0x00007f23ae24a19c in QGuiApplication::exec() () at kernel/qguiapplication.cpp:1867 #18 0x00007f23ad4499f5 in QApplication::exec() () at kernel/qapplication.cpp:2824 #19 0x000055faa4d6c009 in main(int, char**) (argc=<optimized out>, argv=0x7ffe4503af78) at /usr/src/debug/kwin5-5.23.4-1.3.x86_64/src/main_x11.cpp:483 [Inferior 1 (process 32004) detached] Possible duplicates by query: bug 439005, bug 434459, bug 432604, bug 422489, bug 422283. Reported using DrKonqi -- You are receiving this mail because: You are watching all bug changes.