Bug 244005 - kwin crashed after waking up from sleeping mode
Summary: kwin crashed after waking up from sleeping mode
Status: RESOLVED UPSTREAM
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: 2010-07-09 09:09 UTC by Karel Kozlík
Modified: 2010-07-09 11:56 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Karel Kozlík 2010-07-09 09:09:39 UTC
Application: kwin (4.4.5 (KDE 4.4.5))
KDE Platform Version: 4.4.5 (KDE 4.4.5)
Qt Version: 4.6.3
Operating System: Linux 2.6.32-23-generic x86_64
Distribution: Ubuntu 10.04 LTS

-- Information about the crash:
When I waked=up my laptop from sleeping mode I saw message that kwin crashed

The crash can be reproduced some of the time.

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

Thread 3 (Thread 0x7f31f5577710 (LWP 2238)):
#0  __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97
#1  0x00007f321504f3ac in _L_lock_12430 () from /lib/libc.so.6
#2  0x00007f321504de48 in *__GI___libc_free (mem=0x7f321534de40) at malloc.c:3736
#3  0x00007f3210fd7821 in socketNotifierSourceCheck (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:92
#4  0x00007f3209ebfb0a in IA__g_main_context_check (context=0xd23cd0, max_priority=2147483647, fds=<value optimized out>, n_fds=-1) at /build/buildd/glib2.0-2.24.1/glib/gmain.c:2469
#5  0x00007f3209ec04c3 in g_main_context_iterate (context=0xd23cd0, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>)
    at /build/buildd/glib2.0-2.24.1/glib/gmain.c:2588
