Bug 408367 - kwin crashes constantly
Summary: kwin crashes constantly
Status: RESOLVED UPSTREAM
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: 5.12.8
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2019-06-06 02:38 UTC by Volker Kuhlmann
Modified: 2019-06-06 07:31 UTC (History)
1 user (show)

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 Volker Kuhlmann 2019-06-06 02:38:21 UTC
Application: kwin_x11 (5.12.8)

Qt Version: 5.9.4
Frameworks Version: 5.45.0
Operating System: Linux 4.12.14-lp150.12.61-default x86_64
Distribution: "openSUSE Leap 15.0"

-- Information about the crash:
- What I was doing when the application crashed:

Any kind of scrolling crashes kwin within 2 minutes, sometimes much faster.
Worse when glxgears is running.
Although it auto-restarts, it moves windows around and makes the system unusable.
Firefox scrolling causes frequent scrolling, but it also happens with yast, konsole.

01:00.0 VGA compatible controller: NVIDIA Corporation GK208B [GeForce GT 710] (rev a1)

libdrm_nouveau2-2.4.91-lp150.1.2.x86_64
libvdpau_nouveau-18.0.2-lp150.18.3.1.x86_64
xf86-video-nouveau-1.0.15-lp150.1.9.x86_64

Plasma5, X11 (not wayland) session.

The crash can be reproduced sometimes.

-- Backtrace:
Application: KWin (kwin_x11), signal: Aborted
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f31554de940 (LWP 20276))]

Thread 17 (Thread 0x7f3105603700 (LWP 20303)):
#0  0x00007f314ded98ad in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f31511885e4 in ?? () from /usr/lib64/libQt5Script.so.5
#2  0x00007f3151188629 in ?? () from /usr/lib64/libQt5Script.so.5
#3  0x00007f314ded3569 in start_thread () from /lib64/libpthread.so.0
#4  0x00007f3154e5885f in clone () from /lib64/libc.so.6

Thread 16 (Thread 0x7f31077fe700 (LWP 20299)):
#0  0x00007f314dedaa2a in pthread_barrier_wait () from /lib64/libpthread.so.0
#1  0x00007f311e866f7b in util_barrier_wait (barrier=0x559ec27a94b0) at ../../../../src/util/u_thread.h:124
#2  thread_function (init_data=init_data@entry=0x559ec27a8d20) at lp_rast.c:836
#3  0x00007f311e866da7 in impl_thrd_routine (p=<optimized out>) at ../../../../include/c11/threads_posix.h:87
#4  0x00007f314ded3569 in start_thread () from /lib64/libpthread.so.0
#5  0x00007f3154e5885f in clone () from /lib64/libc.so.6

Thread 15 (Thread 0x7f3107fff700 (LWP 20298)):
#0  0x00007f314dedcc5d in __lll_lock_wait () from /lib64/libpthread.so.0
#1  0x00007f314dedf8c7 in __lll_lock_elision () from /lib64/libpthread.so.0
#2  0x00007f311e8656a5 in mtx_lock (mtx=0x559ec239d698) at ../../../../include/c11/threads_posix.h:223
#3  lp_fence_signal (fence=0x559ec239d690) at lp_fence.c:91
#4  0x00007f311e866729 in rasterize_scene (task=task@entry=0x559ec27a8bb8, scene=0x559ec28112a0) at lp_rast.c:712
#5  0x00007f311e866f73 in thread_function (init_data=init_data@entry=0x559ec27a8bb8) at lp_rast.c:832
#6  0x00007f311e866da7 in impl_thrd_routine (p=<optimized out>) at ../../../../include/c11/threads_posix.h:87
#7  0x00007f314ded3569 in start_thread () from /lib64/libpthread.so.0
#8  0x00007f3154e5885f in clone () from /lib64/libc.so.6

