Bug 254568

Summary: kwin crashes after login
Product: [Plasma] kwin Reporter: Vadym Krevs <vkrevs>
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash CC: helder.meneses, naechev
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Vadym Krevs 2010-10-18 18:53:57 UTC
Application: kwin (4.5.2 (KDE 4.5.2) "release 10")
KDE Platform Version: 4.5.2 (KDE 4.5.2) "release 10"
Qt Version: 4.6.3
Operating System: Linux 2.6.34.7-0.4-desktop x86_64
Distribution: "openSUSE 11.3 (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed:

Got a new desktop today with an NVDIA GeForce 310 card. Moved the harddrive from the old desktop (which had a NVIDIA GeForce 7600 GS) into the new machine. Binary NVIDIA driver was already installed (260.19.04) and worked faultlessly. Desktop effects were off. Everything was fine. Attempted to enable desktop effects. LOgged off and logged back on. Now kwin seems to crash on login.

The crash can be reproduced some of the time.

-- Backtrace:
Application: KWin (kwin), signal: Aborted
82	T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[KCrash Handler]
#6  0x00007f3dd8dfb9e5 in raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#7  0x00007f3dd8dfcee6 in abort () at abort.c:92
#8  0x00007f3dd4507cdd in __gnu_cxx::__verbose_terminate_handler () at ../../../../libstdc++-v3/libsupc++/vterminate.cc:93
#9  0x00007f3dd4505ef6 in __cxxabiv1::__terminate (handler=<value optimized out>) at ../../../../libstdc++-v3/libsupc++/eh_terminate.cc:39
#10 0x00007f3dd4505f23 in std::terminate () at ../../../../libstdc++-v3/libsupc++/eh_terminate.cc:49
#11 0x00007f3dd450602e in __cxxabiv1::__cxa_throw (obj=<value optimized out>, tinfo=<value optimized out>, dest=<value optimized out>) at ../../../../libstdc++-v3/libsupc++/eh_throw.cc:83
#12 0x00007f3dd450643d in operator new (sz=18446744073515226752) at ../../../../libstdc++-v3/libsupc++/new_op.cc:58
#13 0x00007f3dd45064f9 in operator new[] (sz=<value optimized out>) at ../../../../libstdc++-v3/libsupc++/new_opv.cc:32
#14 0x00007f3dd780f8cb in KWin::GLShader::load (this=0x85c210, vertexsource=<value optimized out>, fragmentsource=...) at /usr/src/debug/kdebase-workspace-4.5.2/kwin/lib/kwinglutils.cpp:821
#15 0x00007f3dd781030b in KWin::GLShader::loadFromFiles (this=0x85c210, vertexfile=..., fragmentfile=...) at /usr/src/debug/kdebase-workspace-4.5.2/kwin/lib/kwinglutils.cpp:785
#16 0x00007f3dd7812963 in KWin::ShaderEffect::loadData (this=0x85ed70, shadername=<value optimized out>) at /usr/src/debug/kdebase-workspace-4.5.2/kwin/lib/kwinshadereffect.cpp:86
#17 0x00007f3dd7812c52 in KWin::ShaderEffect::ShaderEffect (this=0x85ed70, shadername=...) at /usr/src/debug/kdebase-workspace-4.5.2/kwin/lib/kwinshadereffect.cpp:43
#18 0x00007f3dc0b4a958 in KWin::SharpenEffect::SharpenEffect (this=0x85ed60) at /usr/src/debug/kdebase-workspace-4.5.2/kwin/effects/sharpen/sharpen.cpp:36
#19 0x00007f3dc0b4aac6 in KWin::effect_create_kwin4_effect_sharpen () at /usr/src/debug/kdebase-workspace-4.5.2/kwin/effects/sharpen/sharpen.cpp:32
#20 0x00007f3dd91b93df in KWin::EffectsHandlerImpl::loadEffect (this=0x78cd20, name=...) at /usr/src/debug/kdebase-workspace-4.5.2/kwin/effects.cpp:1099
#21 0x00007f3dd91ba861 in KWin::EffectsHandlerImpl::reconfigure (this=0x78cd20) at /usr/src/debug/kdebase-workspace-4.5.2/kwin/effects.cpp:142
#22 0x00007f3dd91bb5ec in KWin::Workspace::setupCompositing (this=0x718510) at /usr/src/debug/kdebase-workspace-4.5.2/kwin/composite.cpp:230
#23 0x00007f3dd91ee30d in KWin::Workspace::Workspace (this=0x718510, restore=false) at /usr/src/debug/kdebase-workspace-4.5.2/kwin/workspace.cpp:217
#24 0x00007f3dd91ee88e in KWin::Application::Application (this=<value optimized out>) at /usr/src/debug/kdebase-workspace-4.5.2/kwin/main.cpp:326
#25 0x00007f3dd91f004e in kdemain (argc=<value optimized out>, argv=0x7ffff46aed00) at /usr/src/debug/kdebase-workspace-4.5.2/kwin/main.cpp:510
#26 0x00007f3dd8de7b7d in __libc_start_main (main=0x400770 <main(int, char**)>, argc=3, ubp_av=0x7ffff46af318, init=<value optimized out>, fini=<value optimized out>, rtld_fini=<value optimized out>, stack_end=0x7ffff46af308) at libc-start.c:226
#27 0x0000000000400699 in _start () at ../sysdeps/x86_64/elf/start.S:113

Possible duplicates by query: bug 247579, bug 242840, bug 240373, bug 234694, bug 234576.

Reported using DrKonqi
Comment 1 Martin Flöser 2010-10-18 18:58:57 UTC
The crash is caused by the sharpen effect. I recommend to disable this effect 
as you do not need it for NVIDIA cards and it has a significant penality hit.
Comment 2 Helder Meneses 2010-10-28 19:24:03 UTC
Hi there,

i have this problem and now i cant do anything with my computer...

i dont have effects enable, and it crash...

when will the KDE be stable enough to work daily basis? it's like a never ending story for users...

put kde stable ... and when using the word stable, is like no errors...

sad...
Comment 3 Christoph Feck 2010-10-28 20:47:48 UTC
Helder, please file a new bug report with the backtrace you get, it might be a completely different bug you are seeing.

For more information, see http://techbase.kde.org/Development/Tutorials/Debugging/How_to_create_useful_crash_reports
Comment 4 Thomas Lübking 2011-04-08 00:06:13 UTC
*** Bug 270382 has been marked as a duplicate of this bug. ***
Comment 5 Martin Flöser 2011-05-07 10:19:56 UTC
This should have been fixed with:

Git commit 505f7cc14a7ee9914a7d75128e28476ead34b9e0 by Thomas Lübking.
Committed on 19/04/2011 at 02:41.
Pushed by luebking into branch 'KDE/4.6'.

Validate/check logarry in lanczos filter

this will *probably* fix the mysterious __cxa_rethrow bug
we still need validation from someone encountering the bug

CCBUG: 241163

M  +64   -28   kwin/lib/kwinglutils.cpp     

http://commits.kde.org/kde-workspace/505f7cc14a7ee9914a7d75128e28476ead34b9e0

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