Bug 241688 - Kwin crashes with desktop effects enabled
Summary: Kwin crashes with desktop effects enabled
Status: RESOLVED UPSTREAM
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-06-14 01:29 UTC by Edney Matias
Modified: 2010-10-14 23:33 UTC (History)
1 user (show)

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 Edney Matias 2010-06-14 01:29:17 UTC
Application: kwin (4.4.85 (KDE 4.4.85 (KDE 4.5 Beta2)))
KDE Platform Version: 4.4.85 (KDE 4.4.85 (KDE 4.5 Beta2))
Qt Version: 4.7.0
Operating System: Linux 2.6.33.5-112.fc13.i686 i686
Distribution (Platform): Fedora RPMs

-- Information about the crash:
- What I was doing when the application crashed:
1. deleted ~/.kde/share/config/kwin*rc files;
2. logged in and enabled desktop effects using defaults;
3. tried to log out
4. crash.

This happen every single time.

The crash can be reproduced every time.

-- Backtrace:
Application: KWin (kwin), signal: Aborted
[KCrash Handler]
#7  0x009ed416 in __kernel_vsyscall ()
#8  0x00728d31 in raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#9  0x0072a60a in abort () at abort.c:92
#10 0x00721da8 in __assert_fail (assertion=0x7815ab7 "intel->is_g4x || (tile_x == 0 && tile_y == 0)", file=0x7815a7b "brw_wm_surface_state.c", line=591, function=
    0x7815c84 "brw_update_renderbuffer_surface") at assert.c:81
