Bug 268027

Summary: kwin crashed when changing Window Decorations
Product: [Plasma] kwin Reporter: xejakig884
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED UPSTREAM    
Severity: crash CC: archkaine, n.schnelle
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description xejakig884 2011-03-09 01:15:24 UTC
Application: kwin (4.6.1 (4.6.1))
KDE Platform Version: 4.6.1 (4.6.1)
Qt Version: 4.7.2
Operating System: Linux 2.6.38-5-generic i686
Distribution: Ubuntu Natty (development branch)

-- Information about the crash:
- What I was doing when the application crashed:
Every time I change "Window Decorations" in System Settings, kwin crashes.

The crash can be reproduced every time.

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

Thread 4 (Thread 0xb759fb70 (LWP 2434)):
#0  0x00f8a416 in __kernel_vsyscall ()
#1  0x00e89e06 in __poll (fds=0x9ba0358, nfds=3, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#2  0x050c797b in g_poll () from /lib/libglib-2.0.so.0
#3  0x050b72df in ?? () from /lib/libglib-2.0.so.0
#4  0x050b7a5b in g_main_loop_run () from /lib/libglib-2.0.so.0
#5  0x03616434 in ?? () from /usr/lib/libgio-2.0.so.0
#6  0x050e03ff in ?? () from /lib/libglib-2.0.so.0
#7  0x00f6be99 in start_thread (arg=0xb759fb70) at pthread_create.c:304
#8  0x00e985ce in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 3 (Thread 0xb1cedb70 (LWP 2443)):
#0  0x058f1d41 in clock_gettime (clock_id=1, tp=0xb1ced120) at ../sysdeps/unix/clock_gettime.c:116
#1  0x094b6e18 in do_gettime () at tools/qelapsedtimer_unix.cpp:123
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#3  0x09583552 in updateCurrentTime (this=0xa427410, tm=...) at kernel/qeventdispatcher_unix.cpp:339
#4  QTimerInfoList::timerWait (this=0xa427410, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#5  0x09585403 in QEventDispatcherUNIX::processEvents (this=0xa4f3f20, flags=...) at kernel/qeventdispatcher_unix.cpp:906
#6  0x095542b9 in QEventLoop::processEvents (this=0xb1ced280, flags=...) at kernel/qeventloop.cpp:149
#7  0x09554552 in QEventLoop::exec (this=0xb1ced280, flags=...) at kernel/qeventloop.cpp:201
#8  0x0945e270 in QThread::exec (this=0xa4fc5b8) at thread/qthread.cpp:492
#9  0x0953600b in QInotifyFileSystemWatcherEngine::run (this=0xa4fc5b8) at io/qfilesystemwatcher_inotify.cpp:248
#10 0x09460d72 in QThreadPrivate::start (arg=0xa4fc5b8) at thread/qthread_unix.cpp:320
#11 0x00f6be99 in start_thread (arg=0xb1cedb70) at pthread_create.c:304
#12 0x00e985ce in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 2 (Thread 0xb14ecb70 (LWP 2444)):
#0  0x00f8a416 in __kernel_vsyscall ()
#1  0x00f7048c in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:169
#2  0x00ea628d in __pthread_cond_wait (cond=0xd622b0, mutex=0xd62298) at forward.c:139
#3  0x00c49987 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0xd5d1c0) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#4  0x00c499c1 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=0xd5d1c0) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#5  0x00f6be99 in start_thread (arg=0xb14ecb70) at pthread_create.c:304
#6  0x00e985ce in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb77f7940 (LWP 2429)):
[KCrash Handler]
#7  0x054af34e in r600_bo (radeon=0x9d3f760, size=64, alignment=4096, binding=32, usage=0) at r600_bo.c:43
#8  0x054a3df9 in r600_buffer_create (screen=0x9d3f7c0, templ=0xbf8a3ba4) at r600_buffer.c:62
#9  0x054934d4 in r600_resource_create (screen=0x9d3f7c0, templ=0xbf8a3ba4) at r600_resource.c:30
#10 0x055fb1cd in pipe_buffer_create (st=0xa2491d0, params=0xa3d4758, shader_type=0) at ../../src/gallium/auxiliary/util/u_inlines.h:183
#11 st_upload_constants (st=0xa2491d0, params=0xa3d4758, shader_type=0) at state_tracker/st_atom_constbuf.c:80
#12 0x055fb2f9 in update_vs_constants (st=0xa2491d0) at state_tracker/st_atom_constbuf.c:115
#13 0x055fa8a3 in st_validate_state (st=0xa2491d0) at state_tracker/st_atom.c:172
#14 0x05601229 in st_Clear (ctx=0xa2144c8, mask=2) at state_tracker/st_cb_clear.c:464
#15 0x055c5a1a in _mesa_Clear (mask=<value optimized out>) at main/clear.c:241
#16 0x007da68b in KWin::SceneOpenGL::paintBackground (this=0xa077170, region=...) at ../../kwin/scene_opengl.cpp:921
#17 0x007d13b2 in KWin::Scene::paintGenericScreen (this=0xa077170, orig_mask=40) at ../../kwin/scene.cpp:188
#18 0x007da871 in KWin::SceneOpenGL::paintGenericScreen (this=0xa077170, mask=40, data=...) at ../../kwin/scene_opengl.cpp:909
#19 0x007ce620 in KWin::Scene::finalPaintScreen (this=0xa077170, mask=40, region=..., data=...) at ../../kwin/scene.cpp:178
#20 0x007eff3c in KWin::EffectsHandlerImpl::paintScreen (this=0xa27e398, mask=40, region=..., data=...) at ../../kwin/effects.cpp:173
#21 0x03b67a99 in KWin::StartupFeedbackEffect::paintScreen (this=0xa4a3030, mask=40, region=..., data=...) at ../../../kwin/effects/startupfeedback/startupfeedback.cpp:166
#22 0x007effb2 in KWin::EffectsHandlerImpl::paintScreen (this=0xa27e398, mask=40, region=..., data=...) at ../../kwin/effects.cpp:169
#23 0x001b4256 in KWin::Effect::paintScreen (this=0xa29fb18, mask=40, region=..., data=...) at ../../../kwin/lib/kwineffects.cpp:227
#24 0x007effb2 in KWin::EffectsHandlerImpl::paintScreen (this=0xa27e398, mask=40, region=..., data=...) at ../../kwin/effects.cpp:169
#25 0x03b09f6f in KWin::LogoutEffect::paintScreen (this=0xa44cb88, mask=40, region=..., data=...) at ../../../kwin/effects/logout/logout.cpp:207
#26 0x007effb2 in KWin::EffectsHandlerImpl::paintScreen (this=0xa27e398, mask=40, region=..., data=...) at ../../kwin/effects.cpp:169
#27 0x03b259f0 in KWin::ShadowEffect::paintScreen (this=0xa42e868, mask=40, region=..., data=...) at ../../../kwin/effects/shadow/shadow.cpp:189
#28 0x007effb2 in KWin::EffectsHandlerImpl::paintScreen (this=0xa27e398, mask=40, region=..., data=...) at ../../kwin/effects.cpp:169
#29 0x03b399c3 in KWin::BlurEffect::paintScreen (this=0xa2c27d8, mask=40, region=..., data=...) at ../../../kwin/effects/blur/blur.cpp:230
#30 0x007effb2 in KWin::EffectsHandlerImpl::paintScreen (this=0xa27e398, mask=8, region=..., data=...) at ../../kwin/effects.cpp:169
#31 0x03b0ed3f in KWin::PresentWindowsEffect::paintScreen (this=0xa439398, mask=8, region=..., data=...) at ../../../kwin/effects/presentwindows/presentwindows.cpp:205
#32 0x007effb2 in KWin::EffectsHandlerImpl::paintScreen (this=0xa27e398, mask=8, region=..., data=...) at ../../kwin/effects.cpp:169
#33 0x001b4256 in KWin::Effect::paintScreen (this=0xa3c80a8, mask=8, region=..., data=...) at ../../../kwin/lib/kwineffects.cpp:227
#34 0x007effb2 in KWin::EffectsHandlerImpl::paintScreen (this=0xa27e398, mask=8, region=..., data=...) at ../../kwin/effects.cpp:169
#35 0x001b4256 in KWin::Effect::paintScreen (this=0xa491148, mask=8, region=..., data=...) at ../../../kwin/lib/kwineffects.cpp:227
#36 0x007effb2 in KWin::EffectsHandlerImpl::paintScreen (this=0xa27e398, mask=8, region=..., data=...) at ../../kwin/effects.cpp:169
#37 0x001b4256 in KWin::Effect::paintScreen (this=0xa3d71d0, mask=8, region=..., data=...) at ../../../kwin/lib/kwineffects.cpp:227
#38 0x007effb2 in KWin::EffectsHandlerImpl::paintScreen (this=0xa27e398, mask=8, region=..., data=...) at ../../kwin/effects.cpp:169
#39 0x001b4256 in KWin::Effect::paintScreen (this=0xa36eac0, mask=8, region=..., data=...) at ../../../kwin/lib/kwineffects.cpp:227
#40 0x007effb2 in KWin::EffectsHandlerImpl::paintScreen (this=0xa27e398, mask=8, region=..., data=...) at ../../kwin/effects.cpp:169
#41 0x03af57b9 in KWin::DesktopGridEffect::paintScreen (this=0xa45da98, mask=8, region=..., data=...) at ../../../kwin/effects/desktopgrid/desktopgrid.cpp:155
#42 0x007effb2 in KWin::EffectsHandlerImpl::paintScreen (this=0xa27e398, mask=8, region=..., data=...) at ../../kwin/effects.cpp:169
#43 0x03aee799 in KWin::BoxSwitchEffect::paintScreen (this=0xa3e85c0, mask=8, region=..., data=...) at ../../../kwin/effects/boxswitch/boxswitch.cpp:143
#44 0x007effb2 in KWin::EffectsHandlerImpl::paintScreen (this=0xa27e398, mask=8, region=..., data=...) at ../../kwin/effects.cpp:169
#45 0x03b4857c in KWin::CubeEffect::paintScreen (this=0xa491ad8, mask=8, region=..., data=...) at ../../../kwin/effects/cube/cube.cpp:698
#46 0x007effb2 in KWin::EffectsHandlerImpl::paintScreen (this=0xa27e398, mask=8, region=..., data=...) at ../../kwin/effects.cpp:169
#47 0x001b4256 in KWin::Effect::paintScreen (this=0xa390c38, mask=8, region=..., data=...) at ../../../kwin/lib/kwineffects.cpp:227
#48 0x007effb2 in KWin::EffectsHandlerImpl::paintScreen (this=0xa27e398, mask=8, region=..., data=...) at ../../kwin/effects.cpp:169
#49 0x03b517a0 in KWin::CubeSlideEffect::paintScreen (this=0xa4570e0, mask=8, region=..., data=...) at ../../../kwin/effects/cube/cubeslide.cpp:111
#50 0x007effb2 in KWin::EffectsHandlerImpl::paintScreen (this=0xa27e398, mask=8, region=..., data=...) at ../../kwin/effects.cpp:169
#51 0x001b4256 in KWin::Effect::paintScreen (this=0xa4dff68, mask=8, region=..., data=...) at ../../../kwin/lib/kwineffects.cpp:227
#52 0x007effb2 in KWin::EffectsHandlerImpl::paintScreen (this=0xa27e398, mask=8, region=..., data=...) at ../../kwin/effects.cpp:169
#53 0x001b4256 in KWin::Effect::paintScreen (this=0xa48f738, mask=8, region=..., data=...) at ../../../kwin/lib/kwineffects.cpp:227
#54 0x007effb2 in KWin::EffectsHandlerImpl::paintScreen (this=0xa27e398, mask=8, region=..., data=...) at ../../kwin/effects.cpp:169
#55 0x03b413bc in KWin::CoverSwitchEffect::paintScreen (this=0xa35aa50, mask=8, region=..., data=...) at ../../../kwin/effects/coverswitch/coverswitch.cpp:126
#56 0x007effb2 in KWin::EffectsHandlerImpl::paintScreen (this=0xa27e398, mask=8, region=..., data=...) at ../../kwin/effects.cpp:169
#57 0x001b4256 in KWin::Effect::paintScreen (this=0xa2569b8, mask=8, region=..., data=...) at ../../../kwin/lib/kwineffects.cpp:227
#58 0x007effb2 in KWin::EffectsHandlerImpl::paintScreen (this=0xa27e398, mask=8, region=..., data=...) at ../../kwin/effects.cpp:169
#59 0x001b4256 in KWin::Effect::paintScreen (this=0xa505078, mask=8, region=..., data=...) at ../../../kwin/lib/kwineffects.cpp:227
#60 0x007effb2 in KWin::EffectsHandlerImpl::paintScreen (this=0xa27e398, mask=8, region=..., data=...) at ../../kwin/effects.cpp:169
#61 0x03b36a71 in KWin::ZoomEffect::paintScreen (this=0xa4800e0, mask=8, region=..., data=...) at ../../../kwin/effects/zoom/zoom.cpp:341
#62 0x007effb2 in KWin::EffectsHandlerImpl::paintScreen (this=0xa27e398, mask=8, region=..., data=...) at ../../kwin/effects.cpp:169
#63 0x007cf7ec in KWin::Scene::paintScreen (this=0xa077170, mask=0xbf8a54b8, region=0xbf8a5548) at ../../kwin/scene.cpp:137
#64 0x007e67a2 in KWin::SceneOpenGL::paint (this=0xa077170, damage=..., toplevels=...) at ../../kwin/scene_opengl.cpp:772
#65 0x007cb5a7 in KWin::Workspace::performCompositing (this=0xa0b72c8) at ../../kwin/composite.cpp:442
#66 0x0956a244 in QObject::event (this=0xa0b72c8, e=0xbf8a5a6c) at kernel/qobject.cpp:1190
#67 0x03f6ed24 in QApplicationPrivate::notify_helper (this=0x9b55510, receiver=0xa0b72c8, e=0xbf8a5a6c) at kernel/qapplication.cpp:4462
#68 0x03f738ce in QApplication::notify (this=0xbf8a5d84, receiver=0xa0b72c8, e=0xbf8a5a6c) at kernel/qapplication.cpp:3862
#69 0x004885aa in KApplication::notify (this=0xbf8a5d84, receiver=0xa0b72c8, event=0xbf8a5a6c) at ../../kdeui/kernel/kapplication.cpp:311
#70 0x0075a90f in KWin::Application::notify (this=0xbf8a5d84, o=0xa0b72c8, e=0xbf8a5a6c) at ../../kwin/main.cpp:376
#71 0x095550eb in QCoreApplication::notifyInternal (this=0xbf8a5d84, receiver=0xa0b72c8, event=0xbf8a5a6c) at kernel/qcoreapplication.cpp:731
#72 0x09585244 in sendEvent (this=0x9b55db8) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#73 QTimerInfoList::activateTimers (this=0x9b55db8) at kernel/qeventdispatcher_unix.cpp:604
#74 0x09585398 in QEventDispatcherUNIX::processEvents (this=0x9b32aa8, flags=...) at kernel/qeventdispatcher_unix.cpp:923
#75 0x0402389a in QEventDispatcherX11::processEvents (this=0x9b32aa8, flags=...) at kernel/qeventdispatcher_x11.cpp:152
#76 0x095542b9 in QEventLoop::processEvents (this=0xbf8a5cc4, flags=...) at kernel/qeventloop.cpp:149
#77 0x09554552 in QEventLoop::exec (this=0xbf8a5cc4, flags=...) at kernel/qeventloop.cpp:201
#78 0x09558efc in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#79 0x03f6c8e7 in QApplication::exec () at kernel/qapplication.cpp:3736
#80 0x0075d402 in kdemain (argc=3, argv=0xbf8a6004) at ../../kwin/main.cpp:542
#81 0x080485bb in main (argc=3, argv=0xbf8a6004) at kwin_dummy.cpp:3

Reported using DrKonqi
Comment 1 Thomas Lübking 2011-03-09 20:52:04 UTC

*** This bug has been marked as a duplicate of bug 252817 ***
Comment 2 Thomas Lübking 2011-03-11 13:50:35 UTC
*** Bug 268179 has been marked as a duplicate of this bug. ***
Comment 3 Thomas Lübking 2011-03-11 13:55:07 UTC
maybe no "real" dupe (just in that's upsrteam) but radeon/mesa seems just broken in
"natty"
Comment 4 Thomas Lübking 2011-03-31 13:57:51 UTC
*** Bug 269800 has been marked as a duplicate of this bug. ***