Thread 14 (Thread 0x7f310cff9700 (LWP 20297)):
#0  0x00007f314dedcc5d in __lll_lock_wait () from /lib64/libpthread.so.0
#1  0x00007f314dedf8c7 in __lll_lock_elision () from /lib64/libpthread.so.0
#2  0x00007f311e8656a5 in mtx_lock (mtx=0x559ec239d698) at ../../../../include/c11/threads_posix.h:223
#3  lp_fence_signal (fence=0x559ec239d690) at lp_fence.c:91
#4  0x00007f311e866729 in rasterize_scene (task=task@entry=0x559ec27a8a50, scene=0x559ec28112a0) at lp_rast.c:712
#5  0x00007f311e866f73 in thread_function (init_data=init_data@entry=0x559ec27a8a50) at lp_rast.c:832
#6  0x00007f311e866da7 in impl_thrd_routine (p=<optimized out>) at ../../../../include/c11/threads_posix.h:87
#7  0x00007f314ded3569 in start_thread () from /lib64/libpthread.so.0
#8  0x00007f3154e5885f in clone () from /lib64/libc.so.6

Thread 13 (Thread 0x7f310d7fa700 (LWP 20296)):
#0  0x00007f314dedcc5d in __lll_lock_wait () from /lib64/libpthread.so.0
#1  0x00007f314dedf8c7 in __lll_lock_elision () from /lib64/libpthread.so.0
#2  0x00007f311e8656a5 in mtx_lock (mtx=0x559ec239d698) at ../../../../include/c11/threads_posix.h:223
#3  lp_fence_signal (fence=0x559ec239d690) at lp_fence.c:91
#4  0x00007f311e866729 in rasterize_scene (task=task@entry=0x559ec27a88e8, scene=0x559ec28112a0) at lp_rast.c:712
#5  0x00007f311e866f73 in thread_function (init_data=init_data@entry=0x559ec27a88e8) at lp_rast.c:832
#6  0x00007f311e866da7 in impl_thrd_routine (p=<optimized out>) at ../../../../include/c11/threads_posix.h:87
#7  0x00007f314ded3569 in start_thread () from /lib64/libpthread.so.0
#8  0x00007f3154e5885f in clone () from /lib64/libc.so.6

Thread 12 (Thread 0x7f310dffb700 (LWP 20295)):
#0  0x00007f314dedcc5d in __lll_lock_wait () from /lib64/libpthread.so.0
#1  0x00007f314dedf8c7 in __lll_lock_elision () from /lib64/libpthread.so.0
#2  0x00007f311e8656a5 in mtx_lock (mtx=0x559ec239d698) at ../../../../include/c11/threads_posix.h:223
#3  lp_fence_signal (fence=0x559ec239d690) at lp_fence.c:91
#4  0x00007f311e866729 in rasterize_scene (task=task@entry=0x559ec27a8780, scene=0x559ec28112a0) at lp_rast.c:712
#5  0x00007f311e866f73 in thread_function (init_data=init_data@entry=0x559ec27a8780) at lp_rast.c:832
#6  0x00007f311e866da7 in impl_thrd_routine (p=<optimized out>) at ../../../../include/c11/threads_posix.h:87
#7  0x00007f314ded3569 in start_thread () from /lib64/libpthread.so.0
#8  0x00007f3154e5885f in clone () from /lib64/libc.so.6

Thread 11 (Thread 0x7f310e7fc700 (LWP 20294)):
[KCrash Handler]
#6  0x00007f3154d96120 in raise () from /lib64/libc.so.6
#7  0x00007f3154d97701 in abort () from /lib64/libc.so.6
#8  0x00007f3154d8e73a in __assert_fail_base () from /lib64/libc.so.6
#9  0x00007f3154d8e7b2 in __assert_fail () from /lib64/libc.so.6
#10 0x00007f314ded60c8 in pthread_mutex_lock () from /lib64/libpthread.so.0
#11 0x00007f311e8656a5 in mtx_lock (mtx=0x559ec239d698) at ../../../../include/c11/threads_posix.h:223
#12 lp_fence_signal (fence=0x559ec239d690) at lp_fence.c:91
#13 0x00007f311e866729 in rasterize_scene (task=task@entry=0x559ec27a8618, scene=0x559ec28112a0) at lp_rast.c:712
#14 0x00007f311e866f73 in thread_function (init_data=init_data@entry=0x559ec27a8618) at lp_rast.c:832
#15 0x00007f311e866da7 in impl_thrd_routine (p=<optimized out>) at ../../../../include/c11/threads_posix.h:87
#16 0x00007f314ded3569 in start_thread () from /lib64/libpthread.so.0
#17 0x00007f3154e5885f in clone () from /lib64/libc.so.6

