Bug 256443 - Plasma Desktop crashes on exit
Summary: Plasma Desktop crashes on exit
Status: RESOLVED DUPLICATE of bug 243767
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-09 14:53 UTC by acab
Modified: 2010-11-11 20:41 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (5.93 KB, text/plain)
2010-11-09 15:26 UTC, acab
Details

Note You need to log in before you can comment on or make changes to this bug.
Description acab 2010-11-09 14:53:37 UTC
Application: kwin (4.5.2 (KDE 4.5.2))
KDE Platform Version: 4.5.2 (KDE 4.5.2)
Qt Version: 4.6.3
Operating System: Linux 2.6.34.7-61.fc13.x86_64 x86_64
Distribution: "Fedora release 13 (Goddard)"

-- Information about the crash:
when desktop effects are enabled and every time i try to log out, plasma desktop crashes and restarts to desktop again without desktop effects enabled.

The crash can be reproduced every time.

-- Backtrace:
Application: KWin (kwin), signal: Aborted
82	T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[KCrash Handler]
#6  0x000000303c6329a5 in raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#7  0x000000303c634185 in abort () at abort.c:92
#8  0x000000303c62b935 in __assert_fail (assertion=0x7ffd41a1fe32 "srclvl->size == dstlvl->size", file=<value optimized out>, line=472, function=<value optimized out>) at assert.c:81
#9  0x00007ffd418dd6a4 in ?? () from /usr/lib64/dri/r600_dri.so
#10 0x00007ffd418d2e3b in ?? () from /usr/lib64/dri/r600_dri.so
#11 0x00007ffd418d1ca1 in ?? () from /usr/lib64/dri/r600_dri.so
#12 0x00007ffd41970726 in ?? () from /usr/lib64/dri/r600_dri.so
#13 0x00007ffd419cc6b5 in ?? () from /usr/lib64/dri/r600_dri.so
#14 0x00007ffd4191e4cd in ?? () from /usr/lib64/dri/r600_dri.so
#15 0x0000003904c1e744 in KWin::GLTexture::enableFilter (this=0x24906c0) at /usr/src/debug/kdebase-workspace-4.5.2/kwin/lib/kwinglutils.cpp:643
#16 0x0000003904c1e769 in KWin::GLTexture::setWrapMode (this=0x24906c0, mode=33071) at /usr/src/debug/kdebase-workspace-4.5.2/kwin/lib/kwinglutils.cpp:619
#17 0x00007ffd40f555dc in KWin::LogoutEffect::prePaintScreen (this=0x2466e20, data=..., time=1) at /usr/src/debug/kdebase-workspace-4.5.2/kwin/effects/logout/logout.cpp:111
#18 0x00000039044c67ab in KWin::EffectsHandlerImpl::prePaintScreen (this=0x23e2c50, data=..., time=1) at /usr/src/debug/kdebase-workspace-4.5.2/kwin/effects.cpp:158
#19 0x00000039044c67ab in KWin::EffectsHandlerImpl::prePaintScreen (this=0x23e2c50, data=..., time=1) at /usr/src/debug/kdebase-workspace-4.5.2/kwin/effects.cpp:158
#20 0x00000039044c67ab in KWin::EffectsHandlerImpl::prePaintScreen (this=0x23e2c50, data=..., time=1) at /usr/src/debug/kdebase-workspace-4.5.2/kwin/effects.cpp:158
#21 0x00000039044c67ab in KWin::EffectsHandlerImpl::prePaintScreen (this=0x23e2c50, data=..., time=1) at /usr/src/debug/kdebase-workspace-4.5.2/kwin/effects.cpp:158
#22 0x00000039044c67ab in KWin::EffectsHandlerImpl::prePaintScreen (this=0x23e2c50, data=..., time=1) at /usr/src/debug/kdebase-workspace-4.5.2/kwin/effects.cpp:158
#23 0x00000039044c67ab in KWin::EffectsHandlerImpl::prePaintScreen (this=0x23e2c50, data=..., time=1) at /usr/src/debug/kdebase-workspace-4.5.2/kwin/effects.cpp:158
#24 0x00000039044c67ab in KWin::EffectsHandlerImpl::prePaintScreen (this=0x23e2c50, data=..., time=1) at /usr/src/debug/kdebase-workspace-4.5.2/kwin/effects.cpp:158
#25 0x00007ffd40f54734 in KWin::LoginEffect::prePaintScreen (this=0x242a210, data=<value optimized out>, time=<value optimized out>)
    at /usr/src/debug/kdebase-workspace-4.5.2/kwin/effects/login/login.cpp:52
#26 0x00000039044c67ab in KWin::EffectsHandlerImpl::prePaintScreen (this=0x23e2c50, data=..., time=1) at /usr/src/debug/kdebase-workspace-4.5.2/kwin/effects.cpp:158
#27 0x00000039044b10fa in KWin::Scene::paintScreen (this=0x1afdf70, mask=0x7fff919ef53c, region=0x7fff919ef660) at /usr/src/debug/kdebase-workspace-4.5.2/kwin/scene.cpp:116
#28 0x00000039044c01b4 in KWin::SceneOpenGL::paint (this=0x1afdf70, damage=..., toplevels=<value optimized out>) at /usr/src/debug/kdebase-workspace-4.5.2/kwin/scene_opengl.cpp:748
#29 0x00000039044ac2df in KWin::Workspace::performCompositing (this=0x19c3300) at /usr/src/debug/kdebase-workspace-4.5.2/kwin/composite.cpp:454
#30 0x0000003904435c5d in KWin::Workspace::qt_metacall (this=0x19c3300, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff919ef810)
    at /usr/src/debug/kdebase-workspace-4.5.2/x86_64-redhat-linux-gnu/kwin/workspace.moc:583
