Bug 171726 - KWin compositing causes crash on login
Summary: KWin compositing causes crash on login
Status: RESOLVED UPSTREAM
Alias: None
Product: kwin
Classification: Plasma
Component: compositing (show other bugs)
Version: unspecified
Platform: Debian testing Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
: 174765 174767 175536 208305 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-09-27 08:12 UTC by Dominik Schulz
Modified: 2009-09-23 17:42 UTC (History)
9 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dominik Schulz 2008-09-27 08:12:39 UTC
Version:            (using KDE 4.1.1)
OS:                Linux
Installed from:    Debian testing/unstable Packages

When I login to my system KWin will crash after some time, before the whole desktop is loaded. This happens most of the time but not always.

Anwendung: KWin (kwin), Signal SIGABRT
[Thread debugging using libthread_db enabled]
[New Thread 0x7ff6868cb7c0 (LWP 4366)]
[KCrash handler]
#5  0x00007ff68ebdfef5 in raise () from /lib/libc.so.6
#6  0x00007ff68ebe1413 in abort () from /lib/libc.so.6
#7  0x00007ff68f226ce9 in ?? () from /usr/lib/libGL.so.1
#8  0x00007ff68823038e in ?? () from /usr/lib/libGLcore.so.1
#9  0x00007ff688230f63 in ?? () from /usr/lib/libGLcore.so.1
#10 0x00007ff687f9c464 in ?? () from /usr/lib/libGLcore.so.1
#11 0x00007ff687ce5506 in ?? () from /usr/lib/libGLcore.so.1
#12 0x00007ff68ef90485 in KWin::SceneOpenGL::flushBuffer (this=0x990790, 
    mask=<value optimized out>, damage=
        {d = 0xa52410, static shared_empty = {ref = {_q_value = 51}, rgn = 0x0, xrectangles = 0x0, qt_rgn = 0x0}})
    at /tmp/buildd/kdebase-workspace-4.1.1/kwin/scene_opengl.cpp:696
#13 0x00007ff68ef90c3a in KWin::SceneOpenGL::paint (this=0x990790, damage=
        {d = 0x7fff973d5dc0, static shared_empty = {ref = {_q_value = 51}, rgn = 0x0, xrectangles = 0x0, qt_rgn = 0x0}}, toplevels=<value optimized out>)
    at /tmp/buildd/kdebase-workspace-4.1.1/kwin/scene_opengl.cpp:628
#14 0x00007ff68ef82b34 in KWin::Workspace::performCompositing (this=0x6c29b0)
    at /tmp/buildd/kdebase-workspace-4.1.1/kwin/composite.cpp:357
#15 0x00007ff68ef272f2 in KWin::Workspace::qt_metacall (this=0x6c29b0, 
    _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, 
    _a=0x7fff973d5f30)
    at /tmp/buildd/kdebase-workspace-4.1.1/obj-x86_64-linux-gnu/kwin/workspace.moc:433
#16 0x00007ff68ba47764 in QMetaObject::activate (sender=0x6c2da8, 
    from_signal_index=<value optimized out>, to_signal_index=4, 
    argv=0xffffffffffffffff) at kernel/qobject.cpp:3010
#17 0x00007ff68ba42073 in QObject::event (this=0x6c2da8, e=0x110e)
    at kernel/qobject.cpp:1105
#18 0x00007ff68d99de5d in QApplicationPrivate::notify_helper (this=0x6237c0, 
    receiver=0x6c2da8, e=0x7fff973d65f0) at kernel/qapplication.cpp:3772
#19 0x00007ff68d9a5b2a in QApplication::notify (this=0x7fff973d6960, 
    receiver=0x6c2da8, e=0x7fff973d65f0) at kernel/qapplication.cpp:3739
#20 0x00007ff68d3fffab in KApplication::notify (this=0x7fff973d6960, 
    receiver=0x6c2da8, event=0x7fff973d65f0)
    at /tmp/buildd/kde4libs-4.1.1/kdeui/kernel/kapplication.cpp:311
#21 0x00007ff68ba33411 in QCoreApplication::notifyInternal (
    this=0x7fff973d6960, receiver=0x6c2da8, event=0x7fff973d65f0)
    at kernel/qcoreapplication.cpp:587
