Bug 320349

Summary: KWin crash on alt+tab
Product: [Plasma] kwin Reporter: Rohde Fischer <rohdef>
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash CC: bugs-kde
Priority: NOR    
Version: 4.10.2   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description Rohde Fischer 2013-05-27 13:18:40 UTC
Application: kwin (4.10.2)
KDE Platform Version: 4.10.2
Qt Version: 4.8.4
Operating System: Linux 3.8.0-22-generic x86_64
Distribution: Ubuntu 13.04

-- Information about the crash:
- What I was doing when the application crashed:
I alt+tabbed between applications, I think it was eclipse and chrome.

-- 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 0x7fa9ad3557c0 (LWP 2375))]

Thread 3 (Thread 0x7fa991086700 (LWP 4228)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fa9a945de77 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#2  0x00007fa9a945dea9 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#3  0x00007fa9a0793f8e in start_thread (arg=0x7fa991086700) at pthread_create.c:311
#4  0x00007fa9acb6de1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 2 (Thread 0x7fa98b289700 (LWP 4229)):
#0  0x00007fa9acb66233 in select () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fa9a7fa64f3 in qt_safe_select (nfds=13, fdread=0x7fa98c000ac8, fdwrite=0x7fa98c000d60, fdexcept=0x7fa98c000ff8, orig_timeout=0x0) at kernel/qcore_unix.cpp:83
#2  0x00007fa9a7fab499 in QEventDispatcherUNIXPrivate::doSelect (this=this@entry=0x7fa98c000910, flags=..., timeout=0x0) at kernel/qeventdispatcher_unix.cpp:223
#3  0x00007fa9a7fabc82 in QEventDispatcherUNIX::processEvents (this=0x7fa98c0008f0, flags=...) at kernel/qeventdispatcher_unix.cpp:937
#4  0x00007fa9a7f7938f in QEventLoop::processEvents (this=this@entry=0x7fa98b288d90, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fa9a7f79618 in QEventLoop::exec (this=this@entry=0x7fa98b288d90, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007fa9a7e7b410 in QThread::exec (this=this@entry=0xe6e840) at thread/qthread.cpp:542
#7  0x00007fa9a7f5aedf in QInotifyFileSystemWatcherEngine::run (this=0xe6e840) at io/qfilesystemwatcher_inotify.cpp:256
#8  0x00007fa9a7e7dbec in QThreadPrivate::start (arg=0xe6e840) at thread/qthread_unix.cpp:338
#9  0x00007fa9a0793f8e in start_thread (arg=0x7fa98b289700) at pthread_create.c:311
#10 0x00007fa9acb6de1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 1 (Thread 0x7fa9ad3557c0 (LWP 2375)):
[KCrash Handler]
#6  0x00007fa9ace35c38 in main_arena () from /lib/x86_64-linux-gnu/libc.so.6
#7  0x00007fa9ace9f365 in KWin::Workspace::constrainedStackingOrder (this=this@entry=0xb6e680) at ../../kwin/layers.cpp:558
#8  0x00007fa9ace9fa2b in updateStackingOrder (propagate_new_clients=true, this=0xb6e680) at ../../kwin/layers.cpp:119
#9  KWin::Workspace::updateStackingOrder (this=0xb6e680, propagate_new_clients=<optimized out>) at ../../kwin/layers.cpp:112
#10 0x00007fa9ace9fbc0 in blockStackingUpdates (this=0xb6e680, block=<optimized out>) at ../../kwin/layers.cpp:665
#11 KWin::Workspace::blockStackingUpdates (this=this@entry=0xb6e680, block=block@entry=false) at ../../kwin/layers.cpp:657
#12 0x00007fa9ace93a0b in ~StackingUpdatesBlocker (this=<synthetic pointer>, __in_chrg=<optimized out>) at ../../kwin/workspace.h:877
#13 KWin::Client::releaseWindow (this=this@entry=0x12c2330, on_shutdown=on_shutdown@entry=false) at ../../kwin/client.cpp:318
#14 0x00007fa9aceac745 in KWin::Client::unmapNotifyEvent (this=this@entry=0x12c2330, e=e@entry=0x7fff6274d2d0) at ../../kwin/events.cpp:730
#15 0x00007fa9aceae84b in KWin::Client::windowEvent (this=0x12c2330, e=e@entry=0x7fff6274d2d0) at ../../kwin/events.cpp:586
#16 0x00007fa9aceafab1 in KWin::Workspace::workspaceEvent (this=0xb6e680, e=e@entry=0x7fff6274d2d0) at ../../kwin/events.cpp:297
#17 0x00007fa9acea4568 in KWin::Application::x11EventFilter (this=0x7fff6274d830, e=0x7fff6274d2d0) at ../../kwin/main.cpp:362
#18 0x00007fa9a738c0cc in qt_x11EventFilter (ev=0x7fff6274d2d0) at kernel/qapplication_x11.cpp:441
#19 qt_x11EventFilter (ev=0x7fff6274d2d0) at kernel/qapplication_x11.cpp:429
#20 0x00007fa9a739a170 in QApplication::x11ProcessEvent (this=0x7fff6274d830, event=event@entry=0x7fff6274d2d0) at kernel/qapplication_x11.cpp:3458
#21 0x00007fa9a73c6b39 in QEventDispatcherX11::processEvents (this=0xa07ad0, flags=...) at kernel/qeventdispatcher_x11.cpp:132
#22 0x00007fa9a7f7938f in QEventLoop::processEvents (this=this@entry=0x7fff6274d540, flags=...) at kernel/qeventloop.cpp:149
#23 0x00007fa9a7f79618 in QEventLoop::exec (this=this@entry=0x7fff6274d540, flags=...) at kernel/qeventloop.cpp:204
#24 0x00007fa9a7f7ecf6 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#25 0x00007fa9a731effc in QApplication::exec () at kernel/qapplication.cpp:3828
#26 0x00007fa9acea402a in kdemain (argc=3, argv=0x7fff6274d978) at ../../kwin/main.cpp:537
#27 0x00007fa9aca95ea5 in __libc_start_main (main=0x4006d0 <main(int, char**)>, argc=3, ubp_av=0x7fff6274d978, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff6274d968) at libc-start.c:260
#28 0x0000000000400701 in _start ()

Possible duplicates by query: bug 319927, bug 319848, bug 319766, bug 319272, bug 319206.

Reported using DrKonqi
Comment 1 Thomas Lübking 2013-05-27 13:28:19 UTC
You're not using compositing (or were not at that time), I assume?

*** This bug has been marked as a duplicate of bug 317765 ***
Comment 2 Rohde Fischer 2013-05-27 14:45:32 UTC
I've disabled desktop effects, so I guess that is a no.

(In reply to comment #1)
> You're not using compositing (or were not at that time), I assume?
> 
> *** This bug has been marked as a duplicate of bug 317765 ***
Comment 3 arno 2013-08-19 13:05:43 UTC
Created attachment 81786 [details]
New crash information added by DrKonqi

kwin (4.10.5) on KDE Platform 4.10.5 using Qt 4.8.4

- What I was doing when the application crashed:

went back by alt+tab+shift, then suddenly the complete surface disappeared except for the actual window, but it came back after a while, puh...

-- Backtrace (Reduced):
#7  0x00007f40e37ff245 in KWin::Workspace::constrainedStackingOrder (this=this@entry=0x12f6a00) at ../../kwin/layers.cpp:558
#8  0x00007f40e37ff90b in updateStackingOrder (propagate_new_clients=true, this=0x12f6a00) at ../../kwin/layers.cpp:119
#9  KWin::Workspace::updateStackingOrder (this=0x12f6a00, propagate_new_clients=<optimized out>) at ../../kwin/layers.cpp:112
#10 0x00007f40e37ffaa0 in blockStackingUpdates (this=0x12f6a00, block=<optimized out>) at ../../kwin/layers.cpp:665
#11 KWin::Workspace::blockStackingUpdates (this=this@entry=0x12f6a00, block=block@entry=false) at ../../kwin/layers.cpp:657