https://bugs.kde.org/show_bug.cgi?id=391449

            Bug ID: 391449
           Summary: kwin_x11 crash when moving window
           Product: kwin
           Version: 5.12.2
          Platform: Compiled Sources
                OS: Linux
            Status: UNCONFIRMED
          Keywords: drkonqi
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: kwin-bugs-n...@kde.org
          Reporter: joe.harvel...@gmail.com
  Target Milestone: ---

Application: kwin_x11 (5.12.2)
 (Compiled from sources)
Qt Version: 5.9.4
Frameworks Version: 5.43.0
Operating System: Linux 4.12.5-jchlb-0a5d70d3a6ac x86_64
Distribution (Platform): Gentoo Packages

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

Moving a window

- Unusual behavior I noticed:

I just upgraded KDE.  Since the upgrade, I noticed that there are strange video
artifacts on the screen.  They go away when I move over them.

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

Thread 5 (Thread 0x7fc060b94700 (LWP 31931)):
#0  0x00007fc0838581cd in futex_wait_cancelable (private=<optimized out>,
expected=0, futex_word=0x7fc084d88ff8 <QTWTF::pageheap_memory+57592>) at
../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x7fc084d88fa8
<QTWTF::pageheap_memory+57512>, cond=0x7fc084d88fd0
<QTWTF::pageheap_memory+57552>) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=cond@entry=0x7fc084d88fd0
<QTWTF::pageheap_memory+57552>, mutex=mutex@entry=0x7fc084d88fa8
<QTWTF::pageheap_memory+57512>) at pthread_cond_wait.c:655
#3  0x00007fc084c7c479 in QTWTF::TCMalloc_PageHeap::scavengerThread
(this=0x7fc084d7af00 <QTWTF::pageheap_memory>) at
../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#4  0x00007fc084c7c609 in QTWTF::TCMalloc_PageHeap::runScavengerThread
(context=<optimized out>) at
../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#5  0x00007fc0838512fa in start_thread (arg=0x7fc060b94700) at
pthread_create.c:465
#6  0x00007fc08214d93f in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7fc062b31700 (LWP 31929)):
#0  0x00007fc0838581cd in futex_wait_cancelable (private=<optimized out>,
expected=0, futex_word=0xea626bc04) at
../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0xea626bbb0,
cond=0xea626bbd8) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0xea626bbd8, mutex=0xea626bbb0) at
pthread_cond_wait.c:655
#3  0x00007fc0751a905b in cnd_wait () at
/var/tmp/portage/media-libs/mesa-18.0.0_rc4/work/mesa-18.0.0-rc4/include/c11/threads_posix.h:155
#4  util_queue_thread_func.lto_priv.1825 (input=input@entry=0xea61a9d20) at
/var/tmp/portage/media-libs/mesa-18.0.0_rc4/work/mesa-18.0.0-rc4/src/util/u_queue.c:255
#5  0x00007fc0751a7cb7 in impl_thrd_routine.lto_priv.1819.lto_priv.1826
(p=<optimized out>) at
/var/tmp/portage/media-libs/mesa-18.0.0_rc4/work/mesa-18.0.0-rc4/include/c11/threads_posix.h:87
#6  0x00007fc0838512fa in start_thread (arg=0x7fc062b31700) at
pthread_create.c:465
#7  0x00007fc08214d93f in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7fc0777fe700 (LWP 31911)):
#0  0x00007fc082142006 in __GI_ppoll (fds=fds@entry=0x7fc064000d28,
nfds=nfds@entry=1, timeout=<optimized out>, timeout@entry=0x0,
sigmask=sigmask@entry=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:39
#1  0x00007fc082867109 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=0x7fc064000d28) at
kernel/qcore_unix.cpp:81
#3  qt_safe_poll (fds=0x7fc064000d28, nfds=1, timeout_ts=timeout_ts@entry=0x0)
at kernel/qcore_unix.cpp:102
#4  0x00007fc08286881e in QEventDispatcherUNIX::processEvents (this=<optimized
out>, flags=...) at kernel/qeventdispatcher_unix.cpp:500
#5  0x00007fc08280f6ca in QEventLoop::exec (this=this@entry=0x7fc0777fdd00,
flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#6  0x00007fc082629a2a in QThread::exec (this=<optimized out>) at
thread/qthread.cpp:515
#7  0x00007fc08445c0b5 in QQmlThreadPrivate::run() () from
/usr/lib64/libQt5Qml.so.5
#8  0x00007fc08262ea5d in QThreadPrivate::start (arg=0xea61e55f0) at
thread/qthread_unix.cpp:368
#9  0x00007fc0838512fa in start_thread (arg=0x7fc0777fe700) at
pthread_create.c:465
#10 0x00007fc08214d93f in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7fc07d645700 (LWP 31909)):
#0  0x00007fc082142006 in __GI_ppoll (fds=fds@entry=0x7fc07000b0f8,
nfds=nfds@entry=1, timeout=<optimized out>, timeout@entry=0x0,
sigmask=sigmask@entry=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:39
#1  0x00007fc082867109 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=0x7fc07000b0f8) at
kernel/qcore_unix.cpp:81
#3  qt_safe_poll (fds=0x7fc07000b0f8, nfds=1, timeout_ts=timeout_ts@entry=0x0)
at kernel/qcore_unix.cpp:102
#4  0x00007fc08286881e in QEventDispatcherUNIX::processEvents (this=<optimized
out>, flags=...) at kernel/qeventdispatcher_unix.cpp:500
#5  0x00007fc08280f6ca in QEventLoop::exec (this=this@entry=0x7fc07d644cf0,
flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#6  0x00007fc082629a2a in QThread::exec (this=<optimized out>) at
thread/qthread.cpp:515
#7  0x00007fc083c902e5 in QDBusConnectionManager::run() () from
/usr/lib64/libQt5DBus.so.5
#8  0x00007fc08262ea5d in QThreadPrivate::start (arg=0x7fc083cdad80 <(anonymous
namespace)::Q_QGS__q_manager::innerFunction()::holder>) at
thread/qthread_unix.cpp:368
#9  0x00007fc0838512fa in start_thread (arg=0x7fc07d645700) at
pthread_create.c:465
#10 0x00007fc08214d93f in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7fc07e531880 (LWP 31904)):
[KCrash Handler]
#6  PUSH_RESET () at
/var/tmp/portage/media-libs/mesa-18.0.0_rc4/work/mesa-18.0.0-rc4/src/gallium/drivers/nouveau/nv30/nv30_winsys.h:39
#7  nv30_fp_state_bind (pipe=0xea6386420, hwcso=0xea6401200) at
/var/tmp/portage/media-libs/mesa-18.0.0_rc4/work/mesa-18.0.0-rc4/src/gallium/drivers/nouveau/nv30/nv30_fragprog.c:174
#8  0x00007fc075030032 in cso_set_fragment_shader_handle (handle=0xea6401200,
ctx=<optimized out>) at
/var/tmp/portage/media-libs/mesa-18.0.0_rc4/work/mesa-18.0.0-rc4/src/gallium/auxiliary/cso_cache/cso_context.c:652
#9  st_update_fp (st=0xea63cb780) at
/var/tmp/portage/media-libs/mesa-18.0.0_rc4/work/mesa-18.0.0-rc4/src/mesa/state_tracker/st_atom_shader.c:146
#10 0x00007fc0756b19e9 in st_validate_state.constprop.1222 (st=0xea63cb780,
pipeline=ST_PIPELINE_RENDER) at
/var/tmp/portage/media-libs/mesa-18.0.0_rc4/work/mesa-18.0.0-rc4/src/mesa/state_tracker/st_atom.c:251
#11 0x00007fc07512e1db in prepare_draw.isra.7 (st=0xea63cb780) at
/var/tmp/portage/media-libs/mesa-18.0.0_rc4/work/mesa-18.0.0-rc4/src/mesa/state_tracker/st_draw.c:122
#12 st_draw_vbo.lto_priv.7017 (ctx=0x7fc07c034010, prims=0x7ffe1bd00c40,
nr_prims=1, ib=0x0, index_bounds_valid=<optimized out>, min_index=<optimized
out>, max_index=<optimized out>, tfb_vertcount=0x0, stream=0, indirect=0x0) at
/var/tmp/portage/media-libs/mesa-18.0.0_rc4/work/mesa-18.0.0-rc4/src/mesa/state_tracker/st_draw.c:148
#13 0x00007fc0750656eb in vbo_draw_arrays (drawID=0, baseInstance=0,
numInstances=1, count=18, start=0, mode=4, ctx=0x7fc07c034010) at
/var/tmp/portage/media-libs/mesa-18.0.0_rc4/work/mesa-18.0.0-rc4/src/mesa/vbo/vbo_exec_array.c:486
#14 vbo_exec_DrawArrays.lto_priv.4992 (mode=4, start=0, count=18) at
/var/tmp/portage/media-libs/mesa-18.0.0_rc4/work/mesa-18.0.0-rc4/src/mesa/vbo/vbo_exec_array.c:641
#15 0x00007fc0837d1637 in KWin::GLVertexBuffer::draw(QRegion const&, unsigned
int, int, int, bool) (this=this@entry=0xea6230370, region=...,
primitiveMode=primitiveMode@entry=4, first=first@entry=0, count=18,
hardwareClipping=hardwareClipping@entry=false) at
/var/tmp/portage/kde-plasma/kwin-5.12.2/work/kwin-5.12.2/libkwineffects/kwinglutils.cpp:2138
#16 0x00007fc0837d4b41 in KWin::GLVertexBuffer::render(QRegion const&, unsigned
int, bool) (this=this@entry=0xea6230370, region=...,
primitiveMode=primitiveMode@entry=4,
hardwareClipping=hardwareClipping@entry=false) at
/var/tmp/portage/kde-plasma/kwin-5.12.2/work/kwin-5.12.2/libkwineffects/kwinglutils.cpp:2090
#17 0x00007fc0837d4e50 in KWin::GLVertexBuffer::render(unsigned int)
(this=this@entry=0xea6230370, primitiveMode=primitiveMode@entry=4) at
/var/tmp/portage/kde-plasma/kwin-5.12.2/work/kwin-5.12.2/libkwineffects/kwinglutils.cpp:2084
#18 0x00007fc07c15ba51 in doPaintBackground (this=0xea617bf10, vertices=...) at
/var/tmp/portage/kde-plasma/kwin-5.12.2/work/kwin-5.12.2/plugins/scenes/opengl/scene_opengl.cpp:1075
#19 0x00007fc07c15c9b8 in KWin::SceneOpenGL::paintBackground(QRegion)
(this=this@entry=0xea617bf10, region=...) at
/var/tmp/portage/kde-plasma/kwin-5.12.2/work/kwin-5.12.2/plugins/scenes/opengl/scene_opengl.cpp:784
#20 0x00007fc084fea765 in KWin::Scene::paintSimpleScreen(int, QRegion)
(this=this@entry=0xea617bf10, orig_mask=orig_mask@entry=8, region=...) at
/var/tmp/portage/kde-plasma/kwin-5.12.2/work/kwin-5.12.2/scene.cpp:365
#21 0x00007fc07c158066 in paintSimpleScreen (this=this@entry=0xea617bf10,
mask=mask@entry=8, region=...) at
/var/tmp/portage/kde-plasma/kwin-5.12.2/work/kwin-5.12.2/plugins/scenes/opengl/scene_opengl.cpp:1053
#22 0x00007fc084feb217 in KWin::Scene::finalPaintScreen(int, QRegion,
KWin::ScreenPaintData&) (this=<optimized out>, mask=<optimized out>,
region=..., data=..., data=..., mask=<optimized out>, this=<optimized out>) at
/var/tmp/portage/kde-plasma/kwin-5.12.2/work/kwin-5.12.2/scene.cpp:201
#23 0x00007fc085039ca5 in KWin::EffectsHandlerImpl::paintScreen(int, QRegion,
KWin::ScreenPaintData&) (this=<optimized out>, mask=<optimized out>,
region=..., data=..., data=..., region=..., mask=<optimized out>,
this=<optimized out>) at
/var/tmp/portage/kde-plasma/kwin-5.12.2/work/kwin-5.12.2/effects.cpp:379
#24 0x00007fc084ed6eb1 in KWin::Effect::paintScreen(int, QRegion,
KWin::ScreenPaintData&) (this=this@entry=0xea6284120, mask=mask@entry=8,
region=..., data=...) at
/var/tmp/portage/kde-plasma/kwin-5.12.2/work/kwin-5.12.2/libkwineffects/kwineffects.cpp:583
#25 0x00007fc085039c4d in KWin::EffectsHandlerImpl::paintScreen(int, QRegion,
KWin::ScreenPaintData&) (this=<optimized out>, mask=<optimized out>,
region=..., data=..., data=..., region=..., mask=<optimized out>,
this=<optimized out>) at
/var/tmp/portage/kde-plasma/kwin-5.12.2/work/kwin-5.12.2/effects.cpp:376
#26 0x00007fc084ed6eb1 in KWin::Effect::paintScreen(int, QRegion,
KWin::ScreenPaintData&) (this=this@entry=0x7fc07000ebc0, mask=mask@entry=8,
region=..., data=...) at
/var/tmp/portage/kde-plasma/kwin-5.12.2/work/kwin-5.12.2/libkwineffects/kwineffects.cpp:583
#27 0x00007fc085039c4d in KWin::EffectsHandlerImpl::paintScreen(int, QRegion,
KWin::ScreenPaintData&) (this=<optimized out>, mask=<optimized out>,
region=..., data=..., data=..., region=..., mask=<optimized out>,
this=<optimized out>) at
/var/tmp/portage/kde-plasma/kwin-5.12.2/work/kwin-5.12.2/effects.cpp:376
#28 0x00007fc084ed6eb1 in KWin::Effect::paintScreen(int, QRegion,
KWin::ScreenPaintData&) (this=this@entry=0x7fc078014b30, mask=mask@entry=8,
region=..., data=...) at
/var/tmp/portage/kde-plasma/kwin-5.12.2/work/kwin-5.12.2/libkwineffects/kwineffects.cpp:583
#29 0x00007fc085039c4d in KWin::EffectsHandlerImpl::paintScreen(int, QRegion,
KWin::ScreenPaintData&) (this=<optimized out>, mask=<optimized out>,
region=..., data=..., data=..., region=..., mask=<optimized out>,
this=<optimized out>) at
/var/tmp/portage/kde-plasma/kwin-5.12.2/work/kwin-5.12.2/effects.cpp:376
#30 0x00007fc084feb461 in KWin::Scene::paintScreen(int*, QRegion const&,
QRegion const&, QRegion*, QRegion*, QMatrix4x4 const&, QRect const&)
(this=this@entry=0xea617bf10, mask=mask@entry=0x7ffe1bd013c0, damage=...,
repaint=..., updateRegion=updateRegion@entry=0x7ffe1bd013b0,
validRegion=validRegion@entry=0x7ffe1bd013a8, projection=...,
outputGeometry=...) at
/var/tmp/portage/kde-plasma/kwin-5.12.2/work/kwin-5.12.2/scene.cpp:151
#31 0x00007fc07c1634fa in KWin::SceneOpenGL::paint(QRegion,
QList<KWin::Toplevel*>) (this=this@entry=0xea617bf10, damage=...,
toplevels=...) at
/var/tmp/portage/kde-plasma/kwin-5.12.2/work/kwin-5.12.2/plugins/scenes/opengl/scene_opengl.cpp:702
#32 0x00007fc084ff23fa in KWin::Compositor::performCompositing()
(this=0xea60c5e80) at
/var/tmp/portage/kde-plasma/kwin-5.12.2/work/kwin-5.12.2/composite.cpp:747
#33 0x00007fc08284168b in QObject::event (this=0xea60c5e80, e=<optimized out>)
at kernel/qobject.cpp:1268
#34 0x00007fc083347a2c in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() from /usr/lib64/libQt5Widgets.so.5
#35 0x00007fc08334ebd6 in QApplication::notify(QObject*, QEvent*) () from
/usr/lib64/libQt5Widgets.so.5
#36 0x00007fc082811678 in QCoreApplication::notifyInternal2
(receiver=0xea60c5e80, event=event@entry=0x7ffe1bd01810) at
kernel/qcoreapplication.cpp:1016
#37 0x00007fc08286a90e in QCoreApplication::sendEvent (event=0x7ffe1bd01810,
receiver=<optimized out>) at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:233
#38 QTimerInfoList::activateTimers (this=this@entry=0xea605c530) at
kernel/qtimerinfo_unix.cpp:643
#39 0x00007fc082867cac in QEventDispatcherUNIXPrivate::activateTimers
(this=this@entry=0xea605c490) at kernel/qeventdispatcher_unix.cpp:249
#40 0x00007fc082868a82 in QEventDispatcherUNIX::processEvents (this=<optimized
out>, flags=...) at kernel/qeventdispatcher_unix.cpp:514
#41 0x00007fc07e2b70bd in
QUnixEventDispatcherQPA::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
() from /usr/lib64/libQt5XcbQpa.so.5
#42 0x00007fc08280f6ca in QEventLoop::exec (this=this@entry=0x7ffe1bd019d0,
flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#43 0x00007fc082818834 in QCoreApplication::exec () at
kernel/qcoreapplication.cpp:1289
#44 0x00007fc0851d9031 in kdemain (argc=<optimized out>, argv=0x7ffe1bd01c58)
at /var/tmp/portage/kde-plasma/kwin-5.12.2/work/kwin-5.12.2/main_x11.cpp:468
#45 0x00007fc08206bb4a in __libc_start_main (main=0xea5af4c00 <main(int,
char**)>, argc=3, argv=0x7ffe1bd01c58, init=<optimized out>, fini=<optimized
out>, rtld_fini=<optimized out>, stack_end=0x7ffe1bd01c48) at
../csu/libc-start.c:308
#46 0x0000000ea5af4c3a in _start ()

Reported using DrKonqi

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to