#6  0x00007f3209ec08fc in IA__g_main_context_iteration (context=0xd23cd0, may_block=1) at /build/buildd/glib2.0-2.24.1/glib/gmain.c:2654
#7  0x00007f3210fd7406 in QEventDispatcherGlib::processEvents (this=0xd2fde0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414
#8  0x00007f3210fac6c2 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#9  0x00007f3210faca9c in QEventLoop::exec (this=0x7f31f5576d70, flags=) at kernel/qeventloop.cpp:201
#10 0x00007f3210ebb8db in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#11 0x00007f3210f8cdd8 in QInotifyFileSystemWatcherEngine::run (this=0xd22fb0) at io/qfilesystemwatcher_inotify.cpp:248
#12 0x00007f3210ebdf95 in QThreadPrivate::start (arg=0xd22fb0) at thread/qthread_unix.cpp:248
#13 0x00007f3210c2d9ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#14 0x00007f32150b66cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#15 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f31effff710 (LWP 17319)):
#0  __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97
#1  0x00007f321504f3ac in _L_lock_12430 () from /lib/libc.so.6
#2  0x00007f321504de48 in *__GI___libc_free (mem=0x7f321534de40) at malloc.c:3736
#3  0x00007f3210fc39b1 in QScopedPointerDeleter<QObjectData>::cleanup (this=<value optimized out>, __in_chrg=<value optimized out>) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:62
#4  ~QScopedPointer (this=<value optimized out>, __in_chrg=<value optimized out>) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:100
#5  ~QObject (this=<value optimized out>, __in_chrg=<value optimized out>) at kernel/qobject.cpp:992
#6  0x00007f3210fd8036 in ~QEventDispatcherGlib (this=0x37d7e80, __in_chrg=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:391
#7  0x00007f3210ebdb84 in QThreadPrivate::finish (arg=<value optimized out>) at thread/qthread_unix.cpp:284
#8  0x00007f3210ebdf9d in ~__pthread_cleanup_class (arg=0x7f32112c2f20) at /usr/include/pthread.h:535
#9  QThreadPrivate::start (arg=0x7f32112c2f20) at thread/qthread_unix.cpp:253
#10 0x00007f3210c2d9ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#11 0x00007f32150b66cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f321571e7a0 (LWP 2237)):
[KCrash Handler]
#5  0x00007f3215003a75 in *__GI_raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#6  0x00007f32150075c0 in *__GI_abort () at abort.c:92
#7  0x00007f321503d4fb in __libc_message (do_abort=<value optimized out>, fmt=<value optimized out>) at ../sysdeps/unix/sysv/linux/libc_fatal.c:189
#8  0x00007f32150475b6 in malloc_printerr (action=3, str=0x7f3215119658 "double free or corruption (!prev)", ptr=<value optimized out>) at malloc.c:6264
#9  0x00007f321504de53 in *__GI___libc_free (mem=<value optimized out>) at malloc.c:3738
#10 0x00007f320b8722d4 in ?? () from /usr/lib/nvidia-current/libGLcore.so.1
#11 0x00007f320b8aecb5 in ?? () from /usr/lib/nvidia-current/libGLcore.so.1
#12 0x00007f320b88f84a in ?? () from /usr/lib/nvidia-current/libGLcore.so.1
#13 0x00007f320bb9c949 in ?? () from /usr/lib/nvidia-current/libGLcore.so.1
#14 0x00007f320b97d0bf in ?? () from /usr/lib/nvidia-current/libGLcore.so.1
#15 0x00007f320b6d7f05 in ?? () from /usr/lib/nvidia-current/libGLcore.so.1
#16 0x00007f320b985a55 in ?? () from /usr/lib/nvidia-current/libGLcore.so.1
#17 0x00007f320b98daa6 in ?? () from /usr/lib/nvidia-current/libGLcore.so.1
#18 0x00007f320b8a64f8 in ?? () from /usr/lib/nvidia-current/libGLcore.so.1
#19 0x00007f320b4af5e9 in ?? () from /usr/lib/nvidia-current/libGLcore.so.1
#20 0x00007f320b874c53 in ?? () from /usr/lib/nvidia-current/libGLcore.so.1
#21 0x00007f320b874f18 in ?? () from /usr/lib/nvidia-current/libGLcore.so.1
#22 0x00007f320b82a053 in ?? () from /usr/lib/nvidia-current/libGLcore.so.1
#23 0x00007f320b46efb7 in ?? () from /usr/lib/nvidia-current/libGLcore.so.1
#24 0x00007f321540e0b5 in KWin::SceneOpenGL::paintBackground (this=<value optimized out>, region=<value optimized out>) at ../../kwin/scene_opengl.cpp:892
#25 0x00007f3215404256 in KWin::Scene::paintGenericScreen (this=0x82a5f0, orig_mask=<value optimized out>) at ../../kwin/scene.cpp:184
#26 0x00007f3215401e2a in KWin::Scene::finalPaintScreen (this=0x82a5f0, mask=32, region=<value optimized out>, data=...) at ../../kwin/scene.cpp:174
#27 0x00007f3215418f26 in KWin::EffectsHandlerImpl::paintScreen (this=<value optimized out>, mask=32, region=) at ../../kwin/effects.cpp:126
#28 0x00007f32044e093f in KWin::LogoutEffect::paintScreen (this=0xab14a0, mask=32, region=<value optimized out>, data=...) at ../../../kwin/effects/logout/logout.cpp:196
#29 0x00007f3215418fbe in KWin::EffectsHandlerImpl::paintScreen (this=0x8327c0, mask=32, region=) at ../../kwin/effects.cpp:122
#30 0x00007f32044fffac in KWin::ShadowEffect::paintScreen (this=0xa97f50, mask=32, region=) at ../../../kwin/effects/shadow/shadow.cpp:189
#31 0x00007f3215418fbe in KWin::EffectsHandlerImpl::paintScreen (this=0x8327c0, mask=32, region=) at ../../kwin/effects.cpp:122
#32 0x00007f32044e7012 in KWin::PresentWindowsEffect::paintScreen (this=0xac4330, mask=32, region=) at ../../../kwin/effects/presentwindows/presentwindows.cpp:196
#33 0x00007f3215418fbe in KWin::EffectsHandlerImpl::paintScreen (this=0x8327c0, mask=32, region=) at ../../kwin/effects.cpp:122
#34 0x00007f3213c175ff in KWin::Effect::paintScreen (this=<value optimized out>, mask=32, region=<value optimized out>, data=...) at ../../../kwin/lib/kwineffects.cpp:227
#35 0x00007f3215418fbe in KWin::EffectsHandlerImpl::paintScreen (this=0x8327c0, mask=32, region=) at ../../kwin/effects.cpp:122
#36 0x00007f3213c175ff in KWin::Effect::paintScreen (this=<value optimized out>, mask=32, region=<value optimized out>, data=...) at ../../../kwin/lib/kwineffects.cpp:227
#37 0x00007f3215418fbe in KWin::EffectsHandlerImpl::paintScreen (this=0x8327c0, mask=32, region=) at ../../kwin/effects.cpp:122
#38 0x00007f3213c175ff in KWin::Effect::paintScreen (this=<value optimized out>, mask=32, region=<value optimized out>, data=...) at ../../../kwin/lib/kwineffects.cpp:227
#39 0x00007f3215418fbe in KWin::EffectsHandlerImpl::paintScreen (this=0x8327c0, mask=32, region=) at ../../kwin/effects.cpp:122
#40 0x00007f3213c175ff in KWin::Effect::paintScreen (this=<value optimized out>, mask=32, region=<value optimized out>, data=...) at ../../../kwin/lib/kwineffects.cpp:227
#41 0x00007f3215418fbe in KWin::EffectsHandlerImpl::paintScreen (this=0x8327c0, mask=32, region=) at ../../kwin/effects.cpp:122
#42 0x00007f3213c175ff in KWin::Effect::paintScreen (this=<value optimized out>, mask=32, region=<value optimized out>, data=...) at ../../../kwin/lib/kwineffects.cpp:227
#43 0x00007f3215418fbe in KWin::EffectsHandlerImpl::paintScreen (this=0x8327c0, mask=32, region=) at ../../kwin/effects.cpp:122
#44 0x00007f3213c175ff in KWin::Effect::paintScreen (this=<value optimized out>, mask=32, region=<value optimized out>, data=...) at ../../../kwin/lib/kwineffects.cpp:227
#45 0x00007f3215418fbe in KWin::EffectsHandlerImpl::paintScreen (this=0x8327c0, mask=32, region=) at ../../kwin/effects.cpp:122
#46 0x00007f32044cbcf2 in KWin::DesktopGridEffect::paintScreen (this=<value optimized out>, mask=<value optimized out>, region=<value optimized out>, data=...)
    at ../../../kwin/effects/desktopgrid/desktopgrid.cpp:151
