Bug 441221 - Latte does not start with the system
Summary: Latte does not start with the system
Status: RESOLVED FIXED
Alias: None
Product: lattedock
Classification: Plasma
Component: application (show other bugs)
Version: unspecified
Platform: Neon Linux
: NOR crash
Target Milestone: ---
Assignee: Michail Vourlakos
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2021-08-20 09:20 UTC by Jorge
Modified: 2022-11-18 00:44 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
New crash information added by DrKonqi (5.12 KB, text/plain)
2022-11-18 00:44 UTC, Simon Andric
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jorge 2021-08-20 09:20:41 UTC
Application: latte-dock (0.10.0)

Qt Version: 5.15.3
Frameworks Version: 5.85.0
Operating System: Linux 5.11.0-27-generic x86_64
Windowing System: X11
Drkonqi Version: 5.22.4
Distribution: KDE neon User Edition 5.22

-- Information about the crash:
- What I was doing when the application crashed:When starting the system, Latte dock does not load and has to be loaded manually and continues without any further errors.

The crash can be reproduced sometimes.

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

[New LWP 1413]
[New LWP 1438]
[New LWP 1439]
[New LWP 1440]
[New LWP 1441]
[New LWP 1444]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
0x00007f7a64dd6aff in __GI___poll (fds=0x7ffdd3f83f38, nfds=1, timeout=1000) at ../sysdeps/unix/sysv/linux/poll.c:29
[Current thread is 1 (Thread 0x7f7a6133d9c0 (LWP 1382))]

