https://bugs.kde.org/show_bug.cgi?id=408333
Bug ID: 408333 Summary: KWin crashes when mouse is dragging windows to any desktop border Product: kwin Version: 5.15.90 Platform: Compiled Sources OS: Linux Status: REPORTED Keywords: drkonqi Severity: crash Priority: NOR Component: general Assignee: kwin-bugs-n...@kde.org Reporter: andreas.sturmlech...@gmail.com Target Milestone: --- Application: kwin_x11 (5.15.90) (Compiled from sources) Qt Version: 5.12.3 Frameworks Version: 5.59.0 Operating System: Linux 5.0.10-gentoo x86_64 Distribution: "Gentoo Base System release 2.6" -- Information about the crash: - What I was doing when the application crashed: $summary, KWin crashes exactly when the cursor is hitting the border. The crash can be reproduced every time. -- Backtrace: Application: KWin (kwin_x11), signal: Segmentation fault Using host libthread_db library "/lib64/libthread_db.so.1". [Current thread is 1 (Thread 0x7f63e0341880 (LWP 602))] Thread 8 (Thread 0x7f63dce59700 (LWP 1241)): #0 futex_wait_cancelable (private=0, expected=0, futex_word=0x563692282914) at ../sysdeps/unix/sysv/linux/futex-internal.h:88 #1 __pthread_cond_wait_common (abstime=0x0, mutex=0x5636922828c0, cond=0x5636922828e8) at pthread_cond_wait.c:502 #2 __pthread_cond_wait (cond=0x5636922828e8, mutex=0x5636922828c0) at pthread_cond_wait.c:655 #3 0x00007f63e9e92a03 in QWaitConditionPrivate::wait (deadline=..., this=0x5636922828c0) at thread/qwaitcondition_unix.cpp:146 #4 QWaitCondition::wait (this=<optimized out>, mutex=0x5636922d1fc0, deadline=...) at thread/qwaitcondition_unix.cpp:225 #5 0x00007f63e9e92a89 in QWaitCondition::wait (this=this@entry=0x5636922d1fc8, mutex=mutex@entry=0x5636922d1fc0, time=time@entry=18446744073709551615) at ../../include/QtCore/../../src/corelib/kernel/qdeadlinetimer.h:68 #6 0x00007f63e70f43a9 in QSGRenderThreadEventQueue::takeEvent (wait=true, this=0x5636922d1fb8) at scenegraph/qsgthreadedrenderloop.cpp:245 #7 QSGRenderThread::processEventsAndWaitForMore (this=this@entry=0x5636922d1f40) at scenegraph/qsgthreadedrenderloop.cpp:710 #8 0x00007f63e70f460a in QSGRenderThread::run (this=0x5636922d1f40) at scenegraph/qsgthreadedrenderloop.cpp:739 #9 0x00007f63e9e8d1f1 in QThreadPrivate::start (arg=0x5636922d1f40) at thread/qthread_unix.cpp:361 #10 0x00007f63e77b3408 in start_thread (arg=<optimized out>) at pthread_create.c:486 #11 0x00007f63eb44980f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 7 (Thread 0x7f63ccc61700 (LWP 1240)): #0 futex_wait_cancelable (private=0, expected=0, futex_word=0x7f63d800684c) at ../sysdeps/unix/sysv/linux/futex-internal.h:88 #1 __pthread_cond_wait_common (abstime=0x0, mutex=0x7f63d80067f8, cond=0x7f63d8006820) at pthread_cond_wait.c:502 #2 __pthread_cond_wait (cond=0x7f63d8006820, mutex=0x7f63d80067f8) at pthread_cond_wait.c:655 #3 0x00007f63cdb9527b in cnd_wait (mtx=0x7f63d80067f8, cond=0x7f63d8006820) at ../mesa-19.1.0-rc4/include/c11/threads_posix.h:155 #4 util_queue_thread_func (input=input@entry=0x7f63d8006760) at ../mesa-19.1.0-rc4/src/util/u_queue.c:272 #5 0x00007f63cdb94ea7 in impl_thrd_routine (p=<optimized out>) at ../mesa-19.1.0-rc4/include/c11/threads_posix.h:87 #6 0x00007f63e77b3408 in start_thread (arg=<optimized out>) at pthread_create.c:486 #7 0x00007f63eb44980f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 6 (Thread 0x7f63bef3a700 (LWP 683)): #0 futex_wait_cancelable (private=0, expected=0, futex_word=0x7f63e9791fb8 <QTWTF::pageheap_memory+57592>) at ../sysdeps/unix/sysv/linux/futex-internal.h:88 #1 __pthread_cond_wait_common (abstime=0x0, mutex=0x7f63e9791f68 <QTWTF::pageheap_memory+57512>, cond=0x7f63e9791f90 <QTWTF::pageheap_memory+57552>) at pthread_cond_wait.c:502 #2 __pthread_cond_wait (cond=0x7f63e9791f90 <QTWTF::pageheap_memory+57552>, mutex=0x7f63e9791f68 <QTWTF::pageheap_memory+57512>) at pthread_cond_wait.c:655 #3 0x00007f63e969e01a in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x7f63e9783ec0 <QTWTF::pageheap_memory>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359 #4 0x00007f63e969e039 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=<optimized out>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464 #5 0x00007f63e77b3408 in start_thread (arg=<optimized out>) at pthread_create.c:486 #6 0x00007f63eb44980f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 5 (Thread 0x7f63cd74e700 (LWP 679)): #0 futex_wait_cancelable (private=0, expected=0, futex_word=0x5636913fb5ac) at ../sysdeps/unix/sysv/linux/futex-internal.h:88 #1 __pthread_cond_wait_common (abstime=0x0, mutex=0x5636913fb558, cond=0x5636913fb580) at pthread_cond_wait.c:502 #2 __pthread_cond_wait (cond=0x5636913fb580, mutex=0x5636913fb558) at pthread_cond_wait.c:655 #3 0x00007f63cdb9527b in cnd_wait (mtx=0x5636913fb558, cond=0x5636913fb580) at ../mesa-19.1.0-rc4/include/c11/threads_posix.h:155 #4 util_queue_thread_func (input=input@entry=0x56369160aac0) at ../mesa-19.1.0-rc4/src/util/u_queue.c:272 #5 0x00007f63cdb94ea7 in impl_thrd_routine (p=<optimized out>) at ../mesa-19.1.0-rc4/include/c11/threads_posix.h:87 #6 0x00007f63e77b3408 in start_thread (arg=<optimized out>) at pthread_create.c:486 #7 0x00007f63eb44980f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 4 (Thread 0x7f63cffff700 (LWP 676)): #0 0x00007f63eb43d886 in __GI_ppoll (fds=fds@entry=0x7f63c8000d28, nfds=nfds@entry=1, timeout=<optimized out>, timeout@entry=0x0, sigmask=sigmask@entry=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:39 #1 0x00007f63ea066c89 in ppoll (__ss=<optimized out>, __timeout=<optimized out>, __nfds=<optimized out>, __fds=<optimized out>) at /usr/include/bits/poll2.h:77 #2 qt_ppoll (timeout_ts=0x0, nfds=1, fds=0x7f63c8000d28) at kernel/qcore_unix.cpp:132 #3 qt_ppoll (timeout_ts=0x0, nfds=1, fds=0x7f63c8000d28) at kernel/qcore_unix.cpp:129 #4 qt_safe_poll (fds=0x7f63c8000d28, nfds=nfds@entry=1, timeout_ts=timeout_ts@entry=0x0) at kernel/qcore_unix.cpp:153 #5 0x00007f63ea067cd9 in QEventDispatcherUNIX::processEvents (this=<optimized out>, flags=...) at ../../include/QtCore/../../src/corelib/tools/qarraydata.h:211 #6 0x00007f63ea0189f3 in QEventLoop::exec (this=this@entry=0x7f63cfffed00, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:140 #7 0x00007f63e9e8bfc6 in QThread::exec (this=this@entry=0x5636915c1e00) at ../../include/QtCore/../../src/corelib/global/qflags.h:120 #8 0x00007f63e6d70915 in QQmlThreadPrivate::run (this=0x5636915c1e00) at qml/ftw/qqmlthread.cpp:148 #9 0x00007f63e9e8d1f1 in QThreadPrivate::start (arg=0x5636915c1e00) at thread/qthread_unix.cpp:361 #10 0x00007f63e77b3408 in start_thread (arg=<optimized out>) at pthread_create.c:486 #11 0x00007f63eb44980f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 3 (Thread 0x7f63de31a700 (LWP 645)): #0 0x00007f63eb43d886 in __GI_ppoll (fds=fds@entry=0x7f63d000a3e8, nfds=nfds@entry=1, timeout=<optimized out>, timeout@entry=0x0, sigmask=sigmask@entry=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:39 #1 0x00007f63ea066c89 in ppoll (__ss=<optimized out>, __timeout=<optimized out>, __nfds=<optimized out>, __fds=<optimized out>) at /usr/include/bits/poll2.h:77 #2 qt_ppoll (timeout_ts=0x0, nfds=1, fds=0x7f63d000a3e8) at kernel/qcore_unix.cpp:132 #3 qt_ppoll (timeout_ts=0x0, nfds=1, fds=0x7f63d000a3e8) at kernel/qcore_unix.cpp:129 #4 qt_safe_poll (fds=0x7f63d000a3e8, nfds=nfds@entry=1, timeout_ts=timeout_ts@entry=0x0) at kernel/qcore_unix.cpp:153 #5 0x00007f63ea067cd9 in QEventDispatcherUNIX::processEvents (this=<optimized out>, flags=...) at ../../include/QtCore/../../src/corelib/tools/qarraydata.h:211 #6 0x00007f63ea0189f3 in QEventLoop::exec (this=this@entry=0x7f63de319cf0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:140 #7 0x00007f63e9e8bfc6 in QThread::exec (this=this@entry=0x7f63e684bd80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at ../../include/QtCore/../../src/corelib/global/qflags.h:120 #8 0x00007f63e67cc565 in QDBusConnectionManager::run (this=0x7f63e684bd80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:178 #9 0x00007f63e9e8d1f1 in QThreadPrivate::start (arg=0x7f63e684bd80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:361 #10 0x00007f63e77b3408 in start_thread (arg=<optimized out>) at pthread_create.c:486 #11 0x00007f63eb44980f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 2 (Thread 0x7f63def8a700 (LWP 631)): #0 0x00007f63eb43d793 in __GI___poll (fds=0x7f63def89c28, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29 #1 0x00007f63e9bb37e7 in ?? () from /usr/lib64/libxcb.so.1 #2 0x00007f63e9bb540a in xcb_wait_for_event () from /usr/lib64/libxcb.so.1 #3 0x00007f63dfc90cb8 in QXcbEventQueue::run (this=0x5636912c3740) at qxcbeventqueue.cpp:228 #4 0x00007f63e9e8d1f1 in QThreadPrivate::start (arg=0x5636912c3740) at thread/qthread_unix.cpp:361 #5 0x00007f63e77b3408 in start_thread (arg=<optimized out>) at pthread_create.c:486 #6 0x00007f63eb44980f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 1 (Thread 0x7f63e0341880 (LWP 602)): [KCrash Handler] #7 0x00007f63cdbf6924 in _mesa_glthread_finish (ctx=0x0) at ../mesa-19.1.0-rc4/src/mesa/main/glthread.c:184 #8 0x00007f63cdb57874 in intelUnbindContext (driContextPriv=<optimized out>) at ../mesa-19.1.0-rc4/src/mesa/drivers/dri/i965/brw_context.c:1232 #9 0x00007f63cdb8cdca in driUnbindContext (pcp=0x5636915a1040) at ../mesa-19.1.0-rc4/src/mesa/drivers/dri/common/dri_util.c:615 #10 0x00007f63e42edb4b in dri2_make_current (drv=0x563691620ba0, disp=0x563691469e20, dsurf=0x563691715ee0, rsurf=0x563691715ee0, ctx=<optimized out>) at ../mesa-19.1.0-rc4/src/egl/drivers/dri2/egl_dri2.c:1479 #11 0x00007f63e42dc9e4 in eglMakeCurrent (dpy=0x563691469e20, draw=<optimized out>, read=0x563691715ee0, ctx=<optimized out>) at ../mesa-19.1.0-rc4/src/egl/main/eglapi.c:869 #12 0x00007f63ddb0818e in KWin::AbstractEglBackend::makeCurrent (this=0x56369170b530) at /var/tmp/portage/kde-plasma/kwin-5.16.49.9999/work/kwin-5.16.49.9999/platformsupport/scenes/opengl/abstract_egl_backend.cpp:199 #13 0x00007f63dc1d109a in KWin::SceneOpenGL::paint (this=this@entry=0x5636913ae2f0, damage=..., toplevels=...) at /var/tmp/portage/kde-plasma/kwin-5.16.49.9999/work/kwin-5.16.49.9999/plugins/scenes/opengl/scene_opengl.cpp:692 #14 0x00007f63eb1ad8fa in KWin::Compositor::performCompositing (this=0x56369131bac0) at /var/tmp/portage/kde-plasma/kwin-5.16.49.9999/work/kwin-5.16.49.9999/composite.cpp:746 #15 0x00007f63ea04279b in QObject::event (this=0x56369131bac0, e=<optimized out>) at kernel/qobject.cpp:1241 #16 0x00007f63ea9284c1 in QApplicationPrivate::notify_helper (this=this@entry=0x5636912aadf0, receiver=receiver@entry=0x56369131bac0, e=e@entry=0x7ffc04289dd0) at kernel/qapplication.cpp:3736 #17 0x00007f63ea92f8b8 in QApplication::notify (this=0x7ffc0428a050, receiver=0x56369131bac0, e=0x7ffc04289dd0) at kernel/qapplication.cpp:3483 #18 0x00007f63ea019a21 in QCoreApplication::notifyInternal2 (receiver=0x56369131bac0, event=0x7ffc04289dd0) at kernel/qcoreapplication.cpp:1060 #19 0x00007f63ea0699c4 in QTimerInfoList::activateTimers (this=this@entry=0x563691304da0) at kernel/qtimerinfo_unix.cpp:643 #20 0x00007f63ea0670bc in QEventDispatcherUNIXPrivate::activateTimers (this=this@entry=0x563691304d00) at kernel/qeventdispatcher_unix.cpp:249 #21 0x00007f63ea067dfc in QEventDispatcherUNIX::processEvents (this=<optimized out>, flags=...) at kernel/qeventdispatcher_unix.cpp:514 #22 0x00007f63dfc91ffe in QXcbUnixEventDispatcher::processEvents (this=0x5636913038d0, flags=...) at qxcbeventdispatcher.cpp:60 #23 0x00007f63ea0189f3 in QEventLoop::exec (this=this@entry=0x7ffc04289f60, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:140 #24 0x00007f63ea020602 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:120 #25 0x00007f63eb51cf3a in kdemain (argc=<optimized out>, argv=0x7ffc0428a1f8) at /var/tmp/portage/kde-plasma/kwin-5.16.49.9999/work/kwin-5.16.49.9999/main_x11.cpp:470 #26 0x00007f63eb367ebb in __libc_start_main (main=0x5636906eb060 <main>, argc=3, argv=0x7ffc0428a1f8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffc0428a1e8) at ../csu/libc-start.c:308 #27 0x00005636906eb09a in _start () [Inferior 1 (process 602) detached] Reported using DrKonqi -- You are receiving this mail because: You are watching all bug changes.