Bug 357917

Summary: Tabbing away from mail finishing being send in Thunderbird, windows loose decorations
Product: [Plasma] kwin Reporter: Jeppe Bundsgaard <jeppe>
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED NOT A BUG    
Severity: crash CC: bhush94, mklapetek, plasma-bugs
Priority: NOR Keywords: drkonqi
Version: 5.4.2   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Jeppe Bundsgaard 2016-01-13 11:01:46 UTC
Application: plasmashell (5.4.2)

Qt Version: 5.4.2
Operating System: Linux 4.2.0-23-generic x86_64
Distribution: Ubuntu 15.10

-- Information about the crash:
- What I was doing when the application crashed:
I am sending mail with thunderbird. I alt+tab and do not release alt before thunderbird is finishing sending, and closes the mail window. 
- Unusual behavior I noticed:
All windows loses their control-line in the top. I cannot move or change windows. I cannot alt+tab. In the status line, the active windows pop up when I hover with the mouse, but I cannot activate them. If I close a window, it does not dissapear from the status line. I can start programs from the K-start-button.

I am not sure this is the correct crash added to the report. There is no crash information when it happens, but one shows up when I reboot. This is the one I am attaching.

The crash can be reproduced every time.

-- Backtrace:
Application: Plasma (plasmashell), signal: Aborted
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f5a23047800 (LWP 1900))]