#31 0x0000003047766a36 in QMetaObject::activate (sender=0x19c37c8, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3295
#32 0x0000003047762c4e in QObject::event (this=0x19c37c8, e=0x7fff919eff60) at kernel/qobject.cpp:1212
#33 0x000000304bbab39c in QApplicationPrivate::notify_helper (this=0x192a160, receiver=0x19c37c8, e=0x7fff919eff60) at kernel/qapplication.cpp:4306
#34 0x000000304bbb165b in QApplication::notify (this=<value optimized out>, receiver=0x19c37c8, e=0x7fff919eff60) at kernel/qapplication.cpp:4189
#35 0x000000390281d126 in KApplication::notify (this=0x7fff919f0350, receiver=0x19c37c8, event=0x7fff919eff60) at /usr/src/debug/kdelibs-4.5.2/kdeui/kernel/kapplication.cpp:310
#36 0x0000003047753ddc in QCoreApplication::notifyInternal (this=0x7fff919f0350, receiver=0x19c37c8, event=0x7fff919eff60) at kernel/qcoreapplication.cpp:726
#37 0x000000304777c6f2 in sendEvent (this=0x192ab50) at kernel/qcoreapplication.h:215
#38 QTimerInfoList::activateTimers (this=0x192ab50) at kernel/qeventdispatcher_unix.cpp:603
#39 0x000000304777c86c in QEventDispatcherUNIX::processEvents (this=0x1908530, flags=...) at kernel/qeventdispatcher_unix.cpp:924
#40 0x000000304bc4b407 in QEventDispatcherX11::processEvents (this=0x1908530, flags=...) at kernel/qeventdispatcher_x11.cpp:152
#41 0x0000003047752822 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#42 0x0000003047752aec in QEventLoop::exec (this=0x7fff919f0290, flags=...) at kernel/qeventloop.cpp:201
#43 0x00000030477561bb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1003
#44 0x000000390444f906 in kdemain (argc=<value optimized out>, argv=0x7fff919f0350) at /usr/src/debug/kdebase-workspace-4.5.2/kwin/main.cpp:531
#45 0x000000303c61ec5d in __libc_start_main (main=0x400900 <main(int, char**)>, argc=3, ubp_av=0x7fff919f0948, init=<value optimized out>, fini=<value optimized out>, 
    rtld_fini=<value optimized out>, stack_end=0x7fff919f0938) at libc-start.c:226
#46 0x0000000000400839 in _start ()

Possible duplicates by query: bug 256422, bug 255275.

Reported using DrKonqi
Comment 1 acab 2010-11-09 15:26:36 UTC
Created attachment 53283 [details]
New crash information added by DrKonqi

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

i try to log out with desktop effects enabled

-- Backtrace (Reduced):
#8  0x000000303c62b935 in __assert_fail (assertion=0x7f1afeeb6e32 "srclvl->size == dstlvl->size", file=<value optimized out>, line=472, function=<value optimized out>) at assert.c:81
[...]
[...]
[...]
[...]
[...]
[...]
#15 0x0000003904c1e744 in KWin::GLTexture::enableFilter (this=0x258a880) at /usr/src/debug/kdebase-workspace-4.5.2/kwin/lib/kwinglutils.cpp:643
#16 0x0000003904c1e769 in KWin::GLTexture::setWrapMode (this=0x258a880, mode=33071) at /usr/src/debug/kdebase-workspace-4.5.2/kwin/lib/kwinglutils.cpp:619
#17 0x00007f1afe63d5dc in KWin::LogoutEffect::prePaintScreen (this=0x2487940, data=..., time=1) at /usr/src/debug/kdebase-workspace-4.5.2/kwin/effects/logout/logout.cpp:111
#18 0x00000039044c67ab in KWin::EffectsHandlerImpl::prePaintScreen (this=0x2445370, data=..., time=1) at /usr/src/debug/kdebase-workspace-4.5.2/kwin/effects.cpp:158
Comment 2 Thomas Lübking 2010-11-09 16:43:33 UTC
do not attempt to use trilinear filtering with ati chips - the drivers are
broken, sorry :-(

*** This bug has been marked as a duplicate of bug 243767 ***
Comment 3 acab 2010-11-09 18:24:39 UTC
the crashes are new since update to KDE 4.5.2.
The filtering is bilinear.
Comment 4 Thomas Lübking 2010-11-10 01:34:33 UTC
this
#15 0x0000003904c1e744 in KWin::GLTexture::enableFilter (this=0x258a880) at
/usr/src/debug/kdebase-workspace-4.5.2/kwin/lib/kwinglutils.cpp:643

is the source of the bug. the code says "glGenerateMipmap( mTarget );" and is part of the "mFilter == GL_LINEAR_MIPMAP_LINEAR" block, which means trilinear filtering is selected.

i've grepped the code, rechecked the options code and asked another developer - there's no other way in vanilla kwin to enter this codepath but using trilinear filtering.

-> ensure the option really says "Bilinear", then maybe contact your distro and ask whether they've hardwired trilinear for you :-(
Comment 5 Thomas Lübking 2010-11-11 20:41:11 UTC
errr... didn't grep enough - my bad, i'm very sorry. (no, "really" ;-)

Actually ShaderEffects activate mipmapping "under the hood" - this would be either the "Sharpen" or the "Looking Glas" effect and disabling them should prevent this kind of segfault.

Sorry again =\