#11 0x076c212d in brw_update_renderbuffer_surface (brw=0xa077f60, rb=0x4, unit=0) at brw_wm_surface_state.c:592
#12 0x076c230b in prepare_wm_surfaces (brw=0xa077f60) at brw_wm_surface_state.c:697
#13 0x076a996f in brw_validate_state (brw=0xa077f60) at brw_state_upload.c:391
#14 0x0769f56d in brw_try_draw_prims (ctx=0xa077f60, arrays=0xa377744, prim=0xbfa5c7e0, nr_prims=1, ib=0x0, index_bounds_valid=1 '\001', min_index=0, max_index=3) at brw_draw.c:359
#15 brw_draw_prims (ctx=0xa077f60, arrays=0xa377744, prim=0xbfa5c7e0, nr_prims=1, ib=0x0, index_bounds_valid=1 '\001', min_index=0, max_index=3) at brw_draw.c:441
#16 0x07737de0 in vbo_exec_DrawArrays (mode=6, start=0, count=4) at vbo/vbo_exec_array.c:524
#17 0x07795582 in _mesa_meta_GenerateMipmap (ctx=0xa077f60, target=<value optimized out>, texObj=0xa6d7578) at drivers/common/meta.c:2461
#18 0x07693686 in intelGenerateMipmap (ctx=0xa077f60, target=3553, texObj=0xa6d7578) at intel_tex.c:204
#19 0x076ebdc1 in _mesa_GenerateMipmapEXT (target=3553) at main/fbobject.c:2014
#20 0x06d36c8c in glGenerateMipmapEXT (target=3553) at ../../src/mesa/glapi/glapitemp.h:5427
#21 0x02570cce in KWin::GLTexture::enableFilter (this=0xa694178) at /usr/src/debug/kdebase-workspace-4.4.85/kwin/lib/kwinglutils.cpp:638
#22 0x02571020 in KWin::GLTexture::bind (this=0xa694178) at /usr/src/debug/kdebase-workspace-4.4.85/kwin/lib/kwinglutils.cpp:486
#23 0x0813c8df in KWin::LogoutEffect::paintScreen (this=0xa71a700, mask=32, region=..., data=...) at /usr/src/debug/kdebase-workspace-4.4.85/kwin/effects/logout/logout.cpp:232
#24 0x039013d0 in KWin::EffectsHandlerImpl::paintScreen (this=0xa665bd8, mask=32, region=..., data=...) at /usr/src/debug/kdebase-workspace-4.4.85/kwin/effects.cpp:168
#25 0x0815bad0 in KWin::ShadowEffect::paintScreen (this=0xa6cc6a0, mask=32, region=..., data=...) at /usr/src/debug/kdebase-workspace-4.4.85/kwin/effects/shadow/shadow.cpp:189
#26 0x039013d0 in KWin::EffectsHandlerImpl::paintScreen (this=0xa665bd8, mask=32, region=..., data=...) at /usr/src/debug/kdebase-workspace-4.4.85/kwin/effects.cpp:168
#27 0x0816a7b4 in KWin::BlurEffect::paintScreen (this=0xa6b6460, mask=32, region=..., data=...) at /usr/src/debug/kdebase-workspace-4.4.85/kwin/effects/blur/blur.cpp:210
#28 0x039013d0 in KWin::EffectsHandlerImpl::paintScreen (this=0xa665bd8, mask=32, region=..., data=...) at /usr/src/debug/kdebase-workspace-4.4.85/kwin/effects.cpp:168
#29 0x08142ed0 in KWin::PresentWindowsEffect::paintScreen (this=0xa6bb5b0, mask=32, region=..., data=...) at /usr/src/debug/kdebase-workspace-4.4.85/kwin/effects/presentwindows/presentwindows.cpp:196
#30 0x039013d0 in KWin::EffectsHandlerImpl::paintScreen (this=0xa665bd8, mask=32, region=..., data=...) at /usr/src/debug/kdebase-workspace-4.4.85/kwin/effects.cpp:168
#31 0x025658a7 in KWin::Effect::paintScreen (this=0xa6a9758, mask=32, region=..., data=...) at /usr/src/debug/kdebase-workspace-4.4.85/kwin/lib/kwineffects.cpp:227
#32 0x039013d0 in KWin::EffectsHandlerImpl::paintScreen (this=0xa665bd8, mask=32, region=..., data=...) at /usr/src/debug/kdebase-workspace-4.4.85/kwin/effects.cpp:168
#33 0x025658a7 in KWin::Effect::paintScreen (this=0xa6e3d58, mask=32, region=..., data=...) at /usr/src/debug/kdebase-workspace-4.4.85/kwin/lib/kwineffects.cpp:227
#34 0x039013d0 in KWin::EffectsHandlerImpl::paintScreen (this=0xa665bd8, mask=32, region=..., data=...) at /usr/src/debug/kdebase-workspace-4.4.85/kwin/effects.cpp:168
#35 0x025658a7 in KWin::Effect::paintScreen (this=0xa6dba70, mask=32, region=..., data=...) at /usr/src/debug/kdebase-workspace-4.4.85/kwin/lib/kwineffects.cpp:227
#36 0x039013d0 in KWin::EffectsHandlerImpl::paintScreen (this=0xa665bd8, mask=32, region=..., data=...) at /usr/src/debug/kdebase-workspace-4.4.85/kwin/effects.cpp:168
#37 0x025658a7 in KWin::Effect::paintScreen (this=0xa6cde20, mask=32, region=..., data=...) at /usr/src/debug/kdebase-workspace-4.4.85/kwin/lib/kwineffects.cpp:227
#38 0x039013d0 in KWin::EffectsHandlerImpl::paintScreen (this=0xa665bd8, mask=32, region=..., data=...) at /usr/src/debug/kdebase-workspace-4.4.85/kwin/effects.cpp:168
#39 0x025658a7 in KWin::Effect::paintScreen (this=0xa6962a8, mask=32, region=..., data=...) at /usr/src/debug/kdebase-workspace-4.4.85/kwin/lib/kwineffects.cpp:227
#40 0x039013d0 in KWin::EffectsHandlerImpl::paintScreen (this=0xa665bd8, mask=32, region=..., data=...) at /usr/src/debug/kdebase-workspace-4.4.85/kwin/effects.cpp:168
#41 0x08126e09 in KWin::DesktopGridEffect::paintScreen (this=0xa6b5528, mask=32, region=..., data=...) at /usr/src/debug/kdebase-workspace-4.4.85/kwin/effects/desktopgrid/desktopgrid.cpp:154
#42 0x039013d0 in KWin::EffectsHandlerImpl::paintScreen (this=0xa665bd8, mask=32, region=..., data=...) at /usr/src/debug/kdebase-workspace-4.4.85/kwin/effects.cpp:168
#43 0x08160d12 in KWin::SlideEffect::paintScreen (this=0xa6aa668, mask=32, region=..., data=...) at /usr/src/debug/kdebase-workspace-4.4.85/kwin/effects/slide/slide.cpp:86
#44 0x039013d0 in KWin::EffectsHandlerImpl::paintScreen (this=0xa665bd8, mask=32, region=..., data=...) at /usr/src/debug/kdebase-workspace-4.4.85/kwin/effects.cpp:168
#45 0x081222ca in KWin::BoxSwitchEffect::paintScreen (this=0xa711688, mask=32, region=..., data=...) at /usr/src/debug/kdebase-workspace-4.4.85/kwin/effects/boxswitch/boxswitch.cpp:142
#46 0x039013d0 in KWin::EffectsHandlerImpl::paintScreen (this=0xa665bd8, mask=32, region=..., data=...) at /usr/src/debug/kdebase-workspace-4.4.85/kwin/effects.cpp:168
#47 0x025658a7 in KWin::Effect::paintScreen (this=0xa6e15a8, mask=32, region=..., data=...) at /usr/src/debug/kdebase-workspace-4.4.85/kwin/lib/kwineffects.cpp:227
#48 0x039013d0 in KWin::EffectsHandlerImpl::paintScreen (this=0xa665bd8, mask=32, region=..., data=...) at /usr/src/debug/kdebase-workspace-4.4.85/kwin/effects.cpp:168
#49 0x025658a7 in KWin::Effect::paintScreen (this=0xa6e55c8, mask=32, region=..., data=...) at /usr/src/debug/kdebase-workspace-4.4.85/kwin/lib/kwineffects.cpp:227
#50 0x039013d0 in KWin::EffectsHandlerImpl::paintScreen (this=0xa665bd8, mask=32, region=..., data=...) at /usr/src/debug/kdebase-workspace-4.4.85/kwin/effects.cpp:168
#51 0x025658a7 in KWin::Effect::paintScreen (this=0xa6a9770, mask=32, region=..., data=...) at /usr/src/debug/kdebase-workspace-4.4.85/kwin/lib/kwineffects.cpp:227
#52 0x039013d0 in KWin::EffectsHandlerImpl::paintScreen (this=0xa665bd8, mask=32, region=..., data=...) at /usr/src/debug/kdebase-workspace-4.4.85/kwin/effects.cpp:168
#53 0x0816a271 in KWin::ZoomEffect::paintScreen (this=0xa6d73f0, mask=32, region=..., data=...) at /usr/src/debug/kdebase-workspace-4.4.85/kwin/effects/zoom/zoom.cpp:73
#54 0x039013d0 in KWin::EffectsHandlerImpl::paintScreen (this=0xa665bd8, mask=32, region=..., data=...) at /usr/src/debug/kdebase-workspace-4.4.85/kwin/effects.cpp:168
#55 0x038e8c75 in KWin::Scene::paintScreen (this=0xa0735b8, mask=0xbfa5d998, region=0xbfa5da64) at /usr/src/debug/kdebase-workspace-4.4.85/kwin/scene.cpp:137
#56 0x038f95fa in KWin::SceneOpenGL::paint (this=0xa0735b8, damage=..., toplevels=...) at /usr/src/debug/kdebase-workspace-4.4.85/kwin/scene_opengl.cpp:748
#57 0x038e3587 in KWin::Workspace::performCompositing (this=0xa0ec2c0) at /usr/src/debug/kdebase-workspace-4.4.85/kwin/composite.cpp:455
#58 0x0385dc3f in KWin::Workspace::qt_metacall (this=0xa0ec2c0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xbfa5db8c)
    at /usr/src/debug/kdebase-workspace-4.4.85/i686-redhat-linux-gnu/kwin/workspace.moc:583
