Bug 283096

Summary: kwin crashed after resume from sleep or screensaver
Product: [Plasma] kwin Reporter: Irwin Hutchinson <ihutch>
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash CC: cbell44, shamalyguy
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi
New crash information added by DrKonqi

Description Irwin Hutchinson 2011-09-30 14:33:54 UTC
Application: kwin (4.6.2 (4.6.2))
KDE Platform Version: 4.6.2 (4.6.2)
Qt Version: 4.7.2
Operating System: Linux 2.6.38-8-generic x86_64
Distribution: Linux Mint 11 Katya

-- Information about the crash:
- What I was doing when the application crashed:
First time I was running laptop on battery and while I was away it went to sleep. On plugging in computer, the password box was only space for password.  When I typed in password, normal working seemed to resume but I got the crash notice.
Second time, screensaver was active, when I resumed, the password box was only space for password again and again everything seemed normal but I got the crash report.

-- Backtrace:
Application: KWin (kwin), signal: Segmentation fault
[Current thread is 1 (Thread 0x7fabf63677a0 (LWP 1816))]

Thread 2 (Thread 0x7fabd7fff700 (LWP 1841)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fabf4a1a2a2 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x7fabf4d33180) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#2  0x00007fabf4a1a2d9 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=0x7fabf4d41254) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#3  0x00007fabec570d8c in start_thread (arg=0x7fabd7fff700) at pthread_create.c:304
#4  0x00007fabf5bbb04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fabf63677a0 (LWP 1816)):
[KCrash Handler]
#6  intel_region_buffer (intel=0xec7e10, region=0x0, flag=2) at intel_regions.c:514
#7  0x00007fabdd7d86c2 in intelClearWithBlit (ctx=0xec7e10, mask=2) at intel_blit.c:262
#8  0x00007fabdd7dad2a in intelClear (ctx=0xec7e10, mask=2) at intel_clear.c:177
#9  0x00007fabf5f31ce7 in KWin::SceneOpenGL::paintBackground (this=<value optimized out>, region=<value optimized out>) at ../../kwin/scene_opengl.cpp:921
#10 0x00007fabf5f2988f in KWin::Scene::paintGenericScreen (this=0xec28f0, orig_mask=32) at ../../kwin/scene.cpp:188
#11 0x00007fabf5f26c7a in KWin::Scene::finalPaintScreen (this=0xec28f0, mask=32, region=<value optimized out>, data=<value optimized out>) at ../../kwin/scene.cpp:178
#12 0x00007fabf5f44f19 in KWin::EffectsHandlerImpl::paintScreen (this=0x11f2390, mask=32, region=<value optimized out>, data=...) at ../../kwin/effects.cpp:173
#13 0x00007fabdc8385a6 in KWin::StartupFeedbackEffect::paintScreen (this=0x22db1d0, mask=32, region=<value optimized out>, data=...) at ../../../kwin/effects/startupfeedback/startupfeedback.cpp:166
#14 0x00007fabf5f44fa3 in KWin::EffectsHandlerImpl::paintScreen (this=0x11f2390, mask=32, region=<value optimized out>, data=...) at ../../kwin/effects.cpp:169
#15 0x00007fabf4004a18 in KWin::Effect::paintScreen (this=<value optimized out>, mask=32, region=<value optimized out>, data=...) at ../../../kwin/lib/kwineffects.cpp:227
#16 0x00007fabf5f44fa3 in KWin::EffectsHandlerImpl::paintScreen (this=0x11f2390, mask=32, region=<value optimized out>, data=...) at ../../kwin/effects.cpp:169
#17 0x00007fabdc7df44d in KWin::LogoutEffect::paintScreen (this=0x23d1c60, mask=32, region=..., data=...) at ../../../kwin/effects/logout/logout.cpp:207
#18 0x00007fabf5f44fa3 in KWin::EffectsHandlerImpl::paintScreen (this=0x11f2390, mask=32, region=<value optimized out>, data=...) at ../../kwin/effects.cpp:169
#19 0x00007fabdc7fa57b in KWin::ShadowEffect::paintScreen (this=0x2104930, mask=32, region=..., data=...) at ../../../kwin/effects/shadow/shadow.cpp:189
#20 0x00007fabf5f44fa3 in KWin::EffectsHandlerImpl::paintScreen (this=0x11f2390, mask=32, region=<value optimized out>, data=...) at ../../kwin/effects.cpp:169
#21 0x00007fabdc80ce68 in KWin::BlurEffect::paintScreen (this=<value optimized out>, mask=32, region=..., data=...) at ../../../kwin/effects/blur/blur.cpp:230
#22 0x00007fabf5f44fa3 in KWin::EffectsHandlerImpl::paintScreen (this=0x11f2390, mask=0, region=<value optimized out>, data=...) at ../../kwin/effects.cpp:169
#23 0x00007fabdc7e3fbd in KWin::PresentWindowsEffect::paintScreen (this=0x206f250, mask=0, region=..., data=...) at ../../../kwin/effects/presentwindows/presentwindows.cpp:205
#24 0x00007fabf5f44fa3 in KWin::EffectsHandlerImpl::paintScreen (this=0x11f2390, mask=0, region=<value optimized out>, data=...) at ../../kwin/effects.cpp:169
#25 0x00007fabf4004a18 in KWin::Effect::paintScreen (this=<value optimized out>, mask=0, region=<value optimized out>, data=...) at ../../../kwin/lib/kwineffects.cpp:227
#26 0x00007fabf5f44fa3 in KWin::EffectsHandlerImpl::paintScreen (this=0x11f2390, mask=0, region=<value optimized out>, data=...) at ../../kwin/effects.cpp:169
#27 0x00007fabf4004a18 in KWin::Effect::paintScreen (this=<value optimized out>, mask=0, region=<value optimized out>, data=...) at ../../../kwin/lib/kwineffects.cpp:227
#28 0x00007fabf5f44fa3 in KWin::EffectsHandlerImpl::paintScreen (this=0x11f2390, mask=0, region=<value optimized out>, data=...) at ../../kwin/effects.cpp:169
#29 0x00007fabf4004a18 in KWin::Effect::paintScreen (this=<value optimized out>, mask=0, region=<value optimized out>, data=...) at ../../../kwin/lib/kwineffects.cpp:227
#30 0x00007fabf5f44fa3 in KWin::EffectsHandlerImpl::paintScreen (this=0x11f2390, mask=0, region=<value optimized out>, data=...) at ../../kwin/effects.cpp:169
#31 0x00007fabf4004a18 in KWin::Effect::paintScreen (this=<value optimized out>, mask=0, region=<value optimized out>, data=...) at ../../../kwin/lib/kwineffects.cpp:227
#32 0x00007fabf5f44fa3 in KWin::EffectsHandlerImpl::paintScreen (this=0x11f2390, mask=0, region=<value optimized out>, data=...) at ../../kwin/effects.cpp:169
#33 0x00007fabdc7cb365 in KWin::DesktopGridEffect::paintScreen (this=0x2075a00, mask=0, region=..., data=...) at ../../../kwin/effects/desktopgrid/desktopgrid.cpp:155
#34 0x00007fabf5f44fa3 in KWin::EffectsHandlerImpl::paintScreen (this=0x11f2390, mask=0, region=<value optimized out>, data=...) at ../../kwin/effects.cpp:169
#35 0x00007fabdc800b8f in KWin::SlideEffect::paintScreen (this=<value optimized out>, mask=0, region=..., data=...) at ../../../kwin/effects/slide/slide.cpp:86
#36 0x00007fabf5f44fa3 in KWin::EffectsHandlerImpl::paintScreen (this=0x11f2390, mask=0, region=<value optimized out>, data=...) at ../../kwin/effects.cpp:169
#37 0x00007fabdc7c4bad in KWin::BoxSwitchEffect::paintScreen (this=0x23d0b10, mask=0, region=..., data=...) at ../../../kwin/effects/boxswitch/boxswitch.cpp:143
#38 0x00007fabf5f44fa3 in KWin::EffectsHandlerImpl::paintScreen (this=0x11f2390, mask=0, region=<value optimized out>, data=...) at ../../kwin/effects.cpp:169
#39 0x00007fabf4004a18 in KWin::Effect::paintScreen (this=<value optimized out>, mask=0, region=<value optimized out>, data=...) at ../../../kwin/lib/kwineffects.cpp:227
#40 0x00007fabf5f44fa3 in KWin::EffectsHandlerImpl::paintScreen (this=0x11f2390, mask=0, region=<value optimized out>, data=...) at ../../kwin/effects.cpp:169
#41 0x00007fabf4004a18 in KWin::Effect::paintScreen (this=<value optimized out>, mask=0, region=<value optimized out>, data=...) at ../../../kwin/lib/kwineffects.cpp:227
#42 0x00007fabf5f44fa3 in KWin::EffectsHandlerImpl::paintScreen (this=0x11f2390, mask=0, region=<value optimized out>, data=...) at ../../kwin/effects.cpp:169
#43 0x00007fabf4004a18 in KWin::Effect::paintScreen (this=<value optimized out>, mask=0, region=<value optimized out>, data=...) at ../../../kwin/lib/kwineffects.cpp:227
#44 0x00007fabf5f44fa3 in KWin::EffectsHandlerImpl::paintScreen (this=0x11f2390, mask=0, region=<value optimized out>, data=...) at ../../kwin/effects.cpp:169
#45 0x00007fabf4004a18 in KWin::Effect::paintScreen (this=<value optimized out>, mask=0, region=<value optimized out>, data=...) at ../../../kwin/lib/kwineffects.cpp:227
#46 0x00007fabf5f44fa3 in KWin::EffectsHandlerImpl::paintScreen (this=0x11f2390, mask=0, region=<value optimized out>, data=...) at ../../kwin/effects.cpp:169
#47 0x00007fabf4004a18 in KWin::Effect::paintScreen (this=<value optimized out>, mask=0, region=<value optimized out>, data=...) at ../../../kwin/lib/kwineffects.cpp:227
#48 0x00007fabf5f44fa3 in KWin::EffectsHandlerImpl::paintScreen (this=0x11f2390, mask=0, region=<value optimized out>, data=...) at ../../kwin/effects.cpp:169
#49 0x00007fabdc80a39b in KWin::ZoomEffect::paintScreen (this=0x22f8e70, mask=0, region=..., data=...) at ../../../kwin/effects/zoom/zoom.cpp:341
#50 0x00007fabf5f44fa3 in KWin::EffectsHandlerImpl::paintScreen (this=0x11f2390, mask=0, region=<value optimized out>, data=...) at ../../kwin/effects.cpp:169
#51 0x00007fabf5f290af in KWin::Scene::paintScreen (this=0xec28f0, mask=0x7fff76a670fc, region=0x7fff76a671c0) at ../../kwin/scene.cpp:137
#52 0x00007fabf5f3cef3 in KWin::SceneOpenGL::paint (this=0xec28f0, damage=..., toplevels=<value optimized out>) at ../../kwin/scene_opengl.cpp:772
#53 0x00007fabf5f24396 in KWin::Workspace::performCompositing (this=0x11f88b0) at ../../kwin/composite.cpp:448
#54 0x00007fabf1f7d1c9 in QObject::event (this=0x11f88b0, e=<value optimized out>) at kernel/qobject.cpp:1190
#55 0x00007fabf13269f4 in QApplicationPrivate::notify_helper (this=0xdd3790, receiver=0x11f88b0, e=0x7fff76a67950) at kernel/qapplication.cpp:4462
#56 0x00007fabf132b3ba in QApplication::notify (this=<value optimized out>, receiver=0x11f88b0, e=0x7fff76a67950) at kernel/qapplication.cpp:4341
#57 0x00007fabf56b6866 in KApplication::notify (this=0x7fff76a67d50, receiver=0x11f88b0, event=0x7fff76a67950) at ../../kdeui/kernel/kapplication.cpp:311
#58 0x00007fabf1f6949c in QCoreApplication::notifyInternal (this=0x7fff76a67d50, receiver=0x11f88b0, event=0x7fff76a67950) at kernel/qcoreapplication.cpp:731
#59 0x00007fabf1f96f12 in sendEvent (this=0xdd5120) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#60 QTimerInfoList::activateTimers (this=0xdd5120) at kernel/qeventdispatcher_unix.cpp:604
#61 0x00007fabf1f9705b in QEventDispatcherUNIX::processEvents (this=0xd79340, flags=...) at kernel/qeventdispatcher_unix.cpp:923
#62 0x00007fabf13d12ec in QEventDispatcherX11::processEvents (this=0xd79340, flags=...) at kernel/qeventdispatcher_x11.cpp:152
#63 0x00007fabf1f68882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#64 0x00007fabf1f68abc in QEventLoop::exec (this=0x7fff76a67c90, flags=...) at kernel/qeventloop.cpp:201
#65 0x00007fabf1f6cecb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#66 0x00007fabf5ec21ec in kdemain (argc=<value optimized out>, argv=0x7fff76a683e8) at ../../kwin/main.cpp:542
#67 0x00007fabf5af3eff in __libc_start_main (main=0x400740 <main(int, char**)>, argc=1, ubp_av=0x7fff76a683e8, init=<value optimized out>, fini=<value optimized out>, rtld_fini=<value optimized out>, stack_end=0x7fff76a683d8) at libc-start.c:226
#68 0x0000000000400669 in _start ()

