Bug 298965 - KWin crashes when I change terminal during login
Summary: KWin crashes when I change terminal during login
Status: RESOLVED DUPLICATE of bug 284332
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-28 10:10 UTC by Francesco Presel
Modified: 2013-01-09 21:26 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
mgraesslin: NVIDIA+


Attachments
New crash information added by DrKonqi (6.83 KB, text/plain)
2013-01-09 21:26 UTC, Alain Knaff
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Francesco Presel 2012-04-28 10:10:16 UTC
Application: kwin (4.8.2 (4.8.2))
KDE Platform Version: 4.8.2 (4.8.2)
Qt Version: 4.8.1
Operating System: Linux 3.2.0-24-generic x86_64
Distribution: Ubuntu 12.04 LTS

-- Information about the crash:
- What I was doing when the application crashed:
Just after logging in with KDM, while the KDE session was loading, I switched to tty1 (ctrl+alt+F1) and logged in there as well; I then turned back to tty7 (where the KDE session was loading) and found KWin had crashed

The crash can be reproduced every time.

-- Backtrace:
Application: KWin (kwin), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f3bbb20c7c0 (LWP 2235))]

Thread 3 (Thread 0x7f3b97fff700 (LWP 2242)):
#0  0x00007fffe37e798f in clock_gettime ()
#1  0x00007f3bafcb115d in __GI_clock_gettime (clock_id=<optimized out>, tp=<optimized out>) at ../sysdeps/unix/clock_gettime.c:116
#2  0x00007f3bb6099bb4 in do_gettime (frac=0x7f3b97ffeb68, sec=0x7f3b97ffeb60) at tools/qelapsedtimer_unix.cpp:123
#3  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#4  0x00007f3bb6171b8d in QTimerInfoList::updateCurrentTime (this=0x7f3b8c001198) at kernel/qeventdispatcher_unix.cpp:343
#5  0x00007f3bb6171ec3 in QTimerInfoList::timerWait (this=0x7f3b8c001198, tm=...) at kernel/qeventdispatcher_unix.cpp:450
#6  0x00007f3bb6173d31 in QEventDispatcherUNIX::processEvents (this=0x7f3b8c000910, flags=...) at kernel/qeventdispatcher_unix.cpp:913
#7  0x00007f3bb6140c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#8  0x00007f3bb6140ed7 in QEventLoop::exec (this=0x7f3b97ffecd0, flags=...) at kernel/qeventloop.cpp:204
#9  0x00007f3bb603ffa7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#10 0x00007f3bb61209ff in QInotifyFileSystemWatcherEngine::run (this=0x1444660) at io/qfilesystemwatcher_inotify.cpp:248
#11 0x00007f3bb6042fcb in QThreadPrivate::start (arg=0x1444660) at thread/qthread_unix.cpp:298
#12 0x00007f3bb6c8fb74 in ?? () from /usr/lib/nvidia-current-updates/libGL.so.1
#13 0x00007f3baf26de9a in start_thread (arg=0x7f3b97fff700) at pthread_create.c:308
#14 0x00007f3bbaa2b4bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#15 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f3b977fe700 (LWP 2243)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f3bb74e4222 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#2  0x00007f3bb74e4259 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#3  0x00007f3bb6c8fb74 in ?? () from /usr/lib/nvidia-current-updates/libGL.so.1
#4  0x00007f3baf26de9a in start_thread (arg=0x7f3b977fe700) at pthread_create.c:308
#5  0x00007f3bbaa2b4bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#6  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f3bbb20c7c0 (LWP 2235)):
[KCrash Handler]
#6  0x00007f3bae09fe81 in ?? () from /usr/lib/nvidia-current-updates/libnvidia-glcore.so.295.40
#7  0x00007f3bae0a15c4 in ?? () from /usr/lib/nvidia-current-updates/libnvidia-glcore.so.295.40
#8  0x00007f3bae1b62f8 in ?? () from /usr/lib/nvidia-current-updates/libnvidia-glcore.so.295.40
#9  0x00007f3badd49af4 in ?? () from /usr/lib/nvidia-current-updates/libnvidia-glcore.so.295.40
#10 0x00007f3badd4a02c in ?? () from /usr/lib/nvidia-current-updates/libnvidia-glcore.so.295.40
#11 0x00007f3bb6f09c54 in KWin::GLShader::setUniform (this=<optimized out>, location=5, value=<optimized out>) at ../../../kwin/libkwineffects/kwinglutils.cpp:517
#12 0x00007f3bbadb62e5 in KWin::SceneOpenGL::Window::restoreShaderRenderStates (this=<optimized out>, type=KWin::SceneOpenGL::Window::Content, opacity=<optimized out>, brightness=<optimized out>, saturation=<optimized out>, shader=<optimized out>) at ../../kwin/scene_opengl.cpp:1044
#13 0x00007f3bbadbcbb0 in KWin::SceneOpenGL::Window::performPaint (this=0x150b410, mask=9, region=..., data=...) at ../../kwin/scene_opengl.cpp:593
#14 0x00007f3bbada5309 in KWin::Scene::finalDrawWindow (this=<optimized out>, w=<optimized out>, mask=9, region=..., data=...) at ../../kwin/scene.cpp:438
#15 0x00007f3bbadc7d35 in KWin::EffectsHandlerImpl::drawWindow (this=0x12c2b40, w=0x150a090, mask=9, region=..., data=...) at ../../kwin/effects.cpp:286
#16 0x00007f3b9cd20077 in KWin::BlurEffect::drawWindow (this=<optimized out>, w=0x150a090, mask=9, region=..., data=...) at ../../../kwin/effects/blur/blur.cpp:389
#17 0x00007f3bbadc7cc9 in KWin::EffectsHandlerImpl::drawWindow (this=0x12c2b40, w=0x150a090, mask=9, region=..., data=...) at ../../kwin/effects.cpp:283
#18 0x00007f3bb8b9339b in KWin::Effect::drawWindow (this=<optimized out>, w=0x150a090, mask=9, region=..., data=...) at ../../../kwin/libkwineffects/kwineffects.cpp:182
#19 0x00007f3bbadc7cc9 in KWin::EffectsHandlerImpl::drawWindow (this=0x12c2b40, w=0x150a090, mask=9, region=..., data=...) at ../../kwin/effects.cpp:283
#20 0x00007f3bbada4885 in KWin::Scene::finalPaintWindow (this=<optimized out>, w=0x150a080, mask=9, region=..., data=...) at ../../kwin/scene.cpp:429
#21 0x00007f3bbadc7fc5 in KWin::EffectsHandlerImpl::paintWindow (this=0x12c2b40, w=0x150a090, mask=9, region=..., data=...) at ../../kwin/effects.cpp:249
#22 0x00007f3bb8b9349b in KWin::Effect::paintWindow (this=<optimized out>, w=0x150a090, mask=9, region=..., data=...) at ../../../kwin/libkwineffects/kwineffects.cpp:157
#23 0x00007f3bbadc7f59 in KWin::EffectsHandlerImpl::paintWindow (this=0x12c2b40, w=0x150a090, mask=9, region=..., data=...) at ../../kwin/effects.cpp:246
#24 0x00007f3b9cd09bcb in KWin::TranslucencyEffect::paintWindow (this=<optimized out>, w=0x150a090, mask=9, region=..., data=...) at ../../../kwin/effects/translucency/translucency.cpp:169
#25 0x00007f3bbadc7f59 in KWin::EffectsHandlerImpl::paintWindow (this=0x12c2b40, w=0x150a090, mask=9, region=..., data=...) at ../../kwin/effects.cpp:246
#26 0x00007f3bbada5508 in KWin::Scene::paintWindow (this=<optimized out>, w=0x150b410, mask=9, region=..., quads=...) at ../../kwin/scene.cpp:385
#27 0x00007f3bbada60ad in KWin::Scene::paintSimpleScreen (this=0xd06960, orig_mask=8, region=<error reading variable: Cannot access memory at address 0xffffffffffffffff>) at ../../kwin/scene.cpp:330
#28 0x00007f3bbada47b4 in KWin::Scene::finalPaintScreen (this=0xd06960, mask=8, region=..., data=...) at ../../kwin/scene.cpp:198
#29 0x00007f3bbadc8197 in KWin::EffectsHandlerImpl::paintScreen (this=0x12c2b40, mask=8, region=..., data=...) at ../../kwin/effects.cpp:222
#30 0x00007f3bb8b93508 in KWin::Effect::paintScreen (this=<optimized out>, mask=8, region=..., data=...) at ../../../kwin/libkwineffects/kwineffects.cpp:142
#31 0x00007f3bbadc813b in KWin::EffectsHandlerImpl::paintScreen (this=0x12c2b40, mask=8, region=..., data=...) at ../../kwin/effects.cpp:219
#32 0x00007f3bb8b93508 in KWin::Effect::paintScreen (this=<optimized out>, mask=8, region=..., data=...) at ../../../kwin/libkwineffects/kwineffects.cpp:142
#33 0x00007f3bbadc813b in KWin::EffectsHandlerImpl::paintScreen (this=0x12c2b40, mask=8, region=..., data=...) at ../../kwin/effects.cpp:219
#34 0x00007f3bbada77c5 in KWin::Scene::paintScreen (this=0xd06960, mask=0x7fffe3795bc8, region=0x7fffe3795c90) at ../../kwin/scene.cpp:156
#35 0x00007f3bbadbd68d in KWin::SceneOpenGL::paint (this=0xd06960, damage=..., toplevels=...) at ../../kwin/scene_opengl_glx.cpp:459
#36 0x00007f3bbada12fc in KWin::Workspace::performCompositing (this=0xeeeec0) at ../../kwin/composite.cpp:412
#37 0x00007f3bb615b179 in QObject::event (this=0xeeeec0, e=<optimized out>) at kernel/qobject.cpp:1157
#38 0x00007f3bb54c4894 in notify_helper (e=0x7fffe3796390, receiver=0xeeeec0, this=0xd708d0) at kernel/qapplication.cpp:4559
#39 QApplicationPrivate::notify_helper (this=0xd708d0, receiver=0xeeeec0, e=0x7fffe3796390) at kernel/qapplication.cpp:4531
#40 0x00007f3bb54c9713 in QApplication::notify (this=0x7fffe37967b0, receiver=0xeeeec0, e=0x7fffe3796390) at kernel/qapplication.cpp:4420
#41 0x00007f3bba506b46 in KApplication::notify (this=0x7fffe37967b0, receiver=0xeeeec0, event=0x7fffe3796390) at ../../kdeui/kernel/kapplication.cpp:311
#42 0x00007f3bb6141e9c in QCoreApplication::notifyInternal (this=0x7fffe37967b0, receiver=0xeeeec0, event=0x7fffe3796390) at kernel/qcoreapplication.cpp:876
#43 0x00007f3bb61731f2 in sendEvent (event=0x7fffe3796390, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#44 QTimerInfoList::activateTimers (this=0xd71418) at kernel/qeventdispatcher_unix.cpp:611
#45 0x00007f3bb6173cb4 in QEventDispatcherUNIX::processEvents (this=0xcc5ad0, flags=...) at kernel/qeventdispatcher_unix.cpp:930
#46 0x00007f3bb556dbf8 in QEventDispatcherX11::processEvents (this=0xcc5ad0, flags=...) at kernel/qeventdispatcher_x11.cpp:152
#47 0x00007f3bb6140c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#48 0x00007f3bb6140ed7 in QEventLoop::exec (this=0x7fffe37966f0, flags=...) at kernel/qeventloop.cpp:204
#49 0x00007f3bb6145f67 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#50 0x00007f3bbad56a06 in kdemain (argc=<optimized out>, argv=<optimized out>) at ../../kwin/main.cpp:541
#51 0x00007f3bba95a76d in __libc_start_main (main=0x400640 <main(int, char**)>, argc=1, ubp_av=0x7fffe3796ed8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffe3796ec8) at libc-start.c:226
#52 0x0000000000400671 in _start ()

