<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>411216</bug_id>
          
          <creation_ts>2019-08-23 18:35:46 +0000</creation_ts>
          <short_desc>KWin crashes when window snapping</short_desc>
          <delta_ts>2019-08-24 22:04:38 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Plasma</classification>
          <product>kwin</product>
          <component>general</component>
          <version>unspecified</version>
          <rep_platform>unspecified</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>UPSTREAM</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>drkonqi</keywords>
          <priority>NOR</priority>
          <bug_severity>crash</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter>linuxismuchbetter89</reporter>
          <assigned_to name="KWin default assignee">kwin-bugs-null</assigned_to>
          
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1876528</commentid>
    <comment_count>0</comment_count>
    <who name="">linuxismuchbetter89</who>
    <bug_when>2019-08-23 18:35:46 +0000</bug_when>
    <thetext>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 &quot;/lib/x86_64-linux-gnu/libthread_db.so.1&quot;.
[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=&lt;optimized out&gt;) at kernel/qelapsedtimer_unix.cpp:111
#3  0x00007f2090cb46b1 in do_gettime (frac=&lt;synthetic pointer&gt;, sec=&lt;synthetic pointer&gt;) 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&amp;) (this=this@entry=0x7f2068000be0, tm=...) at kernel/qtimerinfo_unix.cpp:388
#7  0x00007f2090cb24c4 in QEventDispatcherUNIX::processEvents(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;) (this=0x7f206804eee0, flags=...) at kernel/qeventdispatcher_unix.cpp:485
#8  0x00007f2090c5603a in QEventLoop::exec(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;) (this=this@entry=0x7f2072952d00, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#9  0x00007f2090a7d4ca in QThread::exec() (this=&lt;optimized out&gt;) 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=&lt;optimized out&gt;, 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=&lt;optimized out&gt;, 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=&lt;optimized out&gt;) at kernel/qelapsedtimer_unix.cpp:111
#3  0x00007f2090cb46b1 in do_gettime (frac=&lt;synthetic pointer&gt;, sec=&lt;synthetic pointer&gt;) 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&amp;) (this=this@entry=0x7f2060000be0, tm=...) at kernel/qtimerinfo_unix.cpp:388
#7  0x00007f2090cb24c4 in QEventDispatcherUNIX::processEvents(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;) (this=0x7f2060000b20, flags=...) at kernel/qeventdispatcher_unix.cpp:485
#8  0x00007f2090c5603a in QEventLoop::exec(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;) (this=this@entry=0x7f2071aa5d00, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#9  0x00007f2090a7d4ca in QThread::exec() (this=&lt;optimized out&gt;) 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=&lt;optimized out&gt;) at kernel/qelapsedtimer_unix.cpp:111
#3  0x00007f2090cb46b1 in do_gettime (frac=&lt;synthetic pointer&gt;, sec=&lt;synthetic pointer&gt;) 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&amp;) (this=this@entry=0x7f206c000be0, tm=...) at kernel/qtimerinfo_unix.cpp:388
#7  0x00007f2090cb24c4 in QEventDispatcherUNIX::processEvents(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;) (this=0x7f206c000b20, flags=...) at kernel/qeventdispatcher_unix.cpp:485
#8  0x00007f2090c5603a in QEventLoop::exec(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;) (this=this@entry=0x7f207892ecf0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#9  0x00007f2090a7d4ca in QThread::exec() (this=&lt;optimized out&gt;) 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 &quot;%s%s%s:%u: %s%sAssertion `%s&apos; failed.\n%n&quot;, assertion=assertion@entry=0x7f206600c52c &quot;*zsbuf&quot;, file=file@entry=0x7f206600c470 &quot;../src/gallium/state_trackers/dri/dri2.c&quot;, line=line@entry=698, function=function@entry=0x7f206600c2c0 &quot;dri2_allocate_textures&quot;) at assert.c:92
#9  0x00007f209367e412 in __GI___assert_fail (assertion=0x7f206600c52c &quot;*zsbuf&quot;, file=0x7f206600c470 &quot;../src/gallium/state_trackers/dri/dri2.c&quot;, line=698, function=0x7f206600c2c0 &quot;dri2_allocate_textures&quot;) 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=&lt;optimized out&gt;, share=&lt;optimized out&gt;) at qglxintegration.cpp:390
#21 0x00007f2070433ed7 in QXcbGlxIntegration::createPlatformOpenGLContext(QOpenGLContext*) const (this=&lt;optimized out&gt;, context=0x7f20740115a0) at qxcbglxintegration.cpp:187
#22 0x00007f207c10b982 in QXcbIntegration::createPlatformOpenGLContext(QOpenGLContext*) const (this=&lt;optimized out&gt;, 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=&lt;optimized out&gt;) 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&lt;QEventLoop::ProcessEventsFlag&gt;) (flags=...) at kernel/qwindowsysteminterface.cpp:1151
#35 0x00007f207c130933 in QXcbUnixEventDispatcher::processEvents(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;) (this=0x55c0992584c0, flags=...) at qxcbeventdispatcher.cpp:63
#36 0x00007f2090c5603a in QEventLoop::exec(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;) (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=&lt;optimized out&gt;, fini=&lt;optimized out&gt;, rtld_fini=&lt;optimized out&gt;, 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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1876771</commentid>
    <comment_count>1</comment_count>
    <who name="Vlad Zahorodnii">vlad.zahorodnii</who>
    <bug_when>2019-08-24 22:04:38 +0000</bug_when>
    <thetext>The crash happens in the video driver.

You may want to test the proprietary NVIDIA driver or file an upstream bug report.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>