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

            Bug ID: 434359
           Summary: Kwin crash after suspend.
           Product: kwin
           Version: 5.21.1
          Platform: Neon Packages
                OS: Linux
            Status: REPORTED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: kwin-bugs-n...@kde.org
          Reporter: 842m...@gmail.com
  Target Milestone: ---

Application: kwin_x11 (5.21.1)

Qt Version: 5.15.2
Frameworks Version: 5.79.0
Operating System: Linux 5.4.0-66-generic x86_64
Windowing System: X11
Drkonqi Version: 5.21.1
Distribution: KDE neon User Edition 5.21

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

I leave the laptop to suspend, and when I come back I find the compositor
disabled. I get around it by re-enabling opengl detection and changing the
rendering backend between the opengl versions.

The crash can be reproduced sometimes.

-- Backtrace:
Application: KWin (kwin_x11), signal: Aborted
Content of s_kcrashErrorMessage: [Current thread is 1 (Thread 0x7fcd918f98c0
(LWP 754258))]
[New LWP 754261]
[New LWP 754263]
[New LWP 754346]
[New LWP 779678]
[New LWP 779701]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
__lll_lock_wait (futex=futex@entry=0x7fcd6f3efae0, private=0) at
lowlevellock.c:52

Thread 6 (Thread 0x7fcd65769700 (LWP 779701)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0,
futex_word=0x7fcd9721afd8 <QTWTF::pageheap_memory+57592>) at
../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x7fcd9721af88
<QTWTF::pageheap_memory+57512>, cond=0x7fcd9721afb0
<QTWTF::pageheap_memory+57552>) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x7fcd9721afb0 <QTWTF::pageheap_memory+57552>,
mutex=0x7fcd9721af88 <QTWTF::pageheap_memory+57512>) at pthread_cond_wait.c:638
#3  0x00007fcd9711d63a in QTWTF::TCMalloc_PageHeap::scavengerThread()
(this=0x7fcd9720cee0 <QTWTF::pageheap_memory>) at
../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#4  0x00007fcd9711d65f in QTWTF::TCMalloc_PageHeap::runScavengerThread(void*)
(context=<optimized out>) at
../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#5  0x00007fcd96a34609 in start_thread (arg=<optimized out>) at
pthread_create.c:477
#6  0x00007fcd974d2293 in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7fcd89437700 (LWP 779678)):
[KCrash Handler]
#6  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
#7  0x00007fcd973d5859 in __GI_abort () at abort.c:79
#8  0x00007fcd973d5729 in __assert_fail_base (fmt=0x7fcd9756b588 "%s%s%s:%u:
%s%sAssertion `%s' failed.\n%n", assertion=0x7fcd95b82717
"!xcb_xlib_unknown_seq_number", file=0x7fcd95b826c3 "../../src/xcb_io.c",
line=145, function=<optimized out>) at assert.c:92
#9  0x00007fcd973e6f36 in __GI___assert_fail (assertion=0x7fcd95b82717
"!xcb_xlib_unknown_seq_number", file=0x7fcd95b826c3 "../../src/xcb_io.c",
line=145, function=0x7fcd95b82af0 "append_pending_request") at assert.c:101
#10 0x00007fcd95b0e25f in  () at /usr/lib/x86_64-linux-gnu/libX11.so.6
#11 0x00007fcd95b0ecda in _XReply () at /usr/lib/x86_64-linux-gnu/libX11.so.6
#12 0x00007fcd95b04b8a in XQueryExtension () at
/usr/lib/x86_64-linux-gnu/libX11.so.6
#13 0x00007fcd95af81c7 in XInitExtension () at
/usr/lib/x86_64-linux-gnu/libX11.so.6
#14 0x00007fcd91d8d3f1 in XextAddDisplay (extinfo=0x7fcd8c02bbb0,
dpy=0x562b78ac2c40, ext_name=0x7fcd7822b37b "GLX", hooks=0x7fcd78459b40,
nevents=17, data=0x0) at ../../src/extutil.c:110
#15 0x00007fcd781c32ae in  () at /usr/lib/x86_64-linux-gnu/libGLX_nvidia.so.0
#16 0x00007fcd781c3d7b in  () at /usr/lib/x86_64-linux-gnu/libGLX_nvidia.so.0
#17 0x00007fcd781c9d4e in  () at /usr/lib/x86_64-linux-gnu/libGLX_nvidia.so.0
#18 0x00007fcd96a335a1 in __nptl_deallocate_tsd () at pthread_create.c:301
#19 0x00007fcd96a3462a in __nptl_deallocate_tsd () at pthread_create.c:256
#20 start_thread (arg=<optimized out>) at pthread_create.c:488
#21 0x00007fcd974d2293 in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7fcd7b7fe700 (LWP 754346)):
#0  0x00007fcd97a8f713 in QListData::end() const (this=<optimized out>) at
../../include/QtCore/../../src/corelib/tools/qlist.h:118
#1  QList<QTimerInfo*>::constEnd() const (this=<optimized out>) at
../../include/QtCore/../../src/corelib/tools/qlist.h:345
#2  QTimerInfoList::timerWait(timespec&) (this=this@entry=0x7fcd68000c08,
tm=...) at kernel/qtimerinfo_unix.cpp:393
#3  0x00007fcd97a8e774 in
QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
(this=0x7fcd68000b60, flags=...) at
../../include/QtCore/../../src/corelib/tools/qrefcount.h:102
#4  0x00007fcd97a351ab in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>)
(this=this@entry=0x7fcd7b7fdcc0, flags=..., flags@entry=...) at
../../include/QtCore/../../src/corelib/global/qflags.h:141
#5  0x00007fcd9784fa12 in QThread::exec() (this=this@entry=0x562b7827ce70) at
../../include/QtCore/../../src/corelib/global/qflags.h:121
#6  0x00007fcd962c4fa9 in QQmlThreadPrivate::run() (this=0x562b7827ce70) at
qml/ftw/qqmlthread.cpp:155
#7  0x00007fcd97850bac in QThreadPrivate::start(void*) (arg=0x562b7827ce70) at
thread/qthread_unix.cpp:329
#8  0x00007fcd96a34609 in start_thread (arg=<optimized out>) at
pthread_create.c:477
#9  0x00007fcd974d2293 in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7fcd8bfff700 (LWP 754263)):
#0  0x00007fcd974c5bf6 in __ppoll (fds=fds@entry=0x7fcd8400ee58,
nfds=nfds@entry=1, timeout=<optimized out>, timeout@entry=0x0,
sigmask=sigmask@entry=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:44
#1  0x00007fcd97a8ceb9 in ppoll (__ss=<optimized out>, __timeout=<optimized
out>, __nfds=<optimized out>, __fds=<optimized out>) at
/usr/include/x86_64-linux-gnu/bits/poll2.h:77
#2  qt_ppoll (timeout_ts=0x0, nfds=1, fds=0x7fcd8400ee58) at
kernel/qcore_unix.cpp:132
#3  qt_ppoll (timeout_ts=0x0, nfds=1, fds=0x7fcd8400ee58) at
kernel/qcore_unix.cpp:129
#4  qt_safe_poll(pollfd*, unsigned long, timespec const*) (fds=0x7fcd8400ee58,
nfds=1, timeout_ts=timeout_ts@entry=0x0) at kernel/qcore_unix.cpp:155
#5  0x00007fcd97a8e563 in
QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
(this=<optimized out>, flags=...) at
../../include/QtCore/../../src/corelib/tools/qarraydata.h:211
#6  0x00007fcd97a351ab in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>)
(this=this@entry=0x7fcd8bffecb0, flags=..., flags@entry=...) at
../../include/QtCore/../../src/corelib/global/qflags.h:141
#7  0x00007fcd9784fa12 in QThread::exec() (this=this@entry=0x7fcd97d76d80
<(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at
../../include/QtCore/../../src/corelib/global/qflags.h:121
#8  0x00007fcd97cf2f4b in QDBusConnectionManager::run() (this=0x7fcd97d76d80
<(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at
qdbusconnection.cpp:179
#9  0x00007fcd97850bac in QThreadPrivate::start(void*) (arg=0x7fcd97d76d80
<(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at
thread/qthread_unix.cpp:329
#10 0x00007fcd96a34609 in start_thread (arg=<optimized out>) at
pthread_create.c:477
#11 0x00007fcd974d2293 in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7fcd910e9700 (LWP 754261)):
#0  0x00007fcd974c5aff in __GI___poll (fds=0x7fcd910e8be8, nfds=1, timeout=-1)
at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fcd97d83c1a in  () at /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007fcd97d8590a in xcb_wait_for_event () at
/usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007fcd911b9d58 in QXcbEventQueue::run() (this=0x562b77e21bf0) at
qxcbeventqueue.cpp:228
#4  0x00007fcd97850bac in QThreadPrivate::start(void*) (arg=0x562b77e21bf0) at
thread/qthread_unix.cpp:329
#5  0x00007fcd96a34609 in start_thread (arg=<optimized out>) at
pthread_create.c:477
#6  0x00007fcd974d2293 in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7fcd918f98c0 (LWP 754258)):
#0  __lll_lock_wait (futex=futex@entry=0x7fcd6f3efae0, private=0) at
lowlevellock.c:52
#1  0x00007fcd96a37131 in __GI___pthread_mutex_lock (mutex=0x7fcd6f3efae0) at
../nptl/pthread_mutex_lock.c:115
#2  0x00007fcd6e4e52cc in  () at
/usr/lib/x86_64-linux-gnu/libnvidia-glcore.so.450.102.04
#3  0x00007fcd781c30df in  () at /usr/lib/x86_64-linux-gnu/libGLX_nvidia.so.0
#4  0x00007fcd781b8a43 in glXDestroyWindow () at
/usr/lib/x86_64-linux-gnu/libGLX_nvidia.so.0
#5  0x00007fcd9019da42 in KWin::GlxBackend::~GlxBackend() (this=0x562b783108c0,
__in_chrg=<optimized out>) at
./plugins/platforms/x11/standalone/glxbackend.h:86
#6  0x00007fcd9019dc3d in KWin::GlxBackend::~GlxBackend() (this=0x562b783108c0,
__in_chrg=<optimized out>) at
./plugins/platforms/x11/standalone/glxbackend.cpp:115
#7  0x00007fcd785108ef in KWin::SceneOpenGL::~SceneOpenGL()
(this=0x562b78107ba0, __in_chrg=<optimized out>) at
./plugins/scenes/opengl/scene_opengl.cpp:363
#8  0x00007fcd7851099d in KWin::SceneOpenGL2::~SceneOpenGL2()
(this=0x562b78107ba0, __in_chrg=<optimized out>) at
./plugins/scenes/opengl/scene_opengl.cpp:945
#9  0x00007fcd98e3519d in KWin::Compositor::stop() (this=0x562b77fb2510) at
./composite.cpp:485
#10 KWin::Compositor::stop() (this=0x562b77fb2510) at ./composite.cpp:423
#11 0x00007fcd98e352f1 in KWin::Compositor::reinitialize()
(this=0x562b77fb2510) at ./composite.cpp:559
#12 0x00007fcd98dfcc9a in
KWin::CompositorDBusInterface::qt_static_metacall(QObject*, QMetaObject::Call,
int, void**) (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>,
_a=<optimized out>) at
./obj-x86_64-linux-gnu/kwin_autogen/EWIEGA46WW/moc_dbusinterface.cpp:292
#13 0x00007fcd98e05a83 in
KWin::CompositorDBusInterface::qt_metacall(QMetaObject::Call, int, void**)
(this=0x562b77f87b70, _c=QMetaObject::InvokeMetaMethod, _id=3,
_a=0x7fff0bbb6100) at
./obj-x86_64-linux-gnu/kwin_autogen/EWIEGA46WW/moc_dbusinterface.cpp:356
#14 0x00007fcd97cff55b in QDBusConnectionPrivate::deliverCall(QObject*, int,
QDBusMessage const&, QVector<int> const&, int) (this=<optimized out>,
object=<optimized out>, msg=..., metaTypes=..., slotIdx=<optimized out>) at
qdbusintegrator.cpp:1001
#15 0x00007fcd97a64239 in QObject::event(QEvent*) (this=0x562b77f87b70,
e=0x7fcd8400ff50) at kernel/qobject.cpp:1314
#16 0x00007fcd985d7dc3 in QApplicationPrivate::notify_helper(QObject*, QEvent*)
(this=this@entry=0x562b77e1e280, receiver=receiver@entry=0x562b77f87b70,
e=e@entry=0x7fcd8400ff50) at kernel/qapplication.cpp:3632
#17 0x00007fcd985e0bb8 in QApplication::notify(QObject*, QEvent*)
(this=0x7fff0bbb6740, receiver=0x562b77f87b70, e=0x7fcd8400ff50) at
kernel/qapplication.cpp:3156
#18 0x00007fcd97a3669a in QCoreApplication::notifyInternal2(QObject*, QEvent*)
(receiver=0x562b77f87b70, event=0x7fcd8400ff50) at
../../include/QtCore/5.15.2/QtCore/private/../../../../../src/corelib/thread/qthread_p.h:325
#19 0x00007fcd97a38fa1 in QCoreApplicationPrivate::sendPostedEvents(QObject*,
int, QThreadData*) (receiver=0x0, event_type=0, data=0x562b77df6520) at
kernel/qcoreapplication.cpp:1817
#20 0x00007fcd97a8e33e in
QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
(this=0x562b77ed23f0, flags=...) at kernel/qeventdispatcher_unix.cpp:468
#21 0x00007fcd911bb132 in
QXcbUnixEventDispatcher::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
(this=0x562b77ed23f0, flags=...) at qxcbeventdispatcher.cpp:60
#22 0x00007fcd97a351ab in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>)
(this=this@entry=0x7fff0bbb6660, flags=..., flags@entry=...) at
../../include/QtCore/../../src/corelib/global/qflags.h:141
#23 0x00007fcd97a3d354 in QCoreApplication::exec() () at
../../include/QtCore/../../src/corelib/global/qflags.h:121
#24 0x0000562b762c8acd in main(int, char**) (argc=<optimized out>,
argv=0x7fff0bbb68e8) at ./main_x11.cpp:491
[Inferior 1 (process 754258) detached]

Possible duplicates by query: bug 431328, bug 429383, bug 429344, bug 428581,
bug 428149.

Reported using DrKonqi

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

Reply via email to