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

            Bug ID: 398977
           Summary: kwin crash after resume from suspend
           Product: kwin
           Version: 5.13.5
          Platform: Debian unstable
                OS: Linux
            Status: REPORTED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: kwin-bugs-n...@kde.org
          Reporter: schneider.a...@gmail.com
  Target Milestone: ---

Application: kwin_x11 (5.13.5)

Qt Version: 5.11.1
Frameworks Version: 5.49.0
Operating System: Linux 4.18.0-1-amd64 x86_64
Distribution: Debian GNU/Linux unstable (sid)

-- Information about the crash:
- What I was doing when the application crashed:
the computer was resuming from suspend to RAM state. Usually there is a window
stating that "graphics effects were restarted" (or so, forgot the exact
wording; let me know if it matters). This time I believe this message was not
showing up, instead kwin crashed.

The crash can be reproduced sometimes.

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

Thread 9 (Thread 0x7f44d743e700 (LWP 3932)):
#0  0x00007f458f487836 in __GI_ppoll (fds=fds@entry=0x7f44d0000d28,
nfds=nfds@entry=1, timeout=<optimized out>, timeout@entry=0x0,
sigmask=sigmask@entry=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:39
#1  0x00007f458e097221 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=0x7f44d0000d28) at
kernel/qcore_unix.cpp:112
#3  qt_safe_poll (fds=0x7f44d0000d28, nfds=nfds@entry=1,
timeout_ts=timeout_ts@entry=0x0) at kernel/qcore_unix.cpp:133
#4  0x00007f458e098699 in
QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
at ../../include/QtCore/../../src/corelib/tools/qarraydata.h:209
#5  0x00007f458e04824b in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at
../../include/QtCore/../../src/corelib/global/qflags.h:140
#6  0x00007f458de97176 in QThread::exec() () at
../../include/QtCore/../../src/corelib/global/qflags.h:120
#7  0x00007f458c4f6c75 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#8  0x00007f458dea0d47 in QThreadPrivate::start(void*) () at
thread/qthread_unix.cpp:367
#9  0x00007f458ccc5f2a in start_thread (arg=0x7f44d743e700) at
pthread_create.c:463
#10 0x00007f458f491edf in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 8 (Thread 0x7f45727bd700 (LWP 3904)):
#0  0x00007f458cccc19a in futex_reltimed_wait_cancelable (private=<optimized
out>, reltime=0x7f45727bcb10, expected=0, futex_word=0x558cd1e6ab14) at
../sysdeps/unix/sysv/linux/futex-internal.h:142
#1  __pthread_cond_wait_common (abstime=0x7f45727bcbd0, mutex=0x558cd1e6aac0,
cond=0x558cd1e6aae8) at pthread_cond_wait.c:533
#2  __pthread_cond_timedwait (cond=0x558cd1e6aae8, mutex=0x558cd1e6aac0,
abstime=0x7f45727bcbd0) at pthread_cond_wait.c:667
#3  0x00007f458dea13dc in QWaitConditionPrivate::wait_relative (time=30000,
this=0x558cd1e6aac0) at thread/qwaitcondition_unix.cpp:133
#4  QWaitConditionPrivate::wait (time=30000, this=0x558cd1e6aac0) at
thread/qwaitcondition_unix.cpp:141
#5  QWaitCondition::wait(QMutex*, unsigned long) () at
thread/qwaitcondition_unix.cpp:215
#6  0x00007f458de99242 in QThreadPoolThread::run() () at
../../include/QtCore/../../src/corelib/thread/qmutex.h:240
#7  0x00007f458dea0d47 in QThreadPrivate::start(void*) () at
thread/qthread_unix.cpp:367
#8  0x00007f458ccc5f2a in start_thread (arg=0x7f45727bd700) at
pthread_create.c:463
#9  0x00007f458f491edf in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 7 (Thread 0x7f4580d57700 (LWP 3903)):
#0  0x00007f458cccc19a in futex_reltimed_wait_cancelable (private=<optimized
out>, reltime=0x7f4580d56b10, expected=0, futex_word=0x558cd1e47f74) at
../sysdeps/unix/sysv/linux/futex-internal.h:142
#1  __pthread_cond_wait_common (abstime=0x7f4580d56bd0, mutex=0x558cd1e47f20,
cond=0x558cd1e47f48) at pthread_cond_wait.c:533
#2  __pthread_cond_timedwait (cond=0x558cd1e47f48, mutex=0x558cd1e47f20,
abstime=0x7f4580d56bd0) at pthread_cond_wait.c:667
#3  0x00007f458dea13dc in QWaitConditionPrivate::wait_relative (time=30000,
this=0x558cd1e47f20) at thread/qwaitcondition_unix.cpp:133
#4  QWaitConditionPrivate::wait (time=30000, this=0x558cd1e47f20) at
thread/qwaitcondition_unix.cpp:141
#5  QWaitCondition::wait(QMutex*, unsigned long) () at
thread/qwaitcondition_unix.cpp:215
#6  0x00007f458de99242 in QThreadPoolThread::run() () at
../../include/QtCore/../../src/corelib/thread/qmutex.h:240
#7  0x00007f458dea0d47 in QThreadPrivate::start(void*) () at
thread/qthread_unix.cpp:367
#8  0x00007f458ccc5f2a in start_thread (arg=0x7f4580d57700) at
pthread_create.c:463
#9  0x00007f458f491edf in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 6 (Thread 0x7f4573fff700 (LWP 3902)):
#0  0x00007f458f487836 in __GI_ppoll (fds=fds@entry=0x558cd2613568,
nfds=nfds@entry=1, timeout=<optimized out>, timeout@entry=0x0,
sigmask=sigmask@entry=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:39
#1  0x00007f458e097221 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=0x558cd2613568) at
kernel/qcore_unix.cpp:112
#3  qt_safe_poll (fds=0x558cd2613568, nfds=nfds@entry=1,
timeout_ts=timeout_ts@entry=0x0) at kernel/qcore_unix.cpp:133
#4  0x00007f458e098699 in
QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
at ../../include/QtCore/../../src/corelib/tools/qarraydata.h:209
#5  0x00007f458e04824b in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at
../../include/QtCore/../../src/corelib/global/qflags.h:140
#6  0x00007f458de97176 in QThread::exec() () at
../../include/QtCore/../../src/corelib/global/qflags.h:120
#7  0x00007f458dea0d47 in QThreadPrivate::start(void*) () at
thread/qthread_unix.cpp:367
#8  0x00007f458ccc5f2a in start_thread (arg=0x7f4573fff700) at
pthread_create.c:463
#9  0x00007f458f491edf in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7f4571271700 (LWP 1607)):
#0  0x00007f458cccbe6c in futex_wait_cancelable (private=<optimized out>,
expected=0, futex_word=0x7f458dab9fb8) at
../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x7f458dab9f68,
cond=0x7f458dab9f90) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x7f458dab9f90, mutex=0x7f458dab9f68) at
pthread_cond_wait.c:655
#3  0x00007f458d9c2e2a in ?? () from
/usr/lib/x86_64-linux-gnu/libQt5Script.so.5
#4  0x00007f458d9c2e49 in ?? () from
/usr/lib/x86_64-linux-gnu/libQt5Script.so.5
#5  0x00007f458ccc5f2a in start_thread (arg=0x7f4571271700) at
pthread_create.c:463
#6  0x00007f458f491edf in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7f45737fe700 (LWP 1576)):
#0  0x00007f458f487836 in __GI_ppoll (fds=fds@entry=0x7f4564000d28,
nfds=nfds@entry=1, timeout=<optimized out>, timeout@entry=0x0,
sigmask=sigmask@entry=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:39
#1  0x00007f458e097221 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=0x7f4564000d28) at
kernel/qcore_unix.cpp:112
#3  qt_safe_poll (fds=0x7f4564000d28, nfds=nfds@entry=1,
timeout_ts=timeout_ts@entry=0x0) at kernel/qcore_unix.cpp:133
#4  0x00007f458e098699 in
QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
at ../../include/QtCore/../../src/corelib/tools/qarraydata.h:209
#5  0x00007f458e04824b in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at
../../include/QtCore/../../src/corelib/global/qflags.h:140
#6  0x00007f458de97176 in QThread::exec() () at
../../include/QtCore/../../src/corelib/global/qflags.h:120
#7  0x00007f458c4f6c75 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#8  0x00007f458dea0d47 in QThreadPrivate::start(void*) () at
thread/qthread_unix.cpp:367
#9  0x00007f458ccc5f2a in start_thread (arg=0x7f45737fe700) at
pthread_create.c:463
#10 0x00007f458f491edf in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7f45821eb700 (LWP 1516)):
#0  0x00007f458f487836 in __GI_ppoll (fds=fds@entry=0x7f457400b358,
nfds=nfds@entry=1, timeout=<optimized out>, timeout@entry=0x0,
sigmask=sigmask@entry=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:39
#1  0x00007f458e097221 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=0x7f457400b358) at
kernel/qcore_unix.cpp:112
#3  qt_safe_poll (fds=0x7f457400b358, nfds=nfds@entry=1,
timeout_ts=timeout_ts@entry=0x0) at kernel/qcore_unix.cpp:133
#4  0x00007f458e098699 in
QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
at ../../include/QtCore/../../src/corelib/tools/qarraydata.h:209
#5  0x00007f458e04824b in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at
../../include/QtCore/../../src/corelib/global/qflags.h:140
#6  0x00007f458de97176 in QThread::exec() () at
../../include/QtCore/../../src/corelib/global/qflags.h:120
#7  0x00007f458bfd4545 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#8  0x00007f458dea0d47 in QThreadPrivate::start(void*) () at
thread/qthread_unix.cpp:367
#9  0x00007f458ccc5f2a in start_thread (arg=0x7f45821eb700) at
pthread_create.c:463
#10 0x00007f458f491edf in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f458329a700 (LWP 1498)):
#0  0x00007f458f487739 in __GI___poll (fds=0x7f4583299b78, nfds=1, timeout=-1)
at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f458ef9acf7 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007f458ef9c90a in xcb_wait_for_event () from
/usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007f458396f159 in QXcbEventReader::run (this=0x558cd1d4b980) at
qxcbconnection.h:409
#4  0x00007f458dea0d47 in QThreadPrivate::start(void*) () at
thread/qthread_unix.cpp:367
#5  0x00007f458ccc5f2a in start_thread (arg=0x7f458329a700) at
pthread_create.c:463
#6  0x00007f458f491edf in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f4583cc3940 (LWP 1482)):
[KCrash Handler]
#6  0x00007f458f1b220c in std::__find_if<int const*,
__gnu_cxx::__ops::_Iter_equals_val<int const> > (__pred=...,
__last=0x1558dd212faa0, __first=0x1558dd212f310) at
/usr/include/c++/8/bits/predefined_ops.h:240
#7  std::__find_if<int const*, __gnu_cxx::__ops::_Iter_equals_val<int const> >
(__pred=..., __last=0x1558dd212faa0, __first=0x1558dd212f310) at
/usr/include/c++/8/bits/stl_algo.h:161
#8  std::find<int const*, int> (__val=@0x7ffe7fe6bf48: 6,
__last=0x1558dd212faa0, __first=0x1558dd212f310) at
/usr/include/c++/8/bits/stl_algo.h:3905
#9  QVector<int>::contains (t=@0x7ffe7fe6bf48: 6, this=<optimized out>) at
/usr/include/x86_64-linux-gnu/qt5/QtCore/qvector.h:936
#10 0x00007f458f1b62b6 in KWin::Workspace::workspaceEvent(xcb_generic_event_t*)
() at ./x11eventfilter.h:51
#11 0x00007f458e0470cf in
QAbstractEventDispatcher::filterNativeEvent(QByteArray const&, void*, long*) ()
at kernel/qabstracteventdispatcher.cpp:466
#12 0x00007f45839708f0 in QXcbConnection::handleXcbEvent
(this=this@entry=0x558cd1d3c630, event=event@entry=0x7f457c0040c0) at
qxcbnativeinterface.h:101
#13 0x00007f45839714b3 in QXcbConnection::processXcbEvents() () at
qxcbconnection.cpp:1787
#14 0x00007f458e073072 in QObject::event(QEvent*) () at kernel/qobject.cpp:1251
#15 0x00007f458e9a44a1 in QApplicationPrivate::notify_helper
(this=this@entry=0x558cd1d05680, receiver=receiver@entry=0x558cd1d3c630,
e=e@entry=0x7f457c00a3f0) at kernel/qapplication.cpp:3727
#16 0x00007f458e9abae0 in QApplication::notify(QObject*, QEvent*) () at
kernel/qapplication.cpp:3486
#17 0x00007f458e049579 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() at
../../include/QtCore/5.11.1/QtCore/private/../../../../../src/corelib/thread/qthread_p.h:307
#18 0x00007f458e04c56b in QCoreApplication::sendEvent (event=0x7f457c00a3f0,
receiver=<optimized out>) at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:234
#19 QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) ()
at kernel/qcoreapplication.cpp:1745
#20 0x00007f458e09850b in
QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
at kernel/qeventdispatcher_unix.cpp:466
#21 0x00007f4583a010ed in QUnixEventDispatcherQPA::processEvents
(this=<optimized out>, flags=...) at qunixeventdispatcher.cpp:68
#22 0x00007f458e04824b in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at
../../include/QtCore/../../src/corelib/global/qflags.h:140
#23 0x00007f458e0503c2 in QCoreApplication::exec() () at
../../include/QtCore/../../src/corelib/global/qflags.h:120
#24 0x00007f458f56147b in kdemain (argc=<optimized out>, argv=0x7ffe7fe6c838)
at ./main_x11.cpp:468
#25 0x00007f458f3bcb17 in __libc_start_main (main=0x558ccff11050 <main>,
argc=3, argv=0x7ffe7fe6c838, init=<optimized out>, fini=<optimized out>,
rtld_fini=<optimized out>, stack_end=0x7ffe7fe6c828) at ../csu/libc-start.c:310
#26 0x0000558ccff1108a in _start ()

Reported using DrKonqi

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

Reply via email to