Thread 7 (Thread 0x7f7a51647700 (LWP 1444)):
#0  __GI___libc_read (nbytes=16, buf=0x7f7a516469a0, fd=10) at ../sysdeps/unix/sysv/linux/read.c:26
#1  __GI___libc_read (fd=10, buf=0x7f7a516469a0, nbytes=16) at ../sysdeps/unix/sysv/linux/read.c:24
#2  0x00007f7a6382cb2f in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f7a637e3ebe in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f7a637e4312 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f7a637e44a3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007f7a654f4fcb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f7a6549925b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007f7a652b2c22 in QThread::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007f7a65756f4b in ?? () from /lib/x86_64-linux-gnu/libQt5DBus.so.5
#10 0x00007f7a652b3dbc in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#11 0x00007f7a645d3609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#12 0x00007f7a64de3293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 6 (Thread 0x7f7a52048700 (LWP 1441)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x7f7a58005788) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x7f7a58005738, cond=0x7f7a58005760) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x7f7a58005760, mutex=0x7f7a58005738) at pthread_cond_wait.c:647
#3  0x00007f7a5d49ee7b in ?? () from /usr/lib/x86_64-linux-gnu/dri/nouveau_dri.so
#4  0x00007f7a5d49ea7b in ?? () from /usr/lib/x86_64-linux-gnu/dri/nouveau_dri.so
#5  0x00007f7a645d3609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007f7a64de3293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7f7a52849700 (LWP 1440)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x7f7a58005788) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x7f7a58005738, cond=0x7f7a58005760) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x7f7a58005760, mutex=0x7f7a58005738) at pthread_cond_wait.c:647
#3  0x00007f7a5d49ee7b in ?? () from /usr/lib/x86_64-linux-gnu/dri/nouveau_dri.so
#4  0x00007f7a5d49ea7b in ?? () from /usr/lib/x86_64-linux-gnu/dri/nouveau_dri.so
#5  0x00007f7a645d3609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007f7a64de3293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7f7a5c8e8700 (LWP 1439)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x7f7a58005788) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x7f7a58005738, cond=0x7f7a58005760) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x7f7a58005760, mutex=0x7f7a58005738) at pthread_cond_wait.c:647
#3  0x00007f7a5d49ee7b in ?? () from /usr/lib/x86_64-linux-gnu/dri/nouveau_dri.so
#4  0x00007f7a5d49ea7b in ?? () from /usr/lib/x86_64-linux-gnu/dri/nouveau_dri.so
#5  0x00007f7a645d3609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007f7a64de3293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7f7a5d0e9700 (LWP 1438)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x7f7a58005788) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x7f7a58005738, cond=0x7f7a58005760) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x7f7a58005760, mutex=0x7f7a58005738) at pthread_cond_wait.c:647
#3  0x00007f7a5d49ee7b in ?? () from /usr/lib/x86_64-linux-gnu/dri/nouveau_dri.so
#4  0x00007f7a5d49ea7b in ?? () from /usr/lib/x86_64-linux-gnu/dri/nouveau_dri.so
#5  0x00007f7a645d3609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007f7a64de3293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f7a6055c700 (LWP 1413)):
#0  0x00007f7a64dd6aff in __GI___poll (fds=0x7f7a6055bae8, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f7a6791dc1a in ?? () from /lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007f7a6791f90a in xcb_wait_for_event () from /lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007f7a60c81e88 in ?? () from /lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#4  0x00007f7a652b3dbc in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f7a645d3609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007f7a64de3293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f7a6133d9c0 (LWP 1382)):
[KCrash Handler]
#4  QString::QString (other=..., this=0x7ffdd3f84c60) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:1093
#5  Latte::Layout::AbstractLayout::name (this=0x0) at ./app/layout/abstractlayout.cpp:204
#6  0x000055bf42c9c0ef in Latte::Layouts::Synchronizer::currentLayoutsNames (this=<optimized out>) at ./app/layouts/synchronizer.cpp:202
#7  0x000055bf42c87a56 in Latte::Layouts::Manager::currentLayoutsNames (this=<optimized out>) at ./app/layouts/manager.cpp:155
#8  0x000055bf42ce8842 in Latte::Settings::Controller::Layouts::initLayouts (this=this@entry=0x55bf43bc07c0) at ./app/settings/settingsdialog/layoutscontroller.cpp:582
#9  0x000055bf42ce9d2d in Latte::Settings::Controller::Layouts::Layouts (this=0x55bf43bc07c0, parent=<optimized out>) at ./app/settings/settingsdialog/layoutscontroller.cpp:75
#10 0x000055bf42d08c44 in Latte::Settings::Handler::TabLayouts::TabLayouts (this=0x55bf43c243d0, parent=<optimized out>) at ./app/settings/settingsdialog/tablayoutshandler.cpp:880
#11 0x000055bf42cfa70a in Latte::Settings::Dialog::SettingsDialog::SettingsDialog (this=0x55bf43aaf490, parent=<optimized out>, corona=<optimized out>) at ./app/settings/settingsdialog/settingsdialog.cpp:69
#12 0x000055bf42c87c83 in Latte::Layouts::Manager::showLatteSettingsDialog (this=0x55bf4392ee30, firstPage=0, toggleCurrentPage=<optimized out>) at ./app/layouts/manager.cpp:398
#13 0x000055bf42c4a72d in Latte::Corona::showSettingsWindow (this=<optimized out>, page=<optimized out>) at ./app/lattecorona.cpp:1126
#14 0x000055bf42db2713 in LatteDockAdaptor::showSettingsWindow (page=<optimized out>, this=0x55bf43ac1810) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:425
#15 LatteDockAdaptor::qt_static_metacall (_o=_o@entry=0x55bf43ac1810, _id=_id@entry=10, _a=_a@entry=0x7ffdd3f85000, _c=QMetaObject::InvokeMetaMethod) at ./obj-x86_64-linux-gnu/app/lattedockadaptor.moc:199
#16 0x000055bf42db2981 in LatteDockAdaptor::qt_static_metacall (_a=0x7ffdd3f85000, _id=10, _c=QMetaObject::InvokeMetaMethod, _o=0x55bf43ac1810) at ./obj-x86_64-linux-gnu/app/lattedockadaptor.moc:241
#17 LatteDockAdaptor::qt_metacall (this=0x55bf43ac1810, _c=QMetaObject::InvokeMetaMethod, _id=10, _a=0x7ffdd3f85000) at ./obj-x86_64-linux-gnu/app/lattedockadaptor.moc:241
#18 0x00007f7a6576355b in ?? () from /lib/x86_64-linux-gnu/libQt5DBus.so.5
#19 0x00007f7a657689e7 in ?? () from /lib/x86_64-linux-gnu/libQt5DBus.so.5
#20 0x00007f7a65768de0 in ?? () from /lib/x86_64-linux-gnu/libQt5DBus.so.5
#21 0x00007f7a6576c01c in ?? () from /lib/x86_64-linux-gnu/libQt5DBus.so.5
#22 0x00007f7a654c82f9 in QObject::event(QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#23 0x00007f7a6627bdc3 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#24 0x00007f7a66284bb8 in QApplication::notify(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#25 0x00007f7a6549a75a in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#26 0x00007f7a6549d061 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#27 0x00007f7a654f5957 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#28 0x00007f7a637e417d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#29 0x00007f7a637e4400 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#30 0x00007f7a637e44a3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#31 0x00007f7a654f4fb2 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#32 0x00007f7a6549925b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#33 0x00007f7a654a1414 in QCoreApplication::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#34 0x000055bf42c25216 in main (argc=<optimized out>, argv=<optimized out>) at ./app/main.cpp:313
[Inferior 1 (process 1382) detached]

Possible duplicates by query: bug 82199, bug 429973, bug 424760, bug 410345, bug 409383.

Reported using DrKonqi
This report was filed against 'kde' because the product 'latte-dock' could not be located in Bugzilla. Add it to drkonqi's mappings file!
Comment 1 danipo 2021-08-20 23:37:47 UTC
I can confirm the same behavior. It never starts on boot and often requires several minutes before I can manually start it. Manually starting will often yield the following backtrace:
Application: Latte Dock (latte-dock), signal: Segmentation fault

