Bug 302933 - kwin crashes twice on log-in; then 3D effects lost
Summary: kwin crashes twice on log-in; then 3D effects lost
Status: RESOLVED DUPLICATE of bug 297348
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-07-03 02:01 UTC by Karl Scheel
Modified: 2012-07-03 05:33 UTC (History)
0 users

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


Attachments
This is a photo of the desktop that appears upon logging-in; notice the panels are a dull-grey colour, rather than transparent as they should be.. (892.98 KB, image/png)
2012-07-03 02:06 UTC, Karl Scheel
Details
This is the desktop I get after pressing Alt+Shift+F12; notice that the panels have returned to transparency. (943.85 KB, image/png)
2012-07-03 02:11 UTC, Karl Scheel
Details
This is my configuration file for kwin. (1.03 KB, application/octet-stream)
2012-07-03 02:22 UTC, Karl Scheel
Details
This is an lsmod listing of the currently loaded modules. (3.21 KB, text/plain)
2012-07-03 03:20 UTC, Karl Scheel
Details
This is an lspci listing of all PCI devices (3.12 KB, text/plain)
2012-07-03 03:26 UTC, Karl Scheel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Karl Scheel 2012-07-03 02:01:32 UTC
Application: kwin (4.8.4 (4.8.4))
KDE Platform Version: 4.8.4 (4.8.4)
Qt Version: 4.8.1
Operating System: Linux 3.2.0-26-generic-pae i686
Distribution: Ubuntu 12.04 LTS

-- Information about the crash:
- What I was doing when the application crashed:
After customizing my KDE desktop with 4 virtual desktops in a 4x1 arrangement via the desktop switcher app, switching to cube rendering for destop switching in the same app, logging-out and -in again, kwin crashes. After the initial two crashes, I found that this behaviour is reproduced exactly by setting [Compositing] Enabled=true in kwinrc. It appears to be also be reproduced whenever I press Ctrl+F11 (i.e., to render a 3D cube on the desktop) after switching destop-effects back on by pressing Alt+Shift+F12.

- Unusual behavior I noticed:
I noticed the transparency of the panels (I added a secondary one at the top of the screen for task-managing purposes, and removed the default task-manager from the bottom panel.) were lost, and also, the 3D cube-effects were gone. However, upon pressing Alt+Shift+F12, everything returns to normal. The first two snapshots show the before- and after-effects.

- Custom settings of the application:
See attached kwinrc file.

The crash can be reproduced every time.

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

