Bug 230000 - Crash when selecting "Move window to group" [QString + , KWin::Client::caption, KWin::Workspace::groupTabPopupAboutToShow]
Summary: Crash when selecting "Move window to group" [QString + , KWin::Client::captio...
Status: RESOLVED FIXED
Alias: None
Product: kwin
Classification: Plasma
Component: window-tabbing (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
: 236752 243415 263717 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-03-08 22:08 UTC by Dima Ryazanov
Modified: 2012-02-11 15:31 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (7.51 KB, text/plain)
2011-05-22 01:21 UTC, JR
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dima Ryazanov 2010-03-08 22:08:45 UTC
Application: kwin (4.4.1 (KDE 4.4.1))
KDE Platform Version: 4.4.1 (KDE 4.4.1)
Qt Version: 4.6.2
Operating System: Linux 2.6.31-19-generic x86_64
Distribution: Ubuntu 9.10

-- Information about the crash:
I played with the window grouping feature for a bit - moved a window to a group, then closed it, etc. After a few times, KWin crashed while trying to display the "Move window to group" popup.

 -- Backtrace:
Application: KWin (kwin), signal: Segmentation fault
The current source language is "auto; currently c".
[KCrash Handler]
#5  QBasicAtomicInt::ref (this=0x1b62250, full=true) at /usr/include/qt4/QtCore/qatomic_x86_64.h:121
#6  QString (this=0x1b62250, full=true) at /usr/include/qt4/QtCore/qstring.h:715
#7  operator+ (this=0x1b62250, full=true) at /usr/include/qt4/QtCore/qstring.h:1010
#8  KWin::Client::caption (this=0x1b62250, full=true) at ../../kwin/client.cpp:1670
#9  0x00007f0c5567a46e in KWin::Workspace::groupTabPopupAboutToShow (this=0x1577420) at ../../kwin/useractions.cpp:402
#10 0x00007f0c5562cbec in KWin::Workspace::qt_metacall (this=0x1577420, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffd6f33540) at ./workspace.moc:513
#11 0x00007f0c51275c0f in QMetaObject::activate (sender=0x1fd2160, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x18ff520) at kernel/qobject.cpp:3293
#12 0x00007f0c51dee122 in QMenu::popup (this=0x1fd2160, p=..., atAction=<value optimized out>) at widgets/qmenu.cpp:1823
#13 0x00007f0c51df08c6 in QMenu::internalDelayedPopup (this=0x2274610) at widgets/qmenu.cpp:3007
#14 0x00007f0c51df0e24 in QMenu::timerEvent (this=0x2274610, e=<value optimized out>) at widgets/qmenu.cpp:2848
#15 0x00007f0c51272863 in QObject::event (this=0x2274610, e=0x7fffd6f341e0) at kernel/qobject.cpp:1212
#16 0x00007f0c51a06b5f in QWidget::event (this=0x2274610, event=0x7fffd6f341e0) at kernel/qwidget.cpp:8455
#17 0x00007f0c51df35db in QMenu::event (this=0x2274610, e=0x7fffd6f341e0) at widgets/qmenu.cpp:2414
#18 0x00007f0c519b112c in QApplicationPrivate::notify_helper (this=0x12b7e50, receiver=0x2274610, e=0x7fffd6f341e0) at kernel/qapplication.cpp:4300
#19 0x00007f0c519b771b in QApplication::notify (this=0x7fffd6f359e0, receiver=0x2274610, e=0x7fffd6f341e0) at kernel/qapplication.cpp:4183
#20 0x00007f0c54e71d76 in KApplication::notify (this=0x7fffd6f359e0, receiver=0x2274610, event=0x7fffd6f341e0) at ../../kdeui/kernel/kapplication.cpp:302
#21 0x00007f0c51262e0c in QCoreApplication::notifyInternal (this=0x7fffd6f359e0, receiver=0x2274610, event=0x7fffd6f341e0) at kernel/qcoreapplication.cpp:704
#22 0x00007f0c5128fa62 in QCoreApplication::sendEvent (this=0x12bbb00) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#23 QTimerInfoList::activateTimers (this=0x12bbb00) at kernel/qeventdispatcher_unix.cpp:603
#24 0x00007f0c5128c668 in timerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:184
#25 idleTimerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:231
#26 0x00007f0c49dcbbce in g_main_dispatch (context=0x12ba880) at /build/buildd/glib2.0-2.22.3/glib/gmain.c:1960
#27 IA__g_main_context_dispatch (context=0x12ba880) at /build/buildd/glib2.0-2.22.3/glib/gmain.c:2513
#28 0x00007f0c49dcf598 in g_main_context_iterate (context=0x12ba880, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>)
    at /build/buildd/glib2.0-2.22.3/glib/gmain.c:2591
#29 0x00007f0c49dcf6c0 in IA__g_main_context_iteration (context=0x12ba880, may_block=1) at /build/buildd/glib2.0-2.22.3/glib/gmain.c:2654
#30 0x00007f0c5128c333 in QEventDispatcherGlib::processEvents (this=0x129ed70, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#31 0x00007f0c51a60f0e in QGuiEventDispatcherGlib::processEvents (this=0x7fffd6f33430, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#32 0x00007f0c51261732 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#33 0x00007f0c51261b0c in QEventLoop::exec (this=0x7fffd6f34480, flags=) at kernel/qeventloop.cpp:201
#34 0x00007f0c51deea05 in QMenu::exec (this=0x2274610, p=<value optimized out>, action=0x0) at widgets/qmenu.cpp:2063
#35 0x00007f0c556865e3 in KWin::Workspace::showWindowMenu (this=0x1577420, pos=..., cl=<value optimized out>) at ../../kwin/useractions.cpp:1586
#36 0x00007f0c5563b2a7 in KWin::Workspace::showWindowMenu (this=<value optimized out>, c=<value optimized out>, pos=<value optimized out>) at ../../kwin/workspace.h:1107
#37 KWin::ClientGroup::displayClientMenu (this=<value optimized out>, c=<value optimized out>, pos=<value optimized out>) at ../../kwin/clientgroup.cpp:250
#38 0x00007f0c441a42b9 in Oxygen::OxygenClient::mousePressEvent (this=0x18ec310, event=0x7fffd6f34cd0) at ../../../../kwin/clients/oxygen/oxygenclient.cpp:1470
#39 0x00007f0c441a4500 in Oxygen::OxygenClient::eventFilter (this=0x18ec310, object=0x190ee90, event=0x7fffd6f34cd0) at ../../../../kwin/clients/oxygen/oxygenclient.cpp:1267
#40 0x00007f0c51262227 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<value optimized out>, receiver=0x190ee90, event=0x7fffd6f34cd0) at kernel/qcoreapplication.cpp:819
#41 0x00007f0c519b10fc in QApplicationPrivate::notify_helper (this=0x12b7e50, receiver=0x190ee90, e=0x7fffd6f34cd0) at kernel/qapplication.cpp:4296
#42 0x00007f0c519b7efb in QApplication::notify (this=0x7fffd6f359e0, receiver=0x190ee90, e=0x7fffd6f34cd0) at kernel/qapplication.cpp:3865
#43 0x00007f0c54e71d76 in KApplication::notify (this=0x7fffd6f359e0, receiver=0x190ee90, event=0x7fffd6f34cd0) at ../../kdeui/kernel/kapplication.cpp:302
#44 0x00007f0c51262e0c in QCoreApplication::notifyInternal (this=0x7fffd6f359e0, receiver=0x190ee90, event=0x7fffd6f34cd0) at kernel/qcoreapplication.cpp:704
#45 0x00007f0c519b70d6 in QCoreApplication::sendEvent (receiver=0x190ee90, event=0x7fffd6f34cd0, alienWidget=0x0, nativeWidget=0x190ee90, buttonDown=<value optimized out>, 
    lastMouseReceiver=<value optimized out>, spontaneous=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#46 QApplicationPrivate::sendMouseEvent (receiver=0x190ee90, event=0x7fffd6f34cd0, alienWidget=0x0, nativeWidget=0x190ee90, buttonDown=<value optimized out>, lastMouseReceiver=<value optimized out>, 
    spontaneous=true) at kernel/qapplication.cpp:2965
#47 0x00007f0c51a36c65 in QETWidget::translateMouseEvent (this=0x190ee90, event=<value optimized out>) at kernel/qapplication_x11.cpp:4368
#48 0x00007f0c51a3597a in QApplication::x11ProcessEvent (this=<value optimized out>, event=0x7fffd6f355f0) at kernel/qapplication_x11.cpp:3501
#49 0x00007f0c51a61322 in x11EventSourceDispatch (s=0x12bbbd0, callback=<value optimized out>, user_data=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:146
#50 0x00007f0c49dcbbce in g_main_dispatch (context=0x12ba880) at /build/buildd/glib2.0-2.22.3/glib/gmain.c:1960
#51 IA__g_main_context_dispatch (context=0x12ba880) at /build/buildd/glib2.0-2.22.3/glib/gmain.c:2513
#52 0x00007f0c49dcf598 in g_main_context_iterate (context=0x12ba880, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>)
    at /build/buildd/glib2.0-2.22.3/glib/gmain.c:2591
#53 0x00007f0c49dcf6c0 in IA__g_main_context_iteration (context=0x12ba880, may_block=1) at /build/buildd/glib2.0-2.22.3/glib/gmain.c:2654
#54 0x00007f0c5128c333 in QEventDispatcherGlib::processEvents (this=0x129ed70, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#55 0x00007f0c51a60f0e in QGuiEventDispatcherGlib::processEvents (this=0x7fffd6f33430, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#56 0x00007f0c51261732 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#57 0x00007f0c51261b0c in QEventLoop::exec (this=0x7fffd6f35920, flags=) at kernel/qeventloop.cpp:201
#58 0x00007f0c5126584b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#59 0x00007f0c556465ae in kdemain (argc=<value optimized out>, argv=<value optimized out>) at ../../kwin/main.cpp:526
#60 0x00007f0c552a6abd in __libc_start_main (main=<value optimized out>, argc=<value optimized out>, ubp_av=<value optimized out>, init=<value optimized out>, fini=<value optimized out>, 
    rtld_fini=<value optimized out>, stack_end=0x7fffd6f35ee8) at libc-start.c:220
