Bug 455192 - Latte Dock crashes when opening the application through the application launcher
Summary: Latte Dock crashes when opening the application through the application launcher
Status: RESOLVED WORKSFORME
Alias: None
Product: lattedock
Classification: Plasma
Component: application (show other bugs)
Version: unspecified
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: Michail Vourlakos
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-06-12 22:22 UTC by jessecool1234
Modified: 2022-07-13 04:37 UTC (History)
0 users

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 jessecool1234 2022-06-12 22:22:59 UTC
Application: latte-dock (0.10.8)

Qt Version: 5.15.4
Frameworks Version: 5.94.0
Operating System: Linux 5.13.0-48-generic x86_64
Windowing System: X11
Distribution: KDE neon User - 5.24
DrKonqi: 5.24.5 [KCrashBackend]

-- Information about the crash:
When I open up Latte Dock in the application launcher, it shows a message saying, "Activating Layout: Empty". Then, when I try to open it again in order to access the app settings, it opens for a split second and crashes.

The crash can be reproduced every time.

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

[New LWP 9734]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
0x00007feb7acaa99f in __GI___poll (fds=0x7ffe6f29c978, nfds=1, timeout=1000) at ../sysdeps/unix/sysv/linux/poll.c:29
__preamble__
[Current thread is 1 (Thread 0x7feb7cbd51c0 (LWP 9731))]