This bug may be a duplicate of or related to bug 278595.

Possible duplicates by query: bug 282981, bug 282275, bug 281056, bug 280954, bug 280766.

Reported using DrKonqi
Comment 1 Martin Flöser 2011-09-30 17:09:35 UTC
driver bug - see duplicate for workaround

*** This bug has been marked as a duplicate of bug 252817 ***
Comment 2 Hos 2011-10-22 10:38:07 UTC
Created attachment 64785 [details]
New crash information added by DrKonqi

kwin (4.6.5 (4.6.5)) on KDE Platform 4.6.5 (4.6.5) using Qt 4.7.2

- What I was doing when the application crashed:

Testing OpenGL screensaver, seg fault happened when i shook the mouse to get out of the test. Kwin crashed. Does it consistently and is easily reporoducible. I'm on a thinkpad X1, standard config, i5-2520M with integrated Intel HD graphics.

Thanks

-- Backtrace (Reduced):
#6  intel_region_buffer (intel=0x11d9910, region=0x0, flag=2) at intel_regions.c:514
#7  0x00007fc0eae806c2 in intelClearWithBlit (ctx=0x11d9910, mask=2) at intel_blit.c:262
#8  0x00007fc0eae82d2a in intelClear (ctx=0x11d9910, mask=2) at intel_clear.c:177
#9  0x00007fc1031f7c47 in KWin::SceneOpenGL::paintBackground (this=<value optimized out>, region=<value optimized out>) at ../../kwin/scene_opengl.cpp:921
#10 0x00007fc1031ef7ef in KWin::Scene::paintGenericScreen (this=0x11d28a0, orig_mask=32) at ../../kwin/scene.cpp:188
Comment 3 Charles T Bell 2012-01-27 03:18:25 UTC
Created attachment 68219 [details]
New crash information added by DrKonqi

kwin (4.6.5 (4.6.5)) on KDE Platform 4.6.5 (4.6.5) using Qt 4.7.2

- What I was doing when the application crashed:
Nothing, machine was in sleep mode.
See the debug information appended to this report.

-- Backtrace (Reduced):
#7  intel_region_buffer (intel=0x8fec190, region=0x0, flag=2) at intel_regions.c:514
#8  0xafbe9ce2 in intelClearWithBlit (ctx=0x8fec190, mask=2) at intel_blit.c:262
#9  0xafbec4c0 in intelClear (ctx=0x8fec190, mask=2) at intel_clear.c:177
#10 0xafa16512 in _mesa_Clear (mask=<value optimized out>) at main/clear.c:241
#11 0xb76b977b in KWin::SceneOpenGL::paintBackground (this=0x8feac38, region=...) at ../../kwin/scene_opengl.cpp:921