Bug 318010

Summary: Kwin crashes when configuring 2nd display
Product: [Plasma] kwin Reporter: René <rs>
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description René 2013-04-08 06:50:08 UTC
Application: kwin (4.8.5 (4.8.5))
KDE Platform Version: 4.8.5 (4.8.5)
Qt Version: 4.8.1
Operating System: Linux 3.5.0-26-generic x86_64
Distribution: Ubuntu 12.04.2 LTS

-- Information about the crash:
- What I was doing when the application crashed:
I have set the parameters of the second external display, that I just connected to the display port
- Unusual behavior I noticed:
I randomly notice strange artefacts in the display, lines and dots. This might or might not be related, because I saw them just before the external display was connected and configured.

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

Thread 3 (Thread 0x7fd895fd4700 (LWP 1989)):
#0  0x00007fd8b83bc023 in select () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007fd8b3bab366 in qt_safe_select (nfds=21, fdread=0x7fd884000ac8, fdwrite=0x7fd884000d60, fdexcept=0x7fd884000ff8, orig_timeout=<optimized out>) at kernel/qcore_unix.cpp:83
#2  0x00007fd8b3bb07b2 in QEventDispatcherUNIXPrivate::doSelect (this=0x7fd884000910, flags=..., timeout=0x0) at kernel/qeventdispatcher_unix.cpp:223
#3  0x00007fd8b3bb0ca3 in QEventDispatcherUNIX::processEvents (this=0x7fd8840008f0, flags=...) at kernel/qeventdispatcher_unix.cpp:926
#4  0x00007fd8b3b7dc82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fd8b3b7ded7 in QEventLoop::exec (this=0x7fd895fd3dd0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007fd8b3a7cfa7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007fd8b3b5d9ff in QInotifyFileSystemWatcherEngine::run (this=0x1eaa060) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007fd8b3a7ffcb in QThreadPrivate::start (arg=0x1eaa060) at thread/qthread_unix.cpp:298
#9  0x00007fd8acc9ee9a in start_thread (arg=0x7fd895fd4700) at pthread_create.c:308
#10 0x00007fd8b83c2cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fd8957d3700 (LWP 1990)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fd8b4e75222 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#2  0x00007fd8b4e75259 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#3  0x00007fd8acc9ee9a in start_thread (arg=0x7fd8957d3700) at pthread_create.c:308
#4  0x00007fd8b83c2cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fd8a4bea780 (LWP 1983)):
[KCrash Handler]
#6  __memset_sse2 () at ../sysdeps/x86_64/multiarch/../memset.S:908
#7  0x00007fd89cf0ab66 in intel_miptree_alloc_mcs (intel=0x1e322a0, mt=0x1ec1490, num_samples=<optimized out>) at /usr/include/x86_64-linux-gnu/bits/string3.h:85
#8  0x00007fd89cf0ae3d in intel_miptree_create_for_renderbuffer (intel=0x1e322a0, format=MESA_FORMAT_ARGB8888, width=<optimized out>, height=<optimized out>, num_samples=8) at intel_mipmap_tree.c:480
#9  0x00007fd89cf0bc45 in intel_miptree_create_for_dri2_buffer (intel=0x1e322a0, dri_attachment=1, format=MESA_FORMAT_ARGB8888, num_samples=8, region=0x1f054c0) at intel_mipmap_tree.c:372
#10 0x00007fd89cf06edc in intel_process_dri2_buffer (buffer_name=0x7fd89cf8c269 "dri2 back buffer", rb=0x1fb0fd0, buffer=<optimized out>, intel=0x1e322a0, drawable=<optimized out>) at intel_context.c:1024
#11 intel_update_renderbuffers (context=<optimized out>, drawable=0x1e288b0) at intel_context.c:389
#12 0x00007fd89cf07022 in intel_prepare_render (intel=<optimized out>) at intel_context.c:408
#13 0x00007fd89cf07dc1 in intelMakeCurrent (driContextPriv=0x2185d00, driDrawPriv=0x1e288b0, driReadPriv=0x1e288b0) at intel_context.c:886
#14 0x00007fd89cf88c3f in driBindContext (pcp=<optimized out>, pdp=<optimized out>, prp=<optimized out>) at dri_util.c:381
#15 0x00007fd8b467384f in dri2_bind_context (context=0x1ea4430, old=<optimized out>, draw=<optimized out>, read=<optimized out>) at dri2_glx.c:154
#16 0x00007fd8b464a080 in MakeContextCurrent (dpy=0x1ad6e90, draw=33556385, read=33556385, gc_user=0x1ea4430) at glxcurrent.c:269
#17 0x00007fd8b874a2f1 in KWin::SceneOpenGL::initRenderingContext (this=0x1e8b560) at ../../kwin/scene_opengl_glx.cpp:168
#18 0x00007fd8b874c23c in KWin::SceneOpenGL::SceneOpenGL (this=0x1e8b560, ws=<optimized out>) at ../../kwin/scene_opengl_glx.cpp:54
#19 0x00007fd8b8738598 in KWin::Workspace::setupCompositing (this=0x1e2a850) at ../../kwin/composite.cpp:128
#20 0x00007fd8b8738aa5 in KWin::Workspace::setupCompositing (this=<optimized out>) at ../../kwin/composite.cpp:87
#21 0x00007fd8b86d2a5a in qt_static_metacall (_a=<optimized out>, _id=<optimized out>, _o=<optimized out>, _c=<optimized out>) at ./workspace.moc:384
#22 KWin::Workspace::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at ./workspace.moc:265
#23 0x00007fd8b3b98446 in QObject::event (this=0x1e2a850, e=<optimized out>) at kernel/qobject.cpp:1195
#24 0x00007fd8b2f01894 in notify_helper (e=0x1fb8f00, receiver=0x1e2a850, this=0x1ab7a20) at kernel/qapplication.cpp:4559
#25 QApplicationPrivate::notify_helper (this=0x1ab7a20, receiver=0x1e2a850, e=0x1fb8f00) at kernel/qapplication.cpp:4531
#26 0x00007fd8b2f06713 in QApplication::notify (this=0x7fff3d59d510, receiver=0x1e2a850, e=0x1fb8f00) at kernel/qapplication.cpp:4420
#27 0x00007fd8b7e9c3f6 in KApplication::notify (this=0x7fff3d59d510, receiver=0x1e2a850, event=0x1fb8f00) at ../../kdeui/kernel/kapplication.cpp:311
#28 0x00007fd8b3b7ee9c in QCoreApplication::notifyInternal (this=0x7fff3d59d510, receiver=0x1e2a850, event=0x1fb8f00) at kernel/qcoreapplication.cpp:876
#29 0x00007fd8b3b82c6a in sendEvent (event=0x1fb8f00, receiver=0x1e2a850) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#30 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x1a681f0) at kernel/qcoreapplication.cpp:1500
#31 0x00007fd8b2faa9fa in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#32 QEventDispatcherX11::processEvents (this=0x1a69ad0, flags=...) at kernel/qeventdispatcher_x11.cpp:75
#33 0x00007fd8b3b7dc82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#34 0x00007fd8b3b7ded7 in QEventLoop::exec (this=0x7fff3d59d450, flags=...) at kernel/qeventloop.cpp:204
#35 0x00007fd8b3b82f67 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#36 0x00007fd8b86eec36 in kdemain (argc=<optimized out>, argv=<optimized out>) at ../../kwin/main.cpp:541
#37 0x00007fd8b82f076d in __libc_start_main (main=0x400630 <main(int, char**)>, argc=1, ubp_av=0x7fff3d59dc38, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff3d59dc28) at libc-start.c:226
#38 0x0000000000400661 in _start ()

Possible duplicates by query: bug 316702, bug 308398, bug 308369.

Reported using DrKonqi
Comment 1 Martin Flöser 2013-04-08 07:13:05 UTC

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