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

            Bug ID: 395906
           Summary: KWin restarts after Composer fails to drag windows to
                    the edges.
           Product: kwin
           Version: 5.12.5
          Platform: Compiled Sources
                OS: Linux
            Status: UNCONFIRMED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: kwin-bugs-n...@kde.org
          Reporter: murilog...@gmail.com
  Target Milestone: ---

Application: kwin_x11 (5.12.5)
 (Compiled from sources)
Qt Version: 5.9.6
Frameworks Version: 5.47.0
Operating System: Linux 4.17.1-gentoo x86_64
Distribution: "Gentoo Base System release 2.6"

-- Information about the crash:
- What I was doing when the application crashed:
I was testing the effects of KDE, I just enabled the Composer, I changed it to
OpenGL 3.1 and the rest is in the standards. When you try to drag any window to
the edges, KWin closes unexpectedly.

- Unusual behavior I noticed:
KWin restarts to "seemingly" try to "find out" to which size the window would
be resized.

- Custom settings of the application:
Render Infrastructure.

The crash can be reproduced every time.

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

Thread 6 (Thread 0x7f673690c700 (LWP 7873)):
#0  0x00007f67eb9f626c in futex_wait_cancelable (private=<optimized out>,
expected=0, futex_word=0x5591f8e7d020) at
../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x5591f8e7cfd0,
cond=0x5591f8e7cff8) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x5591f8e7cff8, mutex=0x5591f8e7cfd0) at
pthread_cond_wait.c:655
#3  0x00007f6736eddcbb in cnd_wait (mtx=0x5591f8e7cfd0, cond=0x5591f8e7cff8) at
/var/tmp/portage/media-libs/mesa-18.1.2/work/mesa-18.1.2/include/c11/threads_posix.h:155
#4  util_queue_thread_func (input=input@entry=0x5591f8e637b0) at
/var/tmp/portage/media-libs/mesa-18.1.2/work/mesa-18.1.2/src/util/u_queue.c:255
#5  0x00007f6736edda47 in impl_thrd_routine (p=<optimized out>) at
/var/tmp/portage/media-libs/mesa-18.1.2/work/mesa-18.1.2/include/c11/threads_posix.h:87
#6  0x00007f67eb9f0488 in start_thread (arg=0x7f673690c700) at
pthread_create.c:463
#7  0x00007f67f2ab8c9f in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7f67bb7ff700 (LWP 7866)):
#0  0x00007f67eb9f626c in futex_wait_cancelable (private=<optimized out>,
expected=0, futex_word=0x7f67ef014f98 <QTWTF::pageheap_memory+57592>) at
../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x7f67ef014f48
<QTWTF::pageheap_memory+57512>, cond=0x7f67ef014f70
<QTWTF::pageheap_memory+57552>) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x7f67ef014f70 <QTWTF::pageheap_memory+57552>,
mutex=0x7f67ef014f48 <QTWTF::pageheap_memory+57512>) at pthread_cond_wait.c:655
#3  0x00007f67eed0acf9 in QTWTF::TCMalloc_PageHeap::scavengerThread
(this=0x7f67ef006ea0 <QTWTF::pageheap_memory>) at
../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#4  0x00007f67eed0ae89 in QTWTF::TCMalloc_PageHeap::runScavengerThread
(context=<optimized out>) at
../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#5  0x00007f67eb9f0488 in start_thread (arg=0x7f67bb7ff700) at
pthread_create.c:463
#6  0x00007f67f2ab8c9f in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7f67c90bb700 (LWP 7865)):
#0  0x00007f67f2aaef82 in __GI_ppoll (fds=fds@entry=0x7f67c0000d28,
nfds=nfds@entry=1, timeout=<optimized out>, timeout@entry=0x0,
sigmask=sigmask@entry=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:39
#1  0x00007f67efe9bc0d 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=0x7f67c0000d28) at
kernel/qcore_unix.cpp:81
#3  qt_safe_poll (fds=0x7f67c0000d28, nfds=1, timeout_ts=timeout_ts@entry=0x0)
at kernel/qcore_unix.cpp:102
#4  0x00007f67efe9d46e in QEventDispatcherUNIX::processEvents (this=<optimized
out>, flags=...) at kernel/qeventdispatcher_unix.cpp:500
#5  0x00007f67efe46cfa in QEventLoop::exec (this=this@entry=0x7f67c90badb0,
flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#6  0x00007f67efc6e9da in QThread::exec (this=this@entry=0x5591f8dc4d80) at
thread/qthread.cpp:515
#7  0x00007f67ea4435b5 in QQmlThreadPrivate::run (this=0x5591f8dc4d80) at
qml/ftw/qqmlthread.cpp:147
#8  0x00007f67efc7376e in QThreadPrivate::start (arg=0x5591f8dc4d80) at
thread/qthread_unix.cpp:368
#9  0x00007f67eb9f0488 in start_thread (arg=0x7f67c90bb700) at
pthread_create.c:463
#10 0x00007f67f2ab8c9f in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7f67cb652700 (LWP 7852)):
#0  0x00007f67f2aaef82 in __GI_ppoll (fds=fds@entry=0x7f67c400b148,
nfds=nfds@entry=1, timeout=<optimized out>, timeout@entry=0x0,
sigmask=sigmask@entry=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:39
#1  0x00007f67efe9bc0d 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=0x7f67c400b148) at
kernel/qcore_unix.cpp:81
#3  qt_safe_poll (fds=0x7f67c400b148, nfds=1, timeout_ts=timeout_ts@entry=0x0)
at kernel/qcore_unix.cpp:102
#4  0x00007f67efe9d46e in QEventDispatcherUNIX::processEvents (this=<optimized
out>, flags=...) at kernel/qeventdispatcher_unix.cpp:500
#5  0x00007f67efe46cfa in QEventLoop::exec (this=this@entry=0x7f67cb651da0,
flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#6  0x00007f67efc6e9da in QThread::exec (this=this@entry=0x7f67e953cd60
<(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at
thread/qthread.cpp:515
#7  0x00007f67e92c0415 in QDBusConnectionManager::run (this=0x7f67e953cd60
<(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at
qdbusconnection.cpp:178
#8  0x00007f67efc7376e in QThreadPrivate::start (arg=0x7f67e953cd60 <(anonymous
namespace)::Q_QGS__q_manager::innerFunction()::holder>) at
thread/qthread_unix.cpp:368
#9  0x00007f67eb9f0488 in start_thread (arg=0x7f67cb652700) at
pthread_create.c:463
#10 0x00007f67f2ab8c9f in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f67d1b0c700 (LWP 7850)):
#0  0x00007f67f2aaeea9 in __GI___poll (fds=fds@entry=0x7f67d1b0bc98,
nfds=nfds@entry=1, timeout=timeout@entry=-1) at
../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f67f19b17f7 in poll (__timeout=-1, __nfds=1, __fds=0x7f67d1b0bc98)
at /usr/include/bits/poll2.h:46
#2  _xcb_conn_wait (c=c@entry=0x5591f8b49720, cond=cond@entry=0x5591f8b49760,
vector=vector@entry=0x0, count=count@entry=0x0) at
/var/tmp/portage/x11-libs/libxcb-1.13/work/libxcb-1.13/src/xcb_conn.c:479
#3  0x00007f67f19b3d2a in xcb_wait_for_event (c=0x5591f8b49720) at
/var/tmp/portage/x11-libs/libxcb-1.13/work/libxcb-1.13/src/xcb_in.c:697
#4  0x00007f67d25ce831 in QXcbEventReader::run (this=0x5591f8b52bc0) at
qxcbconnection.cpp:1330
#5  0x00007f67efc7376e in QThreadPrivate::start (arg=0x5591f8b52bc0) at
thread/qthread_unix.cpp:368
#6  0x00007f67eb9f0488 in start_thread (arg=0x7f67d1b0c700) at
pthread_create.c:463
#7  0x00007f67f2ab8c9f in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f67f3134800 (LWP 7847)):
[KCrash Handler]
#6  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
#7  0x00007f67f29fb781 in __GI_abort () at abort.c:79
#8  0x00007f67f25f5d72 in KWin::Workspace::clientArea (this=0x5591f8be9210,
opt=<optimized out>, screen=0, desktop=<optimized out>) at
/var/tmp/portage/kde-plasma/kwin-5.12.5/work/kwin-5.12.5/geometry.cpp:400
#9  0x00007f67f25f5db5 in KWin::Workspace::clientArea (this=<optimized out>,
opt=<optimized out>, p=..., desktop=<optimized out>) at
/var/tmp/portage/kde-plasma/kwin-5.12.5/work/kwin-5.12.5/geometry.cpp:406
#10 0x00007f67f267590f in KWin::WorkspaceWrapper::clientArea (this=<optimized
out>, option=<optimized out>, p=..., desktop=<optimized out>) at
/var/tmp/portage/kde-plasma/kwin-5.12.5/work/kwin-5.12.5/scripting/workspace_wrapper.cpp:244
#11 0x00007f67f270ae0a in KWin::WorkspaceWrapper::qt_static_metacall
(_o=_o@entry=0x5591f8e08b30, _c=_c@entry=QMetaObject::InvokeMetaMethod,
_id=_id@entry=84, _a=_a@entry=0x7fff22446bb0) at
/var/tmp/portage/kde-plasma/kwin-5.12.5/work/kwin-5.12.5_build/kwin_autogen/7KDSW62DQT/moc_workspace_wrapper.cpp:622
#12 0x00007f67f2714205 in KWin::WorkspaceWrapper::qt_metacall
(_a=0x7fff22446bb0, _id=84, _c=QMetaObject::InvokeMetaMethod,
this=0x5591f8e08b30) at
/var/tmp/portage/kde-plasma/kwin-5.12.5/work/kwin-5.12.5_build/kwin_autogen/7KDSW62DQT/moc_workspace_wrapper.cpp:872
#13 KWin::QtScriptWorkspaceWrapper::qt_metacall (this=0x5591f8e08b30,
_c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fff22446bb0) at
/var/tmp/portage/kde-plasma/kwin-5.12.5/work/kwin-5.12.5_build/kwin_autogen/7KDSW62DQT/moc_workspace_wrapper.cpp:1141
#14 0x00007f67ea3f3ab5 in QQmlObjectOrGadget::metacall
(this=this@entry=0x7fff22446e60, type=type@entry=QMetaObject::InvokeMetaMethod,
index=<optimized out>, index@entry=89, argv=<optimized out>) at
qml/qqmlpropertycache.cpp:1713
#15 0x00007f67ea36f588 in CallMethod (callType=<optimized out>, callArgs=0x0,
engine=0x7fff80000000, argTypes=<optimized out>, argCount=<optimized out>,
returnType=<optimized out>, index=<optimized out>, object=...) at
jsruntime/qv4qobjectwrapper.cpp:1090
#16 CallPrecise (object=..., data=..., engine=engine@entry=0x5591f8d3c7d0,
callArgs=callArgs@entry=0x7f67bb8013b8,
callType=callType@entry=QMetaObject::InvokeMetaMethod) at
jsruntime/qv4qobjectwrapper.cpp:1352
#17 0x00007f67ea371399 in CallOverloaded
(callType=QMetaObject::InvokeMetaMethod, propertyCache=<optimized out>,
callArgs=0x7f67bb8013b8, engine=0x5591f8d3c7d0, data=..., object=...) at
jsruntime/qv4qobjectwrapper.cpp:1426
#18 QV4::QObjectMethod::callInternal (this=<optimized out>,
callData=0x7f67bb8013b8, scope=...) at jsruntime/qv4qobjectwrapper.cpp:1848
#19 0x00007f67ea388077 in QV4::Object::call (d=0x7f67bb8013b8, scope=...,
this=<optimized out>) at jsruntime/qv4object_p.h:372
#20 QV4::Runtime::method_callProperty (engine=0x5591f8d3c7d0,
nameIndex=<optimized out>, callData=0x7f67bb8013b8) at
jsruntime/qv4runtime.cpp:1108
#21 0x00007f67c90e104e in ?? ()
#22 0x00005591f90e6820 in ?? ()
#23 0x00007f67ea1f7dee in memset (__len=140083504092152, __ch=0, __dest=0x0) at
/usr/include/bits/string_fortified.h:71
#24 QV4::MemoryManager::allocData (this=0x7fff22447070, size=140083504092152)
at memory/qv4mm.cpp:792
#25 0x00007f67ea2f16ac in QV4::ExecutionContext::simpleCall (this=<optimized
out>, scope=..., callData=callData@entry=0x7f67bb801328,
function=0x7fff22447280) at jsruntime/qv4context.cpp:347
#26 0x00007f67ea421c39 in QQmlJavaScriptExpression::evaluate
(this=this@entry=0x5591f90e5120, callData=0x7f67bb801328,
isUndefined=isUndefined@entry=0x7fff224471df, scope=...) at
qml/qqmljavascriptexpression.cpp:223
#27 0x00007f67ea42c9e6 in QQmlNonbindingBinding::doUpdate (this=0x5591f90e5120,
watcher=..., flags=..., scope=...) at qml/qqmlbinding.cpp:206
#28 0x00007f67ea42ab63 in QQmlBinding::update (this=0x5591f90e5120, flags=...)
at qml/qqmlbinding.cpp:167
#29 0x00007f67ea4353da in QQmlObjectCreator::finalize (this=0x7f67cc013fa0,
interrupt=...) at qml/qqmlobjectcreator.cpp:1324
#30 0x00007f67ea3abd54 in QQmlComponentPrivate::complete
(enginePriv=0x5591f8cb1690, state=0x5591f8e0e1f0) at qml/qqmlcomponent.cpp:920
#31 0x00007f67ea3abe67 in QQmlComponentPrivate::completeCreate
(this=0x5591f8e0e150) at qml/qqmlcomponent.cpp:956
#32 0x00007f67ea3ad6f2 in QQmlComponent::completeCreate (this=0x5591f9125bb0)
at qml/qqmlcomponent.cpp:949
#33 QQmlComponent::create (this=0x5591f9125bb0, context=0x7f67cc00f370) at
qml/qqmlcomponent.cpp:775
#34 0x00007f67f25c4f44 in KWin::CompositedOutlineVisual::show
(this=0x5591f8dbee90) at
/var/tmp/portage/kde-plasma/kwin-5.12.5/work/kwin-5.12.5/outline.cpp:181
#35 0x00007f67f25c4855 in KWin::Outline::show (this=0x5591f8cb8420) at
/var/tmp/portage/kde-plasma/kwin-5.12.5/work/kwin-5.12.5/outline.cpp:63
#36 KWin::Outline::show (this=this@entry=0x5591f8cb8420, outlineGeometry=...,
visualParentGeometry=...) at
/var/tmp/portage/kde-plasma/kwin-5.12.5/work/kwin-5.12.5/outline.cpp:90
#37 0x00007f67f25ff20c in KWin::AbstractClient::setElectricBorderMaximizing
(this=this@entry=0x5591f8d8bd90, maximizing=<optimized out>) at
/var/tmp/portage/kde-plasma/kwin-5.12.5/work/kwin-5.12.5/geometry.cpp:3291
#38 0x00007f67f2559cf4 in
KWin::AbstractClient::checkQuickTilingMaximizationZones (this=0x5591f8d8bd90,
xroot=<optimized out>, yroot=<optimized out>) at
/var/tmp/portage/kde-plasma/kwin-5.12.5/work/kwin-5.12.5/abstract_client.cpp:1337
#39 0x00007f67f25c80bc in KWin::Client::motionNotifyEvent
(this=this@entry=0x5591f8d8bd90, w=73402060, state=272, x=<optimized out>, y=0,
x_root=576, y_root=0) at
/var/tmp/portage/kde-plasma/kwin-5.12.5/work/kwin-5.12.5/events.cpp:1098
#40 0x00007f67f25c9071 in KWin::Client::windowEvent
(this=this@entry=0x5591f8d8bd90, e=e@entry=0x7f67cc010ae0) at
/var/tmp/portage/kde-plasma/kwin-5.12.5/work/kwin-5.12.5/events.cpp:534
#41 0x00007f67f26c0d3c in
KWin::MovingClientX11Filter::<lambda(xcb_window_t)>::operator()
(window=<optimized out>, __closure=<synthetic pointer>) at
/var/tmp/portage/kde-plasma/kwin-5.12.5/work/kwin-5.12.5/moving_client_x11_filter.cpp:41
#42 KWin::MovingClientX11Filter::event (this=<optimized out>,
event=0x7f67cc010ae0) at
/var/tmp/portage/kde-plasma/kwin-5.12.5/work/kwin-5.12.5/moving_client_x11_filter.cpp:57
#43 0x00007f67f25c9732 in KWin::Workspace::workspaceEvent (this=0x5591f8be9210,
e=0x7f67cc010ae0) at
/var/tmp/portage/kde-plasma/kwin-5.12.5/work/kwin-5.12.5/events.cpp:240
#44 0x00007f67efe4595f in QAbstractEventDispatcher::filterNativeEvent
(this=<optimized out>, eventType=..., message=message@entry=0x7f67cc010ae0,
result=result@entry=0x7fff22447838) at kernel/qabstracteventdispatcher.cpp:467
#45 0x00007f67d25d2bc0 in QXcbConnection::handleXcbEvent
(this=this@entry=0x5591f8b45560, event=event@entry=0x7f67cc010ae0) at
qxcbconnection.cpp:1091
#46 0x00007f67d25d664d in QXcbConnection::processXcbEvents
(this=0x5591f8b45560) at qxcbconnection.cpp:1731
#47 0x00007f67efe77772 in QObject::event (this=0x5591f8b45560, e=<optimized
out>) at kernel/qobject.cpp:1247
#48 0x00007f67f0b582fc in QApplicationPrivate::notify_helper
(this=this@entry=0x5591f8b3dc50, receiver=receiver@entry=0x5591f8b45560,
e=e@entry=0x7f67cc009b30) at kernel/qapplication.cpp:3722
#49 0x00007f67f0b5f318 in QApplication::notify (this=0x7fff22447e70,
receiver=0x5591f8b45560, e=0x7f67cc009b30) at kernel/qapplication.cpp:3481
#50 0x00007f67efe48b08 in QCoreApplication::notifyInternal2
(receiver=0x5591f8b45560, event=event@entry=0x7f67cc009b30) at
kernel/qcoreapplication.cpp:1024
#51 0x00007f67efe4b0f5 in QCoreApplication::sendEvent (event=0x7f67cc009b30,
receiver=<optimized out>) at kernel/qcoreapplication.h:233
#52 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0,
data=0x5591f8b298e0) at kernel/qcoreapplication.cpp:1699
#53 0x00007f67efe9d294 in QEventDispatcherUNIX::processEvents
(this=0x5591f8b7dc20, flags=...) at kernel/qeventdispatcher_unix.cpp:466
#54 0x00007f67d2641a3d in QUnixEventDispatcherQPA::processEvents
(this=<optimized out>, flags=...) at qunixeventdispatcher.cpp:68
#55 0x00007f67efe46cfa in QEventLoop::exec (this=this@entry=0x7fff22447d90,
flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#56 0x00007f67efe4f954 in QCoreApplication::exec () at
kernel/qcoreapplication.cpp:1297
#57 0x00007f67f2d7fe87 in kdemain (argc=<optimized out>, argv=0x7fff22448008)
at /var/tmp/portage/kde-plasma/kwin-5.12.5/work/kwin-5.12.5/main_x11.cpp:468
#58 0x00007f67f29e7a37 in __libc_start_main (main=0x5591f6c78770 <main>,
argc=3, argv=0x7fff22448008, init=<optimized out>, fini=<optimized out>,
rtld_fini=<optimized out>, stack_end=0x7fff22447ff8) at ../csu/libc-start.c:308
#59 0x00005591f6c787ca in _start ()

Possible duplicates by query: bug 344312.

Reported using DrKonqi

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

Reply via email to