#61 0x0000000000400679 in _start () at ../sysdeps/x86_64/elf/start.S:113

Possible duplicates by query: bug 224229, bug 218859, bug 195058.

Reported using DrKonqi
Comment 1 Martin Flöser 2010-05-07 20:51:53 UTC
*** Bug 236752 has been marked as a duplicate of this bug. ***
Comment 2 Martin Flöser 2010-07-02 22:06:27 UTC
*** Bug 243415 has been marked as a duplicate of this bug. ***
Comment 3 Daniel Raniz Raneland 2011-01-17 08:38:26 UTC
Have the same issue here but with a different stacktrace. Preconditions are the same though; Kwin crashes when hovering the "Move Window to Group" menu item.

Distribution: Gentoo Linux
Kernel version: 2.6.36-zen1+
KDE version: 4.5.4
QT version: 4.7.1

Stacktrace:
Application: KWin (kwin), signal: Segmentation fault
[KCrash Handler]
#6  0x00007fa26ad1582a in ?? () from /usr/lib/libkdeinit4_kwin.so
#7  0x00007fa26ad613fe in ?? () from /usr/lib/libkdeinit4_kwin.so
#8  0x00007fa26ad0dbb4 in ?? () from /usr/lib/libkdeinit4_kwin.so
#9  0x00007fa2671f823f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/qt4/libQtCore.so.4
#10 0x00007fa2667aaa52 in QMenu::popup(QPoint const&, QAction*) () from /usr/lib64/qt4/libQtGui.so.4
#11 0x00007fa2667ad066 in QMenu::internalDelayedPopup() () from /usr/lib64/qt4/libQtGui.so.4
#12 0x00007fa2667ad5c4 in QMenu::timerEvent(QTimerEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#13 0x00007fa2671f2009 in QObject::event(QEvent*) () from /usr/lib64/qt4/libQtCore.so.4
#14 0x00007fa2663c06df in QWidget::event(QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#15 0x00007fa2667afd1b in QMenu::event(QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#16 0x00007fa26636b39c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#17 0x00007fa2663707dd in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#18 0x00007fa26a549ea6 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#19 0x00007fa2671e05eb in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/qt4/libQtCore.so.4
#20 0x00007fa26720f71a in ?? () from /usr/lib64/qt4/libQtCore.so.4
#21 0x00007fa26720f8fc in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#22 0x00007fa26641db7d in ?? () from /usr/lib64/qt4/libQtGui.so.4
#23 0x00007fa2671df342 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#24 0x00007fa2671df724 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#25 0x00007fa2667ab325 in QMenu::exec(QPoint const&, QAction*) () from /usr/lib64/qt4/libQtGui.so.4
#26 0x00007fa26ad6f0fd in ?? () from /usr/lib/libkdeinit4_kwin.so
#27 0x00007fa26ad1e0f7 in ?? () from /usr/lib/libkdeinit4_kwin.so
#28 0x00007fa256608269 in ?? () from /usr/lib64/kde4/kwin3_oxygen.so
#29 0x00007fa2566084b0 in ?? () from /usr/lib64/kde4/kwin3_oxygen.so
#30 0x00007fa2671dfe36 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib64/qt4/libQtCore.so.4
#31 0x00007fa26636b36c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#32 0x00007fa26637101b in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#33 0x00007fa26a549ea6 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#34 0x00007fa2671e05eb in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/qt4/libQtCore.so.4
#35 0x00007fa26636f882 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib64/qt4/libQtGui.so.4
#36 0x00007fa2663f3fc4 in ?? () from /usr/lib64/qt4/libQtGui.so.4
#37 0x00007fa2663f3060 in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#38 0x00007fa26641dab7 in ?? () from /usr/lib64/qt4/libQtGui.so.4
#39 0x00007fa2671df342 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#40 0x00007fa2671df724 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#41 0x00007fa2671e379b in QCoreApplication::exec() () from /usr/lib64/qt4/libQtCore.so.4
#42 0x00007fa26ad2a40d in kdemain () from /usr/lib/libkdeinit4_kwin.so
#43 0x00007fa26a98dd2d in __libc_start_main () from /lib/libc.so.6
#44 0x0000000000400789 in _start ()
Comment 4 Thomas Lübking 2011-01-20 13:56:19 UTC
*** Bug 263717 has been marked as a duplicate of this bug. ***
Comment 5 Martin Flöser 2011-05-07 12:35:11 UTC
Many crashes in relation to window grouping have been fixed. I assume this one is fixed as well as we have not received any new duplicate after 4.6. If anyone is still able to reproduce with latest KDE version, please reopen.
Comment 6 JR 2011-05-22 01:21:00 UTC
Created attachment 60210 [details]
New crash information added by DrKonqi

