Bug 395558 - KWIN Suddent crash
Summary: KWIN Suddent crash
Status: RESOLVED WORKSFORME
Alias: None
Product: kwin
Classification: Plasma
Component: general (other bugs)
Version First Reported In: 5.13.0
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: drkonqi, triaged
Depends on:
Blocks:
 
Reported: 2018-06-18 12:08 UTC by himeji
Modified: 2020-06-09 22:24 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
New crash information added by DrKonqi (4.20 KB, text/plain)
2020-06-09 22:24 UTC, Oussama
Details

Note You need to log in before you can comment on or make changes to this bug.
Description himeji 2018-06-18 12:08:28 UTC
Application: kwin_x11 (5.13.0)

Qt Version: 5.11.0
Frameworks Version: 5.47.0
Operating System: Linux 4.14.49-1-lts x86_64
Distribution: "Arch Linux"

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

KWin suddently crashed after messing around with virtual desktops and MACsimize addon
https://store.kde.org/p/1235050/

- Custom settings of the application:

KWin addons set :
     *  MACsimize
     *  No borders on maximized windows
     *  Opacity Menu
     *  Force window decoration with GTK+

-- Backtrace:
Application: KWin (kwin_x11), signal: Segmentation fault
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fd591d0b840 (LWP 731))]

Thread 6 (Thread 0x7fd558e66700 (LWP 837)):
#0  0x00007fd58a6e9ffc in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007fd58d9acbbc in  () at /usr/lib/libQt5Script.so.5
#2  0x00007fd58d9acbd9 in  () at /usr/lib/libQt5Script.so.5
#3  0x00007fd58a6e4075 in start_thread () at /usr/lib/libpthread.so.0
#4  0x00007fd59168d53f in clone () at /usr/lib/libc.so.6

Thread 5 (Thread 0x7fd55b447700 (LWP 824)):
#0  0x00007fd58a6e9ffc in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007fd55b68e0a4 in  () at /usr/lib/dri/i965_dri.so
#2  0x00007fd55b68dd98 in  () at /usr/lib/dri/i965_dri.so
#3  0x00007fd58a6e4075 in start_thread () at /usr/lib/libpthread.so.0
#4  0x00007fd59168d53f in clone () at /usr/lib/libc.so.6

Thread 4 (Thread 0x7fd56f562700 (LWP 798)):
#0  0x00007fd591682fa6 in ppoll () at /usr/lib/libc.so.6
#1  0x00007fd58ea88d1b in qt_safe_poll(pollfd*, unsigned long, timespec const*) () at /usr/lib/libQt5Core.so.5
#2  0x00007fd58ea8a20b in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#3  0x00007fd58ea3885c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#4  0x00007fd58e881ac9 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#5  0x00007fd58912c559 in  () at /usr/lib/libQt5Qml.so.5
#6  0x00007fd58e88bb95 in  () at /usr/lib/libQt5Core.so.5
#7  0x00007fd58a6e4075 in start_thread () at /usr/lib/libpthread.so.0
#8  0x00007fd59168d53f in clone () at /usr/lib/libc.so.6

Thread 3 (Thread 0x7fd575af7700 (LWP 769)):
#0  0x00007fd591682fa6 in ppoll () at /usr/lib/libc.so.6
#1  0x00007fd58ea88d1b in qt_safe_poll(pollfd*, unsigned long, timespec const*) () at /usr/lib/libQt5Core.so.5
#2  0x00007fd58ea8a20b in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#3  0x00007fd58ea3885c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#4  0x00007fd58e881ac9 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#5  0x00007fd58801e976 in  () at /usr/lib/libQt5DBus.so.5
#6  0x00007fd58e88bb95 in  () at /usr/lib/libQt5Core.so.5
#7  0x00007fd58a6e4075 in start_thread () at /usr/lib/libpthread.so.0
#8  0x00007fd59168d53f in clone () at /usr/lib/libc.so.6

Thread 2 (Thread 0x7fd577f83700 (LWP 752)):
#0  0x00007fd591682ea9 in poll () at /usr/lib/libc.so.6
#1  0x00007fd5905a6180 in  () at /usr/lib/libxcb.so.1
#2  0x00007fd5905a7e4b in xcb_wait_for_event () at /usr/lib/libxcb.so.1
#3  0x00007fd579071f1a in  () at /usr/lib/libQt5XcbQpa.so.5
#4  0x00007fd58e88bb95 in  () at /usr/lib/libQt5Core.so.5
#5  0x00007fd58a6e4075 in start_thread () at /usr/lib/libpthread.so.0
#6  0x00007fd59168d53f in clone () at /usr/lib/libc.so.6