#22 0x00007ff68ba5f3b6 in QTimerInfoList::activateTimers (this=0x626d70)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#23 0x00007ff68ba5b8dd in timerSourceDispatch (source=<value optimized out>)
    at kernel/qeventdispatcher_glib.cpp:166
#24 0x00007ff68a5dc892 in g_main_context_dispatch ()
   from /usr/lib/libglib-2.0.so.0
#25 0x00007ff68a5e001d in ?? () from /usr/lib/libglib-2.0.so.0
#26 0x00007ff68a5e01db in g_main_context_iteration ()
   from /usr/lib/libglib-2.0.so.0
#27 0x00007ff68ba5b83f in QEventDispatcherGlib::processEvents (this=0x61f980, 
    flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:325
#28 0x00007ff68da2f16f in QGuiEventDispatcherGlib::processEvents (
    this=0x110e, flags=<value optimized out>)
    at kernel/qguieventdispatcher_glib.cpp:204
#29 0x00007ff68ba31d22 in QEventLoop::processEvents (
    this=<value optimized out>, flags={i = -1757583264})
    at kernel/qeventloop.cpp:149
#30 0x00007ff68ba31ead in QEventLoop::exec (this=0x7fff973d68a0, flags=
      {i = -1757583184}) at kernel/qeventloop.cpp:200
#31 0x00007ff68ba3437d in QCoreApplication::exec ()
    at kernel/qcoreapplication.cpp:845
#32 0x00007ff68ef401d1 in kdemain (argc=3, argv=0x7fff973d6e08)
    at /tmp/buildd/kdebase-workspace-4.1.1/kwin/main.cpp:511
#33 0x00007ff68ebcc1a6 in __libc_start_main () from /lib/libc.so.6
#34 0x0000000000400629 in _start ()
#0  0x00007ff68ec4c0b0 in __nanosleep_nocancel () from /lib/libc.so.6
Comment 1 M. Steffan Noé 2008-11-08 11:13:25 UTC
Hi dominik,
it's the same for me.

My debug informations are not that complete but it is the same behaviour. Most of them were stripped by ubuntu.

The Distribution is Kubuntu 8.10

A little note for the used graphics card: its nvidia (I think this could be important, because kwin uses the 3D-graphics engine for the desktop effects)
01:00.0 VGA compatible controller: nVidia Corporation GeForce 8600M GT (rev a1)

the driver packets used are the closed source driver:
nvidia-kernel-source-177.80
together with
nvidia-glx-core-177

they were detected by the installer not by envyng.

the crashlog looks different, especially longer. Due to missing symbols. Or does more of the modules for kwin crash because of more activated desktop effects? I don't know.

Anwendung: KWin (kwin), Signal SIGSEGV
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 0x7f40d53a6730 (LWP 5978)]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[KCrash handler]
#5  0x00007f40ce2302d6 in ?? () from /usr/lib/libGLcore.so.1
#6  0x00007f40ce2308d1 in ?? () from /usr/lib/libGLcore.so.1
#7  0x00007f40cdfb9a88 in ?? () from /usr/lib/libGLcore.so.1
#8  0x00007f40ce0108a5 in ?? () from /usr/lib/libGLcore.so.1
#9  0x00007f40ce10709e in ?? () from /usr/lib/libGLcore.so.1
#10 0x00007f40ce01281a in ?? () from /usr/lib/libGLcore.so.1
#11 0x00007f40ce012db8 in ?? () from /usr/lib/libGLcore.so.1
#12 0x00007f40ce36966b in ?? () from /usr/lib/libGLcore.so.1
#13 0x00007f40ce2636ad in ?? () from /usr/lib/libGLcore.so.1
#14 0x00007f40ce222a15 in ?? () from /usr/lib/libGLcore.so.1
#15 0x00007f40d5420056 in ?? () from /usr/lib/libGL.so.1
#16 0x00007f40d5426b3b in ?? () from /usr/lib/libGL.so.1
#17 0x00007f40cdfb4b3a in ?? () from /usr/lib/libGLcore.so.1
#18 0x00007f40cdfb5a50 in ?? () from /usr/lib/libGLcore.so.1
#19 0x00007f40d4932e20 in KWin::GLRenderTarget::enable ()
   from /usr/lib/libkwineffects.so.1
