Bug 322168 - kwin crash when looking at notification on panel
Summary: kwin crash when looking at notification on panel
Status: RESOLVED DUPLICATE of bug 299333
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: 4.10.4
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-09 21:52 UTC by Oskar Gibson
Modified: 2013-07-10 10:09 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Oskar Gibson 2013-07-09 21:52:37 UTC
Application: kwin (4.10.4)
KDE Platform Version: 4.10.4
Qt Version: 4.8.4
Operating System: Linux 3.8.0-26-generic i686
Distribution: Ubuntu 13.04

-- Information about the crash:
- What I was doing when the application crashed:
kwin crash when looking at notification on panel.
Though I was doing quite a few things simultaneously when crash happened so cannot be 100% accurate reagrding exact trigger.

The crash can be reproduced sometimes.

-- Backtrace:
Application: KWin (kwin), signal: Segmentation fault
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0xb1191740 (LWP 5376))]

Thread 4 (Thread 0xaaf6ab40 (LWP 5389)):
#0  0xb777d424 in __kernel_vsyscall ()
#1  0xb21fb84b in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:187
#2  0xb7548d7c in __pthread_cond_wait (cond=0x94d39c0, mutex=0x94d39a8) at forward.c:149
#3  0xadaa9e3c in pipe_semaphore_wait (sema=0x94d39a8) at ../../../../../../../src/gallium/auxiliary/os/os_thread.h:433
#4  radeon_drm_cs_emit_ioctl (param=0x94d3880) at radeon_drm_winsys.c:518
#5  0xb21f7d78 in start_thread (arg=0xaaf6ab40) at pthread_create.c:311
#6  0xb753b3de in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:131

Thread 3 (Thread 0xa9c89b40 (LWP 5392)):
#0  0xb777d424 in __kernel_vsyscall ()
#1  0xb21fb84b in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:187
#2  0xb7548d7c in __pthread_cond_wait (cond=0xb6774670, mutex=0xb6774658) at forward.c:149
#3  0xb66620ad in ?? () from /usr/lib/i386-linux-gnu/libQtScript.so.4
#4  0xb66620df in ?? () from /usr/lib/i386-linux-gnu/libQtScript.so.4
#5  0xb21f7d78 in start_thread (arg=0xa9c89b40) at pthread_create.c:311
#6  0xb753b3de in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:131

Thread 2 (Thread 0xaec5bb40 (LWP 6305)):
#0  0xb777d424 in __kernel_vsyscall ()
#1  0xb7533301 in select () at ../sysdeps/unix/syscall-template.S:81
#2  0xb5fa0ac8 in qt_safe_select (nfds=nfds@entry=15, fdread=fdread@entry=0xae33475c, fdwrite=fdwrite@entry=0xae334970, fdexcept=fdexcept@entry=0xae334b84, orig_timeout=orig_timeout@entry=0x0) at kernel/qcore_unix.cpp:83
#3  0xb5fa4dab in QEventDispatcherUNIX::select (this=0xae300488, nfds=15, readfds=0xae33475c, writefds=0xae334970, exceptfds=0xae334b84, timeout=0x0) at kernel/qeventdispatcher_unix.cpp:650
#4  0xb5fa61f7 in QEventDispatcherUNIXPrivate::doSelect (this=this@entry=0xae334668, flags=..., timeout=0x0) at kernel/qeventdispatcher_unix.cpp:223
#5  0xb5fa6a13 in QEventDispatcherUNIX::processEvents (this=0xae300488, flags=...) at kernel/qeventdispatcher_unix.cpp:937
#6  0xb5f703ec in QEventLoop::processEvents (this=this@entry=0xaec5b228, flags=...) at kernel/qeventloop.cpp:149
#7  0xb5f706e1 in QEventLoop::exec (this=this@entry=0xaec5b228, flags=...) at kernel/qeventloop.cpp:204
#8  0xb5e5bfec in QThread::exec (this=this@entry=0x9b431f0) at thread/qthread.cpp:542
#9  0xb5f4ff2d in QInotifyFileSystemWatcherEngine::run (this=0x9b431f0) at io/qfilesystemwatcher_inotify.cpp:256
#10 0xb5e5eb18 in QThreadPrivate::start (arg=0x9b431f0) at thread/qthread_unix.cpp:338
#11 0xb21f7d78 in start_thread (arg=0xaec5bb40) at pthread_create.c:311
#12 0xb753b3de in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:131