Thread 2 (Thread 0x7feb757df700 (LWP 9734)):
#0  0x00007feb7b196bf3 in QMutex::unlock (this=this@entry=0x555ced76e360) at /usr/include/c++/9/bits/atomic_base.h:769
#1  0x00007feb7b3d7b92 in QMutexLocker::unlock (this=<synthetic pointer>) at ../../include/QtCore/../../src/corelib/thread/qmutex.h:275
#2  QMutexLocker::~QMutexLocker (this=<synthetic pointer>, __in_chrg=<optimized out>) at ../../include/QtCore/../../src/corelib/thread/qmutex.h:248
#3  QThreadData::canWaitLocked (this=0x555ced76e330) at ../../include/QtCore/5.15.4/QtCore/private/../../../../../src/corelib/thread/qthread_p.h:279
#4  postEventSourcePrepare (s=0x7feb68004bb0, timeout=0x7feb757de9e4) at kernel/qeventdispatcher_glib.cpp:260
#5  0x00007feb795f18ef in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007feb795f229b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#7  0x00007feb795f24a3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#8  0x00007feb7b3d7c8b in QEventDispatcherGlib::processEvents (this=0x7feb68000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#9  0x00007feb7b37beab in QEventLoop::exec (this=this@entry=0x7feb757debb0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#10 0x00007feb7b195462 in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#11 0x00007feb7b640f4b in ?? () from /lib/x86_64-linux-gnu/libQt5DBus.so.5
#12 0x00007feb7b196643 in QThreadPrivate::start (arg=0x7feb7b6c4d80) at thread/qthread_unix.cpp:331
#13 0x00007feb7a630609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#14 0x00007feb7acb7133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7feb7cbd51c0 (LWP 9731)):
[KCrash Handler]
#4  QString::QString (other=..., this=0x555cedf51b80) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:1093
#5  Latte::Data::Generic::Generic (this=0x555cedf51b80, o=...) at ./app/data/genericdata.cpp:19
#6  0x0000555ced3388c5 in Latte::Data::Activity::Activity (this=0x555cedf51b80, o=...) at ./app/data/activitydata.cpp:24
#7  0x0000555ced3f0bdf in QList<Latte::Data::Activity>::node_construct (this=<optimized out>, n=0x555ced8f0500, t=...) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qlist.h:463
#8  QList<Latte::Data::Activity>::append (t=..., this=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qlist.h:634
#9  QList<Latte::Data::Activity>::append (this=<optimized out>, t=...) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qlist.h:620
#10 0x0000555ced3eec2f in QList<Latte::Data::Activity>::operator<< (t=..., this=0x7ffe6f29d658) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qlist.h:401
#11 Latte::Settings::Layout::Delegate::Activities::paint (this=<optimized out>, painter=<optimized out>, option=..., index=...) at ./app/settings/settingsdialog/delegates/activitiesdelegate.cpp:311
#12 0x00007feb7c46fd70 in QTableViewPrivate::drawCell (this=this@entry=0x555cede81ff0, painter=painter@entry=0x7ffe6f29da10, option=..., index=...) at itemviews/qtableview.cpp:1006
#13 0x00007feb7c4765bf in QTableView::paintEvent (this=0x555ced93a880, event=<optimized out>) at itemviews/qtableview.cpp:1567
#14 0x00007feb7c1e8d86 in QWidget::event (this=this@entry=0x555ced93a880, event=event@entry=0x7ffe6f29e080) at kernel/qwidget.cpp:8677
#15 0x00007feb7c299962 in QFrame::event (this=0x555ced93a880, e=0x7ffe6f29e080) at widgets/qframe.cpp:550
#16 0x00007feb7c426922 in QAbstractItemView::viewportEvent (this=0x555ced93a880, event=0x7ffe6f29e080) at itemviews/qabstractitemview.cpp:1746
#17 0x00007feb7b37d113 in QCoreApplicationPrivate::sendThroughObjectEventFilters (event=<optimized out>, receiver=<optimized out>) at kernel/qcoreapplication.cpp:1190
#18 QCoreApplicationPrivate::sendThroughObjectEventFilters (receiver=receiver@entry=0x555cedcada30, event=event@entry=0x7ffe6f29e080) at kernel/qcoreapplication.cpp:1179
#19 0x00007feb7c1a5db2 in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x555cedcada30, e=0x7ffe6f29e080) at kernel/qapplication.cpp:3631
#20 0x00007feb7c1aebd8 in QApplication::notify(QObject*, QEvent*) () at kernel/qapplication.cpp:3161
#21 0x00007feb7b37d3aa in QCoreApplication::notifyInternal2 (receiver=0x555cedcada30, event=0x7ffe6f29e080) at ../../include/QtCore/5.15.4/QtCore/private/../../../../../src/corelib/thread/qthread_p.h:332
#22 0x00007feb7c1e113a in QWidgetPrivate::sendPaintEvent (this=0x555cee0dcf80, toBePainted=...) at kernel/qwidget.cpp:5467
#23 0x00007feb7c1e1962 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*) () at kernel/qwidget.cpp:5417
#24 0x00007feb7c1e2d63 in QWidgetPrivate::paintSiblingsRecursive (this=0x555cede81ff0, pdev=0x555cede421d0, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=..., sharedPainter=0x0, repaintManager=0x555cee0d4d20) at ../../include/QtCore/../../src/corelib/tools/qpoint.h:124
#25 0x00007feb7c1e2c46 in QWidgetPrivate::paintSiblingsRecursive (this=0x555cede81ff0, pdev=0x555cede421d0, siblings=..., index=5, rgn=..., offset=..., flags=..., sharedPainter=0x0, repaintManager=0x555cee0d4d20) at kernel/qwidget.cpp:5584
#26 0x00007feb7c1e2c46 in QWidgetPrivate::paintSiblingsRecursive (this=0x555cede81ff0, pdev=0x555cede421d0, siblings=..., index=6, rgn=..., offset=..., flags=..., sharedPainter=0x0, repaintManager=0x555cee0d4d20) at kernel/qwidget.cpp:5584
#27 0x00007feb7c1e2c46 in QWidgetPrivate::paintSiblingsRecursive (this=0x555cede81ff0, pdev=0x555cede421d0, siblings=..., index=8, rgn=..., offset=..., flags=..., sharedPainter=0x0, repaintManager=0x555cee0d4d20) at kernel/qwidget.cpp:5584
#28 0x00007feb7c1e167c in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*) () at ../../include/QtCore/../../src/corelib/tools/qlist.h:176
#29 0x00007feb7c1e2d63 in QWidgetPrivate::paintSiblingsRecursive (this=0x555ceddb5420, pdev=0x555cede421d0, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=..., sharedPainter=0x0, repaintManager=0x555cee0d4d20) at ../../include/QtCore/../../src/corelib/tools/qpoint.h:124
#30 0x00007feb7c1e2c46 in QWidgetPrivate::paintSiblingsRecursive (this=0x555ceddb5420, pdev=0x555cede421d0, siblings=..., index=3, rgn=..., offset=..., flags=..., sharedPainter=0x0, repaintManager=0x555cee0d4d20) at kernel/qwidget.cpp:5584
#31 0x00007feb7c1e167c in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*) () at ../../include/QtCore/../../src/corelib/tools/qlist.h:176
#32 0x00007feb7c1e2d63 in QWidgetPrivate::paintSiblingsRecursive (this=0x555cedda5a00, pdev=0x555cede421d0, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=..., sharedPainter=0x0, repaintManager=0x555cee0d4d20) at ../../include/QtCore/../../src/corelib/tools/qpoint.h:124
#33 0x00007feb7c1e167c in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*) () at ../../include/QtCore/../../src/corelib/tools/qlist.h:176
#34 0x00007feb7c1e2d63 in QWidgetPrivate::paintSiblingsRecursive (this=0x7feb68002c00, pdev=0x555cede421d0, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=..., sharedPainter=0x0, repaintManager=0x555cee0d4d20) at ../../include/QtCore/../../src/corelib/tools/qpoint.h:124
#35 0x00007feb7c1e2c46 in QWidgetPrivate::paintSiblingsRecursive (this=0x7feb68002c00, pdev=0x555cede421d0, siblings=..., index=0, rgn=..., offset=..., flags=..., sharedPainter=0x0, repaintManager=0x555cee0d4d20) at kernel/qwidget.cpp:5584
#36 0x00007feb7c1e167c in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*) () at ../../include/QtCore/../../src/corelib/tools/qlist.h:176
#37 0x00007feb7c1e2d63 in QWidgetPrivate::paintSiblingsRecursive (this=0x555cede96010, pdev=0x555cede421d0, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=..., sharedPainter=0x0, repaintManager=0x555cee0d4d20) at ../../include/QtCore/../../src/corelib/tools/qpoint.h:124
#38 0x00007feb7c1e2c46 in QWidgetPrivate::paintSiblingsRecursive (this=0x555cede96010, pdev=0x555cede421d0, siblings=..., index=1, rgn=..., offset=..., flags=..., sharedPainter=0x0, repaintManager=0x555cee0d4d20) at kernel/qwidget.cpp:5584
#39 0x00007feb7c1e2c46 in QWidgetPrivate::paintSiblingsRecursive (this=0x555cede96010, pdev=0x555cede421d0, siblings=..., index=2, rgn=..., offset=..., flags=..., sharedPainter=0x0, repaintManager=0x555cee0d4d20) at kernel/qwidget.cpp:5584
#40 0x00007feb7c1e167c in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*) () at ../../include/QtCore/../../src/corelib/tools/qlist.h:176
#41 0x00007feb7c1b8449 in QWidgetRepaintManager::paintAndFlush (this=this@entry=0x555cee0d4d20) at ../../include/QtCore/../../src/corelib/tools/qpoint.h:122
#42 0x00007feb7c1b8d3f in QWidgetRepaintManager::sync (this=0x555cee0d4d20, exposedWidget=0x555cede4aad0, exposedRegion=...) at kernel/qwidgetrepaintmanager.cpp:743
#43 0x00007feb7c20697c in QWidgetWindow::handleExposeEvent(QExposeEvent*) () at ../../include/QtGui/../../src/gui/kernel/qevent.h:479
#44 0x00007feb7c207378 in QWidgetWindow::event (this=0x555cee0d6950, event=0x7ffe6f29fe40) at kernel/qwidgetwindow.cpp:347
#45 0x00007feb7c1a5dc3 in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x555cee0d6950, e=0x7ffe6f29fe40) at kernel/qapplication.cpp:3637
#46 0x00007feb7c1aebd8 in QApplication::notify(QObject*, QEvent*) () at kernel/qapplication.cpp:3161
#47 0x00007feb7b37d3aa in QCoreApplication::notifyInternal2 (receiver=0x555cee0d6950, event=0x7ffe6f29fe40) at ../../include/QtCore/5.15.4/QtCore/private/../../../../../src/corelib/thread/qthread_p.h:332
#48 0x00007feb7b8dac13 in QGuiApplicationPrivate::processExposeEvent (e=0x555cedf56ba0) at kernel/qguiapplication.cpp:3258
#49 0x00007feb7b8dae4b in QGuiApplicationPrivate::processWindowSystemEvent (e=0x555cedf56ba0) at kernel/qguiapplication.cpp:2070
#50 0x00007feb7b8b185c in QWindowSystemInterface::sendWindowSystemEvents (flags=flags@entry=...) at kernel/qwindowsysteminterface.cpp:1169
#51 0x00007feb76c0824e in xcbSourceDispatch (source=<optimized out>) at qxcbeventdispatcher.cpp:105
#52 0x00007feb795f217d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#53 0x00007feb795f2400 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#54 0x00007feb795f24a3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#55 0x00007feb7b3d7c72 in QEventDispatcherGlib::processEvents (this=0x555ced769120, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#56 0x00007feb7b37beab in QEventLoop::exec (this=this@entry=0x7ffe6f2a0120, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#57 0x00007feb7b384054 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#58 0x0000555ced303cc3 in main (argc=<optimized out>, argv=<optimized out>) at ./app/main.cpp:423
[Inferior 1 (process 9731) detached]

Possible duplicates by query: bug 441640, bug 441619, bug 441558, bug 441519, bug 441466.

Report to https://bugs.kde.org/
Comment 1 Michail Vourlakos 2022-06-13 07:58:19 UTC
1. Close latte totally make sure of that from ksysguard
2. start latte from cmd with: latte-dock -d --default-layout
3. One of your past layouts probably creates that issue. After [2] and latte has started go to Layouts Editor and remove any of your layouts that create such instabilities...
Comment 2 Michail Vourlakos 2022-06-13 07:58:41 UTC
waiting feedback...
Comment 3 jessecool1234 2022-06-13 17:20:37 UTC
(In reply to Michail Vourlakos from comment #2)
> waiting feedback...

It worked. I'm now able to access the settings. Thank you.
Comment 4 Bug Janitor Service 2022-06-28 04:36:39 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 5 Bug Janitor Service 2022-07-13 04:37:05 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!