Bug 240765 - kwin crashed when grouped a frameless window to other windows
Summary: kwin crashed when grouped a frameless window to other windows
Status: RESOLVED DUPLICATE of bug 222816
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-04 21:49 UTC by Hamed Nemati
Modified: 2010-06-06 20:36 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hamed Nemati 2010-06-04 21:49:45 UTC
Application: kwin (4.4.2 (KDE 4.4.2))
KDE Platform Version: 4.4.2 (KDE 4.4.2)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-22-generic i686
Distribution: Ubuntu 10.04 LTS

-- Information about the crash:
I wrote a Qt application with this window flags:
Qt::FramelessWindowHint | Qt::WindowSystemMenuHint
every time I try to group it with any other windows the kwin crashes.

The crash can be reproduced every time.

 -- Backtrace:
Application: KWin (kwin), signal: Segmentation fault
[Current thread is 1 (Thread 0xb7738720 (LWP 2361))]

Thread 2 (Thread 0xaaf61b70 (LWP 2364)):
#0  0x00762e16 in *__GI_clock_gettime (clock_id=7761908, tp=0xaaf60fa8) at ../sysdeps/unix/clock_gettime.c:100
#1  0x063bf6fb in qt_gettime () at kernel/qcore_unix.cpp:111
#2  0x063c4825 in QTimerInfoList::updateCurrentTime (this=0x924b644) at kernel/qeventdispatcher_unix.cpp:340
#3  0x063c486a in QTimerInfoList::timerWait (this=0x924b644, tm=...) at kernel/qeventdispatcher_unix.cpp:443
#4  0x063c2818 in timerSourcePrepareHelper (src=<value optimized out>, timeout=0xaaf610bc) at kernel/qeventdispatcher_glib.cpp:136
#5  0x063c28a5 in timerSourcePrepare (source=0x0, timeout=0x766ff4) at kernel/qeventdispatcher_glib.cpp:169
#6  0x021efaca in g_main_context_prepare () from /lib/libglib-2.0.so.0
#7  0x021efee9 in ?? () from /lib/libglib-2.0.so.0
#8  0x021f04b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#9  0x063c260f in QEventDispatcherGlib::processEvents (this=0x922fb08, flags=...) at kernel/qeventdispatcher_glib.cpp:414
#10 0x06395059 in QEventLoop::processEvents (this=0xaaf61280, flags=) at kernel/qeventloop.cpp:149
#11 0x063954aa in QEventLoop::exec (this=0xaaf61280, flags=...) at kernel/qeventloop.cpp:201
#12 0x062915a8 in QThread::exec (this=0x9274808) at thread/qthread.cpp:487
#13 0x06374c1b in QInotifyFileSystemWatcherEngine::run (this=0x9274808) at io/qfilesystemwatcher_inotify.cpp:248
#14 0x0629432e in QThreadPrivate::start (arg=0x9274808) at thread/qthread_unix.cpp:248
#15 0x0044796e in start_thread (arg=0xaaf61b70) at pthread_create.c:300
#16 0x0054ca4e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb7738720 (LWP 2361)):
[KCrash Handler]
#6  QListData::size (this=0x8eb60d0, action=0x9928968) at /usr/include/qt4/QtCore/qlist.h:90
#7  QList<KWin::Client*>::indexOf (this=0x8eb60d0, action=0x9928968) at /usr/include/qt4/QtCore/qlist.h:726
#8  KWin::ClientGroup::indexOfClient (this=0x8eb60d0, action=0x9928968) at ../../kwin/clientgroup.h:182
#9  KWin::Workspace::slotAddToTabGroup (this=0x8eb60d0, action=0x9928968) at ../../kwin/useractions.cpp:389
#10 0x00a632e4 in KWin::Workspace::qt_metacall (this=0x8eb60d0, _c=QMetaObject::InvokeMetaMethod, _id=153, _a=0xbfb9b8b8) at ./workspace.moc:515
#11 0x0639bc9a in QMetaObject::metacall (object=0x8eb60d0, cl=QMetaObject::InvokeMetaMethod, idx=153, argv=0xbfb9b8b8) at kernel/qmetaobject.cpp:237
#12 0x063aa3d5 in QMetaObject::activate (sender=0x9e37038, m=0x4452748, local_signal_index=2, argv=0xbfb9b8b8) at kernel/qobject.cpp:3293
#13 0x03fc1073 in QMenu::triggered (this=0x9e37038, _t1=0x9928968) at .moc/release-shared/moc_qmenu.cpp:164
#14 0x03fc3aca in QMenuPrivate::_q_actionTriggered (this=0x9030470) at widgets/qmenu.cpp:1129
#15 0x03fc8196 in QMenu::qt_metacall (this=0x9e37038, _c=QMetaObject::InvokeMetaMethod, _id=8, _a=0xbfb9ba68) at .moc/release-shared/moc_qmenu.cpp:105
#16 0x0639bc9a in QMetaObject::metacall (object=0x9e37038, cl=QMetaObject::InvokeMetaMethod, idx=35, argv=0xbfb9ba68) at kernel/qmetaobject.cpp:237
#17 0x063aa3d5 in QMetaObject::activate (sender=0x9928968, m=0x444bd58, local_signal_index=1, argv=0xbfb9ba68) at kernel/qobject.cpp:3293
#18 0x03b1cbd9 in QAction::triggered (this=0x9928968, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
#19 0x03b1edcc in QAction::activate (this=0x9928968, event=QAction::Trigger) at kernel/qaction.cpp:1255
#20 0x03fc260c in QMenuPrivate::activateCausedStack (this=0x9030470, causedStack=..., action=0x9928968, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1011
#21 0x03fc8abb in QMenuPrivate::activateAction (this=0x9030470, action=0x9928968, action_e=QAction::Trigger, self=<value optimized out>) at widgets/qmenu.cpp:1103
#22 0x03fc9ac7 in QMenu::mouseReleaseEvent (this=0x9e37038, e=0xbfb9c270) at widgets/qmenu.cpp:2312
#23 0x03b817f8 in QWidget::event (this=0x9e37038, event=0xbfb9c270) at kernel/qwidget.cpp:7998
#24 0x03fcb0cc in QMenu::event (this=0x9e37038, e=0xbfb9c270) at widgets/qmenu.cpp:2414
#25 0x03b234dc in QApplicationPrivate::notify_helper (this=0x8d9d980, receiver=0x9e37038, e=0xbfb9c270) at kernel/qapplication.cpp:4300
#26 0x03b2a9f7 in QApplication::notify (this=0xbfb9dae8, receiver=0x9e37038, e=0xbfb9c270) at kernel/qapplication.cpp:3865
#27 0x00d03f2a in KApplication::notify (this=0xbfb9dae8, receiver=0x9e37038, event=0xbfb9c270) at ../../kdeui/kernel/kapplication.cpp:302
#28 0x00a7fdef in KWin::Application::notify (this=0xbfb9dae8, o=0x9e37038, e=0xbfb9c270) at ../../kwin/main.cpp:370
#29 0x06396a3b in QCoreApplication::notifyInternal (this=0xbfb9dae8, receiver=0x9e37038, event=0xbfb9c270) at kernel/qcoreapplication.cpp:704
#30 0x03b29952 in QCoreApplication::sendEvent (receiver=0x9e37038, event=0xbfb9c270, alienWidget=0x0, nativeWidget=0x9e37038, buttonDown=0x4467058, lastMouseReceiver=..., spontaneous=true)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#31 QApplicationPrivate::sendMouseEvent (receiver=0x9e37038, event=0xbfb9c270, alienWidget=0x0, nativeWidget=0x9e37038, buttonDown=0x4467058, lastMouseReceiver=..., spontaneous=true)
    at kernel/qapplication.cpp:2965
