Bug 300340

Summary: KWin crashed when switching windows (Using Win+Tab)
Product: [Plasma] kwin Reporter: Arthur <arthur.souza12>
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:

Description Arthur 2012-05-20 01:34:29 UTC
Application: kwin (4.8.2 (4.8.2))
KDE Platform Version: 4.8.2 (4.8.2)
Qt Version: 4.8.1
Operating System: Linux 3.2.0-24-generic i686
Distribution: Ubuntu 12.04 LTS

-- Information about the crash:
- What I was doing when the application crashed:
While the system was iddle, and I used the "Win+Tab" command to switch windows the KWin crashed
- Custom settings of the application:
Using OpenGL compositing type, V-sync disabled. I've changed the default order of the buttons of title bar; Using the "OS X Aurorae" for window decorations, the "Aya" plasma theme. Also, I can't configure the "Win+Tab" or "Meta+Tab" for reverse order, the default for "Alt+Tab (reverse)" is "Alt+Shift+Inverted Tab"; but when I try to add the "Meta+Shift+Inverted Tab" command it stays as "Meta+Shift+Tab", and the reverse order doesn't work.

The crash can be reproduced some of the time.

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

Thread 4 (Thread 0xb459fb40 (LWP 1801)):
#0  0x00111416 in __kernel_vsyscall ()
#1  0x0054e17b in read () at ../sysdeps/unix/syscall-template.S:82
#2  0x009b471b in ?? () from /usr/lib/nvidia-current-updates/libGL.so.1
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 3 (Thread 0xb37ffb40 (LWP 1802)):
#0  0x0271cdc8 in __pthread_mutex_lock (mutex=0xb380adb8) at pthread_mutex_lock.c:92
#1  0x0056c5f4 in pthread_mutex_lock (mutex=0xb380adb8) at forward.c:182
#2  0x02979390 in g_mutex_lock () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0x02939a75 in g_main_context_check () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0x0293a002 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0x0293a52b in g_main_loop_run () from /lib/i386-linux-gnu/libglib-2.0.so.0
#6  0x043690ea in ?? () from /usr/lib/i386-linux-gnu/libgio-2.0.so.0
#7  0x0295d673 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#8  0x009b7a01 in ?? () from /usr/lib/nvidia-current-updates/libGL.so.1
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 2 (Thread 0xafb19b40 (LWP 1810)):
#0  0x00111416 in __kernel_vsyscall ()
#1  0x0271e96b in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:169
#2  0x0056c3dc in __pthread_cond_wait (cond=0x986d890, mutex=0x986d878) at forward.c:139
#3  0x09769029 in ?? () from /usr/lib/i386-linux-gnu/libQtScript.so.4
#4  0x0976906f in ?? () from /usr/lib/i386-linux-gnu/libQtScript.so.4
#5  0x009b7a01 in ?? () from /usr/lib/nvidia-current-updates/libGL.so.1
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 1 (Thread 0xb5a7d740 (LWP 1800)):
[KCrash Handler]
#7  0x00bbe54a in KWin::TabBox::ClientModel::data (this=0x9d4f6b8, index=..., role=33) at ../../kwin/tabbox/clientmodel.cpp:71
#8  0x03592891 in QDeclarativeVisualDataModelDataMetaObject::initialValue (this=0x6361706f, propId=170519504) at graphicsitems/qdeclarativevisualitemmodel.cpp:534
#9  0x034f3344 in QDeclarativeOpenMetaObjectPrivate::getData (this=0xa06ec18, idx=0) at util/qdeclarativeopenmetaobject.cpp:149
#10 0x034f1e1c in QDeclarativeOpenMetaObject::metaCall (this=0xa2f6b00, c=QMetaObject::ReadProperty, id=2, a=0xbfee0840) at util/qdeclarativeopenmetaobject.cpp:230
#11 0x04dd9c9d in metacall (argv=0xbfee0840, idx=2, cl=QMetaObject::ReadProperty, object=0xa51ba40) at kernel/qmetaobject.cpp:245
#12 QMetaObject::metacall (object=0xa51ba40, cl=QMetaObject::ReadProperty, idx=2, argv=0xbfee0840) at kernel/qmetaobject.cpp:240
#13 0x04ddcb9b in QMetaProperty::read (this=0xbfee08d8, object=0xa51ba40) at kernel/qmetaobject.cpp:2290
#14 0x0366b09f in QDeclarativeObjectScriptClass::property (this=0xbfee08d8, obj=0xa51ba40, name=@0xa29ebd0: 0x6361706f) at qml/qdeclarativeobjectscriptclass.cpp:319
#15 0x03670b95 in QDeclarativeContextScriptClass::property (this=0xa1b9fd0, object=0xa11fb58, name=@0x6361706f: <error reading variable>) at qml/qdeclarativecontextscriptclass.cpp:289
#16 0x097ecd26 in ?? () from /usr/lib/i386-linux-gnu/libQtScript.so.4
#17 0x097d4054 in ?? () from /usr/lib/i386-linux-gnu/libQtScript.so.4
#18 0x096ae01c in ?? () from /usr/lib/i386-linux-gnu/libQtScript.so.4
#19 0x04bee02a in ?? ()
#20 0x09668457 in ?? () from /usr/lib/i386-linux-gnu/libQtScript.so.4
#21 0x09704b22 in ?? () from /usr/lib/i386-linux-gnu/libQtScript.so.4
#22 0x096d84d9 in ?? () from /usr/lib/i386-linux-gnu/libQtScript.so.4
#23 0x097cd03c in QScriptValue::call(QScriptValue const&, QList<QScriptValue> const&) () from /usr/lib/i386-linux-gnu/libQtScript.so.4
#24 0x035cd578 in QDeclarativeQtScriptExpression::eval (this=0xa11faa4, secondaryScope=0xa29ebd0, isUndefined=0xbfee100f) at qml/qdeclarativeexpression.cpp:518
#25 0x035cd892 in QDeclarativeQtScriptExpression::scriptValue (this=0xa11faa4, secondaryScope=0xa29ebd0, isUndefined=0xbfee100f) at qml/qdeclarativeexpression.cpp:470
#26 0x035cdb9b in QDeclarativeExpressionPrivate::scriptValue (this=0xa11faa4, secondaryScope=0xa29ebd0, isUndefined=0xa29ebd0) at qml/qdeclarativeexpression.cpp:653
#27 0x035cf624 in QDeclarativeBinding::update (this=0xa342978, flags=...) at qml/qdeclarativebinding.cpp:367
#28 0x035d06d2 in QDeclarativeBinding::setEnabled (this=0xa342978, e=true, flags=...) at qml/qdeclarativebinding.cpp:476
#29 0x035d8a8f in QDeclarativeComponentPrivate::complete (enginePriv=0xa1bcf58, state=0xa40022c) at qml/qdeclarativecomponent.cpp:948
#30 0x035d9154 in completeCreate (this=0xa4001c0) at qml/qdeclarativecomponent.cpp:1043
#31 QDeclarativeComponentPrivate::completeCreate (this=0xa4001c0) at qml/qdeclarativecomponent.cpp:1039
#32 0x0358d3ce in QDeclarativeVisualDataModel::completeItem (this=0x9f43fb0) at graphicsitems/qdeclarativevisualitemmodel.cpp:1125
#33 0x03597983 in QDeclarativeListViewPrivate::createItem (this=0xa255dc8, modelIndex=0) at graphicsitems/qdeclarativelistview.cpp:663
#34 0x0359e2c0 in refill (doBuffer=false, to=144.60000000000002, from=-0, this=0xa255dc8) at graphicsitems/qdeclarativelistview.cpp:765
#35 QDeclarativeListViewPrivate::refill (this=0xa255dc8, from=-0, to=144.60000000000002, doBuffer=false) at graphicsitems/qdeclarativelistview.cpp:709
#36 0x0359e65c in QDeclarativeListView::refill (this=0xa411950) at graphicsitems/qdeclarativelistview.cpp:3142
#37 0x035a2cd8 in QDeclarativeListView::setModel (this=0xa411950, model=...) at graphicsitems/qdeclarativelistview.cpp:1778
#38 0x036df51d in QDeclarativeListView::qt_metacall (this=0xa411950, _c=QMetaObject::WriteProperty, _id=0, _a=0xbfee14f8) at .moc/release-shared/moc_qdeclarativelistview_p.cpp:558
#39 0x035b76c9 in QDeclarativeVMEMetaObject::metaCall (this=0xa4f0968, c=QMetaObject::WriteProperty, _id=67, a=0xbfee14f8) at qml/qdeclarativevmemetaobject.cpp:673
#40 0x04dd9c9d in metacall (argv=0xbfee14f8, idx=67, cl=QMetaObject::WriteProperty, object=0xa411950) at kernel/qmetaobject.cpp:245
#41 QMetaObject::metacall (object=0xa411950, cl=QMetaObject::WriteProperty, idx=67, argv=0xbfee14f8) at kernel/qmetaobject.cpp:240
#42 0x035d5b14 in QDeclarativePropertyPrivate::write (object=0xa411950, property=..., value=..., context=0xa0783e0, flags=...) at qml/qdeclarativeproperty.cpp:1176
#43 0x0366c67e in QDeclarativeObjectScriptClass::setProperty (this=0xa3c1b40, obj=0xa411950, name=@0xa29ebd0: 0x6361706f, value=..., context=0xa8c120a0, evalContext=0xa0783e0) at qml/qdeclarativeobjectscriptclass.cpp:439
#44 0x0366cda8 in QDeclarativeObjectScriptClass::setProperty (this=0xa3c1b40, object=0x9eecd00, name=@0xbfee1730: 0xb02c0ba0, value=...) at qml/qdeclarativeobjectscriptclass.cpp:329
#45 0x097ed02a in ?? () from /usr/lib/i386-linux-gnu/libQtScript.so.4
#46 0x097d3994 in ?? () from /usr/lib/i386-linux-gnu/libQtScript.so.4
#47 0x096b55a6 in ?? () from /usr/lib/i386-linux-gnu/libQtScript.so.4
#48 0x04bed3a0 in ?? ()
#49 0x09668457 in ?? () from /usr/lib/i386-linux-gnu/libQtScript.so.4
#50 0x09704b22 in ?? () from /usr/lib/i386-linux-gnu/libQtScript.so.4
#51 0x096d84d9 in ?? () from /usr/lib/i386-linux-gnu/libQtScript.so.4
#52 0x097cd03c in QScriptValue::call(QScriptValue const&, QList<QScriptValue> const&) () from /usr/lib/i386-linux-gnu/libQtScript.so.4
#53 0x035cd578 in QDeclarativeQtScriptExpression::eval (this=0xa2ac414, secondaryScope=0xa29ebd0, isUndefined=0x0) at qml/qdeclarativeexpression.cpp:518
#54 0x035cd892 in QDeclarativeQtScriptExpression::scriptValue (this=0xa2ac414, secondaryScope=0xa29ebd0, isUndefined=0x0) at qml/qdeclarativeexpression.cpp:470
#55 0x035cdb9b in QDeclarativeExpressionPrivate::scriptValue (this=0xa2ac414, secondaryScope=0xa29ebd0, isUndefined=0xa29ebd0) at qml/qdeclarativeexpression.cpp:653
#56 0x035cdd14 in QDeclarativeExpressionPrivate::value (this=0xa2ac3c8, secondaryScope=0x0, isUndefined=0x0) at qml/qdeclarativeexpression.cpp:667
#57 0x03609938 in QDeclarativeBoundSignal::qt_metacall (this=0xa5e1eb0, c=QMetaObject::InvokeMetaMethod, id=4, a=0xbfee1ce0) at qml/qdeclarativeboundsignal.cpp:186
#58 0x04dd9c9d in metacall (argv=0xbfee1ce0, idx=4, cl=QMetaObject::InvokeMetaMethod, object=0xa5e1eb0) at kernel/qmetaobject.cpp:245
#59 QMetaObject::metacall (object=0xa5e1eb0, cl=QMetaObject::InvokeMetaMethod, idx=4, argv=0xbfee1ce0) at kernel/qmetaobject.cpp:240
#60 0x04de99bd in QMetaObject::activate (sender=0xa100978, m=0x37b1e78, local_signal_index=4, argv=0x0) at kernel/qobject.cpp:3566
#61 0x03562ba5 in QDeclarativeLoader::loaded (this=0xa100978) at .moc/release-shared/moc_qdeclarativeloader_p.cpp:202
#62 0x0356343d in QDeclarativeLoaderPrivate::_q_sourceLoaded (this=0xa46f510) at graphicsitems/qdeclarativeloader.cpp:423
#63 0x03563d44 in QDeclarativeLoader::qt_metacall (this=0xa100978, _c=QMetaObject::WriteProperty, _id=0, _a=0xbfee1f5c) at .moc/release-shared/moc_qdeclarativeloader_p.cpp:151
#64 0x035b76c9 in QDeclarativeVMEMetaObject::metaCall (this=0xa46f690, c=QMetaObject::WriteProperty, _id=43, a=0xbfee1f5c) at qml/qdeclarativevmemetaobject.cpp:673
#65 0x04dd9c9d in metacall (argv=0xbfee1f5c, idx=43, cl=QMetaObject::WriteProperty, object=0xa100978) at kernel/qmetaobject.cpp:245
#66 QMetaObject::metacall (object=0xa100978, cl=QMetaObject::WriteProperty, idx=43, argv=0xbfee1f5c) at kernel/qmetaobject.cpp:240
#67 0x04ddd103 in QMetaProperty::write (this=0x0, object=0xa100978, value=...) at kernel/qmetaobject.cpp:2364
#68 0x04dee78a in QObject::setProperty (this=0xa100978, name=0xbeb18a "source", value=...) at kernel/qobject.cpp:3725
#69 0x00bc00bf in KWin::TabBox::DeclarativeView::updateQmlSource (this=0xa29e468) at ../../kwin/tabbox/declarative.cpp:224
#70 0x00aea808 in KWin::TabBox::DeclarativeView::qt_static_metacall (_o=0xa29e468, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0xbfee2180) at moc_declarative.cpp:54
#71 0x04de96b1 in QMetaObject::activate (sender=0x9c41208, m=0xc13a88, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3547
#72 0x00aec9a5 in KWin::TabBox::TabBoxHandler::configChanged (this=0x9c41208) at moc_tabboxhandler.cpp:101
#73 0x00bcaa00 in KWin::TabBox::TabBoxHandler::setConfig (this=0x9c41208, config=...) at ../../kwin/tabbox/tabboxhandler.cpp:401
#74 0x00bb721d in KWin::TabBox::TabBox::setMode (this=0x9c3fea8, mode=KWin::TabBoxWindowsAlternativeMode) at ../../kwin/tabbox/tabbox.cpp:370
#75 0x00bbb21a in KWin::TabBox::TabBox::startKDEWalkThroughWindows (this=0x9c3fea8, mode=KWin::TabBoxWindowsAlternativeMode) at ../../kwin/tabbox/tabbox.cpp:922
#76 0x00bbb2e5 in navigatingThroughWindows (mode=KWin::TabBoxWindowsAlternativeMode, forward=true, this=0x9c3fea8, shortcut=...) at ../../kwin/tabbox/tabbox.cpp:755
#77 KWin::TabBox::TabBox::navigatingThroughWindows (this=0x9c3fea8, forward=true, shortcut=..., mode=KWin::TabBoxWindowsAlternativeMode) at ../../kwin/tabbox/tabbox.cpp:745
#78 0x00bbb39c in KWin::TabBox::TabBox::slotWalkThroughWindowsAlternative (this=0x9c3fea8) at ../../kwin/tabbox/tabbox.cpp:785
#79 0x04de96b1 in QMetaObject::activate (sender=0x9f494b0, m=0x20913f8, local_signal_index=1, argv=0xbfee2398) at kernel/qobject.cpp:3547
#80 0x017129bd in QAction::triggered (this=0x9f494b0, _t1=false) at .moc/release-shared/moc_qaction.cpp:277
#81 0x01712c5b in QAction::activate (this=0x9f494b0, event=QAction::Trigger) at kernel/qaction.cpp:1257
#82 0x00e567cf in trigger (this=0x9f494b0) at /usr/include/qt4/QtGui/qaction.h:218
#83 KGlobalAccelPrivate::_k_invokeAction (this=0x9e91d48, componentUnique=..., actionUnique=..., timestamp=17858249) at ../../kdeui/shortcuts/kglobalaccel.cpp:449
#84 0x00e576f6 in qt_static_metacall (_a=0xbfee2560, _o=0x9e6f1a0, _c=<optimized out>, _id=<optimized out>) at ./kglobalaccel.moc:54
#85 KGlobalAccel::qt_static_metacall (_o=0x9e6f1a0, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0xbfee2560) at ./kglobalaccel.moc:48
#86 0x04de96b1 in QMetaObject::activate (sender=0x9e6f630, m=0x10555b8, local_signal_index=0, argv=0xbfee2560) at kernel/qobject.cpp:3547
#87 0x00f90405 in OrgKdeKglobalaccelComponentInterface::globalShortcutPressed (this=0x9e6f630, _t1=..., _t2=..., _t3=17858249) at kglobalaccel_component_interface.moc:164
#88 0x00f90b46 in qt_static_metacall (_a=0xbfee27ac, _id=0, _o=0x9e6f630, _c=<optimized out>) at kglobalaccel_component_interface.moc:75
#89 OrgKdeKglobalaccelComponentInterface::qt_static_metacall (_o=0x9e6f630, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0xbfee27ac) at kglobalaccel_component_interface.moc:69
#90 0x00f910e4 in OrgKdeKglobalaccelComponentInterface::qt_metacall (this=0x9e6f630, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0xbfee27ac) at kglobalaccel_component_interface.moc:130
#91 0x0086aa38 in QDBusConnectionPrivate::deliverCall (this=0x9a2cb48, object=0x9e6f630, msg=..., metaTypes=..., slotIdx=170519504) at qdbusintegrator.cpp:947
#92 0x00874c8d in QDBusCallDeliveryEvent::placeMetaCall (this=0xa4e3458, object=0x9e6f630) at qdbusintegrator_p.h:103
#93 0x04dedc7b in QObject::event (this=0x9e6f630, e=0xa4e3458) at kernel/qobject.cpp:1195
#94 0x01719ed4 in notify_helper (e=0xa4e3458, receiver=0x9e6f630, this=0x9a3d360) at kernel/qapplication.cpp:4559
#95 QApplicationPrivate::notify_helper (this=0x9a3d360, receiver=0x9e6f630, e=0xa4e3458) at kernel/qapplication.cpp:4531
#96 0x0171f30d in QApplication::notify (this=0xa4e3458, receiver=0x9e6f630, e=0xa4e3458) at kernel/qapplication.cpp:4288
#97 0x00e04b21 in KApplication::notify (this=0xbfee2fc8, receiver=0x9e6f630, event=0xa4e3458) at ../../kdeui/kernel/kapplication.cpp:311
#98 0x00b135ef in notify (e=0xa4e3458, o=0x9e6f630, this=0xbfee2fc8) at ../../kwin/main.cpp:368
#99 KWin::Application::notify (this=0xbfee2fc8, o=0x9e6f630, e=0xa4e3458) at ../../kwin/main.cpp:364
#100 0x04dd297e in QCoreApplication::notifyInternal (this=0xbfee2fc8, receiver=0x9e6f630, event=0xa4e3458) at kernel/qcoreapplication.cpp:876
#101 0x04dd6ad8 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#102 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x99af130) at kernel/qcoreapplication.cpp:1500
#103 0x04dd6e0c in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1393
#104 0x017d393d in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#105 QEventDispatcherX11::processEvents (this=0x9a3cbb0, flags=...) at kernel/qeventdispatcher_x11.cpp:75
#106 0x04dd150d in QEventLoop::processEvents (this=0xbfee2f04, flags=...) at kernel/qeventloop.cpp:149
#107 0x04dd17a9 in QEventLoop::exec (this=0xbfee2f04, flags=...) at kernel/qeventloop.cpp:204
#108 0x04dd6eba in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#109 0x01717a74 in QApplication::exec () at kernel/qapplication.cpp:3820
#110 0x00b165b5 in kdemain (argc=3, argv=0xbfee3274) at ../../kwin/main.cpp:541
#111 0x0804850b in main (argc=3, argv=0xbfee3274) at kwin_dummy.cpp:3

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

Possible duplicates by query: bug 299871, bug 293031, bug 292589, bug 290482, bug 285747.

Reported using DrKonqi
Comment 1 Thomas L├╝bking 2012-05-20 08:08:50 UTC
Is meta+tab NOT bound to DESKTOP switching (the default, and NOT window switching) on your side?

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