Possible duplicates by query: bug 297968, bug 287843, bug 285737, bug 284332, bug 283577.

Reported using DrKonqi
Comment 1 Thomas Lübking 2012-04-28 10:15:25 UTC
disable opengl shaders in "kcmshell4 kwincompositing", 3rd tab - there seems to be a bug or incompat in nvidias 64 bit drivers ...

*** This bug has been marked as a duplicate of bug 284332 ***
Comment 2 Alain Knaff 2013-01-09 21:26:21 UTC
Created attachment 76344 [details]
New crash information added by DrKonqi

kwin (4.8.5 (4.8.5)) on KDE Platform 4.8.5 (4.8.5) using Qt 4.8.1

- What I was doing when the application crashed:

I logged in, switched to VC 1 immediately (before splash screen was gone), and did some stuff there. On my return to X a couple of minutes later, I found that the Crash Reporting Assistant was up...

-- Backtrace (Reduced):
#11 0x00007f23e6259c54 in KWin::GLShader::setUniform (this=<optimized out>, location=5, value=<optimized out>) at ../../../kwin/libkwineffects/kwinglutils.cpp:517
#12 0x00007f23ea10b545 in KWin::SceneOpenGL::Window::restoreShaderRenderStates (this=<optimized out>, type=KWin::SceneOpenGL::Window::Content, opacity=<optimized out>, brightness=<optimized out>, saturation=<optimized out>, shader=<optimized out>) at ../../kwin/scene_opengl.cpp:1044
#13 0x00007f23ea111e10 in KWin::SceneOpenGL::Window::performPaint (this=0x21fb650, mask=1, region=..., data=...) at ../../kwin/scene_opengl.cpp:593
#14 0x00007f23ea0fa569 in KWin::Scene::finalDrawWindow (this=<optimized out>, w=<optimized out>, mask=1, region=..., data=...) at ../../kwin/scene.cpp:438
#15 0x00007f23ea11cf95 in KWin::EffectsHandlerImpl::drawWindow (this=0x2001270, w=0x21fa750, mask=1, region=..., data=...) at ../../kwin/effects.cpp:286