Bug 370999 - Kwin crashes sometimes when opening windows
Summary: Kwin crashes sometimes when opening windows
Status: RESOLVED DUPLICATE of bug 361236
Alias: None
Product: kwin
Classification: Unclassified
Component: general (show other bugs)
Version: 5.8.0
Platform: Debian testing Linux
: NOR crash (vote)
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2016-10-17 11:08 UTC by Alexandre Nunes
Modified: 2016-10-17 11:52 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 Alexandre Nunes 2016-10-17 11:08:28 UTC
Application: kwin_x11 (5.8.0)

Qt Version: 5.6.1
Frameworks Version: 5.26.0
Operating System: Linux 4.6.7 x86_64
Distribution: Debian GNU/Linux testing (stretch)

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

Google chrome opened a window in form of popup (i.e. with specific dimensions).

The crash can be reproduced every time.

-- 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 0x7f3e92506e00 (LWP 4245))]

Thread 6 (Thread 0x7f3e89885700 (LWP 4905)):
#0  0x00000037dace1253 in select () at ../sysdeps/unix/syscall-template.S:84
#1  0x00000037e7ed6d3f in qt_safe_select(int, fd_set*, fd_set*, fd_set*, timespec const*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#2  0x00000037e7ed87e4 in QEventDispatcherUNIXPrivate::doSelect(QFlags<QEventLoop::ProcessEventsFlag>, timespec*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#3  0x00000037e7ed8cfa in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00000037e7e8319a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00000037e7ca8e53 in QThread::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00000038008c8a55 in  () at /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#7  0x00000037e7cadd78 in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00000037db407464 in start_thread (arg=0x7f3e89885700) at pthread_create.c:333
#9  0x00000037dace897f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105

Thread 5 (Thread 0x7f3e772bb700 (LWP 4266)):
#0  0x00000037db40d18f in pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x0000003802f7c574 in  () at /usr/lib/x86_64-linux-gnu/libQt5Script.so.5
#2  0x0000003802f7c5b9 in  () at /usr/lib/x86_64-linux-gnu/libQt5Script.so.5
#3  0x00000037db407464 in start_thread (arg=0x7f3e772bb700) at pthread_create.c:333
#4  0x00000037dace897f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105

Thread 4 (Thread 0x7f3e7830c700 (LWP 4265)):
#0  0x00000037dace1253 in select () at ../sysdeps/unix/syscall-template.S:84
#1  0x00000037e7ed6d3f in qt_safe_select(int, fd_set*, fd_set*, fd_set*, timespec const*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#2  0x00000037e7ed87e4 in QEventDispatcherUNIXPrivate::doSelect(QFlags<QEventLoop::ProcessEventsFlag>, timespec*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#3  0x00000037e7ed8cfa in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00000037e7e8319a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00000037e7ca8e53 in QThread::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00000038008c8a55 in  () at /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#7  0x00000037e7cadd78 in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00000037db407464 in start_thread (arg=0x7f3e7830c700) at pthread_create.c:333
#9  0x00000037dace897f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105

Thread 3 (Thread 0x7f3e8bb6c700 (LWP 4254)):
#0  0x00000037dace1253 in select () at ../sysdeps/unix/syscall-template.S:84
#1  0x00000037e7ed6d3f in qt_safe_select(int, fd_set*, fd_set*, fd_set*, timespec const*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#2  0x00000037e7ed87e4 in QEventDispatcherUNIXPrivate::doSelect(QFlags<QEventLoop::ProcessEventsFlag>, timespec*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#3  0x00000037e7ed8cfa in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00000037e7e8319a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00000037e7ca8e53 in QThread::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00000037ec415525 in  () at /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#7  0x00000037e7cadd78 in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00000037db407464 in start_thread (arg=0x7f3e8bb6c700) at pthread_create.c:333
#9  0x00000037dace897f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105

Thread 2 (Thread 0x7f3e9177f700 (LWP 4248)):
#0  0x00000037dacdf50d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00000037de00c150 in  () at /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00000037de00dee9 in xcb_wait_for_event () at /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007f3e92224a79 in  () at /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#4  0x00000037e7cadd78 in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00000037db407464 in start_thread (arg=0x7f3e9177f700) at pthread_create.c:333
#6  0x00000037dace897f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105

Thread 1 (Thread 0x7f3e92506e00 (LWP 4245)):
[KCrash Handler]
#6  0x00000038008b3e50 in QQmlBinding::write(QQmlPropertyData const&, QV4::Value const&, bool, QFlags<QQmlPropertyPrivate::WriteFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#7  0x00000038008b4ba7 in QQmlBinding::update(QFlags<QQmlPropertyPrivate::WriteFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#8  0x00000038008be705 in  () at /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#9  0x000000380084852e in QQmlComponentPrivate::complete(QQmlEnginePrivate*, QQmlComponentPrivate::ConstructionState*) () at /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#10 0x00000038008485f7 in QQmlComponentPrivate::completeCreate() () at /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#11 0x0000003800848460 in QQmlComponent::create(QQmlContext*) () at /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#12 0x00007f3e89bdcfd7 in  () at /usr/lib/x86_64-linux-gnu/qt5/plugins/org.kde.kdecoration2/kwin5_aurorae.so
#13 0x0000003eb93e3d09 in  () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#14 0x0000003eb92c41c9 in KWin::Client::createDecoration(QRect const&) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#15 0x0000003eb92c4b8d in KWin::Client::updateDecoration(bool, bool) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#16 0x0000003eb9323a1c in KWin::Client::manage(unsigned int, bool) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#17 0x0000003eb92a72d4 in KWin::Workspace::createClient(unsigned int, bool) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#18 0x0000003eb9310a47 in KWin::Workspace::workspaceEvent(xcb_generic_event_t*) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#19 0x00000037e7e822df in QAbstractEventDispatcher::filterNativeEvent(QByteArray const&, void*, long*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#20 0x00007f3e92226455 in QXcbConnection::handleXcbEvent(xcb_generic_event_t*) () at /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#21 0x00007f3e922273eb in QXcbConnection::processXcbEvents() () at /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#22 0x00000037e7eb3729 in QObject::event(QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#23 0x00000037ed75cbec in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#24 0x00000037ed76208f in QApplication::notify(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#25 0x00000037e7e85450 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#26 0x00000037e7e873cc in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#27 0x00000037e7ed8be2 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#28 0x00007f3e922990ad in  () at /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#29 0x00000037e7e8319a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#30 0x00000037e7e8b99c in QCoreApplication::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#31 0x0000003eb9809206 in kdemain () at /usr/lib/x86_64-linux-gnu/libkdeinit5_kwin_x11.so
#32 0x00000037dac202b1 in __libc_start_main (main=0x400670, argc=3, argv=0x7fffd9155e58, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffd9155e48) at ../csu/libc-start.c:291
#33 0x00000000004006aa in _start ()

Reported using DrKonqi
Comment 1 Martin Flöser 2016-10-17 11:52:47 UTC
As a workaround use breeze window decoration.

*** This bug has been marked as a duplicate of bug 361236 ***