Bug 238351 - Kwin crashes when shading tabbed windows with oxygen
Summary: Kwin crashes when shading tabbed windows with oxygen
Status: RESOLVED DUPLICATE of bug 238279
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-21 01:19 UTC by Hugo Pereira Da Costa
Modified: 2010-05-21 18:10 UTC (History)
1 user (show)

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 Hugo Pereira Da Costa 2010-05-21 01:19:47 UTC
Application: kwin (4.4.3 (KDE 4.4.3))
KDE Platform Version: 4.4.3 (KDE 4.4.3) (Compiled from sources)
Qt Version: 4.6.2
Operating System: Linux 2.6.33.4-desktop586-1mnb i686
Distribution: "Mandriva Linux 2010.1"

-- Information about the crash:
How to reproduce:
- use oxygen windeco (its the only deco that supports "per-application" decoration border size. 
- set a window exception (on e.g. konsole) to use a window border size different from the default
- group (tabs) two windows with different border sizes, 
- try shade the group (e.g. by double-click in the titlebar)
And kwin crashes. 


The crash can be reproduced every time.

 -- Backtrace:
Application: KWin (kwin), signal: Segmentation fault
[KCrash Handler]
#5  KWin::ClientGroup::updateStates (this=0x9cbc2b0, main=0x9cb64c8, only=0x0) at /home/hpereira/kde/src/workspace-4.4/kwin/clientgroup.cpp:285
#6  0xb76a2ddc in KWin::Client::setShade (this=0x9cb64c8, mode=KWin::ShadeNormal) at /home/hpereira/kde/src/workspace-4.4/kwin/client.cpp:1020
#7  0xb76a745d in KWin::ClientGroup::updateStates (this=0x9cbc2b0, main=0x9cd92f8, only=0x0) at /home/hpereira/kde/src/workspace-4.4/kwin/clientgroup.cpp:293
#8  0xb76a2ddc in KWin::Client::setShade (this=0x9cd92f8, mode=KWin::ShadeNormal) at /home/hpereira/kde/src/workspace-4.4/kwin/client.cpp:1020
#9  0xb76a3091 in KWin::Client::toggleShade (this=0x9cd92f8) at /home/hpereira/kde/src/workspace-4.4/kwin/client.cpp:1043
#10 0xb76fbea8 in KWin::Client::performMouseCommand (this=0x9cd92f8, command=KWin::Options::MouseShade, globalPos=..., handled=false) at /home/hpereira/kde/src/workspace-4.4/kwin/useractions.cpp:827
#11 0xb76fc711 in KWin::Workspace::performWindowOperation (this=0x98cc310, c=0x9cd92f8, op=KDecorationDefines::ShadeOp) at /home/hpereira/kde/src/workspace-4.4/kwin/useractions.cpp:737
#12 0xb76e2de9 in KWin::Bridge::titlebarDblClickOperation (this=0x9a6bdb8) at /home/hpereira/kde/src/workspace-4.4/kwin/bridge.cpp:133
#13 0xb761f997 in KDecoration::titlebarDblClickOperation (this=0x9dd57d8) at /home/hpereira/kde/src/workspace-4.4/kwin/lib/kdecoration.cpp:293
#14 0xb7625b90 in KCommonDecoration::titlebarDblClickOperation (this=0x9abe9c8) at /home/hpereira/kde/src/workspace-4.4/kwin/lib/kcommondecoration.cpp:1240
#15 0xb76266f8 in KCommonDecoration::mouseDoubleClickEvent (this=0x9abe9c8, e=0xbff5d840) at /home/hpereira/kde/src/workspace-4.4/kwin/lib/kcommondecoration.cpp:775
#16 0xb7625f8f in KCommonDecoration::eventFilter (this=0x9abe9c8, o=0x9d558c0, e=0xbff5d840) at /home/hpereira/kde/src/workspace-4.4/kwin/lib/kcommondecoration.cpp:889
#17 0xb7625feb in KCommonDecorationUnstable::eventFilter (this=0x9abe9c8, o=0x9d558c0, e=0xbff5d840) at /home/hpereira/kde/src/workspace-4.4/kwin/lib/kcommondecoration.cpp:1350
#18 0xb1cfb2ef in Oxygen::Client::eventFilter(QObject*, QEvent*) () from /usr/lib/kde4/kwin3_oxygen.so
#19 0xb6046d5e in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#20 0xb62fbeed in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#21 0xb630371e in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#22 0xb713468a in KApplication::notify (this=0xbff5e0b8, receiver=0x9d558c0, event=0xbff5d840) at /home/hpereira/kde/src/kdelibs/kdeui/kernel/kapplication.cpp:302
#23 0xb76b060f in KWin::Application::notify (this=0xbff5e0b8, o=0x9d558c0, e=0xbff5d840) at /home/hpereira/kde/src/workspace-4.4/kwin/main.cpp:370
#24 0xb6047a9e in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#25 0xb630266c in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib/libQtGui.so.4
#26 0xb639013a in ?? () from /usr/lib/libQtGui.so.4
#27 0xb638f704 in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/libQtGui.so.4
#28 0xb63bd088 in ?? () from /usr/lib/libQtGui.so.4
#29 0xb4131cbe in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#30 0xb41359f8 in ?? () from /usr/lib/libglib-2.0.so.0
#31 0xb4135b9e in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#32 0xb60745c1 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#33 0xb63bcbda in ?? () from /usr/lib/libQtGui.so.4
#34 0xb60460fd in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#35 0xb6046549 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#36 0xb604a6d0 in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#37 0xb62fbfc4 in QApplication::exec() () from /usr/lib/libQtGui.so.4
#38 0xb76b2120 in kdemain (argc=3, argv=0xbff5e2c4) at /home/hpereira/kde/src/workspace-4.4/kwin/main.cpp:526
#39 0x0804871b in main (argc=3, argv=0xbff5e2c4) at /home/hpereira/kde/build/workspace-4.4/kwin/kwin_dummy.cpp:3

Reported using DrKonqi
Comment 1 Hugo Pereira Da Costa 2010-05-21 01:23:54 UTC
Note: when windows with identical border sizes are used, the above works like a charm
Comment 2 Hugo Pereira Da Costa 2010-05-21 01:39:50 UTC
And also: it only seems to happen when one of the window (but not both) has its decoration border set to "no border"
Comment 3 Thomas Lübking 2010-05-21 16:54:38 UTC
this is or is related to bug #238279
Comment 4 Martin Flöser 2010-05-21 18:10:17 UTC

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