#47 0x00007f3215418fbe in KWin::EffectsHandlerImpl::paintScreen (this=0x8327c0, mask=32, region=) at ../../kwin/effects.cpp:122
#48 0x00007f3204519a82 in KWin::CubeEffect::paintScreen (this=<value optimized out>, mask=32, region=) at ../../../kwin/effects/cube/cube.cpp:697
#49 0x00007f3215418fbe in KWin::EffectsHandlerImpl::paintScreen (this=0x8327c0, mask=32, region=) at ../../kwin/effects.cpp:122
#50 0x00007f3204520e52 in KWin::CubeSlideEffect::paintScreen (this=<value optimized out>, mask=32, region=) at ../../../kwin/effects/cube/cubeslide.cpp:105
#51 0x00007f3215418fbe in KWin::EffectsHandlerImpl::paintScreen (this=0x8327c0, mask=32, region=) at ../../kwin/effects.cpp:122
#52 0x00007f3213c175ff in KWin::Effect::paintScreen (this=<value optimized out>, mask=32, region=<value optimized out>, data=...) at ../../../kwin/lib/kwineffects.cpp:227
#53 0x00007f3215418fbe in KWin::EffectsHandlerImpl::paintScreen (this=0x8327c0, mask=32, region=) at ../../kwin/effects.cpp:122
#54 0x00007f3204510ee4 in KWin::CoverSwitchEffect::paintScreen (this=0xc24820, mask=32, region=<value optimized out>, data=...) at ../../../kwin/effects/coverswitch/coverswitch.cpp:124
#55 0x00007f3215418fbe in KWin::EffectsHandlerImpl::paintScreen (this=0x8327c0, mask=32, region=) at ../../kwin/effects.cpp:122
#56 0x00007f3213c175ff in KWin::Effect::paintScreen (this=<value optimized out>, mask=32, region=<value optimized out>, data=...) at ../../../kwin/lib/kwineffects.cpp:227
#57 0x00007f3215418fbe in KWin::EffectsHandlerImpl::paintScreen (this=0x8327c0, mask=32, region=) at ../../kwin/effects.cpp:122
#58 0x00007f3213c175ff in KWin::Effect::paintScreen (this=<value optimized out>, mask=32, region=<value optimized out>, data=...) at ../../../kwin/lib/kwineffects.cpp:227
#59 0x00007f3215418fbe in KWin::EffectsHandlerImpl::paintScreen (this=0x8327c0, mask=32, region=) at ../../kwin/effects.cpp:122
#60 0x00007f320452db79 in KWin::MagnifierEffect::paintScreen (this=0xaa5190, mask=32, region=) at ../../../kwin/effects/magnifier/magnifier.cpp:85
#61 0x00007f3215418fbe in KWin::EffectsHandlerImpl::paintScreen (this=0x8327c0, mask=32, region=) at ../../kwin/effects.cpp:122
#62 0x00007f3204536b35 in KWin::TrackMouseEffect::paintScreen (this=0xad8580, mask=32, region=) at ../../../kwin/effects/trackmouse/trackmouse.cpp:71
#63 0x00007f3215418fbe in KWin::EffectsHandlerImpl::paintScreen (this=0x8327c0, mask=32, region=) at ../../kwin/effects.cpp:122
#64 0x00007f3215403695 in KWin::Scene::paintScreen (this=0x82a5f0, mask=0x7fff3a3b06dc, region=0x7fff3a3b0800) at ../../kwin/scene.cpp:134
#65 0x00007f3215413770 in KWin::SceneOpenGL::paint (this=0x82a5f0, damage=<value optimized out>, toplevels=<value optimized out>) at ../../kwin/scene_opengl.cpp:748
#66 0x00007f32153fe857 in KWin::Workspace::performCompositing (this=<value optimized out>) at ../../kwin/composite.cpp:424
#67 0x00007f32153854be in KWin::Workspace::qt_metacall (this=0x7c2750, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff3a3b09b0) at ./workspace.moc:535
#68 0x00007f3210fc1036 in QMetaObject::activate (sender=0x7c2bc0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0xffffffffffffffff) at kernel/qobject.cpp:3295
#69 0x00007f3210fbd893 in QObject::event (this=0x7c2bc0, e=0x7fff3a3b1100) at kernel/qobject.cpp:1212
#70 0x00007f32116fbc0c in QApplicationPrivate::notify_helper (this=0x682120, receiver=0x7c2bc0, e=0x7fff3a3b1100) at kernel/qapplication.cpp:4302
#71 0x00007f32117020eb in QApplication::notify (this=0x7fff3a3b1460, receiver=0x7c2bc0, e=0x7fff3a3b1100) at kernel/qapplication.cpp:4185
#72 0x00007f3214bbaa16 in KApplication::notify (this=0x7fff3a3b1460, receiver=0x7c2bc0, event=0x7fff3a3b1100) at ../../kdeui/kernel/kapplication.cpp:302
#73 0x00007f3210fadd9c in QCoreApplication::notifyInternal (this=0x7fff3a3b1460, receiver=0x7c2bc0, event=0x7fff3a3b1100) at kernel/qcoreapplication.cpp:726
#74 0x00007f3210fdaba2 in QCoreApplication::sendEvent (this=0x685e60) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#75 QTimerInfoList::activateTimers (this=0x685e60) at kernel/qeventdispatcher_unix.cpp:603
#76 0x00007f3210fd76e8 in timerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:184
#77 idleTimerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:231
#78 0x00007f3209ebc8c2 in g_main_dispatch (context=0x684d20) at /build/buildd/glib2.0-2.24.1/glib/gmain.c:1960
#79 IA__g_main_context_dispatch (context=0x684d20) at /build/buildd/glib2.0-2.24.1/glib/gmain.c:2513
#80 0x00007f3209ec0748 in g_main_context_iterate (context=0x684d20, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>)
    at /build/buildd/glib2.0-2.24.1/glib/gmain.c:2591