#32 0x03bb55cf in QETWidget::translateMouseEvent (this=0x9e37038, event=0xbfb9c78c) at kernel/qapplication_x11.cpp:4302
#33 0x03bb4511 in QApplication::x11ProcessEvent (this=0xbfb9dae8, event=0xbfb9c78c) at kernel/qapplication_x11.cpp:3379
#34 0x03be360a in x11EventSourceDispatch (s=0x8da0be8, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#35 0x021ec5e5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#36 0x021f02d8 in ?? () from /lib/libglib-2.0.so.0
#37 0x021f04b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#38 0x063c25d5 in QEventDispatcherGlib::processEvents (this=0x8d87f58, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#39 0x03be3135 in QGuiEventDispatcherGlib::processEvents (this=0x8d87f58, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#40 0x06395059 in QEventLoop::processEvents (this=0xbfb9ca80, flags=) at kernel/qeventloop.cpp:149
#41 0x063954aa in QEventLoop::exec (this=0xbfb9ca80, flags=...) at kernel/qeventloop.cpp:201
#42 0x03fc5dde in QMenu::exec (this=0x9933968, p=..., action=0x0) at widgets/qmenu.cpp:2063
#43 0x00acb6da in KWin::Workspace::showWindowMenu (this=0x8eb60d0, pos=..., cl=0x9c25f10) at ../../kwin/useractions.cpp:1586
#44 0x00acb731 in KWin::Workspace::showWindowMenu (this=0x8eb60d0) at ../../kwin/workspace.h:1112
#45 KWin::Workspace::slotWindowOperations (this=0x8eb60d0) at ../../kwin/useractions.cpp:1564
#46 0x00a63006 in KWin::Workspace::qt_metacall (this=0x8eb60d0, _c=QMetaObject::InvokeMetaMethod, _id=117, _a=0xbfb9ccb8) at ./workspace.moc:479
#47 0x0639bc9a in QMetaObject::metacall (object=0x8eb60d0, cl=QMetaObject::InvokeMetaMethod, idx=117, argv=0xbfb9ccb8) at kernel/qmetaobject.cpp:237
#48 0x063aa3d5 in QMetaObject::activate (sender=0x8fc55a8, m=0x444bd58, local_signal_index=1, argv=0xbfb9ccb8) at kernel/qobject.cpp:3293
#49 0x03b1cbd9 in QAction::triggered (this=0x8fc55a8, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
#50 0x03b1edcc in QAction::activate (this=0x8fc55a8, event=QAction::Trigger) at kernel/qaction.cpp:1255
#51 0x00d61021 in QAction::trigger (this=0x9054528, actionId=..., timestamp=<value optimized out>) at /usr/include/qt4/QtGui/qaction.h:218
#52 KGlobalAccelPrivate::_k_invokeAction (this=0x9054528, actionId=..., timestamp=<value optimized out>) at ../../kdeui/shortcuts/kglobalaccel.cpp:412
#53 0x00d669ba in KGlobalAccel::qt_metacall (this=0x8fe8328, _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0xbfb9cec4) at ./kglobalaccel.moc:76
#54 0x0639bc9a in QMetaObject::metacall (object=0x8fe8328, cl=QMetaObject::InvokeMetaMethod, idx=4, argv=0xbfb9cec4) at kernel/qmetaobject.cpp:237
#55 0x063aa3d5 in QMetaObject::activate (sender=0x905453c, m=0xed3604, local_signal_index=0, argv=0xbfb9cec4) at kernel/qobject.cpp:3293
#56 0x00e84155 in OrgKdeKGlobalAccelInterface::invokeAction (this=0x905453c, _t1=..., _t2=7427099) at kglobalaccel_interface.moc:158
#57 0x00e845fa in OrgKdeKGlobalAccelInterface::qt_metacall (this=0x905453c, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0xbfb9d1ec) at kglobalaccel_interface.moc:115
#58 0x05a16b34 in QDBusConnectionPrivate::deliverCall (this=0x8ddb610, object=0x905453c, msg=..., metaTypes=..., slotIdx=5) at qdbusintegrator.cpp:904
#59 0x05a21ea7 in QDBusCallDeliveryEvent::placeMetaCall (this=0x9e39f70, object=0x905453c) at qdbusintegrator_p.h:101
#60 0x063a73fe in QObject::event (this=0x905453c, e=0x9e39f70) at kernel/qobject.cpp:1248
#61 0x03b234dc in QApplicationPrivate::notify_helper (this=0x8d9d980, receiver=0x905453c, e=0x9e39f70) at kernel/qapplication.cpp:4300
#62 0x03b2a05e in QApplication::notify (this=0xbfb9dae8, receiver=0x905453c, e=0x9e39f70) at kernel/qapplication.cpp:3704
#63 0x00d03f2a in KApplication::notify (this=0xbfb9dae8, receiver=0x905453c, event=0x9e39f70) at ../../kdeui/kernel/kapplication.cpp:302
#64 0x00a7fdef in KWin::Application::notify (this=0xbfb9dae8, o=0x905453c, e=0x9e39f70) at ../../kwin/main.cpp:370
#65 0x06396a3b in QCoreApplication::notifyInternal (this=0xbfb9dae8, receiver=0x905453c, event=0x9e39f70) at kernel/qcoreapplication.cpp:704
#66 0x06399473 in QCoreApplication::sendEvent (receiver=0x0, event_type=0, data=0x8d88388) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#67 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x8d88388) at kernel/qcoreapplication.cpp:1345
#68 0x063995dd in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1238
#69 0x063c2adf in QCoreApplication::sendPostedEvents (s=0x8d9fd10) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#70 postEventSourceDispatch (s=0x8d9fd10) at kernel/qeventdispatcher_glib.cpp:276
#71 0x021ec5e5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#72 0x021f02d8 in ?? () from /lib/libglib-2.0.so.0
#73 0x021f04b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#74 0x063c25d5 in QEventDispatcherGlib::processEvents (this=0x8d87f58, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#75 0x03be3135 in QGuiEventDispatcherGlib::processEvents (this=0x8d87f58, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#76 0x06395059 in QEventLoop::processEvents (this=0xbfb9da34, flags=) at kernel/qeventloop.cpp:149
#77 0x063954aa in QEventLoop::exec (this=0xbfb9da34, flags=...) at kernel/qeventloop.cpp:201
#78 0x0639969f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#79 0x03b23577 in QApplication::exec () at kernel/qapplication.cpp:3579
#80 0x00a81a00 in kdemain (argc=3, argv=0xbfb9dcf4) at ../../kwin/main.cpp:526
#81 0x0804860b in main (argc=3, argv=0xbfb9dcf4) at kwin_dummy.cpp:3

Possible duplicates by query: bug 240464, bug 222816.

Reported using DrKonqi
Comment 1 Martin Flöser 2010-06-06 20:36:00 UTC

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