Bug 154245 - KRANDR Causes KWIN to crash when attempting to change screen resolution
Summary: KRANDR Causes KWIN to crash when attempting to change screen resolution
Status: RESOLVED DUPLICATE of bug 152914
Alias: None
Product: kwin
Classification: Plasma
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
: 157044 161158 164895 165132 165387 166201 167001 169590 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-12-17 19:45 UTC by Steven M. Parrish
Modified: 2008-08-22 17:25 UTC (History)
11 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Steven M. Parrish 2007-12-17 19:45:57 UTC
Version:           Recent SVN 12/16/07 (using KDE Devel)
Installed from:    Compiled sources
Compiler:          gcc version 4.1.2 20070925 (Red Hat 4.1.2-33) Using built-in specs.
Target: i386-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --enable-plugin --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre --enable-libgcj-multifile --enable-java-maintainer-mode --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --with-cpu=generic --host=i386-redhat-linux
Thread model: posix
OS:                Linux

Using Binary NVIDIA Drivers

Tried to use KRANDR to change resolution.  Recieved follow error

Using host libthread_db library "/lib/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread -1208559888 (LWP 30728)]
[KCrash handler]
#6  0x00110402 in __kernel_vsyscall ()
#7  0x00c0b690 in raise () from /lib/libc.so.6
#8  0x00c0cf91 in abort () from /lib/libc.so.6
#9  0x00c0493e in __assert_fail () from /lib/libc.so.6
#10 0x001a75c4 in KWin::SceneOpenGL::paint (this=0x893c160, 
    damage=@0xbf978328, toplevels=@0xbf978324)
    at /home/kdedev/kde/src/KDE/kdebase/workspace/kwin/scene_opengl.cpp:577
#11 0x001973d8 in KWin::Workspace::performCompositing (this=0x8848e80)
    at /home/kdedev/kde/src/KDE/kdebase/workspace/kwin/composite.cpp:327
#12 0x0012db87 in KWin::Workspace::qt_metacall (this=0x8848e80, 
    _c=QMetaObject::InvokeMetaMethod, _id=135, _a=0xbf9783cc)
    at /home/kdedev/kde/build/KDE/kdebase/workspace/kwin/workspace.moc:427
#13 0x0050e13a in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#14 0x0050ea22 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#15 0x00529e97 in QTimer::timeout () from /usr/lib/libQtCore.so.4
#16 0x005140be in QTimer::timerEvent () from /usr/lib/libQtCore.so.4
#17 0x0050a755 in QObject::event () from /usr/lib/libQtCore.so.4
#18 0x02122ac0 in QApplicationPrivate::notify_helper ()
   from /usr/lib/libQtGui.so.4
#19 0x02128a09 in QApplication::notify () from /usr/lib/libQtGui.so.4
#20 0x00885601 in KApplication::notify (this=0xbf978f48, receiver=0x88490cc, 
    event=0xbf978cf8)
    at /home/kdedev/kde/src/KDE/kdelibs/kdeui/kernel/kapplication.cpp:319
#21 0x0014b76e in KWin::Application::notify (this=0xbf978f48, o=0x88490cc, 
    e=0xbf978cf8)
    at /home/kdedev/kde/src/KDE/kdebase/workspace/kwin/main.cpp:287
#22 0x004fc76b in QCoreApplication::notifyInternal ()
   from /usr/lib/libQtCore.so.4
#23 0x0051ffdd in ?? () from /usr/lib/libQtCore.so.4
#24 0x0051d740 in ?? () from /usr/lib/libQtCore.so.4
#25 0x00a2210c in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#26 0x00a2554f in ?? () from /lib/libglib-2.0.so.0
#27 0x00a25ab5 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#28 0x0051dca8 in QEventDispatcherGlib::processEvents ()
   from /usr/lib/libQtCore.so.4
#29 0x0219bfe5 in ?? () from /usr/lib/libQtGui.so.4
#30 0x004fbc91 in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#31 0x004fbd9c in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#32 0x004fe14a in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#33 0x021220c7 in QApplication::exec () from /usr/lib/libQtGui.so.4
#34 0x0014d065 in kdemain (argc=3, argv=0xbf979104)
    at /home/kdedev/kde/src/KDE/kdebase/workspace/kwin/main.cpp:425