#20 0x00007f40d515eb74 in ?? () from /usr/lib/libkdeinit4_kwin.so
#21 0x00007f40ca360592 in ?? () from /usr/lib/kde4/kwin4_effect_builtins.so
#22 0x00007f40d51610e0 in ?? () from /usr/lib/libkdeinit4_kwin.so
#23 0x00007f40ca3565d4 in ?? () from /usr/lib/kde4/kwin4_effect_builtins.so
#24 0x00007f40d51610e0 in ?? () from /usr/lib/libkdeinit4_kwin.so
#25 0x00007f40d492afa0 in KWin::Effect::paintScreen ()
   from /usr/lib/libkwineffects.so.1
#26 0x00007f40d51610e0 in ?? () from /usr/lib/libkdeinit4_kwin.so
#27 0x00007f40d492afa0 in KWin::Effect::paintScreen ()
   from /usr/lib/libkwineffects.so.1
#28 0x00007f40d51610e0 in ?? () from /usr/lib/libkdeinit4_kwin.so
#29 0x00007f40d492afa0 in KWin::Effect::paintScreen ()
   from /usr/lib/libkwineffects.so.1
#30 0x00007f40d51610e0 in ?? () from /usr/lib/libkdeinit4_kwin.so
#31 0x00007f40d492afa0 in KWin::Effect::paintScreen ()
   from /usr/lib/libkwineffects.so.1
#32 0x00007f40d51610e0 in ?? () from /usr/lib/libkdeinit4_kwin.so
#33 0x00007f40ca3686ad in ?? () from /usr/lib/kde4/kwin4_effect_builtins.so
#34 0x00007f40d51610e0 in ?? () from /usr/lib/libkdeinit4_kwin.so
#35 0x00007f40ca339436 in ?? () from /usr/lib/kde4/kwin4_effect_builtins.so
#36 0x00007f40d51610e0 in ?? () from /usr/lib/libkdeinit4_kwin.so
#37 0x00007f40d492afa0 in KWin::Effect::paintScreen ()
   from /usr/lib/libkwineffects.so.1
#38 0x00007f40d51610e0 in ?? () from /usr/lib/libkdeinit4_kwin.so
#39 0x00007f40d492afa0 in KWin::Effect::paintScreen ()
   from /usr/lib/libkwineffects.so.1
#40 0x00007f40d51610e0 in ?? () from /usr/lib/libkdeinit4_kwin.so
#41 0x00007f40d492afa0 in KWin::Effect::paintScreen ()
   from /usr/lib/libkwineffects.so.1
#42 0x00007f40d51610e0 in ?? () from /usr/lib/libkdeinit4_kwin.so
#43 0x00007f40ca33b2c1 in ?? () from /usr/lib/kde4/kwin4_effect_builtins.so
#44 0x00007f40d51610e0 in ?? () from /usr/lib/libkdeinit4_kwin.so
#45 0x00007f40ca370935 in ?? () from /usr/lib/kde4/kwin4_effect_builtins.so
#46 0x00007f40d51610e0 in ?? () from /usr/lib/libkdeinit4_kwin.so
#47 0x00007f40d492afa0 in KWin::Effect::paintScreen ()
   from /usr/lib/libkwineffects.so.1
#48 0x00007f40d51610e0 in ?? () from /usr/lib/libkdeinit4_kwin.so
#49 0x00007f40d514fee4 in ?? () from /usr/lib/libkdeinit4_kwin.so
#50 0x00007f40d515a254 in ?? () from /usr/lib/libkdeinit4_kwin.so
#51 0x00007f40d514c154 in ?? () from /usr/lib/libkdeinit4_kwin.so
#52 0x00007f40d50f06b2 in ?? () from /usr/lib/libkdeinit4_kwin.so
#53 0x00007f40d41ef134 in QMetaObject::activate ()
   from /usr/lib/libQtCore.so.4
#54 0x00007f40d41e9a43 in QObject::event () from /usr/lib/libQtCore.so.4
#55 0x00007f40d2dbec3d in QApplicationPrivate::notify_helper ()
   from /usr/lib/libQtGui.so.4