Thread 3 (Thread 0xb1c42b40 (LWP 4908)):
#0  0x0070ddcd in clock_gettime () from /lib/i386-linux-gnu/librt.so.1
#1  0x06758315 in do_gettime (frac=0xb1c41fe0, sec=0xb1c41fd8) at tools/qelapsedtimer_unix.cpp:123
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#3  0x06842226 in QTimerInfoList::updateCurrentTime (this=0xb1300b34) at kernel/qeventdispatcher_unix.cpp:343
#4  0x06843c2b in QEventDispatcherUNIXPrivate::doSelect (this=0xb1300498, flags=..., timeout=0x0) at kernel/qeventdispatcher_unix.cpp:186
#5  0x068441f4 in QEventDispatcherUNIX::processEvents (this=0xb1300488, flags=...) at kernel/qeventdispatcher_unix.cpp:926
#6  0x0680d50d in QEventLoop::processEvents (this=0xb1c42240, flags=...) at kernel/qeventloop.cpp:149
#7  0x0680d7a9 in QEventLoop::exec (this=0xb1c42240, flags=...) at kernel/qeventloop.cpp:204
#8  0x066f694c in QThread::exec (this=0xa448268) at thread/qthread.cpp:501
#9  0x067eab5d in QInotifyFileSystemWatcherEngine::run (this=0xa448268) at io/qfilesystemwatcher_inotify.cpp:248
#10 0x066f9de0 in QThreadPrivate::start (arg=0xa448268) at thread/qthread_unix.cpp:298
#11 0x02dbfd4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#12 0x004c2ace in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 2 (Thread 0xb12ffb40 (LWP 4922)):
#0  0x00856416 in __kernel_vsyscall ()
#1  0x02dc396b in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0x004d03dc in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6
#3  0x091a9029 in ?? () from /usr/lib/i386-linux-gnu/libQtScript.so.4
#4  0x091a906f in ?? () from /usr/lib/i386-linux-gnu/libQtScript.so.4
#5  0x02dbfd4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#6  0x004c2ace in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 1 (Thread 0xb5e3f740 (LWP 4883)):
[KCrash Handler]
#7  0x00856416 in __kernel_vsyscall ()
#8  0x004061ef in raise () from /lib/i386-linux-gnu/libc.so.6
#9  0x00409835 in abort () from /lib/i386-linux-gnu/libc.so.6
#10 0x003ff095 in ?? () from /lib/i386-linux-gnu/libc.so.6
#11 0x003ff147 in __assert_fail () from /lib/i386-linux-gnu/libc.so.6
#12 0x01dfaaaa in do_bo_emit_reloc (bo=0xa4a29b8, offset=<optimized out>, target_bo=0xa3e4f10, target_offset=0, read_domains=4, write_domain=0, need_fence=false) at ../../intel/intel_bufmgr_gem.c:1579
#13 0x01df52c8 in drm_intel_bo_emit_reloc (bo=0xa4a29b8, offset=4524, target_bo=0xa3e4f10, target_offset=0, read_domains=4, write_domain=0) at ../../intel/intel_bufmgr.c:181
#14 0x0297478e in intel_batchbuffer_emit_reloc (intel=0xa19c810, buffer=0xa3e4f10, read_domains=4, write_domain=0, delta=0) at intel_batchbuffer.c:235
#15 0x0297128c in i830_emit_state (intel=0xa19c810) at i830_vtbl.c:542
#16 0x02996754 in intelRenderStart (ctx=0xa19c810) at intel_tris.c:1109
#17 0x033ababe in run_render (ctx=0xa19c810, stage=0xa305638) at tnl/t_vb_render.c:276
#18 0x0339f497 in _tnl_run_pipeline (ctx=0xa19c810) at tnl/t_pipeline.c:163
#19 0x029acb2a in intelRunPipeline (ctx=0xa19c810) at intel_tris.c:1095
#20 0x0339fdc7 in _tnl_draw_prims (ctx=0xa19c810, arrays=0xa2f35a0, prim=0xbfe83f58, nr_prims=1, ib=0x0, min_index=0, max_index=5) at tnl/t_draw.c:523
#21 0x033a04b1 in _tnl_vbo_draw_prims (ctx=0xa19c810, arrays=0xa2f35a0, prim=0xbfe83f58, nr_prims=1, ib=0x0, index_bounds_valid=1 '\001', min_index=0, max_index=5, tfb_vertcount=0x0) at tnl/t_draw.c:423
#22 0x0338e69e in vbo_draw_arrays (ctx=0xa19c810, mode=4, start=0, count=6, numInstances=1) at vbo/vbo_exec_array.c:600
#23 0x00384f27 in KWin::GLVertexBufferPrivate::fallbackPainting (this=0xa35f910, region=..., primitiveMode=4) at ../../../kwin/libkwineffects/kwinglutils.cpp:1218
#24 0x00386916 in KWin::GLVertexBuffer::render (this=0xa1ee398, region=..., primitiveMode=4) at ../../../kwin/libkwineffects/kwinglutils.cpp:1300
#25 0x001cd8c7 in renderQuads (normalized=false, tex=0xa4bb9d8, quads=..., region=..., this=<optimized out>) at ../../kwin/scene_opengl.cpp:788
#26 KWin::SceneOpenGL::Window::renderQuads (this=0xa4bb9b8, region=..., quads=..., tex=0xa4bb9d8, normalized=false) at ../../kwin/scene_opengl.cpp:768
#27 0x001d4f97 in KWin::SceneOpenGL::Window::performPaint (this=0xa4bb9b8, mask=9, region=..., data=...) at ../../kwin/scene_opengl.cpp:592
#28 0x001bb517 in KWin::Scene::finalDrawWindow (this=0xa1e7300, w=0xa4ae688, mask=9, region=..., data=...) at ../../kwin/scene.cpp:438
#29 0x001e26aa in KWin::EffectsHandlerImpl::drawWindow (this=0xa35bef0, w=0xa4ae690, mask=9, region=..., data=...) at ../../kwin/effects.cpp:286
#30 0x002de3a2 in KWin::Effect::drawWindow (this=0xa3ad608, w=0xa4ae690, mask=9, region=..., data=...) at ../../../kwin/libkwineffects/kwineffects.cpp:182
#31 0x001e2648 in KWin::EffectsHandlerImpl::drawWindow (this=0xa35bef0, w=0xa4ae690, mask=9, region=..., data=...) at ../../kwin/effects.cpp:283
#32 0x002de3a2 in KWin::Effect::drawWindow (this=0xa3d5488, w=0xa4ae690, mask=9, region=..., data=...) at ../../../kwin/libkwineffects/kwineffects.cpp:182
#33 0x001e2648 in KWin::EffectsHandlerImpl::drawWindow (this=0xa35bef0, w=0xa4ae690, mask=9, region=..., data=...) at ../../kwin/effects.cpp:283
#34 0x001ba952 in KWin::Scene::finalPaintWindow (this=0xa1e7300, w=0xa4ae688, mask=9, region=..., data=...) at ../../kwin/scene.cpp:429
#35 0x001e253a in KWin::EffectsHandlerImpl::paintWindow (this=0xa35bef0, w=0xa4ae690, mask=9, region=..., data=...) at ../../kwin/effects.cpp:249
#36 0x09e385c4 in KWin::FadeEffect::paintWindow (this=0xa3ad608, w=0xa4ae690, mask=9, region=..., data=...) at ../../../kwin/effects/fade/fade.cpp:150
#37 0x001e24d8 in KWin::EffectsHandlerImpl::paintWindow (this=0xa35bef0, w=0xa4ae690, mask=9, region=..., data=...) at ../../kwin/effects.cpp:246
#38 0x09e71cd8 in KWin::TranslucencyEffect::paintWindow (this=0xa3d5488, w=0xa4ae690, mask=9, region=..., data=...) at ../../../kwin/effects/translucency/translucency.cpp:169
#39 0x001e24d8 in KWin::EffectsHandlerImpl::paintWindow (this=0xa35bef0, w=0xa4ae690, mask=9, region=..., data=...) at ../../kwin/effects.cpp:246
#40 0x001bb73e in KWin::Scene::paintWindow (this=0xa1e7300, w=0xa4bb9b8, mask=9, region=..., quads=...) at ../../kwin/scene.cpp:385
#41 0x001bc8e5 in KWin::Scene::paintSimpleScreen (this=0xa1e7300, orig_mask=8, region=...) at ../../kwin/scene.cpp:330
#42 0x001ba85a in KWin::Scene::finalPaintScreen (this=0xa1e7300, mask=8, region=..., data=...) at ../../kwin/scene.cpp:198
#43 0x001e29c0 in KWin::EffectsHandlerImpl::paintScreen (this=0xa35bef0, mask=8, region=..., data=...) at ../../kwin/effects.cpp:222
#44 0x002de53a in KWin::Effect::paintScreen (this=0xa3ad608, mask=8, region=..., data=...) at ../../../kwin/libkwineffects/kwineffects.cpp:142
#45 0x001e2970 in KWin::EffectsHandlerImpl::paintScreen (this=0xa35bef0, mask=8, region=..., data=...) at ../../kwin/effects.cpp:219
#46 0x002de53a in KWin::Effect::paintScreen (this=0xa3d5488, mask=8, region=..., data=...) at ../../../kwin/libkwineffects/kwineffects.cpp:142
#47 0x001e2970 in KWin::EffectsHandlerImpl::paintScreen (this=0xa35bef0, mask=8, region=..., data=...) at ../../kwin/effects.cpp:219
#48 0x001bd3cf in KWin::Scene::paintScreen (this=0xa1e7300, mask=0xbfe85034, region=0xbfe850c8) at ../../kwin/scene.cpp:156
#49 0x001d5b69 in KWin::SceneOpenGL::paint (this=0xa1e7300, damage=..., toplevels=...) at ../../kwin/scene_opengl_glx.cpp:459
#50 0x001b6aa4 in KWin::Workspace::performCompositing (this=0xa1f3dd0) at ../../kwin/composite.cpp:417
#51 0x06829ac4 in QObject::event (this=0xa1f3dd0, e=0xbfe855ac) at kernel/qobject.cpp:1157
#52 0x0482fed4 in notify_helper (e=0xbfe855ac, receiver=0xa1f3dd0, this=0xa072060) at kernel/qapplication.cpp:4559
#53 QApplicationPrivate::notify_helper (this=0xa072060, receiver=0xa1f3dd0, e=0xbfe855ac) at kernel/qapplication.cpp:4531
#54 0x0483530d in QApplication::notify (this=0xbfe855ac, receiver=0xa1f3dd0, e=0xbfe855ac) at kernel/qapplication.cpp:4288
#55 0x00a44401 in KApplication::notify (this=0xbfe858b8, receiver=0xa1f3dd0, event=0xbfe855ac) at ../../kdeui/kernel/kapplication.cpp:311
#56 0x0015f7ff in notify (e=0xbfe855ac, o=0xa1f3dd0, this=0xbfe858b8) at ../../kwin/main.cpp:368
#57 KWin::Application::notify (this=0xbfe858b8, o=0xa1f3dd0, e=0xbfe855ac) at ../../kwin/main.cpp:364
#58 0x0680e97e in QCoreApplication::notifyInternal (this=0xbfe858b8, receiver=0xa1f3dd0, event=0xbfe855ac) at kernel/qcoreapplication.cpp:876
#59 0x06843990 in sendEvent (event=0xbfe855ac, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#60 QTimerInfoList::activateTimers (this=0xa072904) at kernel/qeventdispatcher_unix.cpp:611
#61 0x06844207 in QEventDispatcherUNIX::processEvents (this=0xa037ea0, flags=...) at kernel/qeventdispatcher_unix.cpp:930
#62 0x048e9b6e in QEventDispatcherX11::processEvents (this=0xa037ea0, flags=...) at kernel/qeventdispatcher_x11.cpp:152
#63 0x0680d50d in QEventLoop::processEvents (this=0xbfe857f4, flags=...) at kernel/qeventloop.cpp:149
#64 0x0680d7a9 in QEventLoop::exec (this=0xbfe857f4, flags=...) at kernel/qeventloop.cpp:204
#65 0x06812eba in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#66 0x0482da74 in QApplication::exec () at kernel/qapplication.cpp:3820
#67 0x001627c5 in kdemain (argc=3, argv=0xbfe85b64) at ../../kwin/main.cpp:541
#68 0x0804850b in main (argc=3, argv=0xbfe85b64) at kwin_dummy.cpp:3

