Bug 326416

Summary: Crash on alt-tab in 4.11.2
Product: [Plasma] kwin Reporter: Mike C. Fletcher <mcfletch>
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash CC: cfeck
Priority: NOR Keywords: drkonqi
Version: 4.11.2   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Mike C. Fletcher 2013-10-22 01:57:13 UTC
Application: kwin (4.11.2)
KDE Platform Version: 4.11.2
Qt Version: 4.8.2
Operating System: Linux 3.2.0-54-generic x86_64
Distribution: Ubuntu 12.04.3 LTS

-- Information about the crash:
- What I was doing when the application crashed:
Was alt-tabbing away from Thunderbird to Eric IDE, KWin crashed.

Kubuntu 12.04 with kde 4.11.2

-- Backtrace:
Application: KWin (kwin), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f35640d37c0 (LWP 2509))]

Thread 3 (Thread 0x7f3547677700 (LWP 2511)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f3562a9b022 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#2  0x00007f3562a9b059 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#3  0x00007f355bc4ce9a in start_thread (arg=0x7f3547677700) at pthread_create.c:308
#4  0x00007f35638a3ccd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f35452ff700 (LWP 2723)):
#0  0x00007f356389d033 in select () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007f355e4cb866 in qt_safe_select (nfds=21, fdread=0x7f34b8000ac8, fdwrite=0x7f34b8000d60, fdexcept=0x7f34b8000ff8, orig_timeout=<optimized out>) at kernel/qcore_unix.cpp:83
#2  0x00007f355e4d0cb2 in QEventDispatcherUNIXPrivate::doSelect (this=0x7f34b8000910, flags=..., timeout=0x0) at kernel/qeventdispatcher_unix.cpp:223
#3  0x00007f355e4d11a3 in QEventDispatcherUNIX::processEvents (this=0x7f34b80008f0, flags=...) at kernel/qeventdispatcher_unix.cpp:926
#4  0x00007f355e49de62 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f355e49e0b7 in QEventLoop::exec (this=0x7f35452fed90, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f355e39d077 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007f355e47db6f in QInotifyFileSystemWatcherEngine::run (this=0x2b33100) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f355e3a009b in QThreadPrivate::start (arg=0x2b33100) at thread/qthread_unix.cpp:307
#9  0x00007f355bc4ce9a in start_thread (arg=0x7f35452ff700) at pthread_create.c:308
#10 0x00007f35638a3ccd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f35640d37c0 (LWP 2509)):
[KCrash Handler]
#6  0x0000000103f1d2c0 in ?? ()
#7  0x00007f3563be5f93 in KWin::Workspace::constrainedStackingOrder (this=0x2646490) at ../../kwin/layers.cpp:517
#8  0x00007f3563be658b in updateStackingOrder (propagate_new_clients=true, this=0x2646490) at ../../kwin/layers.cpp:125
#9  KWin::Workspace::updateStackingOrder (this=0x2646490, propagate_new_clients=true) at ../../kwin/layers.cpp:118
#10 0x00007f3563be6739 in KWin::Workspace::blockStackingUpdates (this=<optimized out>, block=<optimized out>) at ../../kwin/layers.cpp:624
#11 0x00007f3563bd5e7b in ~StackingUpdatesBlocker (this=<synthetic pointer>, __in_chrg=<optimized out>) at ../../kwin/workspace.h:565
#12 KWin::Client::releaseWindow (this=0x2a43040, on_shutdown=false) at ../../kwin/client.cpp:317
#13 0x00007f3563bf27fa in KWin::Client::unmapNotifyEvent (this=0x2a43040, e=<optimized out>) at ../../kwin/events.cpp:595
#14 0x00007f3563bf4cb1 in KWin::Client::windowEvent (this=0x2a43040, e=0x7fff71089d30) at ../../kwin/events.cpp:451
#15 0x00007f3563bf5e3d in KWin::Workspace::workspaceEvent (this=0x2646490, e=0x7fff71089d30) at ../../kwin/events.cpp:164
#16 0x00007f3563be8398 in KWin::Application::x11EventFilter (this=0x7fff7108a000, e=0x7fff71089d30) at ../../kwin/main.cpp:422
#17 0x00007f355d88faa5 in qt_x11EventFilter (ev=0x7fff71089d30) at kernel/qapplication_x11.cpp:441
#18 qt_x11EventFilter (ev=0x7fff71089d30) at kernel/qapplication_x11.cpp:429
#19 0x00007f355d89eeb8 in QApplication::x11ProcessEvent (this=0x7fff7108a000, event=0x7fff71089d30) at kernel/qapplication_x11.cpp:3444
#20 0x00007f355d8c9aba in QEventDispatcherX11::processEvents (this=0x23d3ad0, flags=...) at kernel/qeventdispatcher_x11.cpp:132
#21 0x00007f355e49de62 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#22 0x00007f355e49e0b7 in QEventLoop::exec (this=0x7fff71089f80, flags=...) at kernel/qeventloop.cpp:204
#23 0x00007f355e4a3407 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
#24 0x00007f3563beaf51 in kdemain (argc=3, argv=<optimized out>) at ../../kwin/main.cpp:597
#25 0x00007f35637d176d in __libc_start_main (main=0x400640 <main(int, char**)>, argc=3, ubp_av=0x7fff7108a718, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff7108a708) at libc-start.c:226
#26 0x0000000000400671 in _start ()

Possible duplicates by query: bug 326376, bug 321445, bug 320349, bug 319927, bug 319848.

Reported using DrKonqi
Comment 1 Thomas Lübking 2013-10-22 10:51:48 UTC
Which Alt+Tab switcher do you use?
Comment 2 Mike C. Fletcher 2013-11-25 15:43:28 UTC
The small dialogue in the middle of the screen with small icon and full title where the selected window is highlighted as you tab through it. Darned if I can figure out what it's called, though, I seem to have a number of the switchers "enabled" in the settings dialogue, but which one is actually running I haven't a clue.

BTW, in trying to figure this out, I got the "desktop effects has crashed in the past" message, and the machine has been running reliably with desktop effects disabled.
Comment 3 Thomas Lübking 2013-11-25 17:29:48 UTC
> machine has been running reliably with desktop effects disabled.
Fits the pattern.

"Blast" - this is likely bug #317765, enforced by the tabbox modality.
It's likely not reproducible when using compositing + fade animations.
Comment 4 Thomas Lübking 2014-02-09 23:01:27 UTC

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