#56 0x00007f40d2dc69ea in QApplication::notify () from /usr/lib/libQtGui.so.4
#57 0x00007f40d1b8fb8b in KApplication::notify () from /usr/lib/libkdeui.so.5
#58 0x00007f40d41dad61 in QCoreApplication::notifyInternal ()
   from /usr/lib/libQtCore.so.4
#59 0x00007f40d4206ab6 in ?? () from /usr/lib/libQtCore.so.4
#60 0x00007f40d42031fd in ?? () from /usr/lib/libQtCore.so.4
#61 0x00007f40d0698d3b in g_main_context_dispatch ()
   from /usr/lib/libglib-2.0.so.0
#62 0x00007f40d069c50d in ?? () from /usr/lib/libglib-2.0.so.0
#63 0x00007f40d069c6cb in g_main_context_iteration ()
   from /usr/lib/libglib-2.0.so.0
#64 0x00007f40d420315f in QEventDispatcherGlib::processEvents ()
   from /usr/lib/libQtCore.so.4
#65 0x00007f40d2e50a9f in ?? () from /usr/lib/libQtGui.so.4
#66 0x00007f40d41d9682 in QEventLoop::processEvents ()
   from /usr/lib/libQtCore.so.4
#67 0x00007f40d41d980d in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#68 0x00007f40d41dbcbd in QCoreApplication::exec ()
   from /usr/lib/libQtCore.so.4
#69 0x00007f40d5109731 in kdemain () from /usr/lib/libkdeinit4_kwin.so
#70 0x00007f40d4d76466 in __libc_start_main () from /lib/libc.so.6
#71 0x0000000000400659 in _start ()
#0  0x00007f40d4e005f0 in nanosleep () from /lib/libc.so.6
Comment 2 lucas 2008-11-10 07:05:21 UTC
*** Bug 174765 has been marked as a duplicate of this bug. ***
Comment 3 lucas 2008-11-10 08:12:36 UTC
*** Bug 174767 has been marked as a duplicate of this bug. ***
Comment 4 Dominik Schulz 2008-11-10 11:47:09 UTC
Some clarifications:
- I also use the NVidia closed-source driver (latest beta release, 177.80, I think)
- It only happens with enabled compositing
- I blame the Nvidia driver for this misbehaviour, but perhaps its possible for the KDE developers to work around this bug
Comment 5 S. Burmeister 2008-11-10 12:21:26 UTC
KDE 4.1.3 on openSUSE with the nvidia 177.80 drivers and desktop-effects enabled works flawlessly.

Hence this is either already fixed in KDE, some mis-configuration, maybe even manually installed drivers installed along packaged ones or some bug within the user's distro reporting it.
Comment 6 lucas 2008-11-19 04:05:05 UTC
*** Bug 175536 has been marked as a duplicate of this bug. ***
Comment 7 FiNeX 2008-11-19 20:25:38 UTC
Changed severity to "crash". I hope to have selected only the right bugs (>100) :-)
Comment 8 Dario Andres 2008-12-04 23:16:07 UTC
This may be related to bug 164889
Comment 9 lucas 2008-12-05 01:59:28 UTC
As far as I can tell this is a nVidia driver issue.
Comment 10 Ian Smith 2008-12-06 09:40:50 UTC
With KDE 4.2 Beta, this problem has got worse, i suspect because the system assumes that it is capable of compositing effects, so they are enabled, even after deleting the old .kde4 config files.

I tooled around with various ideas for an hour or so, but each time I logged in, KWin crashed, and a dialog box suggested I use Metacity instead.

Going back to the Nouveau drivers solved that problem, but now I can't use OpenOffice. So, back to KDE 3.9 yet again!
Comment 11 Ian Smith 2008-12-06 10:56:35 UTC
Apologies! I continued tooling around and found a couple of important errors in the previous message:

1. The NVIDIA driver I had installed was not the latest 177.82, but 173.14, which is the latest in the openSuse repo.

2. When I looked at the desktop settings, "Desktop Effects" had not been enabled by default. Something else must have been causing KWin to crash.

So I did a manual install of 177.82 and KDE4.2 Beta now opens fine without Kwin crashing.

However, OpenOffice is still unusable - I'll search around for the relevant bug report on that now.
Comment 12 Martin Flöser 2009-09-23 17:42:41 UTC
*** Bug 208305 has been marked as a duplicate of this bug. ***