Discussion:
[kwin] [Bug 399836] New: kwin crash on changing virtual desktop
Stamatis Kavvadias
2018-10-15 13:38:55 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=399836

Bug ID: 399836
Summary: kwin crash on changing virtual desktop
Product: kwin
Version: 5.12.6
Platform: Ubuntu Packages
OS: Linux
Status: REPORTED
Keywords: drkonqi
Severity: crash
Priority: NOR
Component: general
Assignee: kwin-bugs-***@kde.org
Reporter: ***@gmail.com
Target Milestone: ---

Application: kwin_x11 (5.12.6)

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

-- Information about the crash:
Windows lose titlebar; I cannot change the focus with the mouse or with
ALT-tab; the focused application is not responsive to the keyboard or the
mouse; mouse is the only think moving; some lost titlebar usually allows mouse
access to the desktop background and I can right-click and select Execute
command... to run kwin --replace, which restores normal functionality. If I
remember correctly, I can also go to a terminal, with CTRL-ALT-F1/F2 etc during
the crash. Windows from all activities appear in a single activity, but retain
their virtual desktop, on restore from the crash --I cannot say if this is also
the case during the crash.

- What I was doing when the application crashed:

The crash happens repeatedly, when changing virtual desktop, using the keyboard
shortcut (CTRL-ALT-left/right/up/down arrow). Usually, after I have been
viewing idly a window for some time; more frequently when I was viewing idly
for more than a minut, but it also happens after only 5-10 seconds sometimes.

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 0x7ff0a4aa7cc0 (LWP 9737))]

Thread 3 (Thread 0x7fefb9f12700 (LWP 9749)):
#0 0x00007ff09d4739f3 in futex_wait_cancelable (private=<optimized out>,
expected=0, futex_word=0x7ff0a0a0afb8) at
../sysdeps/unix/sysv/linux/futex-internal.h:88
#1 0x00007ff09d4739f3 in __pthread_cond_wait_common (abstime=0x0,
mutex=0x7ff0a0a0af68, cond=0x7ff0a0a0af90) at pthread_cond_wait.c:502
#2 0x00007ff09d4739f3 in __pthread_cond_wait (cond=0x7ff0a0a0af90,
mutex=0x7ff0a0a0af68) at pthread_cond_wait.c:655
#3 0x00007ff0a07145f4 in () at /usr/lib/x86_64-linux-gnu/libQt5Script.so.5
#4 0x00007ff0a0714639 in () at /usr/lib/x86_64-linux-gnu/libQt5Script.so.5
#5 0x00007ff09d46d6db in start_thread (arg=0x7fefb9f12700) at
pthread_create.c:463
#6 0x00007ff0a441388f in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7ff088847700 (LWP 9739)):
#0 0x00007ffc4dd1ab62 in clock_gettime ()
#1 0x00007ff0a4422ea6 in __GI___clock_gettime (clock_id=1, tp=0x7ff088846b80)
at ../sysdeps/unix/clock_gettime.c:115
#2 0x00007ff0a180c221 in () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#3 0x00007ff0a180aa59 in QTimerInfoList::updateCurrentTime() () at
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4 0x00007ff0a180b035 in QTimerInfoList::timerWait(timespec&) () at
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5 0x00007ff0a1809fe4 in
QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6 0x00007ff0a17b19ea in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7 0x00007ff0a15d022a in QThread::exec() () at
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8 0x00007ff09ae32d45 in () at /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#9 0x00007ff0a15d516d in () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#10 0x00007ff09d46d6db in start_thread (arg=0x7ff088847700) at
pthread_create.c:463
#11 0x00007ff0a441388f in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7ff0a4aa7cc0 (LWP 9737)):
[KCrash Handler]
#6 0x00007ff0a3f9322d in KWin::Xcb::Extensions::init() () at
/usr/lib/x86_64-linux-gnu/libkwin.so.5
#7 0x00007ff0a3f93ad7 in KWin::Xcb::Extensions::self() () at
/usr/lib/x86_64-linux-gnu/libkwin.so.5
#8 0x00007ff0a3f03a8a in
KWin::Application::updateX11Time(xcb_generic_event_t*) () at
/usr/lib/x86_64-linux-gnu/libkwin.so.5
#9 0x00007ff0a3f03b32 in () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#10 0x00007ff0a17b058f in
QAbstractEventDispatcher::filterNativeEvent(QByteArray const&, void*, long*) ()
at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#11 0x00007ff08c005820 in QXcbConnection::handleXcbEvent(xcb_generic_event_t*)
() at /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#12 0x00007ff08c0064ac in QXcbConnection::processXcbEvents() () at
/usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#13 0x00007ff0a17e3122 in QObject::event(QEvent*) () at
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#14 0x00007ff0a253182c in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#15 0x00007ff0a25390f4 in QApplication::notify(QObject*, QEvent*) () at
/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#16 0x00007ff0a17b39a8 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#17 0x00007ff0a17b611d in QCoreApplicationPrivate::sendPostedEvents(QObject*,
int, QThreadData*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#18 0x00007ff0a1809af4 in
QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#19 0x00007ff08c0675cd in () at /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#20 0x00007ff0a17b19ea in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#21 0x00007ff0a17baa84 in QCoreApplication::exec() () at
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#22 0x00007ff0a46ebdbb in kdemain () at
/usr/lib/x86_64-linux-gnu/libkdeinit5_kwin_x11.so
#23 0x00007ff0a4313b97 in __libc_start_main (main=0x55a089d2b730, argc=2,
argv=0x7ffc4dc50a18, init=<optimized out>, fini=<optimized out>,
rtld_fini=<optimized out>, stack_end=0x7ffc4dc50a08) at ../csu/libc-start.c:310
#24 0x000055a089d2b76a in _start ()

Possible duplicates by query: bug 352971.

Reported using DrKonqi
--
You are receiving this mail because:
You are watching all bug changes.
Stamatis Kavvadias
2018-10-16 01:30:28 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=399836

--- Comment #1 from Stamatis Kavvadias <***@gmail.com> ---
I had another crash, just hours after the original report. This time an
application (claws-mail) from another activity and a different virtual desktop
number, showed up in the task manager. When I clicked on it, kwin crashed.
--
You are receiving this mail because:
You are watching all bug changes.
Vlad Zagorodniy
2018-11-26 08:39:55 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=399836

Vlad Zagorodniy <***@gmail.com> changed:

What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |WAITINGFORINFO
Status|REPORTED |NEEDSINFO

--- Comment #2 from Vlad Zagorodniy <***@gmail.com> ---
Unfortunately the backtrace lacks debug symbols. Could you please install debug
packages and submit a new backtrace?
--
You are receiving this mail because:
You are watching all bug changes.
Bug Janitor Service
2018-12-11 03:44:20 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=399836

--- Comment #3 from Bug Janitor Service <bug-***@kde.org> ---
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
mark the bug 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!
--
You are receiving this mail because:
You are watching all bug changes.
Loading...