#35 0x08048766 in main (argc=)
    at /home/kdedev/kde/build/KDE/kdebase/workspace/kwin/kwin_dummy.cpp:3
#0  0x00110402 in __kernel_vsyscall ()


This is reproducible every time
Comment 1 Lubos Lunak 2008-04-18 15:58:05 UTC
*** Bug 157044 has been marked as a duplicate of this bug. ***
Comment 2 Bram Schoenmakers 2008-04-22 18:22:23 UTC
*** Bug 161158 has been marked as a duplicate of this bug. ***
Comment 3 lucas 2008-06-25 07:00:43 UTC
*** Bug 164895 has been marked as a duplicate of this bug. ***
Comment 4 Bram Schoenmakers 2008-06-27 20:05:39 UTC
*** Bug 165132 has been marked as a duplicate of this bug. ***
Comment 5 Mike 2008-06-27 20:08:06 UTC
Here is part of a slightly more detailed backtrace so you can see which assert is failing.

#5  0x00007f135720a3a5 in *__GI_raise (sig=<value optimized out>)
    at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#6  0x00007f135720b71e in *__GI_abort () at abort.c:88
#7  0x00007f1357203aff in *__GI___assert_fail (
    assertion=0x7f135c7ea254 "windows.contains( c )", 
    file=0x7f135c7ea510 "/var/tmp/portage/kde-base/kdebase-9999.4/work/kdebase-9999.4/workspace/kwin/scene_opengl.cpp", line=612, 
    function=0x7f135c7eaa60 "virtual void KWin::SceneOpenGL::paint(QRegion, KWin::ToplevelList)") at assert.c:78
#8  0x00007f135c7d74b4 in KWin::SceneOpenGL::paint (this=0xad0eb0, 
    damage=@0x7fff64c25cf0, toplevels=<value optimized out>)
    at /var/tmp/portage/kde-base/kdebase-9999.4/work/kdebase-9999.4/workspace/kwin/scene_opengl.cpp:612
#9  0x00007f135c7cc119 in KWin::Workspace::performCompositing (this=0x6d9f50)
    at /var/tmp/portage/kde-base/kdebase-9999.4/work/kdebase-9999.4/workspace/kwin/composite.cpp:343
#10 0x00007f135c7839ea in KWin::Workspace::qt_metacall (this=0x6d9f50, 
    _c=QMetaObject::InvokeMetaMethod, _id=137, _a=0x7fff64c25df0)
    at /var/tmp/portage/kde-base/kdebase-9999.4/work/kdebase_build/workspace/kwin/workspace.moc:433
Comment 6 lucas 2008-06-30 07:47:16 UTC
*** Bug 165387 has been marked as a duplicate of this bug. ***
Comment 7 Drew Fisher 2008-07-04 08:06:06 UTC
I get the same bug, same backtrace whenever I change screen resolution.  I run a dual-head setup - changing either monitor's resolution through XRANDR or through nvidia-settings produces this crash.  I too have the binary nvidia drivers. SVN 827766.
Comment 8 Matt Rogers 2008-07-07 03:47:44 UTC
I have Intel, so it's not NVidia related. 

If somebody can provide a patch or an SVN revision, then I can test any possible fixes.
Comment 9 lucas 2008-07-10 10:52:38 UTC
*** Bug 166201 has been marked as a duplicate of this bug. ***
Comment 10 lucas 2008-07-15 07:45:53 UTC
*** Bug 166595 has been marked as a duplicate of this bug. ***
Comment 11 lucas 2008-07-19 14:23:12 UTC
*** Bug 167001 has been marked as a duplicate of this bug. ***
Comment 12 Carsten Schlipf 2008-07-20 20:57:45 UTC
I can't reproduce this anymore with RC1. Suffered from this Bug with Beta 2. Is it fixed?
Comment 13 Lubos Lunak 2008-08-01 12:16:32 UTC

*** This bug has been marked as a duplicate of 152914 ***
Comment 14 lucas 2008-08-22 17:25:38 UTC
*** Bug 169590 has been marked as a duplicate of this bug. ***