Bug 242987 - KWin crashes, when i set border size to "no border" in oxygen
Summary: KWin crashes, when i set border size to "no border" in oxygen
Status: RESOLVED FIXED
Alias: None
Product: Oxygen
Classification: Plasma
Component: win deco (other bugs)
Version First Reported In: unspecified
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Hugo Pereira Da Costa
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-28 00:52 UTC by Primož
Modified: 2010-07-01 11:52 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Primož 2010-06-28 00:52:28 UTC
Application: kwin (4.4.90 (KDE 4.4.90 (KDE 4.5 RC1)) "release 2")
KDE Platform Version: 4.4.90 (KDE 4.4.90 (KDE 4.5 RC1)) "release 2"
Qt Version: 4.6.3
Operating System: Linux 2.6.34-9-desktop x86_64
Distribution: "openSUSE 11.3 RC 1 (x86_64)"

-- Information about the crash:
When i set the border size option to no border, KWin starts to chrash.
Only the no border option causes problems.

I use KDE 4.4.90 (KDE 4.5 RC1)) "release 2" on  openSUSE 11.3.

The crash can be reproduced every time.

-- Backtrace:
Application: KWin (kwin), signal: Segmentation fault
[KCrash Handler]
#6  KCommonDecoration::widget (this=0xabd1a0) at /usr/src/debug/kdebase-workspace-4.4.90/kwin/lib/kcommondecoration.cpp:1191
#7  0x00007f46537475a5 in Oxygen::SizeGrip::eventFilter (this=<value optimized out>, object=0xabd950, event=0x7fff9d965180)
    at /usr/src/debug/kdebase-workspace-4.4.90/kwin/clients/oxygen/oxygensizegrip.cpp:123
#8  0x00007f46671caae7 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<value optimized out>, receiver=0xabd950, event=0x7fff9d965180) at kernel/qcoreapplication.cpp:841
#9  0x00007f46663c5fa1 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#10 0x00007f46663ce5ca in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#11 0x00007f466a36a1b6 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#12 0x00007f46671ca95c in QCoreApplication::notifyInternal (this=0x7fff9d965ed0, receiver=0xabd950, event=0x7fff9d965180) at kernel/qcoreapplication.cpp:726
#13 0x00007f4666410636 in QWidgetPrivate::hide_helper() () from /usr/lib64/libQtGui.so.4
#14 0x00007f46664160a8 in QWidget::setVisible(bool) () from /usr/lib64/libQtGui.so.4
#15 0x00007f46664100bc in QWidgetPrivate::close_helper(QWidgetPrivate::CloseMode) () from /usr/lib64/libQtGui.so.4
#16 0x00007f466641a19b in QWidget::~QWidget() () from /usr/lib64/libQtGui.so.4
#17 0x00007f466641a289 in QWidget::~QWidget() () from /usr/lib64/libQtGui.so.4
#18 0x00007f46693d700d in KDecoration::~KDecoration (this=0xac4c40, __in_chrg=<value optimized out>) at /usr/src/debug/kdebase-workspace-4.4.90/kwin/lib/kdecoration.cpp:71
#19 0x00007f46693df939 in KCommonDecorationWrapper::~KCommonDecorationWrapper (this=0xac4c40, __in_chrg=<value optimized out>)
    at /usr/src/debug/kdebase-workspace-4.4.90/kwin/lib/kcommondecoration_p.cpp:44
#20 0x00007f466ab11c74 in KWin::Client::destroyDecoration (this=0xc35a90) at /usr/src/debug/kdebase-workspace-4.4.90/kwin/client.cpp:377
#21 0x00007f466ab12410 in KWin::Client::releaseWindow (this=0xc35a90, on_shutdown=false) at /usr/src/debug/kdebase-workspace-4.4.90/kwin/client.cpp:246
#22 0x00007f466ab3d909 in KWin::Client::windowEvent (this=0xc35a90, e=0x7fff9d965c80) at /usr/src/debug/kdebase-workspace-4.4.90/kwin/events.cpp:655
#23 0x00007f466ab3dbce in KWin::Workspace::workspaceEvent (this=0x714a00, e=0x7fff9d965c80) at /usr/src/debug/kdebase-workspace-4.4.90/kwin/events.cpp:307
#24 0x00007f466ab1c6e8 in KWin::Application::x11EventFilter (this=0x7fff9d965ed0, e=0x7fff9d965c80) at /usr/src/debug/kdebase-workspace-4.4.90/kwin/main.cpp:363
#25 0x00007f466642e4e1 in ?? () from /usr/lib64/libQtGui.so.4
#26 0x00007f4666440150 in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib64/libQtGui.so.4
#27 0x00007f46664673b4 in ?? () from /usr/lib64/libQtGui.so.4
#28 0x00007f46671c9da2 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#29 0x00007f46671c9fa5 in QEventLoop::exec (this=0x7fff9d965e10, flags=...) at kernel/qeventloop.cpp:201
#30 0x00007f46671ce39b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1003
#31 0x00007f466ab1e9e8 in kdemain (argc=<value optimized out>, argv=0x7fff9d965ed0) at /usr/src/debug/kdebase-workspace-4.4.90/kwin/main.cpp:531
#32 0x00007f466a78bb7d in __libc_start_main () from /lib64/libc.so.6
#33 0x0000000000400699 in _start () at ../sysdeps/x86_64/elf/start.S:113

Reported using DrKonqi
Comment 1 Hugo Pereira Da Costa 2010-06-28 15:08:23 UTC
SVN commit 1143677 by hpereiradacosta:

Removed unnecessary check on object in event filter.
CCBUG: 243004


 M  +0 -1      oxygensizegrip.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1143677
Comment 2 Hugo Pereira Da Costa 2010-06-29 15:27:16 UTC
SVN commit 1144201 by hpereiradacosta:

Backport: r1143677
Removed unnecessary check on object in event filter.
CCBUG: 242987


 M  +0 -1      oxygensizegrip.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1144201
Comment 3 Hugo Pereira Da Costa 2010-06-29 15:43:06 UTC
So. Sadly enough I can't reproduce here with kde from svn trunk (which should not be too different from kde4.5 yet). Anyway. Commits from Comment #2 should help. Keep me posted if this still occurs (with either trunk or rc2), as there are other protections I could put in (but am reluctant too since this is extra overhead). Or close the bug if it dissapeared.
Comment 4 Primož 2010-06-30 22:06:01 UTC
I just updated and it works flawlessly.
Tnx guys.
Comment 5 Hugo Pereira Da Costa 2010-07-01 11:52:56 UTC
Awesome ! I'm closing the bug report then.