[KCrash Handler]
#4  0x00007f34fd2d1af3 in QSGSoftwareRenderableNode::update() () at /usr/lib64/libQt5Quick.so.5
#5  0x00007f34fd2d6120 in  () at /usr/lib64/libQt5Quick.so.5
#6  0x00007f34fd2d494d in  () at /usr/lib64/libQt5Quick.so.5
#7  0x00007f34fd2c8ce5 in QSGAbstractSoftwareRenderer::nodeChanged(QSGNode*, QFlags<QSGNode::DirtyStateBit>) () at /usr/lib64/libQt5Quick.so.5
#8  0x00007f34fd24df07 in QSGRootNode::notifyNodeChange(QSGNode*, QFlags<QSGNode::DirtyStateBit>) () at /usr/lib64/libQt5Quick.so.5
#9  0x00007f34fd24df90 in QSGNode::markDirty(QFlags<QSGNode::DirtyStateBit>) () at /usr/lib64/libQt5Quick.so.5
#10 0x00007f34fd31d47b in QQuickWindowPrivate::updateDirtyNodes() () at /usr/lib64/libQt5Quick.so.5
#11 0x00007f34fd31ee2c in QQuickWindowPrivate::syncSceneGraph() () at /usr/lib64/libQt5Quick.so.5
#12 0x00007f34fd2d9b34 in  () at /usr/lib64/libQt5Quick.so.5
#13 0x00007f34fd32c66f in QQuickWindow::event(QEvent*) () at /usr/lib64/libQt5Quick.so.5
#14 0x00007f34fc1cf503 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#15 0x00007f34fb52cba8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib64/libQt5Core.so.5
#16 0x00007f34fb8fa274 in QPlatformWindow::windowEvent(QEvent*) () at /usr/lib64/libQt5Gui.so.5
#17 0x00007f34fc1d6238 in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#18 0x00007f34fb52cba8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib64/libQt5Core.so.5
#19 0x00007f34fb578c4b in QTimerInfoList::activateTimers() () at /usr/lib64/libQt5Core.so.5
#20 0x00007f34fb579581 in  () at /usr/lib64/libQt5Core.so.5
#21 0x00007f34f9af0c0b in g_main_context_dispatch () at /usr/lib64/libglib-2.0.so.0
#22 0x00007f34f9af0ec8 in  () at /usr/lib64/libglib-2.0.so.0
#23 0x00007f34f9af0f7f in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#24 0x00007f34fb579930 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#25 0x00007f34fb52b5cb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#26 0x00007f34fb53322d in QCoreApplication::exec() () at /usr/lib64/libQt5Core.so.5
#27 0x0000562b4abd6ad1 in  ()
#28 0x00007f34fade77fd in __libc_start_main () at /lib64/libc.so.6
#29 0x0000562b4abdd8ba in _start ()
[Inferior 1 (process 960) detached]

Latte-dock also will crash when opening some applications such as Spotify OBS-Studio. 
Kernel version 5.13.10-gentoo
Distribution: Gentoo
KDE Version: 5.85.0-r1
Comment 2 Michail Vourlakos 2021-08-21 05:59:11 UTC
Has been fixed and until then you can use https://forum.endeavouros.com/t/latte-dock-settings-window/16483/21
Comment 3 Simon Andric 2022-11-18 00:44:48 UTC
Created attachment 153848 [details]
New crash information added by DrKonqi

latte-dock (0.10.8) using Qt 5.15.7

i use KDE Neon user editon on Lenovo LEGION laptop

crash always - latte crashes if i open dolphin, select 5000 files, right click + rename using Krename - and then from inside of Krename I go to "4. file name" tab and select button "search and find" and then the button "add" or "load settings"....

crasah at random times - also - perhaps if on the latte dock is an icon of an app which is opened but not docked on latte - and the dock itself has a size limit - tries to reposition the docked and undocked icons and then the latte crashes

crash almost always - when rebooting..the latte shows itself for a second and then crashes....

-- Backtrace (Reduced):
#4  0x00007f3409e2e4e3 in QSGSoftwareRenderableNode::update (this=this@entry=0x55668adc6f30) at scenegraph/adaptations/software/qsgsoftwarerenderablenode.cpp:149
#5  0x00007f3409e2f040 in QSGSoftwareRenderableNode::setTransform (this=this@entry=0x55668adc6f30, transform=...) at scenegraph/adaptations/software/qsgsoftwarerenderablenode.cpp:368
#6  0x00007f3409e32b9c in QSGSoftwareRenderableNodeUpdater::updateRenderableNode<QSGSimpleTextureNode> (this=0x556689824a90, type=<optimized out>, node=0x556688fca240) at scenegraph/adaptations/software/qsgsoftwarerenderablenodeupdater_p.h:131
#7  0x00007f3409e3153d in QSGSoftwareRenderableNodeUpdater::updateNodes (this=0x556689824a90, node=<optimized out>, node@entry=0x556688fca240, isNodeRemoved=isNodeRemoved@entry=false) at scenegraph/adaptations/software/qsgsoftwarerenderablenodeupdater.cpp:268
#8  0x00007f3409e22f14 in QSGAbstractSoftwareRenderer::nodeAdded (this=this@entry=0x556689824d20, node=node@entry=0x556688fca240) at scenegraph/adaptations/software/qsgabstractsoftwarerenderer.cpp:261