Bug 445413

Summary: Latte KDE Wayland will crash upon trying to switch to several layouts, and switch doesn't comlete
Product: [Unmaintained] lattedock Reporter: paco <p.trypis>
Component: applicationAssignee: Michail Vourlakos <mvourlakos>
Status: RESOLVED DOWNSTREAM    
Severity: critical    
Priority: NOR    
Version First Reported In: 0.10.3   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description paco 2021-11-13 07:20:28 UTC
Application: latte-dock (0.10.3)

Qt Version: 5.15.2
Frameworks Version: 5.87.0
Operating System: Linux 5.14.10-300.fc35.x86_64 x86_64
Windowing System: Wayland
Drkonqi Version: 5.22.5
Distribution: Fedora Linux 35 (KDE Plasma)

-- Information about the crash:
- What I was doing when the application crashed:
1. Launch Latte
2. Right click -> Edit Layouts
3. Import from Local file (Tested Edna and Chromix-Bar Layouts)
4. Apply and switch the layout
CRASH, everytime. Unable to add these layouts

- Custom settings of the application:
Installed frm dnf.
am on Fedora KDE wayland distro.

The crash can be reproduced every time.

-- Backtrace:
Application: Latte Dock (latte-dock), signal: Segmentation fault
Content of s_kcrashErrorMessage: [Current thread is 1 (Thread 0x7fb8c81d5940 (LWP 63240))]
[KCrash Handler]
#6  0x00007fb8cea6e9ff in xcb_send_request_with_fds64 (c=0x0, flags=flags@entry=1, vector=vector@entry=0x7ffce29364a0, req=req@entry=0x7fb8cea7b4c0 <xcb_req>, num_fds=num_fds@entry=0, fds=fds@entry=0x0) at /usr/src/debug/libxcb-1.13.1-8.fc35.x86_64/src/xcb_out.c:229
#7  0x00007fb8cea6f1cf in xcb_send_request64 (c=<optimized out>, flags=flags@entry=1, vector=vector@entry=0x7ffce29364a0, req=req@entry=0x7fb8cea7b4c0 <xcb_req>) at /usr/src/debug/libxcb-1.13.1-8.fc35.x86_64/src/xcb_out.c:349
#8  0x00007fb8cea6f1dd in xcb_send_request (c=<optimized out>, flags=flags@entry=1, vector=vector@entry=0x7ffce29364a0, req=req@entry=0x7fb8cea7b4c0 <xcb_req>) at /usr/src/debug/libxcb-1.13.1-8.fc35.x86_64/src/xcb_out.c:355
#9  0x00007fb8cea708a8 in xcb_intern_atom (c=<optimized out>, only_if_exists=<optimized out>, name_len=<optimized out>, name=<optimized out>) at /usr/src/debug/libxcb-1.13.1-8.fc35.x86_64/src/xproto.c:3224
#10 0x00007fb8cdabc720 in Atoms::init (this=this@entry=0x55ec12e8ff80) at /usr/src/debug/kf5-kwindowsystem-5.87.0-1.fc35.x86_64/src/platforms/xcb/netwm.cpp:281
#11 0x00007fb8cdabc901 in Atoms::Atoms (c=0x0, this=0x55ec12e8ff80) at /usr/src/debug/kf5-kwindowsystem-5.87.0-1.fc35.x86_64/src/platforms/xcb/netwm.cpp:64
#12 atomsForConnection (c=c@entry=0x0) at /usr/src/debug/kf5-kwindowsystem-5.87.0-1.fc35.x86_64/src/platforms/xcb/netwm.cpp:50
#13 0x00007fb8cdac36c5 in NETRootInfo::NETRootInfo (this=<optimized out>, connection=<optimized out>, properties=..., properties2=..., screen=<optimized out>, doActivate=<optimized out>, this=<optimized out>, connection=<optimized out>, properties=..., properties2=..., screen=<optimized out>, doActivate=<optimized out>) at /usr/src/debug/kf5-kwindowsystem-5.87.0-1.fc35.x86_64/src/platforms/xcb/netwm.cpp:496
#14 0x00007fb88613cae5 in VirtualDesktopBar::VirtualDesktopBar(QObject*) () from /usr/lib64/qt5/qml/org/kde/plasma/virtualdesktopbar/libvirtualdesktopbar.so
#15 0x00007fb88614441b in void QQmlPrivate::createInto<VirtualDesktopBar>(void*) () from /usr/lib64/qt5/qml/org/kde/plasma/virtualdesktopbar/libvirtualdesktopbar.so
#16 0x00007fb8ce25683a in QQmlType::create (additionalMemory=<optimized out>, memory=0x7ffce2936bd0, out=0x7ffce2936bb8, this=0x7ffce2936bc8) at qml/qqmltype.cpp:499
#17 QQmlType::create (this=0x7ffce2936bc8, out=0x7ffce2936bb8, memory=0x7ffce2936bd0, additionalMemory=<optimized out>) at qml/qqmltype.cpp:491
#18 0x00007fb8ce29d105 in QQmlObjectCreator::createInstance (this=0x55ec12e73b60, index=5, parent=0x55ec11595af0, isContextObject=<optimized out>) at qml/qqmlobjectcreator.cpp:1189
#19 0x00007fb8ce29ec94 in QQmlObjectCreator::setPropertyBinding (this=this@entry=0x55ec12e73b60, bindingProperty=bindingProperty@entry=0x7fb89409e828, binding=binding@entry=0x7fb88614d9f4) at /usr/include/qt5/QtCore/qendian.h:290
#20 0x00007fb8ce29f277 in QQmlObjectCreator::setupBindings (this=0x55ec12e73b60, applyDeferredBindings=false) at qml/qqmlobjectcreator.cpp:798
#21 0x00007fb8ce29bf2a in QQmlObjectCreator::populateInstance (this=this@entry=0x55ec12e73b60, index=-1, index@entry=0, instance=0x0, bindingTarget=0x0, valueTypeProperty=valueTypeProperty@entry=0x0) at qml/qqmlobjectcreator.cpp:1555
#22 0x00007fb8ce29cae4 in QQmlObjectCreator::createInstance (this=<optimized out>, index=0, parent=<optimized out>, isContextObject=<optimized out>) at qml/qqmlobjectcreator.cpp:1348
#23 0x00007fb8ce296ebd in QQmlObjectCreator::create (this=0x55ec12e73b60, subComponentIndex=<optimized out>, parent=0x0, interrupt=<optimized out>, flags=<optimized out>) at qml/qqmlobjectcreator.cpp:204
#24 0x00007fb8ce2449a9 in QQmlIncubatorPrivate::incubate (this=0x55ec115473f0, i=...) at /usr/include/qt5/QtCore/qscopedpointer.h:116
#25 0x00007fb8ce23cd8d in QQmlEnginePrivate::incubate (this=0x55ec12daced0, i=..., forContext=<optimized out>) at qml/qqmlincubator.cpp:89
#26 0x00007fb8ce23d008 in QQmlComponent::create (this=<optimized out>, incubator=..., context=<optimized out>, forContext=<optimized out>) at qml/qqmlcomponent.cpp:1178
#27 0x00007fb8ce96e35a in KDeclarative::QmlObject::completeInitialization (initialProperties=..., this=0x55ec1134f7c0) at /usr/src/debug/kf5-kdeclarative-5.87.0-1.fc35.x86_64/src/kdeclarative/qmlobject.cpp:307
#28 KDeclarative::QmlObject::completeInitialization (this=0x55ec1134f7c0, initialProperties=...) at /usr/src/debug/kf5-kdeclarative-5.87.0-1.fc35.x86_64/src/kdeclarative/qmlobject.cpp:289
#29 0x00007fb8cecd8cd3 in PlasmaQuick::AppletQuickItem::init (this=this@entry=0x55ec119df620) at /usr/src/debug/kf5-plasma-5.87.0-1.fc35.x86_64/src/plasmaquick/appletquickitem.cpp:649
#30 0x00007fb8ae84f49a in AppletInterface::init (this=0x55ec119df620) at /usr/src/debug/kf5-plasma-5.87.0-1.fc35.x86_64/src/scriptengines/qml/plasmoid/appletinterface.cpp:141
#31 0x00007fb8cecd6151 in PlasmaQuick::AppletQuickItem::itemChange (this=0x55ec119df620, change=QQuickItem::ItemSceneChange, value=...) at /usr/src/debug/kf5-plasma-5.87.0-1.fc35.x86_64/src/plasmaquick/appletquickitem.cpp:927
#32 0x00007fb8ce66039f in QQuickItemPrivate::refWindow (this=0x55ec12d478c0, c=0x55ec12e8efb0) at items/qquickitem.cpp:3003
#33 0x00007fb8ce66035d in QQuickItemPrivate::refWindow (this=0x55ec11a64130, c=0x55ec12e8efb0) at items/qquickitem.cpp:2996
#34 0x00007fb8ce6640f0 in QQuickItem::setParentItem (this=0x55ec12ec5380, parentItem=<optimized out>) at items/qquickitem.cpp:2716
#35 0x00007fb8cecde0c1 in PlasmaQuick::ContainmentViewPrivate::setContainment (this=0x55ec1121ae50, cont=<optimized out>) at /usr/src/debug/kf5-plasma-5.87.0-1.fc35.x86_64/src/plasmaquick/containmentview.cpp:122
#36 0x000055ec0faa0f1d in Latte::Layout::GenericLayout::addView (this=<optimized out>, containment=<optimized out>, forceOnPrimary=<optimized out>, explicitScreen=<optimized out>, occupied=<optimized out>) at /usr/src/debug/latte-dock-0.10.3-1.fc35.x86_64/app/layout/genericlayout.cpp:943
#37 0x000055ec0fa9c847 in Latte::Layout::GenericLayout::addContainment (this=0x55ec11ab5550, containment=<optimized out>) at /usr/src/debug/latte-dock-0.10.3-1.fc35.x86_64/app/layout/genericlayout.cpp:710
#38 0x00007fb8cc7f93a9 in QtPrivate::QSlotObjectBase::call (a=0x7ffce2937cf0, r=<optimized out>, this=0x55ec113b7e50) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#39 doActivate<false> (sender=0x7ffce2938800, signal_index=3, argv=0x7ffce2937cf0) at kernel/qobject.cpp:3886
#40 0x00007fb8cc7f4327 in QMetaObject::activate (sender=<optimized out>, m=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffce2937cf0) at kernel/qobject.cpp:3946
#41 0x00007fb8ce9b9aa3 in Plasma::Corona::containmentAdded (this=<optimized out>, _t1=<optimized out>) at /usr/src/debug/kf5-plasma-5.87.0-1.fc35.x86_64/redhat-linux-build/src/plasma/KF5Plasma_autogen/include/moc_corona.cpp:439
#42 0x00007fb8ce9f83e5 in Plasma::CoronaPrivate::addContainment(QString const&, QList<QVariant> const&, unsigned int, int, bool) [clone .isra.0] (this=this@entry=0x55ec111b4630, args=..., id=id@entry=1, lastScreen=lastScreen@entry=-1, delayedInit=delayedInit@entry=false, name=..., name=...) at /usr/src/debug/kf5-plasma-5.87.0-1.fc35.x86_64/src/plasma/corona.cpp:627
#43 0x00007fb8ce9c03bd in Plasma::CoronaPrivate::importLayout (this=0x55ec111b4630, conf=..., mergeConfig=mergeConfig@entry=false) at /usr/src/debug/kf5-plasma-5.87.0-1.fc35.x86_64/src/plasma/corona.cpp:681
#44 0x00007fb8ce9c0931 in Plasma::Corona::loadLayout (this=0x7ffce2938800, configName=...) at /usr/src/debug/kf5-plasma-5.87.0-1.fc35.x86_64/src/plasma/corona.cpp:170
#45 0x000055ec0fabcbb2 in operator() (__closure=0x55ec129d6640) at /usr/src/debug/latte-dock-0.10.3-1.fc35.x86_64/app/layouts/synchronizer.cpp:640
#46 QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, Latte::Layouts::Synchronizer::initSingleMode(QString)::<lambda()> >::call (arg=<optimized out>, f=...) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:146
#47 QtPrivate::Functor<Latte::Layouts::Synchronizer::initSingleMode(QString)::<lambda()>, 0>::call<QtPrivate::List<>, void> (arg=<optimized out>, f=...) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:256
#48 QtPrivate::QFunctorSlotObject<Latte::Layouts::Synchronizer::initSingleMode(QString)::<lambda()>, 0, QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase *, QObject *, void **, bool *) (which=<optimized out>, this_=0x55ec129d6630, r=<optimized out>, a=<optimized out>, ret=<optimized out>) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:443
#49 0x00007fb8cc7fc6e6 in QtPrivate::QSlotObjectBase::call (a=0x7ffce2938030, r=<optimized out>, this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#50 QSingleShotTimer::timerEvent (this=0x7fb8940ca820) at kernel/qtimer.cpp:320
#51 0x00007fb8cc7efe9f in QObject::event (this=0x7fb8940ca820, e=0x7ffce2938180) at kernel/qobject.cpp:1336
#52 0x00007fb8cd530443 in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x7fb8940ca820, e=0x7ffce2938180) at kernel/qapplication.cpp:3632
#53 0x00007fb8cc7c5798 in QCoreApplication::notifyInternal2 (receiver=0x7fb8940ca820, event=0x7ffce2938180) at kernel/qcoreapplication.cpp:1064
#54 0x00007fb8cc815e63 in QTimerInfoList::activateTimers (this=0x55ec10e75c80) at kernel/qtimerinfo_unix.cpp:643
#55 0x00007fb8cc8167b4 in timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:183
#56 idleTimerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:230
#57 0x00007fb8cad3033f in g_main_dispatch (context=0x55ec10eb5f40) at ../glib/gmain.c:3381
#58 g_main_context_dispatch (context=0x55ec10eb5f40) at ../glib/gmain.c:4099
#59 0x00007fb8cad852b8 in g_main_context_iterate.constprop.0 (context=context@entry=0x55ec10eb5f40, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4175
#60 0x00007fb8cad2d9e3 in g_main_context_iteration (context=0x55ec10eb5f40, may_block=1) at ../glib/gmain.c:4240
#61 0x00007fb8cc816b78 in QEventDispatcherGlib::processEvents (this=0x55ec10edc6f0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#62 0x00007fb8cc7c41a2 in QEventLoop::exec (this=this@entry=0x7ffce2938420, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#63 0x00007fb8cc7cc6e4 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#64 0x000055ec0fa58e05 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/latte-dock-0.10.3-1.fc35.x86_64/app/main.cpp:327
[Inferior 1 (process 63240) detached]

Possible duplicates by query: bug 443289, bug 348572, bug 189352.

Report to https://bugs.kde.org/
Comment 1 Michail Vourlakos 2021-11-13 10:36:30 UTC
the crash is from virtual desktop bar applet that does not support wayland. It is not Latte responsibility.