Bug 301131 - KWin sporadic crash when restarting w/ `kwin --replace`
Summary: KWin sporadic crash when restarting w/ `kwin --replace`
Status: RESOLVED DUPLICATE of bug 299333
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-03 23:00 UTC by Samat Jain
Modified: 2012-07-03 12:58 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:
mgraesslin: Intel+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Samat Jain 2012-06-03 23:00:29 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:

1. Restart KWin w/ `kwin --replace`
2. KWin crashes (crash report from Kubuntu 12.04 attached)

The crash can be reproduced some of the time.

-- 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 0x7f1dcd99f780 (LWP 3500))]

Thread 2 (Thread 0x7f1daa951700 (LWP 3505)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f1dc9c6e222 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#2  0x00007f1dc9c6e259 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#3  0x00007f1dc1aabe9a in start_thread (arg=0x7f1daa951700) at pthread_create.c:308
#4  0x00007f1dcd1b54bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f1dcd99f780 (LWP 3500)):
[KCrash Handler]
#6  brw_update_renderbuffer_surface (brw=0x1f884d0, rb=0x1ed4340, unit=0) at brw_wm_surface_state.c:919
#7  0x00007f1db174ea80 in brw_update_renderbuffer_surfaces (brw=0x1f884d0) at brw_wm_surface_state.c:1016
#8  0x00007f1db1738628 in brw_upload_state (brw=0x1f884d0) at brw_state_upload.c:503
#9  0x00007f1db17257bf in brw_try_draw_prims (max_index=<optimized out>, min_index=<optimized out>, ib=0x0, nr_prims=1, prim=0x7fffdcc168e0, arrays=0x1f4cb28, ctx=0x1f884d0) at brw_draw.c:482
#10 brw_draw_prims (ctx=0x1f884d0, arrays=0x1f4cb28, prim=0x7fffdcc168e0, nr_prims=1, ib=0x0, index_bounds_valid=<optimized out>, min_index=0, max_index=5, tfb_vertcount=0x0) at brw_draw.c:566
#11 0x00007f1db1394544 in vbo_draw_arrays (ctx=0x1f884d0, mode=4, start=0, count=<optimized out>, numInstances=1) at vbo/vbo_exec_array.c:600
#12 0x00007f1dc9696ed7 in KWin::GLVertexBufferPrivate::corePainting (this=0x21086f0, region=..., primitiveMode=4) at ../../../kwin/libkwineffects/kwinglutils.cpp:1189
#13 0x00007f1dc9696fd5 in KWin::GLVertexBuffer::render (this=0x20b3c00, region=..., primitiveMode=4) at ../../../kwin/libkwineffects/kwinglutils.cpp:1298
#14 0x00007f1dcd53f78f in renderQuads (normalized=<optimized out>, tex=<optimized out>, quads=..., region=..., this=<optimized out>) at ../../kwin/scene_opengl.cpp:788
#15 KWin::SceneOpenGL::Window::renderQuads (this=<optimized out>, region=..., quads=..., tex=<optimized out>, normalized=<optimized out>) at ../../kwin/scene_opengl.cpp:768
#16 0x00007f1dcd546b82 in KWin::SceneOpenGL::Window::performPaint (this=0x2514440, mask=1, region=..., data=...) at ../../kwin/scene_opengl.cpp:592
#17 0x00007f1dcd52f309 in KWin::Scene::finalDrawWindow (this=<optimized out>, w=<optimized out>, mask=1, region=..., data=...) at ../../kwin/scene.cpp:438
#18 0x00007f1dcd551d35 in KWin::EffectsHandlerImpl::drawWindow (this=0x21264f0, w=0x2514080, mask=1, region=..., data=...) at ../../kwin/effects.cpp:286
#19 0x00007f1dcb31d39b in KWin::Effect::drawWindow (this=<optimized out>, w=0x2514080, mask=1, region=..., data=...) at ../../../kwin/libkwineffects/kwineffects.cpp:182
#20 0x00007f1dcd551cc9 in KWin::EffectsHandlerImpl::drawWindow (this=0x21264f0, w=0x2514080, mask=1, region=..., data=...) at ../../kwin/effects.cpp:283
#21 0x00007f1dcd52e885 in KWin::Scene::finalPaintWindow (this=<optimized out>, w=0x2514070, mask=1, region=..., data=...) at ../../kwin/scene.cpp:429
#22 0x00007f1dcd551fc5 in KWin::EffectsHandlerImpl::paintWindow (this=0x21264f0, w=0x2514080, mask=1, region=..., data=...) at ../../kwin/effects.cpp:249
#23 0x00007f1dab081c0b in KWin::TranslucencyEffect::paintWindow (this=<optimized out>, w=0x2514080, mask=1, region=..., data=...) at ../../../kwin/effects/translucency/translucency.cpp:169
#24 0x00007f1dcd551f59 in KWin::EffectsHandlerImpl::paintWindow (this=0x21264f0, w=0x2514080, mask=1, region=..., data=...) at ../../kwin/effects.cpp:246
#25 0x00007f1dcd52f508 in KWin::Scene::paintWindow (this=<optimized out>, w=0x2514440, mask=1, region=..., quads=...) at ../../kwin/scene.cpp:385
#26 0x00007f1dcd5300ad in KWin::Scene::paintSimpleScreen (this=0x1ee1640, orig_mask=0, region=<error reading variable: Cannot access memory at address 0xffffffffffffffff>) at ../../kwin/scene.cpp:330
#27 0x00007f1dcd52e7b4 in KWin::Scene::finalPaintScreen (this=0x1ee1640, mask=0, region=..., data=...) at ../../kwin/scene.cpp:198
#28 0x00007f1dcd552197 in KWin::EffectsHandlerImpl::paintScreen (this=0x21264f0, mask=0, region=..., data=...) at ../../kwin/effects.cpp:222
#29 0x00007f1dcb31d508 in KWin::Effect::paintScreen (this=<optimized out>, mask=0, region=..., data=...) at ../../../kwin/libkwineffects/kwineffects.cpp:142
#30 0x00007f1dcd55213b in KWin::EffectsHandlerImpl::paintScreen (this=0x21264f0, mask=0, region=..., data=...) at ../../kwin/effects.cpp:219
#31 0x00007f1dcd5317c5 in KWin::Scene::paintScreen (this=0x1ee1640, mask=0x7fffdcc17ab8, region=0x7fffdcc17ba0) at ../../kwin/scene.cpp:156
#32 0x00007f1dcd54768d in KWin::SceneOpenGL::paint (this=0x1ee1640, damage=..., toplevels=...) at ../../kwin/scene_opengl_glx.cpp:459
#33 0x00007f1dcd52b3c8 in KWin::Workspace::performCompositing (this=0x1de6de0) at ../../kwin/composite.cpp:417
#34 0x00007f1dc899c179 in QObject::event (this=0x1de6de0, e=<optimized out>) at kernel/qobject.cpp:1157
#35 0x00007f1dc7d05894 in notify_helper (e=0x7fffdcc18280, receiver=0x1de6de0, this=0x1ce2e40) at kernel/qapplication.cpp:4559
#36 QApplicationPrivate::notify_helper (this=0x1ce2e40, receiver=0x1de6de0, e=0x7fffdcc18280) at kernel/qapplication.cpp:4531
#37 0x00007f1dc7d0a713 in QApplication::notify (this=0x7fffdcc186a0, receiver=0x1de6de0, e=0x7fffdcc18280) at kernel/qapplication.cpp:4420
#38 0x00007f1dccc90bb6 in KApplication::notify (this=0x7fffdcc186a0, receiver=0x1de6de0, event=0x7fffdcc18280) at ../../kdeui/kernel/kapplication.cpp:311
#39 0x00007f1dc8982e9c in QCoreApplication::notifyInternal (this=0x7fffdcc186a0, receiver=0x1de6de0, event=0x7fffdcc18280) at kernel/qcoreapplication.cpp:876
#40 0x00007f1dc89b41f2 in sendEvent (event=0x7fffdcc18280, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#41 QTimerInfoList::activateTimers (this=0x1ce3a48) at kernel/qeventdispatcher_unix.cpp:611
#42 0x00007f1dc89b4cb4 in QEventDispatcherUNIX::processEvents (this=0x1c6dad0, flags=...) at kernel/qeventdispatcher_unix.cpp:930
#43 0x00007f1dc7daebf8 in QEventDispatcherX11::processEvents (this=0x1c6dad0, flags=...) at kernel/qeventdispatcher_x11.cpp:152
#44 0x00007f1dc8981c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#45 0x00007f1dc8981ed7 in QEventLoop::exec (this=0x7fffdcc185e0, flags=...) at kernel/qeventloop.cpp:204
#46 0x00007f1dc8986f67 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#47 0x00007f1dcd4e0a06 in kdemain (argc=<optimized out>, argv=<optimized out>) at ../../kwin/main.cpp:541
#48 0x00007f1dcd0e476d in __libc_start_main (main=0x400630 <main(int, char**)>, argc=2, ubp_av=0x7fffdcc18dc8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffdcc18db8) at libc-start.c:226
#49 0x0000000000400661 in _start ()

Possible duplicates by query: bug 300886, bug 299333.

Reported using DrKonqi
Comment 1 Thomas Lübking 2012-06-03 23:05:14 UTC
crashes in the driver. Which GPU and driver are you using?

*** This bug has been marked as a duplicate of bug 299333 ***
Comment 2 Samat Jain 2012-06-03 23:11:08 UTC
Didn't notice it was in the video driver—thanks!

Using an Intel 965GM:

$lspci | grep Intel
00:02.0 VGA compatible controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (primary) (rev 0c)

with Intel's 2.19 driver (from Ubuntu's "X Updates" PPA):

$dpkg -l | grep intel
ii  xserver-xorg-video-intel                        2:2.19.0-0ubuntu1~xup1