Thread 10 (Thread 0x7f310effd700 (LWP 20293)):
#0  0x00007f314dedcc5d in __lll_lock_wait () from /lib64/libpthread.so.0
#1  0x00007f314dedf8c7 in __lll_lock_elision () from /lib64/libpthread.so.0
#2  0x00007f311e8656a5 in mtx_lock (mtx=0x559ec239d698) at ../../../../include/c11/threads_posix.h:223
#3  lp_fence_signal (fence=0x559ec239d690) at lp_fence.c:91
#4  0x00007f311e866729 in rasterize_scene (task=task@entry=0x559ec27a84b0, scene=0x559ec28112a0) at lp_rast.c:712
#5  0x00007f311e866f73 in thread_function (init_data=init_data@entry=0x559ec27a84b0) at lp_rast.c:832
#6  0x00007f311e866da7 in impl_thrd_routine (p=<optimized out>) at ../../../../include/c11/threads_posix.h:87
#7  0x00007f314ded3569 in start_thread () from /lib64/libpthread.so.0
#8  0x00007f3154e5885f in clone () from /lib64/libc.so.6

Thread 9 (Thread 0x7f310f7fe700 (LWP 20292)):
#0  0x00007f314dedcc5d in __lll_lock_wait () from /lib64/libpthread.so.0
#1  0x00007f314dedf8c7 in __lll_lock_elision () from /lib64/libpthread.so.0
#2  0x00007f311e8656a5 in mtx_lock (mtx=0x559ec239d698) at ../../../../include/c11/threads_posix.h:223
#3  lp_fence_signal (fence=0x559ec239d690) at lp_fence.c:91
#4  0x00007f311e866729 in rasterize_scene (task=task@entry=0x559ec27a8348, scene=0x559ec28112a0) at lp_rast.c:712
#5  0x00007f311e866f73 in thread_function (init_data=init_data@entry=0x559ec27a8348) at lp_rast.c:832
#6  0x00007f311e866da7 in impl_thrd_routine (p=<optimized out>) at ../../../../include/c11/threads_posix.h:87
#7  0x00007f314ded3569 in start_thread () from /lib64/libpthread.so.0
#8  0x00007f3154e5885f in clone () from /lib64/libc.so.6

Thread 8 (Thread 0x7f310ffff700 (LWP 20291)):
#0  0x00007f314dedcc5d in __lll_lock_wait () from /lib64/libpthread.so.0
#1  0x00007f314dedf8c7 in __lll_lock_elision () from /lib64/libpthread.so.0
#2  0x00007f311e8656a5 in mtx_lock (mtx=0x559ec239d698) at ../../../../include/c11/threads_posix.h:223
#3  lp_fence_signal (fence=0x559ec239d690) at lp_fence.c:91
#4  0x00007f311e866729 in rasterize_scene (task=task@entry=0x559ec27a81e0, scene=0x559ec28112a0) at lp_rast.c:712
#5  0x00007f311e866f73 in thread_function (init_data=init_data@entry=0x559ec27a81e0) at lp_rast.c:832
#6  0x00007f311e866da7 in impl_thrd_routine (p=<optimized out>) at ../../../../include/c11/threads_posix.h:87
#7  0x00007f314ded3569 in start_thread () from /lib64/libpthread.so.0
#8  0x00007f3154e5885f in clone () from /lib64/libc.so.6

Thread 7 (Thread 0x7f3114dab700 (LWP 20290)):
#0  0x00007f314dedcc5d in __lll_lock_wait () from /lib64/libpthread.so.0
#1  0x00007f314dedf8c7 in __lll_lock_elision () from /lib64/libpthread.so.0
#2  0x00007f311e8656a5 in mtx_lock (mtx=0x559ec239d698) at ../../../../include/c11/threads_posix.h:223
#3  lp_fence_signal (fence=0x559ec239d690) at lp_fence.c:91
#4  0x00007f311e866729 in rasterize_scene (task=task@entry=0x559ec27a8078, scene=0x559ec28112a0) at lp_rast.c:712
#5  0x00007f311e866f73 in thread_function (init_data=init_data@entry=0x559ec27a8078) at lp_rast.c:832
#6  0x00007f311e866da7 in impl_thrd_routine (p=<optimized out>) at ../../../../include/c11/threads_posix.h:87
#7  0x00007f314ded3569 in start_thread () from /lib64/libpthread.so.0
#8  0x00007f3154e5885f in clone () from /lib64/libc.so.6