kwin (4.6.3 (4.6.3)) on KDE Platform 4.6.3 (4.6.3) using Qt 4.7.2

- What I was doing when the application crashed:

Navigating to the Move Window to Group menu.

-- Backtrace (Reduced):
#6  ref (this=0x35c9540, full=true) at /usr/include/qt4/QtCore/qatomic_x86_64.h:121
#7  QString (this=0x35c9540, full=true) at /usr/include/qt4/QtCore/qstring.h:729
#8  operator+ (this=0x35c9540, full=true) at /usr/include/qt4/QtCore/qstring.h:1024
#9  KWin::Client::caption (this=0x35c9540, full=true) at ../../kwin/client.cpp:1855
#10 0x00007f7501222f64 in KWin::Workspace::groupTabPopupAboutToShow (this=0x1029500) at ../../kwin/useractions.cpp:448
Comment 7 Martin Flöser 2011-05-22 08:31:46 UTC
reopened due to new backtrace in #6. Here the full log:

Application: kwin (4.6.3 (4.6.3))
KDE Platform Version: 4.6.3 (4.6.3)
Qt Version: 4.7.2
Operating System: Linux 2.6.39-0-generic x86_64
Distribution: Ubuntu 11.04

-- Information about the crash:
- What I was doing when the application crashed:

Navigating to the Move Window to Group menu.

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

Thread 2 (Thread 0x7f74e4895700 (LWP 2100)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f74ffd372a2 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x7f7500050180) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#2  0x00007f74ffd372d9 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=0x7f750005e254) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#3  0x00007f74fe732853 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#4  0x00007f74f7803d8c in start_thread (arg=0x7f74e4895700) at pthread_create.c:304
#5  0x00007f7500ed904d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#6  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f750167f7c0 (LWP 2090)):
[KCrash Handler]
#6  ref (this=0x35c9540, full=true) at /usr/include/qt4/QtCore/qatomic_x86_64.h:121
#7  QString (this=0x35c9540, full=true) at /usr/include/qt4/QtCore/qstring.h:729
#8  operator+ (this=0x35c9540, full=true) at /usr/include/qt4/QtCore/qstring.h:1024
#9  KWin::Client::caption (this=0x35c9540, full=true) at ../../kwin/client.cpp:1855
#10 0x00007f7501222f64 in KWin::Workspace::groupTabPopupAboutToShow (this=0x1029500) at ../../kwin/useractions.cpp:448
#11 0x00007f75011c347f in KWin::Workspace::qt_metacall (this=0x1029500, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff18fd4600) at ./workspace.moc:580
#12 0x00007f74fd20c5f8 in QMetaObject::activate (sender=0x3af38f0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3287
#13 0x00007f74fc9f7112 in QMenu::popup (this=0x3af38f0, p=..., atAction=0x0) at widgets/qmenu.cpp:1819
#14 0x00007f74fc9f97fe in QMenu::internalDelayedPopup (this=0x25bfd50) at widgets/qmenu.cpp:3011
#15 0x00007f74fc9f9cb4 in QMenu::timerEvent (this=0x25bfd50, e=<value optimized out>) at widgets/qmenu.cpp:2851
#16 0x00007f74fd20b1c9 in QObject::event (this=0x25bfd50, e=<value optimized out>) at kernel/qobject.cpp:1190
#17 0x00007f74fc60966d in QWidget::event (this=0x25bfd50, event=0x7fff18fd5250) at kernel/qwidget.cpp:8718
#18 0x00007f74fc9fb49b in QMenu::event (this=0x25bfd50, e=0x7fff18fd5250) at widgets/qmenu.cpp:2415
#19 0x00007f74fc5b89e4 in QApplicationPrivate::notify_helper (this=0x108af60, receiver=0x25bfd50, e=0x7fff18fd5250) at kernel/qapplication.cpp:4462
#20 0x00007f74fc5bd3aa in QApplication::notify (this=<value optimized out>, receiver=0x25bfd50, e=0x7fff18fd5250) at kernel/qapplication.cpp:4341
#21 0x00007f75009d4196 in KApplication::notify (this=0x7fff18fd6d60, receiver=0x25bfd50, event=0x7fff18fd5250) at ../../kdeui/kernel/kapplication.cpp:311
#22 0x00007f74fd1f749c in QCoreApplication::notifyInternal (this=0x7fff18fd6d60, receiver=0x25bfd50, event=0x7fff18fd5250) at kernel/qcoreapplication.cpp:731
#23 0x00007f74fd224f12 in sendEvent (this=0x108bb20) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#24 QTimerInfoList::activateTimers (this=0x108bb20) at kernel/qeventdispatcher_unix.cpp:604
#25 0x00007f74fd22505b in QEventDispatcherUNIX::processEvents (this=0xff0340, flags=...) at kernel/qeventdispatcher_unix.cpp:923
#26 0x00007f74fc660c0c in QEventDispatcherX11::processEvents (this=0xff0340, flags=...) at kernel/qeventdispatcher_x11.cpp:152
#27 0x00007f74fd1f6882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#28 0x00007f74fd1f6abc in QEventLoop::exec (this=0x7fff18fd5590, flags=...) at kernel/qeventloop.cpp:201
#29 0x00007f74fc9f7a11 in QMenu::exec (this=0x25bfd50, p=..., action=0x0) at widgets/qmenu.cpp:2059
#30 0x00007f75012242bd in KWin::Workspace::showWindowMenu (this=0x1029500, pos=..., cl=<value optimized out>) at ../../kwin/useractions.cpp:1738
#31 0x00007f74ff55647b in KCommonDecoration::menuButtonPressed (this=0x1f1f450) at ../../../kwin/lib/kcommondecoration.cpp:717
#32 0x00007f74ff55669c in KCommonDecoration::qt_metacall (this=0x1f1f450, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff18fd5820) at ./kcommondecoration.moc:118
#33 0x00007f74e6f015a5 in Oxygen::Client::qt_metacall (this=0x1f1f450, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff18fd5820) at ./oxygenclient.moc:79
#34 0x00007f74fd20c5f8 in QMetaObject::activate (sender=0x2b83df0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3287
#35 0x00007f74fc9778d1 in QAbstractButtonPrivate::emitPressed (this=<value optimized out>) at widgets/qabstractbutton.cpp:560
#36 0x00007f74fc97832c in QAbstractButton::mousePressEvent (this=0x2b83df0, e=0x7fff18fd58c0) at widgets/qabstractbutton.cpp:1096
#37 0x00007f74ff553f39 in KCommonDecorationButton::mousePressEvent (this=0x2b83df0, e=<value optimized out>) at ../../../kwin/lib/kcommondecoration.cpp:1019
#38 0x00007f74fc609fa1 in QWidget::event (this=0x2b83df0, event=0x7fff18fd61c0) at kernel/qwidget.cpp:8255
#39 0x00007f74fc5b89e4 in QApplicationPrivate::notify_helper (this=0x108af60, receiver=0x2b83df0, e=0x7fff18fd61c0) at kernel/qapplication.cpp:4462
#40 0x00007f74fc5bddb3 in QApplication::notify (this=<value optimized out>, receiver=0x2b83df0, e=0x7fff18fd61c0) at kernel/qapplication.cpp:4023
#41 0x00007f75009d4196 in KApplication::notify (this=0x7fff18fd6d60, receiver=0x2b83df0, event=0x7fff18fd61c0) at ../../kdeui/kernel/kapplication.cpp:311
#42 0x00007f74fd1f749c in QCoreApplication::notifyInternal (this=0x7fff18fd6d60, receiver=0x2b83df0, event=0x7fff18fd61c0) at kernel/qcoreapplication.cpp:731
#43 0x00007f74fc5b9a0d in sendEvent (receiver=0x2b83df0, event=0x7fff18fd61c0, alienWidget=0x0, nativeWidget=0x2b83df0, buttonDown=0x7f74fd099218, lastMouseReceiver=..., spontaneous=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#44 QApplicationPrivate::sendMouseEvent (receiver=0x2b83df0, event=0x7fff18fd61c0, alienWidget=0x0, nativeWidget=0x2b83df0, buttonDown=0x7f74fd099218, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3122
#45 0x00007f74fc639600 in QETWidget::translateMouseEvent (this=0x2b83df0, event=<value optimized out>) at kernel/qapplication_x11.cpp:4556
#46 0x00007f74fc63804a in QApplication::x11ProcessEvent (this=0x7fff18fd6d60, event=0x7fff18fd6b20) at kernel/qapplication_x11.cpp:3678
#47 0x00007f74fc660b44 in QEventDispatcherX11::processEvents (this=0xff0340, flags=...) at kernel/qeventdispatcher_x11.cpp:132
#48 0x00007f74fd1f6882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#49 0x00007f74fd1f6abc in QEventLoop::exec (this=0x7fff18fd6ca0, flags=...) at kernel/qeventloop.cpp:201
#50 0x00007f74fd1faecb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#51 0x00007f75011e010c in kdemain (argc=<value optimized out>, argv=0x7fff18fd73f8) at ../../kwin/main.cpp:542
#52 0x00007f7500e11eff in __libc_start_main (main=0x400740 <main(int, char**)>, argc=1, ubp_av=0x7fff18fd73f8, init=<value optimized out>, fini=<value optimized out>, rtld_fini=<value optimized out>, stack_end=0x7fff18fd73e8) at libc-start.c:226
#53 0x0000000000400669 in _start ()