Thread 1 (Thread 0x7fd591d0b840 (LWP 731)):
[KCrash Handler]
#6  0x00007fd59116d331 in  () at /usr/lib/libkwin.so.5
#7  0x00007fd59112e0c3 in KWin::Workspace::findClientToActivateOnDesktop(unsigned int) () at /usr/lib/libkwin.so.5
#8  0x00007fd59112e9a6 in KWin::Workspace::activateClientOnNewDesktop(unsigned int) () at /usr/lib/libkwin.so.5
#9  0x00007fd591133ae4 in KWin::Workspace::slotCurrentDesktopChanged(unsigned int, unsigned int) () at /usr/lib/libkwin.so.5
#10 0x00007fd58ea63a0c in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/libQt5Core.so.5
#11 0x00007fd5912cd7c0 in KWin::VirtualDesktopManager::currentChanged(unsigned int, unsigned int) () at /usr/lib/libkwin.so.5
#12 0x00007fd59122b57a in KWin::VirtualDesktopManager::setCurrent(KWin::VirtualDesktop*) () at /usr/lib/libkwin.so.5
#13 0x00007fd59122b69c in KWin::VirtualDesktopManager::slotSwitchTo() () at /usr/lib/libkwin.so.5
#14 0x00007fd58ea63b60 in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/libQt5Core.so.5
#15 0x00007fd58f7a3183 in QAction::triggered(bool) () at /usr/lib/libQt5Widgets.so.5
#16 0x00007fd58f7a587a in QAction::activate(QAction::ActionEvent) () at /usr/lib/libQt5Widgets.so.5
#17 0x00007fd588a0dbec in  () at /usr/lib/libKF5GlobalAccel.so.5
#18 0x00007fd58ea63a0c in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/libQt5Core.so.5
#19 0x00007fd588a1cca5 in  () at /usr/lib/libKF5GlobalAccel.so.5
#20 0x00007fd588a1d343 in  () at /usr/lib/libKF5GlobalAccel.so.5
#21 0x00007fd58802a7bf in  () at /usr/lib/libQt5DBus.so.5
#22 0x00007fd58ea642e2 in QObject::event(QEvent*) () at /usr/lib/libQt5Core.so.5
#23 0x00007fd58f7a9984 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#24 0x00007fd58f7b125b in QApplication::notify(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#25 0x00007fd58ea39bc9 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#26 0x00007fd58ea3cc5c in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib/libQt5Core.so.5
#27 0x00007fd58ea8a07d in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#28 0x00007fd579106dee in  () at /usr/lib/libQt5XcbQpa.so.5
#29 0x00007fd58ea3885c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#30 0x00007fd58ea40b56 in QCoreApplication::exec() () at /usr/lib/libQt5Core.so.5
#31 0x00007fd591959b56 in kdemain () at /usr/lib/libkdeinit5_kwin_x11.so
#32 0x00007fd5915b806b in __libc_start_main () at /usr/lib/libc.so.6
#33 0x0000558a809ab75a in _start ()

Reported using DrKonqi
Comment 1 Martin Flöser 2018-06-18 14:58:22 UTC
Unfortunately the backtrace is lacking debug symbols. If you are able to reproduce please install debug packages and attach a new backtrace.
Comment 2 Andrew Crouthamel 2018-09-28 03:30:07 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days, the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please set the bug status as REPORTED so that the KDE team knows that the bug is ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Andrew Crouthamel 2018-10-29 02:13:13 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!
Comment 4 Oussama 2020-06-09 22:24:54 UTC
Created attachment 129173 [details]
New crash information added by DrKonqi

kwin_x11 (5.19.0) using Qt 5.14.2

Kwin crashes whene I close a maximazed windwos. I'm using both "MACsimize" and "Dynamic Virtual Desktop".
Sorry for my poor english.

-- Backtrace (Reduced):
#4  0x00007f1143447a19 in KWin::FocusChain::getForActivation(unsigned int, int) const (this=0x558ae60c5e40, desktop=<optimized out>, desktop@entry=2, screen=0) at ./focuschain.cpp:77
#5  0x00007f1143447a9c in KWin::FocusChain::getForActivation(unsigned int) const (this=<optimized out>, desktop=desktop@entry=2) at ./focuschain.cpp:64
#6  0x00007f114352f2a2 in KWin::Workspace::findClientToActivateOnDesktop(unsigned int) (this=0x558ae5fb5ce0, desktop=2) at ./workspace.cpp:1036
#7  0x00007f114352f43d in KWin::Workspace::activateClientOnNewDesktop(unsigned int) (this=0x558ae5fb5ce0, desktop=2) at ./workspace.cpp:986
#8  0x00007f1143530180 in KWin::Workspace::slotCurrentDesktopChanged(unsigned int, unsigned int) (this=0x558ae5fb5ce0, oldDesktop=3, newDesktop=2) at ./workspace.cpp:944