Bug 298338 - MouseMark does not implement xrender backend nor ::supported()
Summary: MouseMark does not implement xrender backend nor ::supported()
Status: RESOLVED FIXED
Alias: None
Product: kwin
Classification: Plasma
Component: effects-various (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR crash
Target Milestone: 4.8.3
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-18 08:27 UTC by Martin Koller
Modified: 2012-04-20 22:50 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In: 4.8.3


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Koller 2012-04-18 08:27:32 UTC
Application: kwin (4.8.2 (4.8.2) "release 491")
KDE Platform Version: 4.8.2 (4.8.2) "release 491"
Qt Version: 4.8.1
Operating System: Linux 3.1.9-1.4-desktop i686
Distribution: "openSUSE 12.1 (i586)"

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

I pressed the key combination to start the mouse mark operation and kwin crashed

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

Thread 2 (Thread 0xaf233b70 (LWP 1684)):
#0  0xb5dda782 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0xb75825cc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libc.so.6
#2  0xb6659569 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0xb67597a0) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#3  0xb66595af in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=0xb67597a0) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#4  0xb5dd6a7d in start_thread () from /lib/libpthread.so.0
#5  0xb7574abe in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb1d27710 (LWP 1654)):
[KCrash Handler]
#6  KWin::GLVertexBuffer::reset (this=0x0) at /usr/src/debug/kde-workspace-4.8.2/kwin/libkwineffects/kwinglutils.cpp:1326
#7  0xaf7d0bcc in paintScreen (this=0x8255de8, mask=<optimized out>, region=<optimized out>, data=<optimized out>) at /usr/src/debug/kde-workspace-4.8.2/kwin/effects/mousemark/mousemark.cpp:87
#8  KWin::MouseMarkEffect::paintScreen (this=0x8255de8, mask=8, region=..., data=...) at /usr/src/debug/kde-workspace-4.8.2/kwin/effects/mousemark/mousemark.cpp:76
#9  0xb76e2290 in ?? () from /usr/lib/libkdeinit4_kwin.so
#10 0xb76bbcdf in ?? () from /usr/lib/libkdeinit4_kwin.so
#11 0xb76c796a in ?? () from /usr/lib/libkdeinit4_kwin.so
#12 0xb76b53a4 in ?? () from /usr/lib/libkdeinit4_kwin.so
#13 0xb5f87ee4 in QObject::event (this=0x856cbd8, e=0xbff323a8) at kernel/qobject.cpp:1166
#14 0xb5439504 in notify_helper (e=0xbff323a8, receiver=0x856cbd8, this=0x80ae108) at kernel/qapplication.cpp:4554
#15 QApplicationPrivate::notify_helper (this=0x80ae108, receiver=0x856cbd8, e=0xbff323a8) at kernel/qapplication.cpp:4526
#16 0xb543e913 in QApplication::notify (this=0xbff323a8, receiver=0x856cbd8, e=0xbff323a8) at kernel/qapplication.cpp:4283
#17 0xb7247ba1 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#18 0xb765e0cf in ?? () from /usr/lib/libkdeinit4_kwin.so
#19 0xb5f6d1ae in QCoreApplication::notifyInternal (this=0xbff326d8, receiver=0x856cbd8, event=0xbff323a8) at kernel/qcoreapplication.cpp:876
#20 0xb5fa1f4f in sendEvent (event=<optimized out>, receiver=<optimized out>) at kernel/qcoreapplication.h:231
#21 QTimerInfoList::activateTimers (this=0x80ae9bc) at kernel/qeventdispatcher_unix.cpp:626
#22 0xb5fa2dd1 in QEventDispatcherUNIX::processEvents (this=0x80adc58, flags=...) at kernel/qeventdispatcher_unix.cpp:945
#23 0xb54ee60e in QEventDispatcherX11::processEvents (this=0x80adc58, flags=...) at kernel/qeventdispatcher_x11.cpp:152
#24 0xb5f6bd1d in QEventLoop::processEvents (this=0xbff32614, flags=...) at kernel/qeventloop.cpp:149
#25 0xb5f6bfb9 in QEventLoop::exec (this=0xbff32614, flags=...) at kernel/qeventloop.cpp:204
#26 0xb5f7120a in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#27 0xb5437374 in QApplication::exec () at kernel/qapplication.cpp:3815
#28 0xb7661095 in kdemain () from /usr/lib/libkdeinit4_kwin.so
#29 0x0804852b in main (argc=3, argv=0xbff32984) at /usr/src/debug/kde-workspace-4.8.2/build/kwin/kwin_dummy.cpp:3

Reported using DrKonqi
Comment 1 Thomas Lübking 2012-04-18 18:05:13 UTC
one more effect to not implement ::supported() or XRenderCompositing - will try on XRenderCompositeTrap's

@Martin
whether by configuration or fallback, this very most likely means that you're using the XRender backend - confirmed?
Comment 2 Martin Koller 2012-04-19 05:33:10 UTC
The Compositing Type is set to XRender.
If I switch to openGL, the crash no longer appears.
Don't know why I had it set to XRender...
Comment 3 Thomas Lübking 2012-04-19 18:39:08 UTC
http://git.reviewboard.kde.org/r/104674/
Comment 4 Thomas Lübking 2012-04-20 22:00:03 UTC
Git commit 4ee78c2d58f1cf87d86f956cf43a8bb4897b7e7e by Thomas Lübking.
Committed on 19/04/2012 at 20:25.
Pushed by luebking into branch 'master'.

implement mousemark effect for xrender
FIXED-IN: 4.8.3
REVIEW: 104674

M  +87   -30   kwin/effects/mousemark/mousemark.cpp
M  +4    -0    kwin/effects/mousemark/mousemark.h

http://commits.kde.org/kde-workspace/4ee78c2d58f1cf87d86f956cf43a8bb4897b7e7e
Comment 5 Thomas Lübking 2012-04-20 22:50:44 UTC
Git commit 2e25ded28b574d8dce9a98a6504a259f7f86aa6a by Thomas Lübking.
Committed on 19/04/2012 at 20:25.
Pushed by luebking into branch 'KDE/4.8'.

implement mousemark effect for xrender
FIXED-IN: 4.8.3
REVIEW: 104674
(cherry picked from commit 4ee78c2d58f1cf87d86f956cf43a8bb4897b7e7e)

Conflicts:

	kwin/effects/mousemark/mousemark.cpp

M  +89   -32   kwin/effects/mousemark/mousemark.cpp
M  +4    -0    kwin/effects/mousemark/mousemark.h

http://commits.kde.org/kde-workspace/2e25ded28b574d8dce9a98a6504a259f7f86aa6a