Bug 428954 - Kwin crashes when open any decorated window
Summary: Kwin crashes when open any decorated window
Status: RESOLVED DUPLICATE of bug 428953
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: 5.17.5
Platform: Debian stable Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2020-11-11 08:23 UTC by Pablo
Modified: 2020-11-11 10:52 UTC (History)
1 user (show)

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 Pablo 2020-11-11 08:23:50 UTC
Application: kwin_x11 (5.17.5)

Qt Version: 5.15.1
Frameworks Version: 5.74.0
Operating System: Linux 5.9.0-2-amd64 x86_64
Distribution: Debian GNU/Linux bullseye/sid

-- Information about the crash:
After login, Kwin crashes every time a decorated window is opened.

The crash can be reproduced every time.

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

Thread 3 (Thread 0x7fa80f417700 (LWP 6648)):
#0  0x00007fa81864f456 in __ppoll (fds=0x7fa80000dc78, nfds=1, timeout=<optimized out>, sigmask=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:44
#1  0x00007fa8170ee779 in qt_safe_poll(pollfd*, unsigned long, timespec const*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#2  0x00007fa8170efe13 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#3  0x00007fa817099b7b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007fa816eba9be in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fa8153faa27 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#6  0x00007fa816ebbb01 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007fa8162d9ea7 in start_thread (arg=<optimized out>) at pthread_create.c:477
#8  0x00007fa818659d4f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7fa81034f700 (LWP 6646)):
#0  0x00007fa81864f35f in __GI___poll (fds=0x7fa81034ebe8, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fa816dd1d02 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007fa816dd398a in xcb_wait_for_event () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007fa81064f260 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#4  0x00007fa816ebbb01 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fa8162d9ea7 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007fa818659d4f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7fa810a468c0 (LWP 6643)):
[KCrash Handler]
#4  0x00007fa816f3cef0 in QString::operator=(QString const&) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fa81836c10c in KWin::Decoration::DecoratedClientImpl::requestShowToolTip (text=..., this=0x55bf028b77e0) at ./decorations/decoratedclient.cpp:227
#6  KWin::Decoration::DecoratedClientImpl::requestShowToolTip (this=0x55bf028b77e0, text=...) at ./decorations/decoratedclient.cpp:221
#7  0x00007fa80d0f8910 in Breeze::Decoration::isLeftEdge (this=0x55bf026eda20) at /usr/include/c++/9/bits/atomic_base.h:413
#8  Breeze::Decoration::recalculateBorders (this=this@entry=0x55bf026eda20) at ./kdecoration/breezedecoration.cpp:397
#9  0x00007fa80d0fc7f9 in Breeze::Decoration::reconfigure (this=this@entry=0x55bf026eda20) at ./kdecoration/breezedecoration.cpp:379
#10 0x00007fa80d0fca28 in Breeze::Decoration::init (this=0x55bf026eda20) at ./kdecoration/breezedecoration.cpp:248
#11 0x00007fa81836dd52 in KWin::Decoration::DecorationBridge::createDecoration (this=0x55bf02471980, client=client@entry=0x55bf028b8e40) at ./decorations/decorationbridge.cpp:288
#12 0x00007fa8183424cc in KWin::Client::createDecoration (this=this@entry=0x55bf028b8e40, oldgeom=...) at ./decorations/decorationbridge.h:99
#13 0x00007fa818346758 in KWin::Client::updateDecoration (this=0x55bf028b8e40, check_workspace_pos=<optimized out>, force=<optimized out>) at ./client.cpp:387
#14 0x00007fa8183da246 in KWin::Client::manage (this=this@entry=0x55bf028b8e40, w=w@entry=14680070, isMapped=isMapped@entry=true) at ./manage.cpp:348
#15 0x00007fa8184769a5 in KWin::Workspace::createClient (this=this@entry=0x55bf0244eff0, w=14680070, is_mapped=is_mapped@entry=true) at ./workspace.cpp:616
#16 0x00007fa81847aa1f in KWin::Workspace::initWithX11 (this=0x55bf0244eff0) at ./workspace.cpp:488
#17 0x00007fa81847bd51 in KWin::Workspace::init (this=this@entry=0x55bf0244eff0) at ./workspace.cpp:286
#18 0x00007fa81847c56d in KWin::Workspace::Workspace (this=0x55bf0244eff0, sessionKey=...) at ./workspace.cpp:195
#19 0x00007fa8183d7054 in KWin::Application::createWorkspace (this=0x7ffc61df8410) at ./main.cpp:281
#20 0x00007fa818728e6c in operator() (__closure=0x55bf024f5a90) at ./main_x11.cpp:251
#21 QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, KWin::ApplicationX11::performStartup()::<lambda()>::<lambda()> >::call (arg=<optimized out>, f=...) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:146
#22 QtPrivate::Functor<KWin::ApplicationX11::performStartup()::<lambda()>::<lambda()>, 0>::call<QtPrivate::List<>, void> (arg=<optimized out>, f=...) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:256
#23 QtPrivate::QFunctorSlotObject<KWin::ApplicationX11::performStartup()::<lambda()>::<lambda()>, 0, QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase *, QObject *, void **, bool *) (which=<optimized out>, this_=0x55bf024f5a80, r=<optimized out>, a=<optimized out>, ret=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:443
#24 0x00007fa8170d1796 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#25 0x00007fa8187292cc in operator() (__closure=0x55bf0247af50) at ./main.h:186
#26 QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, KWin::ApplicationX11::performStartup()::<lambda()> >::call (arg=<optimized out>, f=...) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:146
#27 QtPrivate::Functor<KWin::ApplicationX11::performStartup()::<lambda()>, 0>::call<QtPrivate::List<>, void> (arg=<optimized out>, f=...) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:256
#28 QtPrivate::QFunctorSlotObject<KWin::ApplicationX11::performStartup()::<lambda()>, 0, QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase *, QObject *, void **, bool *) (which=<optimized out>, this_=0x55bf0247af40, r=<optimized out>, a=<optimized out>, ret=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:443
#29 0x00007fa8170d1796 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#30 0x00007fa8180b3633 in ?? () from /usr/lib/x86_64-linux-gnu/libKF5WindowSystem.so.5
#31 0x00007fa8170c711f in QObject::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#32 0x00007fa817b5d14f in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#33 0x00007fa81709b1ba in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#34 0x00007fa8170f1ad3 in QTimerInfoList::activateTimers() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#35 0x00007fa8170eff67 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#36 0x00007fa8106505fe in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#37 0x00007fa817099b7b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#38 0x00007fa8170a1df0 in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#39 0x00007fa81872a886 in kdemain (argc=<optimized out>, argv=0x7ffc61df85c8) at ./main_x11.cpp:474
#40 0x00007fa818582cca in __libc_start_main (main=0x55bf00915050 <main>, argc=3, argv=0x7ffc61df85c8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffc61df85b8) at ../csu/libc-start.c:308
#41 0x000055bf0091508a in _start ()
[Inferior 1 (process 6643) detached]

The reporter indicates this bug may be a duplicate of or related to bug 428951.

Possible duplicates by query: bug 428951, bug 428937, bug 428936, bug 428897, bug 427021.

Reported using DrKonqi
Comment 1 David Redondo 2020-11-11 10:52:11 UTC

*** This bug has been marked as a duplicate of bug 428953 ***