Bug 319206

Summary: Kwin crashed after cycling alt+tab really fast
Product: [Plasma] kwin Reporter: Thomas <kde>
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: 4.10.2   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Thomas 2013-05-02 07:24:06 UTC
Application: kwin (4.10.2)
KDE Platform Version: 4.10.2
Qt Version: 4.8.4
Operating System: Linux 3.8.0-19-generic x86_64
Distribution: Ubuntu 13.04

-- Information about the crash:
- What I was doing when the application crashed:
Kwin crashed after cycling applications using alt+tab really fast. I've previously disabled live window previews in the alt+tab-window such that I only see application icons and no actual screen content in the preview.

Note that this specific install is running as a Ubuntu-64bit guest inside Virtualbox 4.2.12 on a Win7 host. Virtualbox's opengl support is known to be a little flaky, but I've been running it for 4 days already now without any issues. This is the first kwin crash that I've observed.

-- 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 0x7f6ab3de37c0 (LWP 2959))]

Thread 3 (Thread 0x7f6a97b17700 (LWP 4893)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f6aafef1e77 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#2  0x00007f6aafef1ea9 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#3  0x00007f6aa7227f8e in start_thread (arg=0x7f6a97b17700) at pthread_create.c:311
#4  0x00007f6ab3601e1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 2 (Thread 0x7f6a95c86700 (LWP 4894)):
#0  0x00007fff2b1fe8d2 in ?? ()
#1  0x00007f6a95c85ab0 in ?? ()
#2  0x000000002b0fbba0 in ?? ()
#3  0x00007f6a90001178 in ?? ()
#4  0x00007f6a95c85ce0 in ?? ()
#5  0x00007f6a900008f0 in ?? ()
#6  0x00007f6a95c85c90 in ?? ()
#7  0x00007f6ab3616ead in clock_gettime (clock_id=<optimized out>, tp=<optimized out>) at ../sysdeps/unix/clock_gettime.c:115
#8  0x00007f6aae967a74 in do_gettime (frac=0x7f6a95c85b08, sec=0x7f6a95c85b00) at tools/qelapsedtimer_unix.cpp:123
#9  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#10 0x00007f6aaea3d9ed in QTimerInfoList::updateCurrentTime (this=0x1, this@entry=0x7f6a90001178) at kernel/qeventdispatcher_unix.cpp:354
#11 0x00007f6aaea3f173 in QEventDispatcherUNIXPrivate::doSelect (this=this@entry=0x7f6a90000910, flags=..., timeout=0x0) at kernel/qeventdispatcher_unix.cpp:186
#12 0x00007f6aaea3fc82 in QEventDispatcherUNIX::processEvents (this=0x7f6a900008f0, flags=...) at kernel/qeventdispatcher_unix.cpp:937
#13 0x00007f6aaea0d38f in QEventLoop::processEvents (this=this@entry=0x7f6a95c85d90, flags=...) at kernel/qeventloop.cpp:149
#14 0x00007f6aaea0d618 in QEventLoop::exec (this=this@entry=0x7f6a95c85d90, flags=...) at kernel/qeventloop.cpp:204
#15 0x00007f6aae90f410 in QThread::exec (this=this@entry=0x1e9dfb0) at thread/qthread.cpp:542
#16 0x00007f6aae9eeedf in QInotifyFileSystemWatcherEngine::run (this=0x1e9dfb0) at io/qfilesystemwatcher_inotify.cpp:256
#17 0x00007f6aae911bec in QThreadPrivate::start (arg=0x1e9dfb0) at thread/qthread_unix.cpp:338
#18 0x00007f6aa7227f8e in start_thread (arg=0x7f6a95c86700) at pthread_create.c:311
#19 0x00007f6ab3601e1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 1 (Thread 0x7f6ab3de37c0 (LWP 2959)):
[KCrash Handler]
#6  0x00007f6ab38c9ed8 in main_arena () from /lib/x86_64-linux-gnu/libc.so.6
#7  0x00007f6ab3933365 in KWin::Workspace::constrainedStackingOrder (this=this@entry=0x1af9840) at ../../kwin/layers.cpp:558
#8  0x00007f6ab3933a2b in updateStackingOrder (propagate_new_clients=true, this=0x1af9840) at ../../kwin/layers.cpp:119
#9  KWin::Workspace::updateStackingOrder (this=0x1af9840, propagate_new_clients=<optimized out>) at ../../kwin/layers.cpp:112
#10 0x00007f6ab3933bc0 in blockStackingUpdates (this=0x1af9840, block=<optimized out>) at ../../kwin/layers.cpp:665
#11 KWin::Workspace::blockStackingUpdates (this=this@entry=0x1af9840, block=block@entry=false) at ../../kwin/layers.cpp:657
#12 0x00007f6ab3927a0b in ~StackingUpdatesBlocker (this=<synthetic pointer>, __in_chrg=<optimized out>) at ../../kwin/workspace.h:877
#13 KWin::Client::releaseWindow (this=this@entry=0x23fb410, on_shutdown=on_shutdown@entry=false) at ../../kwin/client.cpp:318
#14 0x00007f6ab3940745 in KWin::Client::unmapNotifyEvent (this=this@entry=0x23fb410, e=e@entry=0x7fff2b0fb640) at ../../kwin/events.cpp:730
#15 0x00007f6ab394284b in KWin::Client::windowEvent (this=0x23fb410, e=e@entry=0x7fff2b0fb640) at ../../kwin/events.cpp:586
#16 0x00007f6ab3943ab1 in KWin::Workspace::workspaceEvent (this=0x1af9840, e=e@entry=0x7fff2b0fb640) at ../../kwin/events.cpp:297
#17 0x00007f6ab3938568 in KWin::Application::x11EventFilter (this=0x7fff2b0fbba0, e=0x7fff2b0fb640) at ../../kwin/main.cpp:362
#18 0x00007f6aade200cc in qt_x11EventFilter (ev=0x7fff2b0fb640) at kernel/qapplication_x11.cpp:441
#19 qt_x11EventFilter (ev=0x7fff2b0fb640) at kernel/qapplication_x11.cpp:429
#20 0x00007f6aade2e170 in QApplication::x11ProcessEvent (this=0x7fff2b0fbba0, event=event@entry=0x7fff2b0fb640) at kernel/qapplication_x11.cpp:3458
#21 0x00007f6aade5ab39 in QEventDispatcherX11::processEvents (this=0x19d6a50, flags=...) at kernel/qeventdispatcher_x11.cpp:132
#22 0x00007f6aaea0d38f in QEventLoop::processEvents (this=this@entry=0x7fff2b0fb8b0, flags=...) at kernel/qeventloop.cpp:149
#23 0x00007f6aaea0d618 in QEventLoop::exec (this=this@entry=0x7fff2b0fb8b0, flags=...) at kernel/qeventloop.cpp:204
#24 0x00007f6aaea12cf6 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#25 0x00007f6aaddb2ffc in QApplication::exec () at kernel/qapplication.cpp:3828
#26 0x00007f6ab393802a in kdemain (argc=3, argv=0x7fff2b0fbce8) at ../../kwin/main.cpp:537
#27 0x00007f6ab3529ea5 in __libc_start_main (main=0x4006d0 <main(int, char**)>, argc=3, ubp_av=0x7fff2b0fbce8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff2b0fbcd8) at libc-start.c:260
#28 0x0000000000400701 in _start ()

This bug may be a duplicate of or related to bug 315872.

Possible duplicates by query: bug 317765, bug 315872.

Reported using DrKonqi
Comment 1 Thomas Lübking 2013-05-02 07:30:02 UTC

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