#59 0x0215d06b in QMetaObject::metacall (object=0xa0ec2c0, cl=QMetaObject::InvokeMetaMethod, idx=190, argv=0xbfa5db8c) at kernel/qmetaobject.cpp:237
#60 0x0216c085 in QMetaObject::activate (sender=0xa0ec570, m=0x2289884, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3305
#61 0x021b7de8 in QTimer::timeout (this=0xa0ec570) at .moc/release-shared/moc_qtimer.cpp:134
#62 0x021733ee in QTimer::timerEvent (this=0xa0ec570, e=0xbfa5e0e0) at kernel/qtimer.cpp:271
#63 0x02169dc4 in QObject::event (this=0xa0ec570, e=0xbfa5e0e0) at kernel/qobject.cpp:1208
#64 0x0297a85c in QApplicationPrivate::notify_helper (this=0xa00b780, receiver=0xa0ec570, e=0xbfa5e0e0) at kernel/qapplication.cpp:4345
#65 0x029811d6 in QApplication::notify (this=0xbfa5e45c, receiver=0xa0ec570, e=0xbfa5e0e0) at kernel/qapplication.cpp:3749
#66 0x0349336b in KApplication::notify (this=0xbfa5e45c, receiver=0xa0ec570, event=0xbfa5e0e0) at /usr/src/debug/kdelibs-4.4.85/kdeui/kernel/kapplication.cpp:302
#67 0x03877310 in KWin::Application::notify (this=0xbfa5e45c, o=0xa0ec570, e=0xbfa5e0e0) at /usr/src/debug/kdebase-workspace-4.4.85/kwin/main.cpp:371
#68 0x02157a73 in QCoreApplication::notifyInternal (this=0xbfa5e45c, receiver=0xa0ec570, event=0xbfa5e0e0) at kernel/qcoreapplication.cpp:726
#69 0x02184bbe in sendEvent (this=0xa00e57c) at kernel/qcoreapplication.h:215
#70 QTimerInfoList::activateTimers (this=0xa00e57c) at kernel/qeventdispatcher_unix.cpp:602
#71 0x02182328 in timerSourceDispatch (source=0xa00e5b8) at kernel/qeventdispatcher_glib.cpp:184
#72 idleTimerSourceDispatch (source=0xa00e5b8) at kernel/qeventdispatcher_glib.cpp:231
#73 0x00bdd525 in g_main_dispatch (context=0xa00da98) at gmain.c:1960
#74 IA__g_main_context_dispatch (context=0xa00da98) at gmain.c:2513
#75 0x00be1268 in g_main_context_iterate (context=0x89c490, block=1, dispatch=1, self=0xa00b9f0) at gmain.c:2591
#76 0x00be1449 in IA__g_main_context_iteration (context=0xa00da98, may_block=1) at gmain.c:2654
#77 0x02181fd6 in QEventDispatcherGlib::processEvents (this=0xa00b760, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#78 0x02a2acc6 in QGuiEventDispatcherGlib::processEvents (this=0xa00b760, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#79 0x0215660a in QEventLoop::processEvents (this=0xbfa5e3a4, flags=...) at kernel/qeventloop.cpp:149
#80 0x0215694a in QEventLoop::exec (this=0xbfa5e3a4, flags=...) at kernel/qeventloop.cpp:201
#81 0x0215af77 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1003
#82 0x02979838 in QApplication::exec () at kernel/qapplication.cpp:3624
#83 0x0387983b in kdemain (argc=3, argv=0xbfa5e654) at /usr/src/debug/kdebase-workspace-4.4.85/kwin/main.cpp:523
#84 0x080487bc in main (argc=3, argv=0xbfa5e654) at /usr/src/debug/kdebase-workspace-4.4.85/i686-redhat-linux-gnu/kwin/kwin_dummy.cpp:3