Thread 6 (Thread 0x7f311cc2b700 (LWP 20289)):
#0  0x00007f314dedcc5d in __lll_lock_wait () from /lib64/libpthread.so.0
#1  0x00007f314dedf8c7 in __lll_lock_elision () from /lib64/libpthread.so.0
#2  0x00007f311e8656a5 in mtx_lock (mtx=0x559ec239d698) at ../../../../include/c11/threads_posix.h:223
#3  lp_fence_signal (fence=0x559ec239d690) at lp_fence.c:91
#4  0x00007f311e866729 in rasterize_scene (task=task@entry=0x559ec27a7f10, scene=0x559ec28112a0) at lp_rast.c:712
#5  0x00007f311e866f73 in thread_function (init_data=init_data@entry=0x559ec27a7f10) at lp_rast.c:832
#6  0x00007f311e866da7 in impl_thrd_routine (p=<optimized out>) at ../../../../include/c11/threads_posix.h:87
#7  0x00007f314ded3569 in start_thread () from /lib64/libpthread.so.0
#8  0x00007f3154e5885f in clone () from /lib64/libc.so.6

Thread 5 (Thread 0x7f311d42c700 (LWP 20288)):
#0  0x00007f314dedcc5d in __lll_lock_wait () from /lib64/libpthread.so.0
#1  0x00007f314dedf8c7 in __lll_lock_elision () from /lib64/libpthread.so.0
#2  0x00007f311e8656a5 in mtx_lock (mtx=0x559ec239d698) at ../../../../include/c11/threads_posix.h:223
#3  lp_fence_signal (fence=0x559ec239d690) at lp_fence.c:91
#4  0x00007f311e866729 in rasterize_scene (task=task@entry=0x559ec27a7da8, scene=0x559ec28112a0) at lp_rast.c:712
#5  0x00007f311e866f73 in thread_function (init_data=init_data@entry=0x559ec27a7da8) at lp_rast.c:832
#6  0x00007f311e866da7 in impl_thrd_routine (p=<optimized out>) at ../../../../include/c11/threads_posix.h:87
#7  0x00007f314ded3569 in start_thread () from /lib64/libpthread.so.0
#8  0x00007f3154e5885f in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7f312615f700 (LWP 20286)):
#0  0x00007f3154e4e1b6 in ppoll () from /lib64/libc.so.6
#1  0x00007f3152275bb9 in qt_safe_poll(pollfd*, unsigned long, timespec const*) () from /usr/lib64/libQt5Core.so.5
#2  0x00007f3152277196 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#3  0x00007f315222209a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#4  0x00007f31520514da in QThread::exec() () from /usr/lib64/libQt5Core.so.5
#5  0x00007f314c9d7025 in ?? () from /usr/lib64/libQt5Qml.so.5
#6  0x00007f31520560ce in ?? () from /usr/lib64/libQt5Core.so.5
#7  0x00007f314ded3569 in start_thread () from /lib64/libpthread.so.0
#8  0x00007f3154e5885f in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7f31394b2700 (LWP 20280)):
#0  0x00007f3154e4e1b6 in ppoll () from /lib64/libc.so.6
#1  0x00007f3152275bb9 in qt_safe_poll(pollfd*, unsigned long, timespec const*) () from /usr/lib64/libQt5Core.so.5
#2  0x00007f3152277196 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#3  0x00007f315222209a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#4  0x00007f31520514da in QThread::exec() () from /usr/lib64/libQt5Core.so.5
#5  0x00007f314b8af985 in ?? () from /usr/lib64/libQt5DBus.so.5
#6  0x00007f31520560ce in ?? () from /usr/lib64/libQt5Core.so.5
#7  0x00007f314ded3569 in start_thread () from /lib64/libpthread.so.0
#8  0x00007f3154e5885f in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f313bb31700 (LWP 20278)):
#0  0x00007f3154e4e0bb in poll () from /lib64/libc.so.6
#1  0x00007f3153d74387 in ?? () from /usr/lib64/libxcb.so.1
#2  0x00007f3153d75fba in xcb_wait_for_event () from /usr/lib64/libxcb.so.1
#3  0x00007f313ca13069 in ?? () from /usr/lib64/libQt5XcbQpa.so.5
#4  0x00007f31520560ce in ?? () from /usr/lib64/libQt5Core.so.5
#5  0x00007f314ded3569 in start_thread () from /lib64/libpthread.so.0
#6  0x00007f3154e5885f in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f31554de940 (LWP 20276)):
#0  0x00007f314ded98ad in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f311e86734b in cnd_wait (mtx=0x559ec27a7eb0, cond=0x559ec27a7ed8) at ../../../../include/c11/threads_posix.h:155
#2  pipe_semaphore_wait (sema=0x559ec27a7eb0) at ../../../../src/gallium/auxiliary/os/os_thread.h:108
#3  lp_rast_finish (rast=0x559ec27a7d90) at lp_rast.c:774
#4  0x00007f311e8721c9 in lp_setup_rasterize_scene (setup=0x559ec29b6370) at lp_setup.c:181
#5  set_scene_state (setup=setup@entry=0x559ec29b6370, new_state=new_state@entry=SETUP_FLUSHED, reason=<optimized out>) at lp_setup.c:331
#6  0x00007f311e872ce3 in lp_setup_flush (setup=0x559ec29b6370, fence=0x559ec2bf66d0, reason=<optimized out>) at lp_setup.c:360
#7  0x00007f311e28c930 in fence_sync (ctx=0x7f3130171010, condition=37143, flags=0) at main/syncobj.c:293
#8  0x00007f314d858b4c in KWin::GLVertexBuffer::endOfFrame (this=0x559ec23adc50) at /usr/src/debug/kwin5-5.12.8-lp150.10.1.x86_64/libkwineffects/kwinglutils.cpp:2201
#9  0x00007f3124b4e453 in KWin::SceneOpenGL::paint (this=this@entry=0x559ec23bdaa0, damage=..., toplevels=...) at /usr/src/debug/kwin5-5.12.8-lp150.10.1.x86_64/plugins/scenes/opengl/scene_opengl.cpp:719
#10 0x00007f31549c8ab2 in KWin::Compositor::performCompositing (this=0x559ec20e7ce0) at /usr/src/debug/kwin5-5.12.8-lp150.10.1.x86_64/composite.cpp:747
#11 0x00007f31522519fb in QObject::event(QEvent*) () from /usr/lib64/libQt5Core.so.5
#12 0x00007f3152fb3e8c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#13 0x00007f3152fbb244 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#14 0x00007f3152223a88 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib64/libQt5Core.so.5
#15 0x00007f31522791ae in QTimerInfoList::activateTimers() () from /usr/lib64/libQt5Core.so.5
#16 0x00007f3152277402 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#17 0x00007f313ca735ed in ?? () from /usr/lib64/libQt5XcbQpa.so.5
#18 0x00007f315222209a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#19 0x00007f315222a9e4 in QCoreApplication::exec() () from /usr/lib64/libQt5Core.so.5
#20 0x00007f315512360b in kdemain (argc=<optimized out>, argv=0x7ffd2f924a58) at /usr/src/debug/kwin5-5.12.8-lp150.10.1.x86_64/main_x11.cpp:468
#21 0x00007f3154d80f8a in __libc_start_main () from /lib64/libc.so.6
#22 0x0000559ec02d980a in _start () at ../sysdeps/x86_64/start.S:120
[Inferior 1 (process 20276) detached]

Reported using DrKonqi
Comment 1 Volker Kuhlmann 2019-06-06 02:42:57 UTC
Installing Mesa-dri-nouveau only causes serious drawing errors, with screen areas flickering heavily when simply moving the mouse over black/white areas (e.g. sddm login fields). It does not make the kwin crashes more or less frequent.
Comment 2 Vlad Zahorodnii 2019-06-06 07:31:45 UTC
Please report this bug upstream. Also, you could try installing the proprietary driver.