Bug 361843 - KWin crashes or hangs when opening certain windows
Summary: KWin crashes or hangs when opening certain windows
Status: RESOLVED DUPLICATE of bug 352259
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: 5.5.4
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2016-04-16 08:32 UTC by phil
Modified: 2016-04-16 08:46 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description phil 2016-04-16 08:32:31 UTC
Application: kwin_x11 (5.5.4)

Qt Version: 5.5.1
Operating System: Linux 4.2.0-35-generic x86_64
Distribution: Ubuntu 15.10

-- Information about the crash:
- What I was doing when the application crashed:
Opened emacs from Konsole. Using the breeze theme.
- Unusual behavior I noticed:
Similar behaviour started 3 logins ago (no upgrades immediately before). Opening some windows (new apps or new Firefox window) caused the window title bars to disappear, taskbar buttons to be drawn differently, and KWin to hang: I couldn't Alt-Tab and lost interaction with the windows still on screen. Only the top-most one had minimal interaction (blinking cursor, ability to press a button - but with no effect). In such cases KWin didn't restart with a segfault. The reported crash is the first time the behaviour I describe was followed by segfault and restart.

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 0x7f3be4a96840 (LWP 1636))]

Thread 12 (Thread 0x7f3bc5705700 (LWP 1685)):
#0  0x00007f3be457b6f3 in select () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f3be2b46b7f in qt_safe_select (nfds=12, fdread=fdread@entry=0x7f3bb8000a78, fdwrite=fdwrite@entry=0x7f3bb8000d08, fdexcept=fdexcept@entry=0x7f3bb8000f98, orig_timeout=orig_timeout@entry=0x0) at kernel/qcore_unix.cpp:75
#2  0x00007f3be2b4867e in QEventDispatcherUNIX::select (timeout=0x0, exceptfds=0x7f3bb8000f98, writefds=0x7f3bb8000d08, readfds=0x7f3bb8000a78, nfds=<optimized out>, this=0x7f3bb80008c0) at kernel/qeventdispatcher_unix.cpp:320
#3  QEventDispatcherUNIXPrivate::doSelect (this=this@entry=0x7f3bb80008e0, flags=..., flags@entry=..., timeout=timeout@entry=0x0) at kernel/qeventdispatcher_unix.cpp:196
#4  0x00007f3be2b48bae in QEventDispatcherUNIX::processEvents (this=0x7f3bb80008c0, flags=...) at kernel/qeventdispatcher_unix.cpp:607
#5  0x00007f3be2af250a in QEventLoop::exec (this=this@entry=0x7f3bc5704d60, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#6  0x00007f3be290eac4 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:503
#7  0x00007f3bdd5c9c35 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#8  0x00007f3be2913a6e in QThreadPrivate::start (arg=0x22d8f10) at thread/qthread_unix.cpp:331
#9  0x00007f3be3b756aa in start_thread (arg=0x7f3bc5705700) at pthread_create.c:333
#10 0x00007f3be4584e9d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 11 (Thread 0x7f3bbf7fe700 (LWP 1693)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f3be1a84194 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Script.so.5
#2  0x00007f3be1a841d9 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Script.so.5
#3  0x00007f3be3b756aa in start_thread (arg=0x7f3bbf7fe700) at pthread_create.c:333
#4  0x00007f3be4584e9d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 10 (Thread 0x7f3bc63a5700 (LWP 1955)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f3b32962d33 in ?? () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
#2  0x00007f3b32962b97 in ?? () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
#3  0x00007f3be3b756aa in start_thread (arg=0x7f3bc63a5700) at pthread_create.c:333
#4  0x00007f3be4584e9d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 9 (Thread 0x7f3b2f585700 (LWP 1956)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f3b32962d33 in ?? () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
#2  0x00007f3b32962b97 in ?? () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
#3  0x00007f3be3b756aa in start_thread (arg=0x7f3b2f585700) at pthread_create.c:333
#4  0x00007f3be4584e9d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 8 (Thread 0x7f3b2ed84700 (LWP 1957)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f3b32962d33 in ?? () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
#2  0x00007f3b32962b97 in ?? () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
#3  0x00007f3be3b756aa in start_thread (arg=0x7f3b2ed84700) at pthread_create.c:333
#4  0x00007f3be4584e9d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 7 (Thread 0x7f3b2e583700 (LWP 1958)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f3b32962d33 in ?? () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
#2  0x00007f3b32962b97 in ?? () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
#3  0x00007f3be3b756aa in start_thread (arg=0x7f3b2e583700) at pthread_create.c:333
#4  0x00007f3be4584e9d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 6 (Thread 0x7f3b2dd82700 (LWP 1959)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f3b32962d33 in ?? () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
#2  0x00007f3b32962b97 in ?? () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
#3  0x00007f3be3b756aa in start_thread (arg=0x7f3b2dd82700) at pthread_create.c:333
#4  0x00007f3be4584e9d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 5 (Thread 0x7f3b2d581700 (LWP 1960)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f3b32962d33 in ?? () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
#2  0x00007f3b32962b97 in ?? () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
#3  0x00007f3be3b756aa in start_thread (arg=0x7f3b2d581700) at pthread_create.c:333
#4  0x00007f3be4584e9d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 4 (Thread 0x7f3b2cd80700 (LWP 1961)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f3b32962d33 in ?? () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
#2  0x00007f3b32962b97 in ?? () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
#3  0x00007f3be3b756aa in start_thread (arg=0x7f3b2cd80700) at pthread_create.c:333
#4  0x00007f3be4584e9d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7f3b2c57f700 (LWP 1962)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f3b32962d33 in ?? () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
#2  0x00007f3b32962b97 in ?? () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
#3  0x00007f3be3b756aa in start_thread (arg=0x7f3b2c57f700) at pthread_create.c:333
#4  0x00007f3be4584e9d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7f3bbffff700 (LWP 2068)):
#0  0x00007f3be457b6f3 in select () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f3be2b46b7f in qt_safe_select (nfds=11, fdread=fdread@entry=0x7f3bb40dc578, fdwrite=fdwrite@entry=0x7f3bb40dc808, fdexcept=fdexcept@entry=0x7f3bb40dca98, orig_timeout=orig_timeout@entry=0x0) at kernel/qcore_unix.cpp:75
#2  0x00007f3be2b4867e in QEventDispatcherUNIX::select (timeout=0x0, exceptfds=0x7f3bb40dca98, writefds=0x7f3bb40dc808, readfds=0x7f3bb40dc578, nfds=<optimized out>, this=0x7f3bb4146720) at kernel/qeventdispatcher_unix.cpp:320
#3  QEventDispatcherUNIXPrivate::doSelect (this=this@entry=0x7f3bb40dc3e0, flags=..., flags@entry=..., timeout=timeout@entry=0x0) at kernel/qeventdispatcher_unix.cpp:196
#4  0x00007f3be2b48bae in QEventDispatcherUNIX::processEvents (this=0x7f3bb4146720, flags=...) at kernel/qeventdispatcher_unix.cpp:607
#5  0x00007f3be2af250a in QEventLoop::exec (this=this@entry=0x7f3bbfffed60, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#6  0x00007f3be290eac4 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:503
#7  0x00007f3bdd5c9c35 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#8  0x00007f3be2913a6e in QThreadPrivate::start (arg=0x2827860) at thread/qthread_unix.cpp:331
#9  0x00007f3be3b756aa in start_thread (arg=0x7f3bbffff700) at pthread_create.c:333
#10 0x00007f3be4584e9d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7f3be4a96840 (LWP 1636)):
[KCrash Handler]
#6  0x00007f3bdd49351a in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#7  0x00007f3bdd4937e4 in QV4::ExecutionEngine::toVariant(QV4::Value const&, int, bool) () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#8  0x00007f3bdd548280 in QQmlPropertyPrivate::writeBinding(QObject*, QQmlPropertyData const&, QQmlContextData*, QQmlJavaScriptExpression*, QV4::Value const&, bool, QFlags<QQmlPropertyPrivate::WriteFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#9  0x00007f3bdd5b614f in QQmlBinding::update(QFlags<QQmlPropertyPrivate::WriteFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#10 0x00007f3bdd5bf6a6 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#11 0x00007f3bdd54a0ae in QQmlComponentPrivate::complete(QQmlEnginePrivate*, QQmlComponentPrivate::ConstructionState*) () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#12 0x00007f3bdd54a177 in QQmlComponentPrivate::completeCreate() () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#13 0x00007f3bdd549fe0 in QQmlComponent::create(QQmlContext*) () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#14 0x00007f3bc5723027 in Aurorae::Decoration::init (this=0x2ef9a80) at ../../../../clients/aurorae/src/aurorae.cpp:316
#15 0x00007f3be418b594 in KWin::Decoration::DecorationBridge::createDecoration (this=0x228e640, client=client@entry=0x27830d0) at ../decorations/decorationbridge.cpp:243
#16 0x00007f3be4075b69 in KWin::Client::createDecoration (this=this@entry=0x27830d0, oldgeom=...) at ../client.cpp:397
#17 0x00007f3be407f5db in KWin::Client::updateDecoration (this=this@entry=0x27830d0, check_workspace_pos=check_workspace_pos@entry=false, force=force@entry=false) at ../client.cpp:384
#18 0x00007f3be40d029c in KWin::Client::manage (this=this@entry=0x27830d0, w=w@entry=27263111, isMapped=isMapped@entry=false) at ../manage.cpp:385
#19 0x00007f3be40618bf in KWin::Workspace::createClient (this=this@entry=0x2276070, w=27263111, is_mapped=is_mapped@entry=false) at ../workspace.cpp:484
#20 0x00007f3be40b69b9 in KWin::Workspace::workspaceEvent (this=0x2276070, e=0x7f3bc80015c0) at ../events.cpp:417
#21 0x00007f3be2af169f in QAbstractEventDispatcher::filterNativeEvent (this=<optimized out>, eventType=..., message=message@entry=0x7f3bc80015c0, result=result@entry=0x7ffe24cfa0d8) at kernel/qabstracteventdispatcher.cpp:460
#22 0x00007f3bcdbfb254 in QXcbConnection::handleXcbEvent (this=this@entry=0x2165af0, event=event@entry=0x7f3bc80015c0) at qxcbconnection.cpp:1020
#23 0x00007f3bcdbfc003 in QXcbConnection::processXcbEvents (this=0x2165af0) at qxcbconnection.cpp:1502
#24 0x00007f3be2b247b1 in QObject::event (this=0x2165af0, e=<optimized out>) at kernel/qobject.cpp:1239
#25 0x00007f3be33f19dc in QApplicationPrivate::notify_helper (this=this@entry=0x215de00, receiver=receiver@entry=0x2165af0, e=e@entry=0x7f3bc8003800) at kernel/qapplication.cpp:3716
#26 0x00007f3be33f6ea6 in QApplication::notify (this=0x7ffe24cfa6f0, receiver=0x2165af0, e=0x7f3bc8003800) at kernel/qapplication.cpp:3499
#27 0x00007f3be2af4d7b in QCoreApplication::notifyInternal (this=0x7ffe24cfa6f0, receiver=0x2165af0, event=event@entry=0x7f3bc8003800) at kernel/qcoreapplication.cpp:965
#28 0x00007f3be2af7176 in QCoreApplication::sendEvent (event=0x7f3bc8003800, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:224
#29 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x214e5f0) at kernel/qcoreapplication.cpp:1593
#30 0x00007f3be2b48a72 in QEventDispatcherUNIX::processEvents (this=0x21af2c0, flags=flags@entry=...) at kernel/qeventdispatcher_unix.cpp:579
#31 0x00007f3bcdc5ea1d in QUnixEventDispatcherQPA::processEvents (this=<optimized out>, flags=...) at eventdispatchers/qunixeventdispatcher.cpp:62
#32 0x00007f3be2af250a in QEventLoop::exec (this=this@entry=0x7ffe24cfa610, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#33 0x00007f3be2afa5ec in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1229
#34 0x00007f3be2e2fd1c in QGuiApplication::exec () at kernel/qguiapplication.cpp:1530
#35 0x00007f3be33ede15 in QApplication::exec () at kernel/qapplication.cpp:2976
#36 0x00007f3be4853564 in kdemain (argc=1, argv=0x7ffe24cfa858) at ../main_x11.cpp:308
#37 0x00007f3be449ea40 in __libc_start_main (main=0x4007a0 <main(int, char**)>, argc=3, argv=0x7ffe24cfa858, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffe24cfa848) at libc-start.c:289
#38 0x00000000004007d9 in _start ()

Possible duplicates by query: bug 360553, bug 359749, bug 359284, bug 358558, bug 357654.

Reported using DrKonqi
Comment 1 Thomas Lübking 2016-04-16 08:34:45 UTC
run "kcmshell5 kwindecoration" and use the breeze decoration.

*** This bug has been marked as a duplicate of bug 352259 ***
Comment 2 phil 2016-04-16 08:46:49 UTC
Thank you! I'll do that.