Reported using DrKonqi
Comment 1 Martin Flöser 2010-06-14 17:44:46 UTC
I'm sorry to say that it crashes in the OpenGL driver. There is nothing we can do about it. You might try to set Texture filter in advanced effects settings to "Nearest". It's possible that this won't trigger the crash.
Comment 2 Björn Ruberg 2010-10-14 15:35:20 UTC
Is this reported upstream? I have this crash on every logout until I deactivate the logout effect. Intel driver 2.12, Mesa-7.8.1
Comment 3 Thomas Lübking 2010-10-14 16:08:15 UTC
though it's a completely different trace, i sense this _could_ be related to https://bugs.freedesktop.org/show_bug.cgi?id=30509 as the renderbuffer is likely invalid at some point (see assert and 2nd trace on the US bug - the last one looks unrelated) at the logout and the driver happily flushes nevertheless ... or so =\

mesa 7.9 should however be less crash prone in other regions and might catch this one as well, tried?
Comment 4 Edney Matias 2010-10-14 23:33:49 UTC
Hi!

I have

[edney@localhost ~]$ rpm -qa | grep mesa
mesa-libGLU-7.9-0.8.fc14.1.i686
mesa-dri-drivers-7.9-0.8.fc14.1.i686
mesa-libGL-7.9-0.8.fc14.1.i686

and can confirm, kwin don't crash anymore when i log out from my session. However the effects are disabled when i come back. I need to press Ctrl + F12 to reactivate them.

Regards.