Bug 264349

Summary: Crash when accessing Virtual Desktop Wall
Product: [Plasma] kwin Reporter: Terrible Monster <sklep>
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED UPSTREAM    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Terrible Monster 2011-01-26 17:24:18 UTC
Application: kwin (4.5.5 (KDE 4.5.5))
KDE Platform Version: 4.5.5 (KDE 4.5.5)
Qt Version: 4.7.0
Operating System: Linux 2.6.35-24-generic x86_64
Distribution: Ubuntu 10.10

-- Information about the crash:
Moved my mouse to one of the hot corners to see the Wall with all my virtual desktops. KWin crashed.

-- Backtrace:
Application: KWin (kwin), signal: Aborted
[Current thread is 1 (Thread 0x7f22306507a0 (LWP 1831))]

Thread 3 (Thread 0x7f2217e9e700 (LWP 1832)):
#0  __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97
#1  0x00007f222fe6a1dc in _L_lock_12347 () from /lib/libc.so.6
#2  0x00007f222fe68c78 in __libc_free (mem=0x7f2230169e40) at malloc.c:3736
#3  0x00007f222636c8bb in ?? () from /usr/lib/nvidia-current/tls/libnvidia-tls.so.260.19.06
#4  0x00007f222c6fc46c in cleanup (this=<value optimized out>, __in_chrg=<value optimized out>) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:62
#5  ~QScopedPointer (this=<value optimized out>, __in_chrg=<value optimized out>) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:100
#6  QObject::~QObject (this=<value optimized out>, __in_chrg=<value optimized out>) at kernel/qobject.cpp:963
#7  0x00007f222c710ee7 in QEventDispatcherUNIX::~QEventDispatcherUNIX (this=0x7f2230169e40, __in_chrg=<value optimized out>) at kernel/qeventdispatcher_unix.cpp:627
#8  0x00007f222c5eeac4 in QThreadPrivate::finish (arg=<value optimized out>) at thread/qthread_unix.cpp:302
#9  0x00007f222c5ef286 in ~__pthread_cleanup_class (arg=0x7f222ca14f40) at /usr/include/pthread.h:545
#10 QThreadPrivate::start (arg=0x7f222ca14f40) at thread/qthread_unix.cpp:271
#11 0x00007f222dc15953 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#12 0x00007f222c364971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#13 0x00007f222fed192d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#14 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f220af86700 (LWP 1834)):
#0  __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97
#1  0x00007f222fe6a1dc in _L_lock_12347 () from /lib/libc.so.6
#2  0x00007f222fe68c78 in __libc_free (mem=0x7f2230169e40) at malloc.c:3736
#3  0x00007f222636c8bb in ?? () from /usr/lib/nvidia-current/tls/libnvidia-tls.so.260.19.06
#4  0x00007f222c710dce in QEventDispatcherUNIX::unregisterSocketNotifier (this=<value optimized out>, notifier=<value optimized out>) at kernel/qeventdispatcher_unix.cpp:802
#5  0x00007f222c711f77 in QEventDispatcherUNIXPrivate::doSelect (this=0x1f4be20, flags=<value optimized out>, timeout=<value optimized out>) at kernel/qeventdispatcher_unix.cpp:261
#6  0x00007f222c71281b in QEventDispatcherUNIX::processEvents (this=0x1f2d8c0, flags=) at kernel/qeventdispatcher_unix.cpp:919
#7  0x00007f222c6e1a02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#8  0x00007f222c6e1dec in QEventLoop::exec (this=0x7f220af85cb0, flags=) at kernel/qeventloop.cpp:201
#9  0x00007f222c5ec2fd in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:490
#10 0x00007f222c6c15f8 in QInotifyFileSystemWatcherEngine::run (this=0x1f4aca0) at io/qfilesystemwatcher_inotify.cpp:248
#11 0x00007f222c5ef27e in QThreadPrivate::start (arg=0x1f4aca0) at thread/qthread_unix.cpp:266
#12 0x00007f222dc15953 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#13 0x00007f222c364971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#14 0x00007f222fed192d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#15 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f22306507a0 (LWP 1831)):
[KCrash Handler]
#6  0x00007f222fe1eba5 in raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#7  0x00007f222fe226b0 in abort () at abort.c:92
#8  0x00007f222fe5843b in __libc_message (do_abort=<value optimized out>, fmt=<value optimized out>) at ../sysdeps/unix/sysv/linux/libc_fatal.c:189
#9  0x00007f222fe624b6 in malloc_printerr (action=3, str=0x7f222ff32ca2 "corrupted double-linked list", ptr=<value optimized out>) at malloc.c:6283
#10 0x00007f222fe62961 in malloc_consolidate (av=<value optimized out>) at malloc.c:5169
#11 0x00007f222fe65e82 in _int_malloc (av=0x7f2230169e40, bytes=1831) at malloc.c:4373
#12 0x00007f222fe69254 in __libc_calloc (n=<value optimized out>, elem_size=<value optimized out>) at malloc.c:4065
#13 0x00007f222568eb77 in ?? () from /usr/lib/nvidia-current/libnvidia-glcore.so.260.19.06
#14 0x00007f222568efcc in ?? () from /usr/lib/nvidia-current/libnvidia-glcore.so.260.19.06
#15 0x00007f222551897f in ?? () from /usr/lib/nvidia-current/libnvidia-glcore.so.260.19.06
#16 0x00007f2225522b7e in ?? () from /usr/lib/nvidia-current/libnvidia-glcore.so.260.19.06
#17 0x00007f222e80cbb7 in KWin::GLTexture::bind (this=0x7fffab183860) at ../../../kwin/lib/kwinglutils.cpp:490
#18 0x00007f222e80cfe1 in KWin::GLTexture::GLTexture (this=0x7fffab183860, width=162, height=99) at ../../../kwin/lib/kwinglutils.cpp:381
#19 0x00007f2216c21c0d in KWin::BlurEffect::drawWindow (this=0x1ac7310, w=0x5570040, mask=<value optimized out>, region=<value optimized out>, data=...) at ../../../kwin/effects/blur/blur.cpp:260
#20 0x00007f2230240388 in KWin::EffectsHandlerImpl::drawWindow (this=0x1a8ae40, w=0x5570040, mask=2, region=<value optimized out>, data=<value optimized out>) at ../../kwin/effects.cpp:228
#21 0x00007f222e80080c in KWin::Effect::drawWindow (this=<value optimized out>, w=0x5570040, mask=2, region=<value optimized out>, data=<value optimized out>) at ../../../kwin/lib/kwineffects.cpp:252
#22 0x00007f2230240388 in KWin::EffectsHandlerImpl::drawWindow (this=0x1a8ae40, w=0x5570040, mask=2, region=<value optimized out>, data=<value optimized out>) at ../../kwin/effects.cpp:228
#23 0x00007f222e80080c in KWin::Effect::drawWindow (this=<value optimized out>, w=0x5570040, mask=2, region=<value optimized out>, data=<value optimized out>) at ../../../kwin/lib/kwineffects.cpp:252
#24 0x00007f2230240388 in KWin::EffectsHandlerImpl::drawWindow (this=0x1a8ae40, w=0x5570040, mask=2, region=<value optimized out>, data=<value optimized out>) at ../../kwin/effects.cpp:228
#25 0x00007f222e80080c in KWin::Effect::drawWindow (this=<value optimized out>, w=0x5570040, mask=2, region=<value optimized out>, data=<value optimized out>) at ../../../kwin/lib/kwineffects.cpp:252
#26 0x00007f2230240388 in KWin::EffectsHandlerImpl::drawWindow (this=0x1a8ae40, w=0x5570040, mask=2, region=<value optimized out>, data=<value optimized out>) at ../../kwin/effects.cpp:228
#27 0x00007f222e80080c in KWin::Effect::drawWindow (this=<value optimized out>, w=0x5570040, mask=2, region=<value optimized out>, data=<value optimized out>) at ../../../kwin/lib/kwineffects.cpp:252
#28 0x00007f2230240388 in KWin::EffectsHandlerImpl::drawWindow (this=0x1a8ae40, w=0x5570040, mask=2, region=<value optimized out>, data=<value optimized out>) at ../../kwin/effects.cpp:228
#29 0x00007f222e80080c in KWin::Effect::drawWindow (this=<value optimized out>, w=0x5570040, mask=2, region=<value optimized out>, data=<value optimized out>) at ../../../kwin/lib/kwineffects.cpp:252
#30 0x00007f2230240388 in KWin::EffectsHandlerImpl::drawWindow (this=0x1a8ae40, w=0x5570040, mask=2, region=<value optimized out>, data=<value optimized out>) at ../../kwin/effects.cpp:228
#31 0x00007f222e80080c in KWin::Effect::drawWindow (this=<value optimized out>, w=0x5570040, mask=2, region=<value optimized out>, data=<value optimized out>) at ../../../kwin/lib/kwineffects.cpp:252
#32 0x00007f2230240388 in KWin::EffectsHandlerImpl::drawWindow (this=0x1a8ae40, w=0x5570040, mask=2, region=<value optimized out>, data=<value optimized out>) at ../../kwin/effects.cpp:228
#33 0x00007f222e80080c in KWin::Effect::drawWindow (this=<value optimized out>, w=0x5570040, mask=2, region=<value optimized out>, data=<value optimized out>) at ../../../kwin/lib/kwineffects.cpp:252
#34 0x00007f2230240388 in KWin::EffectsHandlerImpl::drawWindow (this=0x1a8ae40, w=0x5570040, mask=2, region=<value optimized out>, data=<value optimized out>) at ../../kwin/effects.cpp:228
#35 0x00007f222e80080c in KWin::Effect::drawWindow (this=<value optimized out>, w=0x5570040, mask=2, region=<value optimized out>, data=<value optimized out>) at ../../../kwin/lib/kwineffects.cpp:252
#36 0x00007f2230240388 in KWin::EffectsHandlerImpl::drawWindow (this=0x1a8ae40, w=0x5570040, mask=2, region=<value optimized out>, data=<value optimized out>) at ../../kwin/effects.cpp:228
#37 0x00007f222e80080c in KWin::Effect::drawWindow (this=<value optimized out>, w=0x5570040, mask=2, region=<value optimized out>, data=<value optimized out>) at ../../../kwin/lib/kwineffects.cpp:252
#38 0x00007f2230240388 in KWin::EffectsHandlerImpl::drawWindow (this=0x1a8ae40, w=0x5570040, mask=2, region=<value optimized out>, data=<value optimized out>) at ../../kwin/effects.cpp:228
#39 0x00007f222e80080c in KWin::Effect::drawWindow (this=<value optimized out>, w=0x5570040, mask=2, region=<value optimized out>, data=<value optimized out>) at ../../../kwin/lib/kwineffects.cpp:252
#40 0x00007f2230240388 in KWin::EffectsHandlerImpl::drawWindow (this=0x1a8ae40, w=0x5570040, mask=2, region=<value optimized out>, data=<value optimized out>) at ../../kwin/effects.cpp:228
#41 0x00007f222e80080c in KWin::Effect::drawWindow (this=<value optimized out>, w=0x5570040, mask=2, region=<value optimized out>, data=<value optimized out>) at ../../../kwin/lib/kwineffects.cpp:252
#42 0x00007f2230240388 in KWin::EffectsHandlerImpl::drawWindow (this=0x1a8ae40, w=0x5570040, mask=2, region=<value optimized out>, data=<value optimized out>) at ../../kwin/effects.cpp:228
#43 0x00007f222e80080c in KWin::Effect::drawWindow (this=<value optimized out>, w=0x5570040, mask=2, region=<value optimized out>, data=<value optimized out>) at ../../../kwin/lib/kwineffects.cpp:252
#44 0x00007f2230240388 in KWin::EffectsHandlerImpl::drawWindow (this=0x1a8ae40, w=0x5570040, mask=2, region=<value optimized out>, data=<value optimized out>) at ../../kwin/effects.cpp:228
#45 0x00007f222e80080c in KWin::Effect::drawWindow (this=<value optimized out>, w=0x5570040, mask=2, region=<value optimized out>, data=<value optimized out>) at ../../../kwin/lib/kwineffects.cpp:252
#46 0x00007f2230240388 in KWin::EffectsHandlerImpl::drawWindow (this=0x1a8ae40, w=0x5570040, mask=2, region=<value optimized out>, data=<value optimized out>) at ../../kwin/effects.cpp:228
#47 0x00007f222e80080c in KWin::Effect::drawWindow (this=<value optimized out>, w=0x5570040, mask=2, region=<value optimized out>, data=<value optimized out>) at ../../../kwin/lib/kwineffects.cpp:252
#48 0x00007f2230240388 in KWin::EffectsHandlerImpl::drawWindow (this=0x1a8ae40, w=0x5570040, mask=2, region=<value optimized out>, data=<value optimized out>) at ../../kwin/effects.cpp:228
#49 0x00007f222e80080c in KWin::Effect::drawWindow (this=<value optimized out>, w=0x5570040, mask=2, region=<value optimized out>, data=<value optimized out>) at ../../../kwin/lib/kwineffects.cpp:252
#50 0x00007f2230240388 in KWin::EffectsHandlerImpl::drawWindow (this=0x1a8ae40, w=0x5570040, mask=2, region=<value optimized out>, data=<value optimized out>) at ../../kwin/effects.cpp:228
#51 0x00007f2216bdaa5a in KWin::DesktopGridEffect::paintScreen (this=0x1aeffb0, mask=<value optimized out>, region=<value optimized out>, data=<value optimized out>) at ../../../kwin/effects/desktopgrid/desktopgrid.cpp:183
#52 0x00007f22302405be in KWin::EffectsHandlerImpl::paintScreen (this=0x1a8ae40, mask=80, region=) at ../../kwin/effects.cpp:168
#53 0x00007f2216c16b05 in KWin::SlideEffect::paintScreen (this=<value optimized out>, mask=<value optimized out>, region=<value optimized out>, data=...) at ../../../kwin/effects/slide/slide.cpp:86
#54 0x00007f22302405be in KWin::EffectsHandlerImpl::paintScreen (this=0x1a8ae40, mask=80, region=) at ../../kwin/effects.cpp:168
#55 0x00007f2216bd5c02 in KWin::BoxSwitchEffect::paintScreen (this=0x1bf3f10, mask=80, region=) at ../../../kwin/effects/boxswitch/boxswitch.cpp:142
#56 0x00007f22302405be in KWin::EffectsHandlerImpl::paintScreen (this=0x1a8ae40, mask=80, region=) at ../../kwin/effects.cpp:168
#57 0x00007f2216c30342 in KWin::CubeEffect::paintScreen (this=<value optimized out>, mask=80, region=) at ../../../kwin/effects/cube/cube.cpp:697
#58 0x00007f22302405be in KWin::EffectsHandlerImpl::paintScreen (this=0x1a8ae40, mask=80, region=) at ../../kwin/effects.cpp:168
#59 0x00007f222e80091f in KWin::Effect::paintScreen (this=<value optimized out>, mask=80, region=<value optimized out>, data=...) at ../../../kwin/lib/kwineffects.cpp:227
#60 0x00007f22302405be in KWin::EffectsHandlerImpl::paintScreen (this=0x1a8ae40, mask=80, region=) at ../../kwin/effects.cpp:168
#61 0x00007f222e80091f in KWin::Effect::paintScreen (this=<value optimized out>, mask=80, region=<value optimized out>, data=...) at ../../../kwin/lib/kwineffects.cpp:227
#62 0x00007f22302405be in KWin::EffectsHandlerImpl::paintScreen (this=0x1a8ae40, mask=80, region=) at ../../kwin/effects.cpp:168
#63 0x00007f2216c26c64 in KWin::CoverSwitchEffect::paintScreen (this=0x1d815d0, mask=80, region=<value optimized out>, data=...) at ../../../kwin/effects/coverswitch/coverswitch.cpp:124
#64 0x00007f22302405be in KWin::EffectsHandlerImpl::paintScreen (this=0x1a8ae40, mask=80, region=) at ../../kwin/effects.cpp:168
#65 0x00007f222e80091f in KWin::Effect::paintScreen (this=<value optimized out>, mask=80, region=<value optimized out>, data=...) at ../../../kwin/lib/kwineffects.cpp:227
#66 0x00007f22302405be in KWin::EffectsHandlerImpl::paintScreen (this=0x1a8ae40, mask=80, region=) at ../../kwin/effects.cpp:168
#67 0x00007f2216c1fe11 in KWin::ZoomEffect::paintScreen (this=<value optimized out>, mask=80, region=) at ../../../kwin/effects/zoom/zoom.cpp:73
#68 0x00007f22302405be in KWin::EffectsHandlerImpl::paintScreen (this=0x1a8ae40, mask=80, region=) at ../../kwin/effects.cpp:168
#69 0x00007f2230228205 in KWin::Scene::paintScreen (this=0x19f4490, mask=0x7fffab1854ac, region=0x7fffab1855d0) at ../../kwin/scene.cpp:137
#70 0x00007f2230238e10 in KWin::SceneOpenGL::paint (this=0x19f4490, damage=<value optimized out>, toplevels=<value optimized out>) at ../../kwin/scene_opengl.cpp:764
#71 0x00007f2230223317 in KWin::Workspace::performCompositing (this=<value optimized out>) at ../../kwin/composite.cpp:454
#72 0x00007f22301a47dd in KWin::Workspace::qt_metacall (this=0x175e950, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffab185780) at ./workspace.moc:583
#73 0x00007f222c6fab27 in QMetaObject::activate (sender=0x175ee18, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0xffffffffffffffff) at kernel/qobject.cpp:3280
#74 0x00007f222c6f48f9 in QObject::event (this=0x175ee18, e=0x727) at kernel/qobject.cpp:1183
#75 0x00007f222b82cfdc in QApplicationPrivate::notify_helper (this=0x1793d60, receiver=0x175ee18, e=0x7fffab185ed0) at kernel/qapplication.cpp:4396
#76 0x00007f222b832aed in QApplication::notify (this=0x7fffab1862c0, receiver=0x175ee18, e=0x7fffab185ed0) at kernel/qapplication.cpp:4277
#77 0x00007f222f9cb586 in KApplication::notify (this=0x7fffab1862c0, receiver=0x175ee18, event=0x7fffab185ed0) at ../../kdeui/kernel/kapplication.cpp:310
#78 0x00007f222c6e2cdc in QCoreApplication::notifyInternal (this=0x7fffab1862c0, receiver=0x175ee18, event=0x7fffab185ed0) at kernel/qcoreapplication.cpp:732
#79 0x00007f222c7126f2 in sendEvent (this=0x1794770) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#80 QTimerInfoList::activateTimers (this=0x1794770) at kernel/qeventdispatcher_unix.cpp:602
#81 0x00007f222c71282c in QEventDispatcherUNIX::processEvents (this=0x176fe20, flags=) at kernel/qeventdispatcher_unix.cpp:923
#82 0x00007f222b8e0c2f in QEventDispatcherX11::processEvents (this=<value optimized out>, flags=) at kernel/qeventdispatcher_x11.cpp:152
#83 0x00007f222c6e1a02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#84 0x00007f222c6e1dec in QEventLoop::exec (this=0x7fffab186200, flags=) at kernel/qeventloop.cpp:201
#85 0x00007f222c6e5ebb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#86 0x00007f22301c0f9d in kdemain (argc=<value optimized out>, argv=<value optimized out>) at ../../kwin/main.cpp:531
#87 0x00007f222fe09d8e in __libc_start_main (main=<value optimized out>, argc=<value optimized out>, ubp_av=<value optimized out>, init=<value optimized out>, fini=<value optimized out>, rtld_fini=<value optimized out>, stack_end=0x7fffab1868c8) at libc-start.c:226
#88 0x0000000000400669 in _start ()

Possible duplicates by query: bug 251521.

Reported using DrKonqi
Comment 1 Martin Flöser 2011-01-26 17:27:16 UTC
crashes in the NVIDIA blob
Comment 2 Christoph Feck 2011-01-26 21:20:37 UTC
Well, it crashes because of memory corruption, which could have happened anyway. If you can reproduce it, we need a valgrind log.
Comment 3 Terrible Monster 2011-01-26 23:19:41 UTC
If I know how to give you a valgrind log, I shall do that. :)(In reply to comment #2)
> Well, it crashes because of memory corruption, which could have happened
> anyway. If you can reproduce it, we need a valgrind log.
Comment 4 Thomas Lübking 2011-01-26 23:54:51 UTC
before reading yourself into the mystics of valgrind:
- is it reproducable (does it happen whenever or at least often you do what you did)
   - if so, does it go away if you turn of the blur effect?
Comment 5 Terrible Monster 2011-01-27 00:00:05 UTC
I keep my machine running for several days. I have 8 GB RAM and sometimes run many applications, including virtual machines. The more apps in memory, the less stable Kubuntu becomes.

The crash like this happened for the first time. More often the animation of virtual desktop wall loses frames with many apps running.