Thread 1 (Thread 0xb1191740 (LWP 5376)):
[KCrash Handler]
#7  0xada952cc in r600_resource_va (resource=0x0, screen=0x94d3b18) at r600_pipe.h:995
#8  evergreen_emit_constant_buffers (rctx=rctx@entry=0x94cf2e8, state=state@entry=0x94cfaa8, buffer_id_base=buffer_id_base@entry=0, reg_alu_constbuf_size=reg_alu_constbuf_size@entry=164160, reg_alu_const_cache=reg_alu_const_cache@entry=166208) at evergreen_state.c:2360
#9  0xada95549 in evergreen_emit_ps_constant_buffers (rctx=0x94cf2e8, atom=0x94cfaa8) at evergreen_state.c:2412
#10 0xada9eeec in r600_emit_atom (atom=0x94cfaa8, rctx=0x94cf2e8) at r600_pipe.h:578
#11 r600_draw_vbo (ctx=0x94cf2e8, dinfo=0xbfebbc90) at r600_state_common.c:1390
#12 0xac57039a in u_vbuf_draw_vbo (mgr=0x9572068, info=info@entry=0xbfebbc90) at util/u_vbuf.c:1143
#13 0xac4ff1da in cso_draw_vbo (cso=0x95718b0, info=info@entry=0xbfebbc90) at cso_cache/cso_context.c:1344
#14 0xac61957a in st_draw_vbo (ctx=0x951f3a0, prims=0xbfebbd10, nr_prims=1, ib=0x0, index_bounds_valid=1 '\001', min_index=0, max_index=5, tfb_vertcount=0x0) at ../../../../../src/mesa/state_tracker/st_draw.c:287
#15 0xac9f8742 in vbo_draw_arrays (ctx=ctx@entry=0x951f3a0, mode=mode@entry=4, start=start@entry=0, count=count@entry=6, numInstances=numInstances@entry=1, baseInstance=baseInstance@entry=0) at ../../../../../src/mesa/vbo/vbo_exec_array.c:619
#16 0xac9f882d in vbo_exec_DrawArrays (mode=4, start=0, count=6) at ../../../../../src/mesa/vbo/vbo_exec_array.c:649
#17 0xb6491c85 in KWin::GLVertexBufferPrivate::corePainting (this=0x95676b0, region=..., primitiveMode=4, hardwareClipping=false) at ../../../kwin/libkwineffects/kwinglutils.cpp:1254
#18 0xb6491f4d in KWin::GLVertexBuffer::render (this=0x9551e08, region=..., primitiveMode=primitiveMode@entry=4, hardwareClipping=hardwareClipping@entry=false) at ../../../kwin/libkwineffects/kwinglutils.cpp:1363
#19 0xb76e7815 in KWin::SceneOpenGL::Window::paintDecoration (this=this@entry=0x98e3ed8, decoration=decoration@entry=0x98ebb58, decorationType=decorationType@entry=KWin::SceneOpenGL::Window::DecorationTop, region=..., rect=..., data=..., quads=..., updateDeco=updateDeco@entry=false, hardwareClipping=hardwareClipping@entry=false) at ../../kwin/scene_opengl.cpp:1100
#20 0xb76ed489 in KWin::SceneOpenGL::Window::paintDecorations<KWin::Client> (this=this@entry=0x98e3ed8, data=..., region=..., hardwareClipping=hardwareClipping@entry=false) at ../../kwin/scene_opengl.cpp:1029
#21 0xb76e7f5d in KWin::SceneOpenGL::Window::performPaint (this=0x98e3ed8, mask=10, region=..., data=...) at ../../kwin/scene_opengl.cpp:959
#22 0xb76eca45 in KWin::SceneOpenGL2::performPaintWindow (this=this@entry=0x95676f8, w=w@entry=0x9929358, mask=mask@entry=10, region=..., data=...) at ../../kwin/scene_opengl.cpp:566
#23 0xb76ecc07 in KWin::SceneOpenGL2::finalDrawWindow (this=0x95676f8, w=w@entry=0x9929358, mask=mask@entry=10, region=..., data=...) at ../../kwin/scene_opengl.cpp:551
#24 0xb76fb5b8 in KWin::EffectsHandlerImpl::drawWindow (this=0x9687d98, w=w@entry=0x9929358, mask=mask@entry=10, region=..., data=...) at ../../kwin/effects.cpp:318
#25 0xa9cf49b0 in KWin::BlurEffect::drawWindow (this=0x96da7f0, w=0x9929358, mask=10, region=..., data=...) at ../../../kwin/effects/blur/blur.cpp:419
#26 0xb76fb553 in KWin::EffectsHandlerImpl::drawWindow (this=0x9687d98, w=w@entry=0x9929358, mask=mask@entry=10, region=..., data=...) at ../../kwin/effects.cpp:315
#27 0xb69471f2 in KWin::Effect::drawWindow (this=0x96eb2c8, w=0x9929358, mask=10, region=..., data=...) at ../../../kwin/libkwineffects/kwineffects.cpp:529
#28 0xb76fb553 in KWin::EffectsHandlerImpl::drawWindow (this=0x9687d98, w=w@entry=0x9929358, mask=mask@entry=10, region=..., data=...) at ../../kwin/effects.cpp:315
#29 0xb76d5fb2 in KWin::Scene::finalPaintWindow (this=0x95676f8, w=w@entry=0x9929358, mask=mask@entry=10, region=..., data=...) at ../../kwin/scene.cpp:449
#30 0xb76fb893 in KWin::EffectsHandlerImpl::paintWindow (this=0x9687d98, w=w@entry=0x9929358, mask=mask@entry=10, region=..., data=...) at ../../kwin/effects.cpp:281
#31 0xb6947312 in KWin::Effect::paintWindow (this=0x96da7f0, w=0x9929358, mask=10, region=..., data=...) at ../../../kwin/libkwineffects/kwineffects.cpp:504
#32 0xb76fb833 in KWin::EffectsHandlerImpl::paintWindow (this=0x9687d98, w=w@entry=0x9929358, mask=mask@entry=10, region=..., data=...) at ../../kwin/effects.cpp:278
#33 0xa9cd84ba in KWin::TranslucencyEffect::paintWindow (this=0x96eb2c8, w=0x9929358, mask=10, region=..., data=...) at ../../../kwin/effects/translucency/translucency.cpp:180
#34 0xb76fb833 in KWin::EffectsHandlerImpl::paintWindow (this=0x9687d98, w=0x9929358, mask=mask@entry=10, region=..., data=...) at ../../kwin/effects.cpp:278
#35 0xb76d90f0 in KWin::Scene::paintWindow (this=this@entry=0x95676f8, w=0x98e3ed8, mask=10, region=..., quads=...) at ../../kwin/scene.cpp:356
#36 0xb76d8256 in KWin::Scene::paintSimpleScreen (this=this@entry=0x95676f8, orig_mask=orig_mask@entry=8, region=...) at ../../kwin/scene.cpp:342
#37 0xb76d5ef3 in KWin::Scene::finalPaintScreen (this=0x95676f8, mask=mask@entry=8, region=..., data=...) at ../../kwin/scene.cpp:186
#38 0xb76fb4b3 in KWin::EffectsHandlerImpl::paintScreen (this=0x9687d98, mask=mask@entry=8, region=..., data=...) at ../../kwin/effects.cpp:254
#39 0xb694738a in KWin::Effect::paintScreen (this=0x96da7f0, mask=8, region=..., data=...) at ../../../kwin/libkwineffects/kwineffects.cpp:489
#40 0xb76fb45b in KWin::EffectsHandlerImpl::paintScreen (this=0x9687d98, mask=mask@entry=8, region=..., data=...) at ../../kwin/effects.cpp:251
#41 0xb694738a in KWin::Effect::paintScreen (this=0x96eb2c8, mask=8, region=..., data=...) at ../../../kwin/libkwineffects/kwineffects.cpp:489
#42 0xb76fb45b in KWin::EffectsHandlerImpl::paintScreen (this=0x9687d98, mask=8, region=..., data=...) at ../../kwin/effects.cpp:251
#43 0xb76d748e in KWin::Scene::paintScreen (this=this@entry=0x95676f8, mask=mask@entry=0xbfebcbbc, region=region@entry=0xbfebcc2c) at ../../kwin/scene.cpp:140
#44 0xb76e618b in KWin::SceneOpenGL::paint (this=0x95676f8, damage=..., toplevels=...) at ../../kwin/scene_opengl.cpp:308
#45 0xb76cfc60 in KWin::Compositor::performCompositing (this=0x946dde0) at ../../kwin/composite.cpp:610
#46 0xb5f8d2d4 in QObject::event (this=0x946dde0, e=0xbfebd150) at kernel/qobject.cpp:1156
#47 0xb5460c7c in QApplicationPrivate::notify_helper (this=0x93332e8, receiver=0x946dde0, e=0xbfebd150) at kernel/qapplication.cpp:4567
#48 0xb5463b94 in QApplication::notify (this=0xbfebd150, receiver=0x946dde0, e=0xbfebd150) at kernel/qapplication.cpp:3949
#49 0xb71f7d01 in KApplication::notify (this=this@entry=0xbfebd518, receiver=receiver@entry=0x946dde0, event=event@entry=0xbfebd150) at ../../kdeui/kernel/kapplication.cpp:311
#50 0xb767cd2f in notify (e=0xbfebd150, o=0x946dde0, this=0xbfebd518) at ../../kwin/main.cpp:371
#51 KWin::Application::notify (this=0xbfebd518, o=0x946dde0, e=0xbfebd150) at ../../kwin/main.cpp:367
#52 0xb5f7190e in QCoreApplication::notifyInternal (this=0xbfebd518, receiver=0x946dde0, event=event@entry=0xbfebd150) at kernel/qcoreapplication.cpp:946
#53 0xb5fa68c0 in sendEvent (event=0xbfebd150, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#54 QTimerInfoList::activateTimers (this=0x9333b8c) at kernel/qeventdispatcher_unix.cpp:622
#55 0xb5fa6945 in QEventDispatcherUNIX::activateTimers (this=0x9333b8c, this@entry=0x92e8ea0) at kernel/qeventdispatcher_unix.cpp:879
#56 0xb5fa6ab8 in QEventDispatcherUNIX::processEvents (this=this@entry=0x92e8ea0, flags=...) at kernel/qeventdispatcher_unix.cpp:941
#57 0xb55185a3 in QEventDispatcherX11::processEvents (this=0x92e8ea0, flags=...) at kernel/qeventdispatcher_x11.cpp:152
#58 0xb5f703ec in QEventLoop::processEvents (this=this@entry=0xbfebd398, flags=...) at kernel/qeventloop.cpp:149
#59 0xb5f706e1 in QEventLoop::exec (this=this@entry=0xbfebd398, flags=...) at kernel/qeventloop.cpp:204
#60 0xb5f763fa in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#61 0xb545efc4 in QApplication::exec () at kernel/qapplication.cpp:3828
#62 0xb767c7e1 in kdemain (argc=1, argv=0xbfebd604) at ../../kwin/main.cpp:537
#63 0x0804855b in main (argc=1, argv=0xbfebd604) at kwin_dummy.cpp:3

Reported using DrKonqi
Comment 1 Martin Flöser 2013-07-10 06:01:52 UTC

*** This bug has been marked as a duplicate of bug 299333 ***
Comment 2 Thomas Lübking 2013-07-10 09:48:45 UTC
> #7  0xada952cc in r600_resource_va (resource=0x0, screen=0x94d3b18) at r600_pipe.h:995

See the resource pointer.
Also virtually all dupes have ib=0x0 and literally all have tfb_vertcount=0x0

Not saying the driver was allowed to crash here, but we might (have) requested some noop here.
Comment 3 Martin Flöser 2013-07-10 10:09:11 UTC
> Not saying the driver was allowed to crash here, but we might (have)
> requested some noop here.
Let's wait whether that also happens in 4.11. If it still does we should add 
such a safety check.