Bug 333638 - Window Manager Crash
Summary: Window Manager Crash
Status: RESOLVED DUPLICATE of bug 327310
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: 4.11.8
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2014-04-20 00:54 UTC by Zachary Layne
Modified: 2014-04-20 04:58 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Zachary Layne 2014-04-20 00:54:54 UTC
Application: kwin (4.11.8)
KDE Platform Version: 4.13.0
Qt Version: 4.8.6
Operating System: Linux 3.13.0-24-generic x86_64
Distribution: Ubuntu 14.04 LTS

-- Information about the crash:
- What I was doing when the application crashed:
Switching openGL rendering methond from 2.0 to 3.2, then it crashed.
- Unusual behavior I noticed:
Windows moved about virtual desktops, seemed to eliminate virtual desktops, screen flickering.
- Custom settings of the application:
Set Open Gl to 3.2 from 2.0

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

Thread 3 (Thread 0x7f9cfbd66700 (LWP 1889)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f9d29374ffb in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#2  0x00007f9d29375039 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#3  0x00007f9d21f1a182 in start_thread (arg=0x7f9cfbd66700) at pthread_create.c:312
#4  0x00007f9d2a18630d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 2 (Thread 0x7f9d0c36f700 (LWP 9582)):
#0  0x00007fff8bbfea1f in ?? ()
#1  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f9d2a9b7800 (LWP 1881)):
[KCrash Handler]
#6  0x00007f9d2a0c1f79 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#7  0x00007f9d2a0c5388 in __GI_abort () at abort.c:89
#8  0x00007f9d2a0bae36 in __assert_fail_base (fmt=0x7f9d2a20c718 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=assertion@entry=0x7f9d28003390 "!xcb_xlib_threads_sequence_lost", file=file@entry=0x7f9d280031db "../../src/xcb_io.c", line=line@entry=274, function=function@entry=0x7f9d28003696 <__PRETTY_FUNCTION__.14364> "poll_for_event") at assert.c:92
#9  0x00007f9d2a0baee2 in __GI___assert_fail (assertion=assertion@entry=0x7f9d28003390 "!xcb_xlib_threads_sequence_lost", file=file@entry=0x7f9d280031db "../../src/xcb_io.c", line=line@entry=274, function=function@entry=0x7f9d28003696 <__PRETTY_FUNCTION__.14364> "poll_for_event") at assert.c:101
#10 0x00007f9d27f93c69 in poll_for_event (dpy=dpy@entry=0x1aaa100) at ../../src/xcb_io.c:271
#11 0x00007f9d27f93cfc in poll_for_response (dpy=dpy@entry=0x1aaa100) at ../../src/xcb_io.c:289
#12 0x00007f9d27f93fcd in _XEventsQueued (dpy=0x1aaa100, mode=mode@entry=1) at ../../src/xcb_io.c:363
#13 0x00007f9d27f94273 in _XFlush (dpy=<optimized out>) at ../../src/xcb_io.c:514
#14 0x00007f9d27f96c75 in _XGetRequest (dpy=dpy@entry=0x1aaa100, type=type@entry=5 '\005', len=len@entry=20) at ../../src/XlibInt.c:1735
#15 0x00007f9d2502b5a7 in DRI2GetBuffersWithFormat (dpy=0x1aaa100, drawable=38036339, width=width@entry=0x1b00ce8, height=height@entry=0x1b00cec, attachments=0x7fff8ba9d7d0, count=1, outCount=outCount@entry=0x7fff8ba9d7cc) at ../../../../src/glx/dri2.c:478
#16 0x00007f9d25028f8b in dri2GetBuffersWithFormat (driDrawable=<optimized out>, width=0x1b00ce8, height=0x1b00cec, attachments=<optimized out>, count=<optimized out>, out_count=0x7fff8ba9d7cc, loaderPrivate=0x2697020) at ../../../../src/glx/dri2_glx.c:902
#17 0x00007f9d09ca9659 in intel_query_dri2_buffers (buffer_count=0x7fff8ba9d7cc, buffers=<synthetic pointer>, drawable=0x1b00cc0, brw=0x1cf9288) at ../../../../../../../src/mesa/drivers/dri/i965/brw_context.c:1213
#18 intel_update_dri2_buffers (drawable=0x1b00cc0, brw=0x1cf9288) at ../../../../../../../src/mesa/drivers/dri/i965/brw_context.c:1032
#19 intel_update_renderbuffers (context=context@entry=0x298a920, drawable=drawable@entry=0x1b00cc0) at ../../../../../../../src/mesa/drivers/dri/i965/brw_context.c:1086
#20 0x00007f9d09ca9a73 in intel_prepare_render (brw=brw@entry=0x1cf9288) at ../../../../../../../src/mesa/drivers/dri/i965/brw_context.c:1104
#21 0x00007f9d09ca9bcb in intelMakeCurrent (driContextPriv=0x298a920, driDrawPriv=0x1b00cc0, driReadPriv=0x1b00cc0) at ../../../../../../../src/mesa/drivers/dri/i965/brw_context.c:950
#22 0x00007f9d09c43c66 in driBindContext (pcp=<optimized out>, pdp=<optimized out>, prp=<optimized out>) at ../../../../../../../src/mesa/drivers/dri/common/dri_util.c:539
#23 0x00007f9d2502a8b8 in dri2_bind_context (context=0x2621c10, old=<optimized out>, draw=38036340, read=38036340) at ../../../../src/glx/dri2_glx.c:162
#24 0x00007f9d2500506c in MakeContextCurrent (dpy=0x1aaa100, draw=38036340, read=38036340, gc_user=0x2621c10) at ../../../../src/glx/glxcurrent.c:259
#25 0x00007f9d2a533469 in KWin::GlxBackend::initRenderingContext (this=this@entry=0x274d570) at ../../kwin/glxbackend.cpp:221
#26 0x00007f9d2a535019 in KWin::GlxBackend::init (this=0x274d570) at ../../kwin/glxbackend.cpp:94
#27 0x00007f9d2a52feec in KWin::SceneOpenGL::createScene () at ../../kwin/scene_opengl.cpp:222
#28 0x00007f9d2a5144a5 in KWin::Compositor::slotCompositingOptionsInitialized (this=0x1c077f0) at ../../kwin/composite.cpp:202
#29 0x00007f9d2a49c3d5 in KWin::Compositor::qt_static_metacall (_o=<optimized out>, _id=<optimized out>, _a=<optimized out>, _c=<optimized out>) at moc_composite.cpp:193
#30 0x00007f9d2455887a in QMetaObject::activate (sender=0x27d7620, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3539
#31 0x00007f9d24432b18 in QFutureWatcherBase::event (this=<optimized out>, event=0x7f9cfc002360) at concurrent/qfuturewatcher.cpp:344
#32 0x00007f9d238dde2c in QApplicationPrivate::notify_helper (this=this@entry=0x1a757d0, receiver=receiver@entry=0x27d7620, e=e@entry=0x7f9cfc002360) at kernel/qapplication.cpp:4567
#33 0x00007f9d238e44a0 in QApplication::notify (this=this@entry=0x7fff8ba9e4d0, receiver=receiver@entry=0x27d7620, e=e@entry=0x7f9cfc002360) at kernel/qapplication.cpp:4353
#34 0x00007f9d28dc9baa in KApplication::notify (this=0x7fff8ba9e4d0, receiver=0x27d7620, event=0x7f9cfc002360) at ../../kdeui/kernel/kapplication.cpp:311
#35 0x00007f9d245444dd in QCoreApplication::notifyInternal (this=0x7fff8ba9e4d0, receiver=receiver@entry=0x27d7620, event=event@entry=0x7f9cfc002360) at kernel/qcoreapplication.cpp:953
#36 0x00007f9d24547b3d in sendEvent (event=0x7f9cfc002360, receiver=0x27d7620) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#37 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x1a1c1f0) at kernel/qcoreapplication.cpp:1577
#38 0x00007f9d24547fe3 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1470
#39 0x00007f9d2398032c in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#40 QEventDispatcherX11::processEvents (this=0x1a1daf0, flags=...) at kernel/qeventdispatcher_x11.cpp:75
#41 0x00007f9d245430af in QEventLoop::processEvents (this=this@entry=0x7fff8ba9e340, flags=...) at kernel/qeventloop.cpp:149
#42 0x00007f9d245433a5 in QEventLoop::exec (this=this@entry=0x7fff8ba9e340, flags=...) at kernel/qeventloop.cpp:204
#43 0x00007f9d24548b79 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1225
#44 0x00007f9d238dc37c in QApplication::exec () at kernel/qapplication.cpp:3828
#45 0x00007f9d2a4cc856 in kdemain (argc=3, argv=0x7fff8ba9e618) at ../../kwin/main.cpp:597
#46 0x00007f9d2a0acec5 in __libc_start_main (main=0x4006d0 <main(int, char**)>, argc=3, argv=0x7fff8ba9e618, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff8ba9e608) at libc-start.c:287
#47 0x00000000004006fe in _start ()

The reporter indicates this bug may be a duplicate of or related to bug 328718.

Possible duplicates by query: bug 333215, bug 333088, bug 332970, bug 332784, bug 330440.

Reported using DrKonqi
Comment 1 Thomas Lübking 2014-04-20 04:58:43 UTC
upstream bug, pot. fixed by the driver - see dupe.

GL3 likely isn't supported by the driver/chip combo anyway and the driver was broken in this regard.
Do not try to activate.

call
   kwriteconfig --file kwinrc --group Compositing --key GLCore false

and in doubt reboot (apparently the IGP can enter an invalid state)

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