Possible duplicates by query: bug 302454, bug 300616, bug 299561, bug 299557, bug 297348.

Reported using DrKonqi
Comment 1 Karl Scheel 2012-07-03 02:06:09 UTC
Created attachment 72293 [details]
This is a photo of the desktop that appears upon logging-in; notice the panels are a dull-grey colour, rather than transparent as they should be..
Comment 2 Karl Scheel 2012-07-03 02:11:36 UTC
Created attachment 72294 [details]
This is the desktop I get after pressing Alt+Shift+F12; notice that the panels have returned to transparency.
Comment 3 Karl Scheel 2012-07-03 02:20:04 UTC
Comment on attachment 72294 [details]
This is the desktop I get after pressing Alt+Shift+F12; notice that the panels have returned to transparency.

Please note that originally, only the top panel returned to transparency after pressing Alt+Shift+F12. I had to resize the bottom panel in order to enable transparency to return; apparently transparency works only for a limited amount of panel-heights.
Comment 4 Karl Scheel 2012-07-03 02:22:59 UTC
Created attachment 72295 [details]
This is my configuration file for kwin.
Comment 5 Karl Scheel 2012-07-03 03:20:22 UTC
Created attachment 72296 [details]
This is an lsmod listing of the currently loaded modules.
Comment 6 Karl Scheel 2012-07-03 03:26:07 UTC
Created attachment 72297 [details]
This is an lspci listing of all PCI devices
Comment 7 Martin Flöser 2012-07-03 05:33:53 UTC
crashes inside the driver. Nothing we can do about it. Feel free to look at the other crash reports whether they have hints on how to workaround the issue.

*** This bug has been marked as a duplicate of bug 297348 ***