Bug 263208 - Kwin crashes when I try to enable composition without direct rendering
Summary: Kwin crashes when I try to enable composition without direct rendering
Status: RESOLVED DUPLICATE of bug 241263
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: 2011-01-15 10:25 UTC by Giusy Digital
Modified: 2011-01-15 11:12 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Giusy Digital 2011-01-15 10:25:29 UTC
Application: kwin (4.5.1 (KDE 4.5.1))
KDE Platform Version: 4.5.1 (KDE 4.5.1)
Qt Version: 4.7.0
Operating System: Linux 2.6.35-24-generic x86_64
Distribution: Ubuntu 10.10

-- Information about the crash:
- What I was doing when the application crashed:
Desktop effects-->Advanced--->"direct rendering" unchecked.
- Unusual behavior I noticed:
When I apply composition with direct rendering I see that: http://img338.imageshack.us/i/schermata1m.png/
The composition isn't enabled in the correct way, e.g. the bar should be transparent.
Kwin chrashes when I uncheck "direct rendering".

This occurs only with OpenGL type.
I can solve with "LIBGL_ALWAYS_INDIRECT=1 kwin --replace" command, but at startup the composition is not enabled. My video card is ATI Radeon HD 4650 and I use open source driver.

The crash can be reproduced every time.

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

Thread 2 (Thread 0x7f3e4c2a7700 (LWP 2836)):
#0  0xffffffffff60017b in ?? ()
#1  0x00007f3e4c2a6ad0 in ?? ()
#2  0x00007fff81fff852 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 1 (Thread 0x7f3e70239780 (LWP 2828)):
[KCrash Handler]
#6  0x00007f3e53d1d7c4 in ?? () from /usr/lib/dri/r600_dri.so
#7  0x00007f3e6d842114 in ?? () from /usr/lib/mesa/libGL.so.1
#8  0x00007f3e6fe1b567 in KWin::SceneOpenGL::flushBuffer (this=<value optimized out>, mask=0, damage=) at ../../kwin/scene_opengl.cpp:837
#9  0x00007f3e6fe1c497 in KWin::SceneOpenGL::paint (this=0x13d1810, damage=<value optimized out>, toplevels=<value optimized out>) at ../../kwin/scene_opengl.cpp:767
#10 0x00007f3e6fe062a7 in KWin::Workspace::performCompositing (this=<value optimized out>) at ../../kwin/composite.cpp:454
#11 0x00007f3e6fd877dd in KWin::Workspace::qt_metacall (this=0x107faf0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff81fc7e00) at ./workspace.moc:583
#12 0x00007f3e6c375b27 in QMetaObject::activate (sender=0x107ffb8, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3280
#13 0x00007f3e6c36f8f9 in QObject::event (this=0x107ffb8, e=0x0) at kernel/qobject.cpp:1183
#14 0x00007f3e6b4a7fdc in QApplicationPrivate::notify_helper (this=0xf64dc0, receiver=0x107ffb8, e=0x7fff81fc8550) at kernel/qapplication.cpp:4396
#15 0x00007f3e6b4adaed in QApplication::notify (this=0x7fff81fc8940, receiver=0x107ffb8, e=0x7fff81fc8550) at kernel/qapplication.cpp:4277
#16 0x00007f3e6f5b0156 in KApplication::notify (this=0x7fff81fc8940, receiver=0x107ffb8, event=0x7fff81fc8550) at ../../kdeui/kernel/kapplication.cpp:310
#17 0x00007f3e6c35dcdc in QCoreApplication::notifyInternal (this=0x7fff81fc8940, receiver=0x107ffb8, event=0x7fff81fc8550) at kernel/qcoreapplication.cpp:732
#18 0x00007f3e6c38d6f2 in sendEvent (this=0xf657d0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#19 QTimerInfoList::activateTimers (this=0xf657d0) at kernel/qeventdispatcher_unix.cpp:602
#20 0x00007f3e6c38d82c in QEventDispatcherUNIX::processEvents (this=0xf416e0, flags=) at kernel/qeventdispatcher_unix.cpp:923
#21 0x00007f3e6b55bc2f in QEventDispatcherX11::processEvents (this=<value optimized out>, flags=) at kernel/qeventdispatcher_x11.cpp:152
#22 0x00007f3e6c35ca02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#23 0x00007f3e6c35cdec in QEventLoop::exec (this=0x7fff81fc8880, flags=) at kernel/qeventloop.cpp:201
#24 0x00007f3e6c360ebb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#25 0x00007f3e6fda3f9d in kdemain (argc=<value optimized out>, argv=<value optimized out>) at ../../kwin/main.cpp:531
#26 0x00007f3e6f9ecd8e 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=0x7fff81fc8f48) at libc-start.c:226
#27 0x0000000000400669 in _start ()

Possible duplicates by query: bug 263190, bug 260952, bug 259557, bug 258774, bug 257395.

Reported using DrKonqi
Comment 1 Martin Flöser 2011-01-15 11:12:55 UTC
driver bug

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