Possible duplicates by query: bug 265824, bug 263717, bug 262340, bug 257697, bug 257390.

Reported using DrKonqi
Comment 8 Martin Flöser 2011-05-22 10:35:06 UTC
Here the crashing code fragment:

QString Client::caption(bool full) const
{
    return full ? cap_normal + cap_suffix : cap_normal;
}

Looks very much like a Qt bug (as I don't see how this could crash). Maybe we can allocate the QString in a more safe way, but that requires a reliable way to reproduce.
Comment 9 Thomas Lübking 2011-05-22 19:28:07 UTC
rather a dangeling Client pointer? (thus invalid member access)
Comment 10 Martin Flöser 2011-05-22 19:46:16 UTC
could be as it comes out of the event loop. Thought the pointer looks fine and I would expect the backtrace to not go into QString at all.

We need a way to reproduce to really understand it.
Comment 11 Thomas Lübking 2012-02-11 15:03:16 UTC
Git commit 94b2ad7b85801e37e2df4671cdc4f26b6d7e5506 by Thomas Lübking.
Committed on 12/01/2012 at 07:42.
Pushed by luebking into branch 'master'.

fix tabbing
Related: bug 290959, bug 265160, bug 229292, bug 238279, bug 290758, bug 222831, bug 278275, bug 245747, bug 253697, bug 230570, bug 265977, bug 225337, bug 225339

REVIEW: 103855

M  +1    -1    kwin/CMakeLists.txt
M  +2    -2    kwin/activation.cpp
M  +92   -51   kwin/bridge.cpp
M  +17   -11   kwin/bridge.h
M  +77   -47   kwin/client.cpp
M  +21   -12   kwin/client.h
D  +0    -357  kwin/clientgroup.cpp
D  +0    -266  kwin/clientgroup.h
M  +0    -1    kwin/clients/CMakeLists.txt
M  +2    -2    kwin/clients/aurorae/src/aurorae.cpp
M  +51   -62   kwin/clients/oxygen/oxygenclient.cpp
M  +4    -4    kwin/clients/oxygen/oxygenclient.h
M  +3    -3    kwin/clients/oxygen/oxygenclientgroupitemdata.cpp
M  +1    -1    kwin/clients/oxygen/oxygenclientgroupitemdata.h
M  +1    -1    kwin/clients/oxygen/oxygenfactory.cpp
D  +0    -15   kwin/clients/tabstrip/CMakeLists.txt
D  +0    -10   kwin/clients/tabstrip/config/CMakeLists.txt
D  +0    -96   kwin/clients/tabstrip/config/tabstripconfig.cpp
D  +0    -56   kwin/clients/tabstrip/config/tabstripconfig.h
D  +0    -78   kwin/clients/tabstrip/config/tabstripconfig.ui
D  +0    -63   kwin/clients/tabstrip/tabstrip.desktop
D  +0    -317  kwin/clients/tabstrip/tabstripbutton.cpp
D  +0    -55   kwin/clients/tabstrip/tabstripbutton.h
D  +0    -443  kwin/clients/tabstrip/tabstripdecoration.cpp
D  +0    -60   kwin/clients/tabstrip/tabstripdecoration.h
D  +0    -113  kwin/clients/tabstrip/tabstripfactory.cpp
D  +0    -63   kwin/clients/tabstrip/tabstripfactory.h
M  +12   -10   kwin/effects.cpp
M  +3    -3    kwin/effects.h
M  +1    -1    kwin/effects/boxswitch/boxswitch.cpp
M  +4    -4    kwin/effects/desktopgrid/desktopgrid.cpp
M  +2    -2    kwin/effects/flipswitch/flipswitch.cpp
M  +3    -3    kwin/effects/highlightwindow/highlightwindow.cpp
M  +3    -3    kwin/effects/presentwindows/presentwindows.cpp
M  +1    -1    kwin/effects/slideback/slideback.cpp
M  +3    -3    kwin/events.cpp
M  +15   -15   kwin/geometry.cpp
M  +19   -14   kwin/kcmkwin/kwindecoration/preview.cpp
M  +12   -11   kwin/kcmkwin/kwindecoration/preview.h
M  +3    -3    kwin/kwinbindings.cpp
M  +4    -4    kwin/layers.cpp
M  +27   -22   kwin/libkdecorations/kcommondecoration.cpp
M  +13   -11   kwin/libkdecorations/kcommondecoration.h
M  +31   -24   kwin/libkdecorations/kdecoration.cpp
M  +45   -52   kwin/libkdecorations/kdecoration.h
M  +15   -11   kwin/libkdecorations/kdecorationbridge.h
M  +1    -1    kwin/libkwineffects/kwineffects.cpp
M  +5    -5    kwin/libkwineffects/kwineffects.h
M  +92   -25   kwin/manage.cpp
M  +5    -5    kwin/options.cpp
M  +2    -2    kwin/options.h
M  +2    -2    kwin/scene.cpp
M  +1    -1    kwin/scene.h
M  +1    -16   kwin/scripting/meta.cpp
M  +0    -11   kwin/scripting/meta.h
M  +0    -4    kwin/scripting/workspace_wrapper.cpp
M  +0    -4    kwin/scripting/workspace_wrapper.h
M  +11   -13   kwin/sm.cpp
M  +2    -2    kwin/sm.h
A  +295  -0    kwin/tabgroup.cpp     [License: GPL (v2)]
A  +186  -0    kwin/tabgroup.h     [License: GPL (v2)]
M  +4    -0    kwin/toplevel.cpp
M  +122  -166  kwin/useractions.cpp
M  +8    -90   kwin/workspace.cpp
M  +13   -31   kwin/workspace.h

http://commits.kde.org/kde-workspace/94b2ad7b85801e37e2df4671cdc4f26b6d7e5506
Comment 12 Thomas Lübking 2012-02-11 15:31:02 UTC
Git commit 206257d750ca75e9b666acfc1413781614ab9a2d by Thomas Lübking.
Committed on 12/01/2012 at 07:42.
Pushed by luebking into branch 'master'.

fix tabbing
Related: bug 290959, bug 265160, bug 229292, bug 238279, bug 290758, bug 222831, bug 278275, bug 245747, bug 253697, bug 230570, bug 265977, bug 225337, bug 225339

REVIEW: 103855

M  +1    -1    kwin/CMakeLists.txt
M  +2    -2    kwin/activation.cpp
M  +92   -51   kwin/bridge.cpp
M  +17   -11   kwin/bridge.h
M  +77   -47   kwin/client.cpp
M  +21   -12   kwin/client.h
D  +0    -357  kwin/clientgroup.cpp
D  +0    -266  kwin/clientgroup.h
M  +0    -1    kwin/clients/CMakeLists.txt
M  +2    -2    kwin/clients/aurorae/src/aurorae.cpp
M  +51   -62   kwin/clients/oxygen/oxygenclient.cpp
M  +4    -4    kwin/clients/oxygen/oxygenclient.h
M  +3    -3    kwin/clients/oxygen/oxygenclientgroupitemdata.cpp
M  +1    -1    kwin/clients/oxygen/oxygenclientgroupitemdata.h
M  +1    -1    kwin/clients/oxygen/oxygenfactory.cpp
D  +0    -15   kwin/clients/tabstrip/CMakeLists.txt
D  +0    -10   kwin/clients/tabstrip/config/CMakeLists.txt
D  +0    -96   kwin/clients/tabstrip/config/tabstripconfig.cpp
D  +0    -56   kwin/clients/tabstrip/config/tabstripconfig.h
D  +0    -78   kwin/clients/tabstrip/config/tabstripconfig.ui
D  +0    -63   kwin/clients/tabstrip/tabstrip.desktop
D  +0    -317  kwin/clients/tabstrip/tabstripbutton.cpp
D  +0    -55   kwin/clients/tabstrip/tabstripbutton.h
D  +0    -443  kwin/clients/tabstrip/tabstripdecoration.cpp
D  +0    -60   kwin/clients/tabstrip/tabstripdecoration.h
D  +0    -113  kwin/clients/tabstrip/tabstripfactory.cpp
D  +0    -63   kwin/clients/tabstrip/tabstripfactory.h
M  +12   -10   kwin/effects.cpp
M  +3    -3    kwin/effects.h
M  +1    -1    kwin/effects/boxswitch/boxswitch.cpp
M  +4    -4    kwin/effects/desktopgrid/desktopgrid.cpp
M  +2    -2    kwin/effects/flipswitch/flipswitch.cpp
M  +3    -3    kwin/effects/highlightwindow/highlightwindow.cpp
M  +3    -3    kwin/effects/presentwindows/presentwindows.cpp
M  +1    -1    kwin/effects/slideback/slideback.cpp
M  +3    -3    kwin/events.cpp
M  +15   -15   kwin/geometry.cpp
M  +19   -14   kwin/kcmkwin/kwindecoration/preview.cpp
M  +12   -11   kwin/kcmkwin/kwindecoration/preview.h
M  +3    -3    kwin/kwinbindings.cpp
M  +4    -4    kwin/layers.cpp
M  +27   -22   kwin/libkdecorations/kcommondecoration.cpp
M  +13   -11   kwin/libkdecorations/kcommondecoration.h
M  +31   -24   kwin/libkdecorations/kdecoration.cpp
M  +45   -52   kwin/libkdecorations/kdecoration.h
M  +15   -11   kwin/libkdecorations/kdecorationbridge.h
M  +1    -1    kwin/libkwineffects/kwineffects.cpp
M  +5    -5    kwin/libkwineffects/kwineffects.h
M  +92   -25   kwin/manage.cpp
M  +5    -5    kwin/options.cpp
M  +2    -2    kwin/options.h
M  +2    -2    kwin/scene.cpp
M  +1    -1    kwin/scene.h
M  +1    -16   kwin/scripting/meta.cpp
M  +0    -11   kwin/scripting/meta.h
M  +0    -4    kwin/scripting/workspace_wrapper.cpp
M  +0    -4    kwin/scripting/workspace_wrapper.h
M  +11   -13   kwin/sm.cpp
M  +2    -2    kwin/sm.h
A  +295  -0    kwin/tabgroup.cpp     [License: GPL (v2)]
A  +186  -0    kwin/tabgroup.h     [License: GPL (v2)]
M  +4    -0    kwin/toplevel.cpp
M  +122  -166  kwin/useractions.cpp
M  +8    -90   kwin/workspace.cpp
M  +13   -31   kwin/workspace.h

http://commits.kde.org/kde-workspace/206257d750ca75e9b666acfc1413781614ab9a2d