Bug 302078 - Kwin (among other things) crashed on reloading X server.
Summary: Kwin (among other things) crashed on reloading X server.
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-06-17 17:39 UTC by lorddefinitia
Modified: 2012-07-03 13:04 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description lorddefinitia 2012-06-17 17:39:07 UTC
Application: kwin (4.8.3 (4.8.3))
KDE Platform Version: 4.8.3 (4.8.3)
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:

A wine application had crashed, leaving extremely low resolution graphics, so I restarted X.

- Unusual behavior I noticed:

Kwin didn't start up.

- Custom settings of the application:

Not quite KWin's settings, but I'd say that the fact that something crashed in wine, and the subsequent X restart is probably somehow related. This suggests some resources that weren't de-allocated properly when I restarted X?

-- 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 0x7f3b7a2027c0 (LWP 23726))]

Thread 4 (Thread 0x7f3b5b1cd700 (LWP 23733)):
#0  0x00007f3b79a30b03 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f3b6b00e036 in g_main_context_poll (n_fds=1, fds=0x7f3b54001140, timeout=-1, context=0x1da13a0, priority=<optimized out>) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3440
#2  g_main_context_iterate (dispatch=1, block=<optimized out>, context=0x1da13a0, self=<optimized out>) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3141
#3  g_main_context_iterate (context=0x1da13a0, block=<optimized out>, dispatch=1, self=<optimized out>) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3083
#4  0x00007f3b6b00e49a in g_main_loop_run (loop=0x7f3b54001120) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3340
#5  0x00007f3b5b7f498b in ?? () from /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so
#6  0x00007f3b6b02f9e5 in g_thread_proxy (data=0x1d9a9e0) at /build/buildd/glib2.0-2.32.3/./glib/gthread.c:801
#7  0x00007f3b75ca0b74 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#8  0x00007f3b6e27ae9a in start_thread (arg=0x7f3b5b1cd700) at pthread_create.c:308
#9  0x00007f3b79a3c4bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f3b5a5c1700 (LWP 23734)):
#0  0x00007f3b6e27e05d in __pthread_mutex_unlock_usercnt (mutex=<optimized out>, decr=<optimized out>) at pthread_mutex_unlock.c:52
#1  __pthread_mutex_unlock (mutex=0x7f3b54010790) at pthread_mutex_unlock.c:290
#2  0x00007f3b6b0495d1 in g_mutex_unlock (mutex=<optimized out>) at /build/buildd/glib2.0-2.32.3/./glib/gthread-posix.c:227
#3  0x00007f3b6b00dfe9 in g_main_context_iterate (dispatch=1, block=<optimized out>, context=0x7f3b540106d0, self=<optimized out>) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3148
#4  g_main_context_iterate (context=0x7f3b540106d0, block=<optimized out>, dispatch=1, self=<optimized out>) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3083
#5  0x00007f3b6b00e49a in g_main_loop_run (loop=0x7f3b54010680) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3340
#6  0x00007f3b60919406 in gdbus_shared_thread_func (user_data=<optimized out>) at /build/buildd/glib2.0-2.32.3/./gio/gdbusprivate.c:277
#7  0x00007f3b6b02f9e5 in g_thread_proxy (data=0x7f3b5400c940) at /build/buildd/glib2.0-2.32.3/./glib/gthread.c:801
#8  0x00007f3b75ca0b74 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#9  0x00007f3b6e27ae9a in start_thread (arg=0x7f3b5a5c1700) at pthread_create.c:308
#10 0x00007f3b79a3c4bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f3b45a20700 (LWP 23747)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f3b764f5222 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#2  0x00007f3b764f5259 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#3  0x00007f3b75ca0b74 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#4  0x00007f3b6e27ae9a in start_thread (arg=0x7f3b45a20700) at pthread_create.c:308
#5  0x00007f3b79a3c4bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#6  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f3b7a2027c0 (LWP 23726)):
[KCrash Handler]
#6  0x00007f3b6d0ace81 in ?? () from /usr/lib/nvidia-current/libnvidia-glcore.so.295.40
#7  0x00007f3b6d0ae5c4 in ?? () from /usr/lib/nvidia-current/libnvidia-glcore.so.295.40
#8  0x00007f3b6d1c32f8 in ?? () from /usr/lib/nvidia-current/libnvidia-glcore.so.295.40
#9  0x00007f3b6cd56af4 in ?? () from /usr/lib/nvidia-current/libnvidia-glcore.so.295.40
#10 0x00007f3b6cd5702c in ?? () from /usr/lib/nvidia-current/libnvidia-glcore.so.295.40
#11 0x00007f3b75f1ac54 in KWin::GLShader::setUniform (this=<optimized out>, location=5, value=<optimized out>) at ../../../kwin/libkwineffects/kwinglutils.cpp:517
#12 0x00007f3b79dc72e5 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 0x00007f3b79dcdbb0 in KWin::SceneOpenGL::Window::performPaint (this=0x26bb610, mask=1, region=..., data=...) at ../../kwin/scene_opengl.cpp:593
#14 0x00007f3b79db6309 in KWin::Scene::finalDrawWindow (this=<optimized out>, w=<optimized out>, mask=1, region=..., data=...) at ../../kwin/scene.cpp:438
#15 0x00007f3b79dd8d35 in KWin::EffectsHandlerImpl::drawWindow (this=0x2508380, w=0x227ca60, mask=1, region=..., data=...) at ../../kwin/effects.cpp:286
#16 0x00007f3b77ba439b in KWin::Effect::drawWindow (this=<optimized out>, w=0x227ca60, mask=1, region=..., data=...) at ../../../kwin/libkwineffects/kwineffects.cpp:182
#17 0x00007f3b79dd8cc9 in KWin::EffectsHandlerImpl::drawWindow (this=0x2508380, w=0x227ca60, mask=1, region=..., data=...) at ../../kwin/effects.cpp:283
#18 0x00007f3b79db5885 in KWin::Scene::finalPaintWindow (this=<optimized out>, w=0x227ca50, mask=1, region=..., data=...) at ../../kwin/scene.cpp:429
#19 0x00007f3b79dd8fc5 in KWin::EffectsHandlerImpl::paintWindow (this=0x2508380, w=0x227ca60, mask=1, region=..., data=...) at ../../kwin/effects.cpp:249
#20 0x00007f3b46103c0b in KWin::TranslucencyEffect::paintWindow (this=<optimized out>, w=0x227ca60, mask=1, region=..., data=...) at ../../../kwin/effects/translucency/translucency.cpp:169
#21 0x00007f3b79dd8f59 in KWin::EffectsHandlerImpl::paintWindow (this=0x2508380, w=0x227ca60, mask=1, region=..., data=...) at ../../kwin/effects.cpp:246
#22 0x00007f3b79db6508 in KWin::Scene::paintWindow (this=<optimized out>, w=0x26bb610, mask=1, region=..., quads=...) at ../../kwin/scene.cpp:385
#23 0x00007f3b79db70ad in KWin::Scene::paintSimpleScreen (this=0x1fe4620, orig_mask=0, region=<error reading variable: Cannot access memory at address 0xffffffffffffffff>) at ../../kwin/scene.cpp:330
#24 0x00007f3b79db57b4 in KWin::Scene::finalPaintScreen (this=0x1fe4620, mask=0, region=..., data=...) at ../../kwin/scene.cpp:198
#25 0x00007f3b79dd9197 in KWin::EffectsHandlerImpl::paintScreen (this=0x2508380, mask=0, region=..., data=...) at ../../kwin/effects.cpp:222
#26 0x00007f3b77ba4508 in KWin::Effect::paintScreen (this=<optimized out>, mask=0, region=..., data=...) at ../../../kwin/libkwineffects/kwineffects.cpp:142
#27 0x00007f3b79dd913b in KWin::EffectsHandlerImpl::paintScreen (this=0x2508380, mask=0, region=..., data=...) at ../../kwin/effects.cpp:219
#28 0x00007f3b79db87c5 in KWin::Scene::paintScreen (this=0x1fe4620, mask=0x7ffff1fee838, region=0x7ffff1fee900) at ../../kwin/scene.cpp:156
#29 0x00007f3b79dce68d in KWin::SceneOpenGL::paint (this=0x1fe4620, damage=..., toplevels=...) at ../../kwin/scene_opengl_glx.cpp:459
#30 0x00007f3b79db22fc in KWin::Workspace::performCompositing (this=0x22727d0) at ../../kwin/composite.cpp:412
#31 0x00007f3b7516b179 in QObject::event (this=0x22727d0, e=<optimized out>) at kernel/qobject.cpp:1157
#32 0x00007f3b744d4894 in notify_helper (e=0x7ffff1fef000, receiver=0x22727d0, this=0x1d49650) at kernel/qapplication.cpp:4559
#33 QApplicationPrivate::notify_helper (this=0x1d49650, receiver=0x22727d0, e=0x7ffff1fef000) at kernel/qapplication.cpp:4531
#34 0x00007f3b744d9713 in QApplication::notify (this=0x7ffff1fef420, receiver=0x22727d0, e=0x7ffff1fef000) at kernel/qapplication.cpp:4420
#35 0x00007f3b79517bb6 in KApplication::notify (this=0x7ffff1fef420, receiver=0x22727d0, event=0x7ffff1fef000) at ../../kdeui/kernel/kapplication.cpp:311
#36 0x00007f3b75151e9c in QCoreApplication::notifyInternal (this=0x7ffff1fef420, receiver=0x22727d0, event=0x7ffff1fef000) at kernel/qcoreapplication.cpp:876
#37 0x00007f3b751831f2 in sendEvent (event=0x7ffff1fef000, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#38 QTimerInfoList::activateTimers (this=0x1d4a198) at kernel/qeventdispatcher_unix.cpp:611
#39 0x00007f3b75183cb4 in QEventDispatcherUNIX::processEvents (this=0x1c9bad0, flags=...) at kernel/qeventdispatcher_unix.cpp:930
#40 0x00007f3b7457dbf8 in QEventDispatcherX11::processEvents (this=0x1c9bad0, flags=...) at kernel/qeventdispatcher_x11.cpp:152
#41 0x00007f3b75150c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#42 0x00007f3b75150ed7 in QEventLoop::exec (this=0x7ffff1fef360, flags=...) at kernel/qeventloop.cpp:204
#43 0x00007f3b75155f67 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#44 0x00007f3b79d67a06 in kdemain (argc=<optimized out>, argv=<optimized out>) at ../../kwin/main.cpp:541
#45 0x00007f3b7996b76d in __libc_start_main (main=0x400630 <main(int, char**)>, argc=3, ubp_av=0x7ffff1fefb48, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffff1fefb38) at libc-start.c:226
#46 0x0000000000400661 in _start ()

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

Reported using DrKonqi
Comment 1 Martin Flöser 2012-06-17 17:49:38 UTC
crashes in the nvidia driver

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