Thread 7 (Thread 0x7f5a0e544700 (LWP 1907)):
#0  0x00007f5a1d8028dd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f5a21849bd2 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007f5a2184b74f in xcb_wait_for_event () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007f5a1088ea39 in QXcbEventReader::run (this=0x137a8b0) at qxcbconnection.cpp:1105
#4  0x00007f5a1def52be in QThreadPrivate::start (arg=0x137a8b0) at thread/qthread_unix.cpp:337
#5  0x00007f5a1cfe46aa in start_thread (arg=0x7f5a0e544700) at pthread_create.c:333
#6  0x00007f5a1d80deed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 6 (Thread 0x7f5a07dfa700 (LWP 1928)):
#0  0x00007f5a1d8028dd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f5a1a5af1ec in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f5a1a5af2fc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f5a1e12c29b in QEventDispatcherGlib::processEvents (this=0x7f5a000008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#4  0x00007f5a1e0d275a in QEventLoop::exec (this=this@entry=0x7f5a07df9da0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#5  0x00007f5a1def03d4 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:503
#6  0x00007f5a20718f85 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#7  0x00007f5a1def52be in QThreadPrivate::start (arg=0x1447fc0) at thread/qthread_unix.cpp:337
#8  0x00007f5a1cfe46aa in start_thread (arg=0x7f5a07dfa700) at pthread_create.c:333
#9  0x00007f5a1d80deed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 5 (Thread 0x7f59fc85a700 (LWP 1960)):
#0  0x00007f5a1d8028dd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f5a1a5af1ec in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f5a1a5af2fc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f5a1e12c29b in QEventDispatcherGlib::processEvents (this=0x7f59f80008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#4  0x00007f5a1e0d275a in QEventLoop::exec (this=this@entry=0x7f59fc859da0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#5  0x00007f5a1def03d4 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:503
#6  0x00007f5a20718f85 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#7  0x00007f5a1def52be in QThreadPrivate::start (arg=0x1780770) at thread/qthread_unix.cpp:337
#8  0x00007f5a1cfe46aa in start_thread (arg=0x7f59fc85a700) at pthread_create.c:333
#9  0x00007f5a1d80deed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 4 (Thread 0x7f59f601d700 (LWP 1975)):
#0  0x00007f5a1a5f3869 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f5a1a5ae789 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f5a1a5af11b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f5a1a5af2fc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f5a1e12c29b in QEventDispatcherGlib::processEvents (this=0x7f59e80008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#5  0x00007f5a1e0d275a in QEventLoop::exec (this=this@entry=0x7f59f601cda0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#6  0x00007f5a1def03d4 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:503
#7  0x00007f5a20718f85 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#8  0x00007f5a1def52be in QThreadPrivate::start (arg=0x193c860) at thread/qthread_unix.cpp:337
#9  0x00007f5a1cfe46aa in start_thread (arg=0x7f59f601d700) at pthread_create.c:333
#10 0x00007f5a1d80deed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7f59effff700 (LWP 1984)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f5a22aa4114 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Script.so.5
#2  0x00007f5a22aa4159 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Script.so.5
#3  0x00007f5a1cfe46aa in start_thread (arg=0x7f59effff700) at pthread_create.c:333
#4  0x00007f5a1d80deed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7f5967b51700 (LWP 2228)):
#0  0x00007f5a1d8028dd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f5a1a5af1ec in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f5a1a5af2fc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f5a1e12c29b in QEventDispatcherGlib::processEvents (this=0x7f59600008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#4  0x00007f5a1e0d275a in QEventLoop::exec (this=this@entry=0x7f5967b50d50, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#5  0x00007f5a1def03d4 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:503
#6  0x00007f5a21094ef6 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#7  0x00007f5a1def52be in QThreadPrivate::start (arg=0x2a2c620) at thread/qthread_unix.cpp:337
#8  0x00007f5a1cfe46aa in start_thread (arg=0x7f5967b51700) at pthread_create.c:333
#9  0x00007f5a1d80deed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7f5a23047800 (LWP 1900)):
[KCrash Handler]
#6  0x00007f5a1d73c267 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:55
#7  0x00007f5a1d73deca in __GI_abort () at abort.c:89
#8  0x00007f5a1db60b7d in __gnu_cxx::__verbose_terminate_handler() () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#9  0x00007f5a1db5e9c6 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#10 0x00007f5a1db5ea11 in std::terminate() () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#11 0x00007f5a1db5f55f in __cxa_pure_virtual () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#12 0x00007f5a1e3e47ca in QPlatformScreen::physicalSize (this=<optimized out>) at kernel/qplatformscreen.cpp:131
#13 0x00007f5a1e41d212 in QScreen::physicalSize (this=this@entry=0x137b600) at kernel/qscreen.cpp:245
#14 0x00007f5a1e41d2c9 in QScreen::physicalDotsPerInch (this=0x137b600) at kernel/qscreen.cpp:168
#15 0x00007f5a2120cb6b in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#16 0x00007f5a1e10578a in QMetaObject::activate (sender=sender@entry=0x15af040, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fff3498c320) at kernel/qobject.cpp:3717
#17 0x00007f5a1e105f87 in QMetaObject::activate (sender=sender@entry=0x15af040, m=m@entry=0x7f5a1e835580 <QWindow::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fff3498c320) at kernel/qobject.cpp:3582
#18 0x00007f5a1e3fadbf in QWindow::screenChanged (this=this@entry=0x15af040, _t1=_t1@entry=0x137d4e0) at .moc/moc_qwindow.cpp:626
#19 0x00007f5a1e3fbcb5 in QWindowPrivate::emitScreenChangedRecursion (this=this@entry=0x15df7c0, newScreen=newScreen@entry=0x137d4e0) at kernel/qwindow.cpp:366
#20 0x00007f5a1e3fecf3 in QWindowPrivate::setTopLevelScreen (this=0x15df7c0, newScreen=0x137d4e0, recreate=<optimized out>) at kernel/qwindow.cpp:387
#21 0x00007f5a1e3fee85 in QWindow::screenDestroyed (this=0x15af040, object=<optimized out>) at kernel/qwindow.cpp:1720
#22 0x00007f5a1e105617 in QtPrivate::QSlotObjectBase::call (a=0x7fff3498c570, r=0x15af040, this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobject_impl.h:124
#23 QMetaObject::activate (sender=sender@entry=0x137b600, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fff3498c570) at kernel/qobject.cpp:3702
#24 0x00007f5a1e105f87 in QMetaObject::activate (sender=sender@entry=0x137b600, m=m@entry=0x7f5a1e3020e0 <QObject::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fff3498c570) at kernel/qobject.cpp:3582
#25 0x00007f5a1e10602f in QObject::destroyed (this=this@entry=0x137b600, _t1=_t1@entry=0x137b600) at .moc/moc_qobject.cpp:206
#26 0x00007f5a1e10d19a in QObject::~QObject (this=0x137b600, __in_chrg=<optimized out>) at kernel/qobject.cpp:903
#27 0x00007f5a1e41d0c9 in QScreen::~QScreen (this=0x137b600, __in_chrg=<optimized out>) at kernel/qscreen.cpp:77
#28 0x00007f5a1e3e4d49 in QPlatformScreen::~QPlatformScreen (this=0x137d520, __in_chrg=<optimized out>) at kernel/qplatformscreen.cpp:57
#29 0x00007f5a1089c519 in QXcbScreen::~QXcbScreen (this=0x137d520, __in_chrg=<optimized out>) at qxcbscreen.cpp:222
#30 0x00007f5a1088f909 in QXcbConnection::updateScreens (this=this@entry=0x136eaa0) at qxcbconnection.cpp:286
#31 0x00007f5a108905c6 in QXcbConnection::handleXcbEvent (this=this@entry=0x136eaa0, event=event@entry=0x7f5a08004f10) at qxcbconnection.cpp:961
#32 0x00007f5a108913b3 in QXcbConnection::processXcbEvents (this=0x136eaa0) at qxcbconnection.cpp:1303
#33 0x00007f5a1e106651 in QObject::event (this=0x136eaa0, e=<optimized out>) at kernel/qobject.cpp:1245
#34 0x00007f5a1ebb2b8c in QApplicationPrivate::notify_helper (this=this@entry=0x1363810, receiver=receiver@entry=0x136eaa0, e=e@entry=0x7f5a08003640) at kernel/qapplication.cpp:3720
#35 0x00007f5a1ebb8230 in QApplication::notify (this=0x7fff3498d0b0, receiver=0x136eaa0, e=0x7f5a08003640) at kernel/qapplication.cpp:3503
#36 0x00007f5a1e0d4f1b in QCoreApplication::notifyInternal (this=0x7fff3498d0b0, receiver=0x136eaa0, event=event@entry=0x7f5a08003640) at kernel/qcoreapplication.cpp:935
#37 0x00007f5a1e0d7057 in QCoreApplication::sendEvent (event=0x7f5a08003640, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:228
#38 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x1358d70) at kernel/qcoreapplication.cpp:1552
#39 0x00007f5a1e0d7588 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1410
#40 0x00007f5a1e12be73 in postEventSourceDispatch (s=0x13a3440) at kernel/qeventdispatcher_glib.cpp:271
#41 0x00007f5a1a5aeff7 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#42 0x00007f5a1a5af250 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#43 0x00007f5a1a5af2fc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#44 0x00007f5a1e12c27f in QEventDispatcherGlib::processEvents (this=0x1397b50, flags=...) at kernel/qeventdispatcher_glib.cpp:418
#45 0x00007f5a1e0d275a in QEventLoop::exec (this=this@entry=0x7fff3498cf30, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#46 0x00007f5a1e0da2cc in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1188
#47 0x00007f5a1e3ef00c in QGuiApplication::exec () at kernel/qguiapplication.cpp:1510
#48 0x00007f5a1ebaf025 in QApplication::exec () at kernel/qapplication.cpp:2956
#49 0x00000000004322c3 in main (argc=2, argv=<optimized out>) at ../../shell/main.cpp:176

Possible duplicates by query: bug 355614, bug 355567, bug 354968, bug 354471, bug 350503.

Reported using DrKonqi
Comment 1 Martin Klapetek 2016-01-27 02:55:20 UTC
Thanks for the report

The issue you describe seems like KWin is actually crashing. The
Plasma crash you see on reboot seems unrelated.

In any case, please try updating your Qt to 5.5.x which is available
for *buntu and see if that helps. In our experience it helps a lot with
crashes like these.
Comment 2 Thomas Lübking 2016-01-27 09:11:16 UTC
Backtrace and plasma dupes look like it's just bug #341497 - which won't fix before Qt 5.6
The description however rather matches bug #356616, would be bug #317765.

You're likely not getting a kwin crash dialog because of bug #353428 ?

=> Please attach the output of "qdbus org.kde.KWin /KWin supportInformation" (the relevant bit is whether you're using compositing or not, ie. whether this is a dupe of bug #317765
Comment 3 Martin Flöser 2016-08-29 07:50:36 UTC
Please provide the information asked for in comment #2.
Comment 4 Jeppe Bundsgaard 2016-08-29 15:24:29 UTC
I got a new computer, and changed to Ubuntu Gnome (because of the touch screen support). So I'll close this bug.
Cheers,
jeppe