#81 0x00007f3209ec08fc in IA__g_main_context_iteration (context=0x684d20, may_block=1) at /build/buildd/glib2.0-2.24.1/glib/gmain.c:2654
#82 0x00007f3210fd73b3 in QEventDispatcherGlib::processEvents (this=0x668c40, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#83 0x00007f32117ac18e in QGuiEventDispatcherGlib::processEvents (this=0x8bd, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#84 0x00007f3210fac6c2 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#85 0x00007f3210faca9c in QEventLoop::exec (this=0x7fff3a3b13a0, flags=) at kernel/qeventloop.cpp:201
#86 0x00007f3210fb173b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1003
#87 0x00007f32153a1ace in kdemain (argc=<value optimized out>, argv=<value optimized out>) at ../../kwin/main.cpp:526
#88 0x00007f3214feec4d 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=0x7fff3a3b1968) at libc-start.c:226
#89 0x00000000004006b9 in _start ()

Reported using DrKonqi
Comment 1 Thomas Lübking 2010-07-09 11:55:03 UTC
#10 0x00007f320b8722d4 in ?? () from /usr/lib/nvidia-current/libGLcore.so.1
#11 0x00007f320b8aecb5 in ?? () from /usr/lib/nvidia-current/libGLcore.so.1
#12 0x00007f320b88f84a in ?? () from /usr/lib/nvidia-current/libGLcore.so.1
...

sorry to say, but the crash ccurs
Comment 2 Thomas Lübking 2010-07-09 11:56:56 UTC
.... aroras kbd shortcuts start to suck...

what i meant to say was: "the crash occurs in the nvidia binary driver, we can't do anything about it."

the only thing i could recommand was to suspend compositing before suspending (shift+alt+f12)