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

            Bug ID: 409815
           Summary: Kwin_x11 crashes when Alt+TABbing
           Product: kwin
           Version: 5.12.7
          Platform: Ubuntu Packages
                OS: Linux
            Status: REPORTED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: kwin-bugs-n...@kde.org
          Reporter: firef...@protonmail.com
  Target Milestone: ---

Application: kwin_x11 (5.12.7)

Qt Version: 5.9.5
Frameworks Version: 5.44.0
Operating System: Linux 4.15.0-54-generic x86_64
Distribution: Ubuntu 18.04.2 LTS

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

Alt+TABbing regularly causes kwin_x11 to crash 

Notes:

- What seems to mitigate the frequency of the occurance by about 1:10 was
switching to the 'compact' task switcher as opposed to the 'cover flip', or one
of the other presumeably more resource intensive ones
- This has happened a lot, like through the lifetime of my 18.04 Kubuntu
installation it's probably in the triple digits, but this was the first time
the crash handler caught it

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 0x7fdaf5a9cd00 (LWP 1471))]

Thread 6 (Thread 0x7fda377dd700 (LWP 2205)):
#0  0x00007fdaee4809f3 in futex_wait_cancelable (private=<optimized out>,
expected=0, futex_word=0x55aaf6c79de4) at
../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  0x00007fdaee4809f3 in __pthread_cond_wait_common (abstime=0x0,
mutex=0x55aaf6c79d90, cond=0x55aaf6c79db8) at pthread_cond_wait.c:502
#2  0x00007fdaee4809f3 in __pthread_cond_wait (cond=0x55aaf6c79db8,
mutex=0x55aaf6c79d90) at pthread_cond_wait.c:655
#3  0x00007fdaf25e459b in QWaitCondition::wait(QMutex*, unsigned long) () at
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007fdaed6546a8 in  () at /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#5  0x00007fdaed654b0a in  () at /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#6  0x00007fdaf25e316d in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007fdaee47a6db in start_thread (arg=0x7fda377dd700) at
pthread_create.c:463
#8  0x00007fdaf542188f in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7fdad19b1700 (LWP 2204)):
#0  0x00007fdaee4809f3 in futex_wait_cancelable (private=<optimized out>,
expected=0, futex_word=0x55aaf6a2a3f4) at
../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  0x00007fdaee4809f3 in __pthread_cond_wait_common (abstime=0x0,
mutex=0x55aaf6a2a3a0, cond=0x55aaf6a2a3c8) at pthread_cond_wait.c:502
#2  0x00007fdaee4809f3 in __pthread_cond_wait (cond=0x55aaf6a2a3c8,
mutex=0x55aaf6a2a3a0) at pthread_cond_wait.c:655
#3  0x00007fdaf25e459b in QWaitCondition::wait(QMutex*, unsigned long) () at
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007fdaed6546a8 in  () at /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#5  0x00007fdaed654b0a in  () at /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#6  0x00007fdaf25e316d in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007fdaee47a6db in start_thread (arg=0x7fdad19b1700) at
pthread_create.c:463
#8  0x00007fdaf542188f in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7fdac2def700 (LWP 1622)):
#0  0x00007fdaee4809f3 in futex_wait_cancelable (private=<optimized out>,
expected=0, futex_word=0x7fdaf1a17fb8) at
../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  0x00007fdaee4809f3 in __pthread_cond_wait_common (abstime=0x0,
mutex=0x7fdaf1a17f68, cond=0x7fdaf1a17f90) at pthread_cond_wait.c:502
#2  0x00007fdaee4809f3 in __pthread_cond_wait (cond=0x7fdaf1a17f90,
mutex=0x7fdaf1a17f68) at pthread_cond_wait.c:655
#3  0x00007fdaf17215f4 in  () at /usr/lib/x86_64-linux-gnu/libQt5Script.so.5
#4  0x00007fdaf1721639 in  () at /usr/lib/x86_64-linux-gnu/libQt5Script.so.5
#5  0x00007fdaee47a6db in start_thread (arg=0x7fdac2def700) at
pthread_create.c:463
#6  0x00007fdaf542188f in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7fdad0d51700 (LWP 1620)):
#0  0x00007fdaf5414cf6 in __GI_ppoll (fds=0x7fdac8000d48, nfds=1,
timeout=<optimized out>, sigmask=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:39
#1  0x00007fdaf28165c1 in qt_safe_poll(pollfd*, unsigned long, timespec const*)
() at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#2  0x00007fdaf2817cde in
QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#3  0x00007fdaf27bf9ea in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007fdaf25de22a in QThread::exec() () at
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fdaecf666f5 in  () at /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#6  0x00007fdaf25e316d in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007fdaee47a6db in start_thread (arg=0x7fdad0d51700) at
pthread_create.c:463
#8  0x00007fdaf542188f in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7fdad2c2d700 (LWP 1586)):
#0  0x00007fdaf5414cf6 in __GI_ppoll (fds=0x7fdacc00b368, nfds=1,
timeout=<optimized out>, sigmask=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:39
#1  0x00007fdaf28165c1 in qt_safe_poll(pollfd*, unsigned long, timespec const*)
() at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#2  0x00007fdaf2817cde in
QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#3  0x00007fdaf27bf9ea in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007fdaf25de22a in QThread::exec() () at
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fdaebe3fd45 in  () at /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#6  0x00007fdaf25e316d in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007fdaee47a6db in start_thread (arg=0x7fdad2c2d700) at
pthread_create.c:463
#8  0x00007fdaf542188f in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7fdaf5a9cd00 (LWP 1471)):
[KCrash Handler]
#6  0x000055aaf6fd19e0 in  ()
#7  0x00007fdaf4f0cd6d in KWin::Workspace::constrainedStackingOrder() () at
/usr/lib/x86_64-linux-gnu/libkwin.so.5
#8  0x00007fdaf4f0d538 in KWin::Workspace::updateStackingOrder(bool) () at
/usr/lib/x86_64-linux-gnu/libkwin.so.5
#9  0x00007fdaf4f0dac0 in KWin::Workspace::blockStackingUpdates(bool) () at
/usr/lib/x86_64-linux-gnu/libkwin.so.5
#10 0x00007fdaf4eb8870 in KWin::Client::destroyClient() () at
/usr/lib/x86_64-linux-gnu/libkwin.so.5
#11 0x00007fdaf4f18769 in
KWin::Client::unmapNotifyEvent(xcb_unmap_notify_event_t*) () at
/usr/lib/x86_64-linux-gnu/libkwin.so.5
#12 0x00007fdaf4f1be6b in KWin::Client::windowEvent(xcb_generic_event_t*) () at
/usr/lib/x86_64-linux-gnu/libkwin.so.5
#13 0x00007fdaf4f1c7f5 in KWin::Workspace::workspaceEvent(xcb_generic_event_t*)
() at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#14 0x00007fdaf27be58f in
QAbstractEventDispatcher::filterNativeEvent(QByteArray const&, void*, long*) ()
at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#15 0x00007fdada253820 in QXcbConnection::handleXcbEvent(xcb_generic_event_t*)
() at /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#16 0x00007fdada2544ac in QXcbConnection::processXcbEvents() () at
/usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#17 0x00007fdaf27f1122 in QObject::event(QEvent*) () at
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#18 0x00007fdaf353f82c in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#19 0x00007fdaf35470f4 in QApplication::notify(QObject*, QEvent*) () at
/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#20 0x00007fdaf27c19a8 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#21 0x00007fdaf27c411d in QCoreApplicationPrivate::sendPostedEvents(QObject*,
int, QThreadData*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#22 0x00007fdaf2817af4 in
QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#23 0x00007fdada2b55cd in  () at /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#24 0x00007fdaf27bf9ea in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#25 0x00007fdaf27c8a84 in QCoreApplication::exec() () at
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#26 0x00007fdaf56f9dbb in kdemain () at
/usr/lib/x86_64-linux-gnu/libkdeinit5_kwin_x11.so
#27 0x00007fdaf5321b97 in __libc_start_main (main=0x55aaf5379730, argc=1,
argv=0x7ffccd6d1a48, init=<optimized out>, fini=<optimized out>,
rtld_fini=<optimized out>, stack_end=0x7ffccd6d1a38) at ../csu/libc-start.c:310
#28 0x000055aaf537976a in _start ()

Reported using DrKonqi

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

Reply via email to