Bug 411216 - KWin crashes when window snapping
Summary: KWin crashes when window snapping
Status: RESOLVED UPSTREAM
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2019-08-23 18:35 UTC by linuxismuchbetter89
Modified: 2019-08-24 22:04 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description linuxismuchbetter89 2019-08-23 18:35:46 UTC
Application: kwin_x11 (5.16.80)

Qt Version: 5.12.3
Frameworks Version: 5.62.0
Operating System: Linux 5.0.0-23-generic x86_64
Distribution: KDE neon Unstable Edition

-- Information about the crash:
- What I was doing when the application crashed:
trying to report a different bug while booting off usb
- Unusual behavior I noticed:
window stamping effect

The crash can be reproduced every time.

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

Thread 6 (Thread 0x7f2072953700 (LWP 1716)):
#0  0x00007ffc1f3e366f in  ()
#1  0x00007f209377eea6 in __GI___clock_gettime (clock_id=clock_id@entry=1, tp=tp@entry=0x7f2072952b50) at ../sysdeps/unix/clock_gettime.c:115
#2  0x00007f2090cb46b1 in qt_clock_gettime (ts=0x7f2072952b50, clock=<optimized out>) at kernel/qelapsedtimer_unix.cpp:111
#3  0x00007f2090cb46b1 in do_gettime (frac=<synthetic pointer>, sec=<synthetic pointer>) at kernel/qelapsedtimer_unix.cpp:166
#4  0x00007f2090cb46b1 in qt_gettime() () at kernel/qelapsedtimer_unix.cpp:175
#5  0x00007f2090cb2ee9 in QTimerInfoList::updateCurrentTime() (this=this@entry=0x7f2068000be0) at kernel/qtimerinfo_unix.cpp:91
#6  0x00007f2090cb34c5 in QTimerInfoList::timerWait(timespec&) (this=this@entry=0x7f2068000be0, tm=...) at kernel/qtimerinfo_unix.cpp:388
#7  0x00007f2090cb24c4 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f206804eee0, flags=...) at kernel/qeventdispatcher_unix.cpp:485
#8  0x00007f2090c5603a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f2072952d00, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#9  0x00007f2090a7d4ca in QThread::exec() (this=<optimized out>) at thread/qthread.cpp:531
#10 0x00007f208b0ec115 in  () at /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#11 0x00007f2090a7ec72 in QThreadPrivate::start(void*) (arg=0x55c099262300) at thread/qthread_unix.cpp:361
#12 0x00007f208c6ce6db in start_thread (arg=0x7f2072953700) at pthread_create.c:463
#13 0x00007f209376f88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7f204e819700 (LWP 1658)):
#0  0x00007f208c6d49f3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x7f208fc8dfb8) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  0x00007f208c6d49f3 in __pthread_cond_wait_common (abstime=0x0, mutex=0x7f208fc8df68, cond=0x7f208fc8df90) at pthread_cond_wait.c:502
#2  0x00007f208c6d49f3 in __pthread_cond_wait (cond=0x7f208fc8df90, mutex=0x7f208fc8df68) at pthread_cond_wait.c:655
#3  0x00007f208f997844 in  () at /usr/lib/x86_64-linux-gnu/libQt5Script.so.5
#4  0x00007f208f997889 in  () at /usr/lib/x86_64-linux-gnu/libQt5Script.so.5
#5  0x00007f208c6ce6db in start_thread (arg=0x7f204e819700) at pthread_create.c:463
#6  0x00007f209376f88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7f20583b2700 (LWP 1656)):
#0  0x00007f208c6d49f3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55c09938abbc) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  0x00007f208c6d49f3 in __pthread_cond_wait_common (abstime=0x0, mutex=0x55c09938ab68, cond=0x55c09938ab90) at pthread_cond_wait.c:502
#2  0x00007f208c6d49f3 in __pthread_cond_wait (cond=0x55c09938ab90, mutex=0x55c09938ab68) at pthread_cond_wait.c:655
#3  0x00007f2065e6e0aa in  () at /usr/lib/x86_64-linux-gnu/dri/nouveau_dri.so
#4  0x00007f2065e6ddd7 in  () at /usr/lib/x86_64-linux-gnu/dri/nouveau_dri.so
#5  0x00007f208c6ce6db in start_thread (arg=0x7f20583b2700) at pthread_create.c:463
#6  0x00007f209376f88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7f2071aa6700 (LWP 1648)):
#0  0x00007ffc1f3e37c1 in clock_gettime ()
#1  0x00007f209377eea6 in __GI___clock_gettime (clock_id=clock_id@entry=1, tp=tp@entry=0x7f2071aa5b50) at ../sysdeps/unix/clock_gettime.c:115
#2  0x00007f2090cb46b1 in qt_clock_gettime (ts=0x7f2071aa5b50, clock=<optimized out>) at kernel/qelapsedtimer_unix.cpp:111
#3  0x00007f2090cb46b1 in do_gettime (frac=<synthetic pointer>, sec=<synthetic pointer>) at kernel/qelapsedtimer_unix.cpp:166
#4  0x00007f2090cb46b1 in qt_gettime() () at kernel/qelapsedtimer_unix.cpp:175
#5  0x00007f2090cb2ee9 in QTimerInfoList::updateCurrentTime() (this=this@entry=0x7f2060000be0) at kernel/qtimerinfo_unix.cpp:91
#6  0x00007f2090cb34c5 in QTimerInfoList::timerWait(timespec&) (this=this@entry=0x7f2060000be0, tm=...) at kernel/qtimerinfo_unix.cpp:388
#7  0x00007f2090cb24c4 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f2060000b20, flags=...) at kernel/qeventdispatcher_unix.cpp:485
#8  0x00007f2090c5603a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f2071aa5d00, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#9  0x00007f2090a7d4ca in QThread::exec() (this=<optimized out>) at thread/qthread.cpp:531
#10 0x00007f208b0ec115 in  () at /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#11 0x00007f2090a7ec72 in QThreadPrivate::start(void*) (arg=0x55c0993e8e60) at thread/qthread_unix.cpp:361
#12 0x00007f208c6ce6db in start_thread (arg=0x7f2071aa6700) at pthread_create.c:463
#13 0x00007f209376f88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f207892f700 (LWP 1585)):
#0  0x00007ffc1f3e366f in  ()
#1  0x00007f209377eea6 in __GI___clock_gettime (clock_id=clock_id@entry=1, tp=tp@entry=0x7f207892eb40) at ../sysdeps/unix/clock_gettime.c:115
#2  0x00007f2090cb46b1 in qt_clock_gettime (ts=0x7f207892eb40, clock=<optimized out>) at kernel/qelapsedtimer_unix.cpp:111
#3  0x00007f2090cb46b1 in do_gettime (frac=<synthetic pointer>, sec=<synthetic pointer>) at kernel/qelapsedtimer_unix.cpp:166
#4  0x00007f2090cb46b1 in qt_gettime() () at kernel/qelapsedtimer_unix.cpp:175
#5  0x00007f2090cb2ee9 in QTimerInfoList::updateCurrentTime() (this=this@entry=0x7f206c000be0) at kernel/qtimerinfo_unix.cpp:91
#6  0x00007f2090cb34c5 in QTimerInfoList::timerWait(timespec&) (this=this@entry=0x7f206c000be0, tm=...) at kernel/qtimerinfo_unix.cpp:388
#7  0x00007f2090cb24c4 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f206c000b20, flags=...) at kernel/qeventdispatcher_unix.cpp:485
#8  0x00007f2090c5603a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f207892ecf0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#9  0x00007f2090a7d4ca in QThread::exec() (this=<optimized out>) at thread/qthread.cpp:531
#10 0x00007f2089cb1015 in  () at /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#11 0x00007f2090a7ec72 in QThreadPrivate::start(void*) (arg=0x7f2089f28d80) at thread/qthread_unix.cpp:361
#12 0x00007f208c6ce6db in start_thread (arg=0x7f207892f700) at pthread_create.c:463
#13 0x00007f209376f88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f2093e0e880 (LWP 1514)):
[KCrash Handler]
#6  0x00007f209368ce97 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
#7  0x00007f209368e801 in __GI_abort () at abort.c:79
#8  0x00007f209367e39a in __assert_fail_base (fmt=0x7f20938057d8 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=assertion@entry=0x7f206600c52c "*zsbuf", file=file@entry=0x7f206600c470 "../src/gallium/state_trackers/dri/dri2.c", line=line@entry=698, function=function@entry=0x7f206600c2c0 "dri2_allocate_textures") at assert.c:92
#9  0x00007f209367e412 in __GI___assert_fail (assertion=0x7f206600c52c "*zsbuf", file=0x7f206600c470 "../src/gallium/state_trackers/dri/dri2.c", line=698, function=0x7f206600c2c0 "dri2_allocate_textures") at assert.c:101
#10 0x00007f206571c8a2 in  () at /usr/lib/x86_64-linux-gnu/dri/nouveau_dri.so
#11 0x00007f206571e1cc in  () at /usr/lib/x86_64-linux-gnu/dri/nouveau_dri.so
#12 0x00007f2065ba0959 in  () at /usr/lib/x86_64-linux-gnu/dri/nouveau_dri.so
#13 0x00007f2065ba0cc5 in  () at /usr/lib/x86_64-linux-gnu/dri/nouveau_dri.so
#14 0x00007f206571dc29 in  () at /usr/lib/x86_64-linux-gnu/dri/nouveau_dri.so
#15 0x00007f2065717ac6 in  () at /usr/lib/x86_64-linux-gnu/dri/nouveau_dri.so
#16 0x00007f20701fc73c in  () at /usr/lib/x86_64-linux-gnu/libGLX_mesa.so.0
#17 0x00007f20701eabef in  () at /usr/lib/x86_64-linux-gnu/libGLX_mesa.so.0
#18 0x00007f2082bb61dd in  () at /usr/lib/x86_64-linux-gnu/libGLX.so.0
#19 0x00007f2082bb7f82 in  () at /usr/lib/x86_64-linux-gnu/libGLX.so.0
#20 0x00007f20704363d8 in QGLXContext::init(QXcbScreen*, QPlatformOpenGLContext*) (this=0x7f2074010ba0, screen=<optimized out>, share=<optimized out>) at qglxintegration.cpp:390
#21 0x00007f2070433ed7 in QXcbGlxIntegration::createPlatformOpenGLContext(QOpenGLContext*) const (this=<optimized out>, context=0x7f20740115a0) at qxcbglxintegration.cpp:187
#22 0x00007f207c10b982 in QXcbIntegration::createPlatformOpenGLContext(QOpenGLContext*) const (this=<optimized out>, context=0x7f20740115a0) at qxcbintegration.cpp:285
#23 0x00007f20912639ff in QOpenGLContext::create() (this=0x7f20740115a0) at kernel/qopenglcontext.cpp:612
#24 0x00007f208b845539 in  () at /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#25 0x00007f208b84631a in  () at /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#26 0x00007f209122c655 in QWindow::event(QEvent*) (this=0x55c099d23a10, ev=<optimized out>) at kernel/qwindow.cpp:2341
#27 0x00007f208b8c2025 in QQuickWindow::event(QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#28 0x00007f2091a5365c in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=this@entry=0x55c0991f0560, receiver=receiver@entry=0x55c099d23a10, e=e@entry=0x7ffc1f28c390) at kernel/qapplication.cpp:3736
#29 0x00007f2091a5ab90 in QApplication::notify(QObject*, QEvent*) (this=0x7ffc1f28c620, receiver=0x55c099d23a10, e=0x7ffc1f28c390) at kernel/qapplication.cpp:3483
#30 0x00007f2090c57d18 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x55c099d23a10, event=0x7ffc1f28c390) at kernel/qcoreapplication.cpp:1060
#31 0x00007f2090c57efe in QCoreApplication::sendSpontaneousEvent(QObject*, QEvent*) (receiver=receiver@entry=0x55c099d23a10, event=event@entry=0x7ffc1f28c390) at kernel/qcoreapplication.cpp:1462
#32 0x00007f209122219a in QGuiApplicationPrivate::processExposeEvent(QWindowSystemInterfacePrivate::ExposeEvent*) (e=0x55c099c7a3b0) at kernel/qguiapplication.cpp:3066
#33 0x00007f20912223ed in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) (e=e@entry=0x55c099c7a3b0) at kernel/qguiapplication.cpp:1902
#34 0x00007f20911fab4b in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) (flags=...) at kernel/qwindowsysteminterface.cpp:1151
#35 0x00007f207c130933 in QXcbUnixEventDispatcher::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x55c0992584c0, flags=...) at qxcbeventdispatcher.cpp:63
#36 0x00007f2090c5603a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7ffc1f28c530, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#37 0x00007f2090c5f170 in QCoreApplication::exec() () at kernel/qcoreapplication.cpp:1363
#38 0x00007f2093a47bf8 in kdemain () at /usr/lib/x86_64-linux-gnu/libkdeinit5_kwin_x11.so
#39 0x00007f209366fb97 in __libc_start_main (main=0x55c098fb6720, argc=1, argv=0x7ffc1f28c7c8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffc1f28c7b8) at ../csu/libc-start.c:310
#40 0x000055c098fb675a in _start ()

Possible duplicates by query: bug 411117, bug 411049, bug 411017, bug 408367, bug 407373.

Reported using DrKonqi
Comment 1 Vlad Zahorodnii 2019-08-24 22:04:38 UTC
The crash happens in the video driver.

You may want to test the proprietary NVIDIA driver or file an upstream bug report.