Bug 308294

Summary: Random KWin crash when switching windows
Product: [Plasma] kwin Reporter: Matthew Dawson <matthew>
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: 4.9.0   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Matthew Dawson 2012-10-12 13:40:53 UTC
Application: kwin (4.9.00)
KDE Platform Version: 4.9.00 (Compiled from sources)
Qt Version: 4.8.2
Operating System: Linux 3.5.3-gentoo x86_64
Distribution: "Gentoo Base System release 2.1"

-- Information about the crash:
- What I was doing when the application crashed:
Upon trying to alt-tab between windows, KWin randomly crashed.

plasma-desktop had *not* crashed, unlike the other mentioned bug report.

- Unusual behavior I noticed:
When this occurred, my latop was hooked up to a TV, and was running it at 1920x1080.  My laptop's screen was also on at 1366x768.  When I was changing windows, everything seemed to be running really slow.  I've never had the crash before, and it didn't re-appear.

-- Backtrace:
Application: KWin (kwin), signal: Segmentation fault
82	T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[Current thread is 1 (Thread 0x7f75ba82e780 (LWP 3253))]

Thread 2 (Thread 0x7f75aeab8700 (LWP 3259)):
#0  pthread_cond_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f75cb5302d7 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x7f75cb8185e0) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#2  0x00007f75cb530309 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=<optimized out>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#3  0x00007f75c9f0af6a in start_thread (arg=0x7f75aeab8700) at pthread_create.c:305
#4  0x00007f75ce652c8d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x7f75ba82e780 (LWP 3253)):
[KCrash Handler]
#6  0x00007f75cea06033 in updateOutline (this=0x19789b0) at /usr/src/debug/kde-base/kwin-4.9.0/kwin-4.9.0/kwin/tabbox/tabboxhandler.cpp:128
#7  KWin::TabBox::TabBoxHandlerPrivate::updateOutline (this=0x19789b0) at /usr/src/debug/kde-base/kwin-4.9.0/kwin-4.9.0/kwin/tabbox/tabboxhandler.cpp:118
#8  0x00007f75cea062e9 in KWin::TabBox::TabBoxHandler::show (this=0x1980fc0) at /usr/src/debug/kde-base/kwin-4.9.0/kwin-4.9.0/kwin/tabbox/tabboxhandler.cpp:245
#9  0x00007f75ce9ffffa in qt_static_metacall (_a=<optimized out>, _id=<optimized out>, _o=<optimized out>, _c=<optimized out>) at /usr/src/debug/kde-base/kwin-4.9.0/kwin-4.9.0_build/kwin/tabbox.moc:139
#10 KWin::TabBox::TabBox::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /usr/src/debug/kde-base/kwin-4.9.0/kwin-4.9.0_build/kwin/tabbox.moc:128
#11 0x00007f75ca2b0194 in QMetaObject::activate (sender=0x1978588, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3547
#12 0x00007f75ca2ae12c in QObject::event (this=0x1978588, e=<optimized out>) at kernel/qobject.cpp:1157
#13 0x00007f75c94205dc in QApplicationPrivate::notify_helper (this=0x1879d50, receiver=0x1978588, e=0x7fff72048280) at kernel/qapplication.cpp:4551
#14 0x00007f75c9424a01 in QApplication::notify (this=0x7fff720488b0, receiver=0x1978588, e=0x7fff72048280) at kernel/qapplication.cpp:4412
#15 0x00007f75ce1458b6 in KApplication::notify (this=0x7fff720488b0, receiver=0x1978588, event=0x7fff72048280) at /usr/src/debug/kde-base/kdelibs-4.9.0/kdelibs-4.9.0/kdeui/kernel/kapplication.cpp:311
#16 0x00007f75ca299b3e in QCoreApplication::notifyInternal (this=0x7fff720488b0, receiver=0x1978588, event=0x7fff72048280) at kernel/qcoreapplication.cpp:915
#17 0x00007f75ca2ca452 in sendEvent (event=0x7fff72048280, receiver=<optimized out>) at kernel/qcoreapplication.h:231
#18 QTimerInfoList::activateTimers (this=0x187a748) at kernel/qeventdispatcher_unix.cpp:611
#19 0x00007f75ca2ca608 in QEventDispatcherUNIX::processEvents (this=0x1839ad0, flags=...) at kernel/qeventdispatcher_unix.cpp:930
#20 0x00007f75c94c151f in QEventDispatcherX11::processEvents (this=0x1839ad0, flags=...) at kernel/qeventdispatcher_x11.cpp:152
#21 0x00007f75ca29888f in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#22 0x00007f75ca298b18 in QEventLoop::exec (this=0x7fff720485c0, flags=...) at kernel/qeventloop.cpp:204
#23 0x00007f75ca29d756 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
#24 0x00007f75ce9754f4 in kdemain (argc=3, argv=0x7fff720489f8) at /usr/src/debug/kde-base/kwin-4.9.0/kwin-4.9.0/kwin/main.cpp:545
#25 0x00007f75ce58e6c5 in __libc_start_main (main=0x4007d0 <main(int, char**)>, argc=3, ubp_av=0x7fff720489f8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff720489e8) at libc-start.c:226
#26 0x0000000000400801 in _start ()

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

Possible duplicates by query: bug 304620.

Reported using DrKonqi
Comment 1 Martin Flöser 2012-10-12 13:51:08 UTC
given the duplicate report you should update to at least 4.9.1

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