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

            Bug ID: 475858
           Summary: Latte Dock crash on startup, Plasma on Wayland,
                    KWayland
    Classification: Plasma
           Product: lattedock
           Version: 0.10.8
          Platform: Kubuntu
                OS: Linux
            Status: REPORTED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: application
          Assignee: mvourla...@gmail.com
          Reporter: bog...@hlevca.com
  Target Milestone: ---

Application: latte-dock (0.10.8)

Qt Version: 5.15.10
Frameworks Version: 5.110.0
Operating System: Linux 6.5.0-9-generic x86_64
Windowing System: Wayland
Distribution: Ubuntu 23.10
DrKonqi: 5.27.8 [KCrashBackend]

-- Information about the crash:
It only happens at startup. When restarted later it works fine.  There was a
misallingment of the menus and  environment variable was set
export QT_WAYLAND_DISABLE_FIXED_POSITIONS=1

The crash can be reproduced every time.

-- Backtrace:
Application: Latte Dock (latte-dock), signal: Segmentation fault

[KCrash Handler]
#4  0x00007f9ffc0c684d in KWayland::Client::PlasmaWindowManagement::windows()
const () from /lib/x86_64-linux-gnu/libKF5WaylandClient.so.5
#5  0x00005637e326083e in Latte::WindowSystem::WaylandInterface::winIdFor
(this=0x5637e3ade660, appId=..., title=...) at
/software/software/utils/latte-dock/app/wm/waylandinterface.cpp:631
#6  0x00005637e32140e5 in Latte::ViewPart::Positioner::updateWaylandId
(this=0x5637e3d49640) at
/software/software/utils/latte-dock/app/view/positioner.cpp:235
#7  0x00005637e321e42c in QtPrivate::FunctorCall<QtPrivate::IndexesList<>,
QtPrivate::List<>, void, void (Latte::ViewPart::Positioner::*)()>::call(void
(Latte::ViewPart::Positioner::*)(), Latte::ViewPart::Positioner*, void**)
(f=(void (Latte::ViewPart::Positioner::*)(class Latte::ViewPart::Positioner *
const)) 0x5637e3214022 <Latte::ViewPart::Positioner::updateWaylandId()>,
o=0x5637e3d49640, arg=0x7ffdefdce440) at
/usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:152
#8  0x00005637e321e1c0 in QtPrivate::FunctionPointer<void
(Latte::ViewPart::Positioner::*)()>::call<QtPrivate::List<>, void>(void
(Latte::ViewPart::Positioner::*)(), Latte::ViewPart::Positioner*, void**)
(f=(void (Latte::ViewPart::Positioner::*)(class Latte::ViewPart::Positioner *
const)) 0x5637e3214022 <Latte::ViewPart::Positioner::updateWaylandId()>,
o=0x5637e3d49640, arg=0x7ffdefdce440) at
/usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:185
#9  0x00005637e321de0f in QtPrivate::QSlotObject<void
(Latte::ViewPart::Positioner::*)(), QtPrivate::List<>, void>::impl(int,
QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) (which=1,
this_=0x5637e3d4c8d0, r=0x5637e3d49640, a=0x7ffdefdce440, ret=0x0) at
/usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:418
#10 0x00007f9ff9906312 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#11 0x00007f9ff9f470c9 in QWindow::windowTitleChanged(QString const&) () from
/lib/x86_64-linux-gnu/libQt5Gui.so.5
#12 0x00005637e322087a in operator() (__closure=0x5637e3d484f0) at
/software/software/utils/latte-dock/app/view/view.cpp:132
#13 0x00005637e322bc1b in QtPrivate::FunctorCall<QtPrivate::IndexesList<>,
QtPrivate::List<>, void, Latte::View::View(Plasma::Corona*, QScreen*,
bool)::<lambda()> >::call(struct {...} &, void **) (f=..., arg=0x7ffdefdce690)
at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:146
#14 0x00005637e322b7f1 in QtPrivate::Functor<Latte::View::View(Plasma::Corona*,
QScreen*, bool)::<lambda()>, 0>::call<QtPrivate::List<>, void>(struct {...} &,
void *, void **) (f=..., arg=0x7ffdefdce690) at
/usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:256
#15 0x00005637e322ad46 in
QtPrivate::QFunctorSlotObject<Latte::View::View(Plasma::Corona*, QScreen*,
bool)::<lambda()>, 0, QtPrivate::List<>, void>::impl(int,
QtPrivate::QSlotObjectBase *, QObject *, void **, bool *) (which=1,
this_=0x5637e3d484e0, r=0x5637e3ca6440, a=0x7ffdefdce690, ret=0x0) at
/usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:443
#16 0x00007f9ff9906312 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#17 0x00007f9ffc171354 in ?? () from
/lib/x86_64-linux-gnu/libKF5PlasmaQuick.so.5
#18 0x00005637e311ca68 in Latte::Layout::GenericLayout::addView
(this=0x5637e39a3990, containment=0x5637e3aa6030, forceOnPrimary=false,
explicitScreen=-1, occupied=0x0) at
/software/software/utils/latte-dock/app/layout/genericlayout.cpp:943
#19 0x00005637e311b049 in Latte::Layout::GenericLayout::addContainment
(this=0x5637e39a3990, containment=0x5637e3aa6030) at
/software/software/utils/latte-dock/app/layout/genericlayout.cpp:710
#20 0x00005637e3129a21 in QtPrivate::FunctorCall<QtPrivate::IndexesList<0>,
QtPrivate::List<Plasma::Containment*>, void, void
(Latte::Layout::GenericLayout::*)(Plasma::Containment*)>::call (f=(void
(Latte::Layout::GenericLayout::*)(class Latte::Layout::GenericLayout * const,
class Plasma::Containment *)) 0x5637e311ae30
<Latte::Layout::GenericLayout::addContainment(Plasma::Containment*)>,
o=0x5637e39a3990, arg=0x7ffdefdceac0) at
/usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:152
#21 0x00005637e3129108 in QtPrivate::FunctionPointer<void
(Latte::Layout::GenericLayout::*)(Plasma::Containment*)>::call<QtPrivate::List<Plasma::Containment*>,
void> (f=(void (Latte::Layout::GenericLayout::*)(class
Latte::Layout::GenericLayout * const, class Plasma::Containment *))
0x5637e311ae30
<Latte::Layout::GenericLayout::addContainment(Plasma::Containment*)>,
o=0x5637e39a3990, arg=0x7ffdefdceac0) at
/usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:185
#22 0x00005637e3128009 in QtPrivate::QSlotObject<void
(Latte::Layout::GenericLayout::*)(Plasma::Containment*),
QtPrivate::List<Plasma::Containment*>, void>::impl (which=1,
this_=0x5637e3b00f90, r=0x5637e39a3990, a=0x7ffdefdceac0, ret=0x0) at
/usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:418
#23 0x00007f9ff9906312 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#24 0x00007f9ffbe2d143 in
Plasma::Corona::containmentAdded(Plasma::Containment*) () from
/lib/x86_64-linux-gnu/libKF5Plasma.so.5
#25 0x00007f9ffbe307fb in ?? () from /lib/x86_64-linux-gnu/libKF5Plasma.so.5
#26 0x00007f9ffbe31424 in ?? () from /lib/x86_64-linux-gnu/libKF5Plasma.so.5
#27 0x00007f9ffbe31d39 in Plasma::Corona::loadLayout(QString const&) () from
/lib/x86_64-linux-gnu/libKF5Plasma.so.5
#28 0x00005637e313200c in Latte::Layouts::Manager::loadLatteLayout
(this=0x5637e3875090, layoutPath=...) at
/software/software/utils/latte-dock/app/layouts/manager.cpp:305
#29 0x00005637e314a2e7 in operator() (__closure=0x5637e38e8210) at
/software/software/utils/latte-dock/app/layouts/synchronizer.cpp:651
#30 0x00005637e314dccf in QtPrivate::FunctorCall<QtPrivate::IndexesList<>,
QtPrivate::List<>, void,
Latte::Layouts::Synchronizer::initSingleMode(QString)::<lambda()>
>::call(struct {...} &, void **) (f=..., arg=0x7ffdefdcef20) at
/usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:146
#31 0x00005637e314dbf5 in
QtPrivate::Functor<Latte::Layouts::Synchronizer::initSingleMode(QString)::<lambda()>,
0>::call<QtPrivate::List<>, void>(struct {...} &, void *, void **) (f=...,
arg=0x7ffdefdcef20) at
/usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:256
#32 0x00005637e314d9ae in
QtPrivate::QFunctorSlotObject<Latte::Layouts::Synchronizer::initSingleMode(QString)::<lambda()>,
0, QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase *, QObject *,
void **, bool *) (which=1, this_=0x5637e38e8200, r=0x0, a=0x7ffdefdcef20,
ret=0x0) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:443
#33 0x00007f9ff990a3c6 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#34 0x00007f9ff98f98ab in QObject::event(QEvent*) () from
/lib/x86_64-linux-gnu/libQt5Core.so.5
#35 0x00007f9ffa76bc82 in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#36 0x00007f9ff98cc7a8 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() from /lib/x86_64-linux-gnu/libQt5Core.so.5
#37 0x00007f9ff9927129 in QTimerInfoList::activateTimers() () from
/lib/x86_64-linux-gnu/libQt5Core.so.5
#38 0x00007f9ff9927a74 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#39 0x00007f9ff83bab2c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#40 0x00007f9ff841646f in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#41 0x00007f9ff83b8d20 in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#42 0x00007f9ff9927daa in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /lib/x86_64-linux-gnu/libQt5Core.so.5
#43 0x00007f9ff98cb15b in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/lib/x86_64-linux-gnu/libQt5Core.so.5
#44 0x00007f9ff98d3904 in QCoreApplication::exec() () from
/lib/x86_64-linux-gnu/libQt5Core.so.5
#45 0x00005637e30f9d09 in main (argc=1, argv=0x7ffdefdcf8b8) at
/software/software/utils/latte-dock/app/main.cpp:423
[Inferior 1 (process 3216) detached]

Reported using DrKonqi

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

Reply via email to