Bug 437931 - Latte dock crashs on boot
Summary: Latte dock crashs on boot
Status: RESOLVED NOT A BUG
Alias: None
Product: lattedock
Classification: Plasma
Component: application (show other bugs)
Version: 0.9.91
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: Michail Vourlakos
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2021-06-01 04:09 UTC by Arush Gupta
Modified: 2022-02-15 01:35 UTC (History)
2 users (show)

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


Attachments
New crash information added by DrKonqi (11.53 KB, text/plain)
2022-02-15 01:35 UTC, Mickey
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Arush Gupta 2021-06-01 04:09:32 UTC
Application: latte-dock (0.9.91)

Qt Version: 5.15.2
Frameworks Version: 5.82.0
Operating System: Linux 5.12.7-160-tkg-bmq x86_64
Windowing System: X11
Drkonqi Version: 5.21.5
Distribution: Garuda Linux

-- Information about the crash:
- What I was doing when the application crashed:

I started my computer, logged in, and then, latte-dock crahed. This seems to happen almost everytime I log in. 

Note: I have this command as my latte-dock startup (in System Settings -> Startup and Shutdown -> Autostart):  sleep 7 && /usr/bin/latte-dock
The above is set by me, because I was experincing other issues with latte dock: https://forum.garudalinux.org/t/above-and-below-portions-of-screen-not-working-after-update/7704

The crash can be reproduced sometimes.

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

[KCrash Handler]
#4  0x00007fa45e88f7c0 in QSGTexture::setFiltering(QSGTexture::Filtering) () at /usr/lib/libQt5Quick.so.5
#5  0x00007fa45e8c0a9c in QSGOpaqueTextureMaterialShader::updateState(QSGMaterialShader::RenderState const&, QSGMaterial*, QSGMaterial*) () at /usr/lib/libQt5Quick.so.5
#6  0x00007fa45e8a737a in QSGBatchRenderer::Renderer::renderMergedBatch(QSGBatchRenderer::Batch const*) () at /usr/lib/libQt5Quick.so.5
#7  0x00007fa45e8acaf6 in QSGBatchRenderer::Renderer::renderBatches() () at /usr/lib/libQt5Quick.so.5
#8  0x00007fa45e8ad505 in QSGBatchRenderer::Renderer::render() () at /usr/lib/libQt5Quick.so.5
#9  0x00007fa45e894582 in QSGRenderer::renderScene(QSGBindable const&) () at /usr/lib/libQt5Quick.so.5
#10 0x00007fa45e9030a3 in QSGOpenGLLayer::grab() () at /usr/lib/libQt5Quick.so.5
#11 0x00007fa45e9036de in QSGOpenGLLayer::updateTexture() () at /usr/lib/libQt5Quick.so.5
#12 0x00007fa45ea72b17 in QQuickOpenGLShaderEffectMaterial::updateTextures() const () at /usr/lib/libQt5Quick.so.5
#13 0x00007fa45e894d2d in QSGRenderer::preprocess() () at /usr/lib/libQt5Quick.so.5
#14 0x00007fa45e894549 in QSGRenderer::renderScene(QSGBindable const&) () at /usr/lib/libQt5Quick.so.5
#15 0x00007fa45e9030a3 in QSGOpenGLLayer::grab() () at /usr/lib/libQt5Quick.so.5
#16 0x00007fa45e9036de in QSGOpenGLLayer::updateTexture() () at /usr/lib/libQt5Quick.so.5
#17 0x00007fa45ea72b17 in QQuickOpenGLShaderEffectMaterial::updateTextures() const () at /usr/lib/libQt5Quick.so.5
#18 0x00007fa45e894d2d in QSGRenderer::preprocess() () at /usr/lib/libQt5Quick.so.5
#19 0x00007fa45e894549 in QSGRenderer::renderScene(QSGBindable const&) () at /usr/lib/libQt5Quick.so.5
#20 0x00007fa45e894a74 in QSGRenderer::renderScene(unsigned int) () at /usr/lib/libQt5Quick.so.5
#21 0x00007fa45e8fad53 in QSGDefaultRenderContext::renderNextFrame(QSGRenderer*, unsigned int) () at /usr/lib/libQt5Quick.so.5
#22 0x00007fa45e96ad01 in QQuickWindowPrivate::renderSceneGraph(QSize const&, QSize const&) () at /usr/lib/libQt5Quick.so.5
#23 0x00007fa45e9099e7 in  () at /usr/lib/libQt5Quick.so.5
#24 0x00007fa45e90a3c7 in  () at /usr/lib/libQt5Quick.so.5
#25 0x00007fa45c8b4f7f in  () at /usr/lib/libQt5Core.so.5
#26 0x00007fa45bbde259 in start_thread () at /usr/lib/libpthread.so.0
#27 0x00007fa45c3bd5e3 in clone () at /usr/lib/libc.so.6

Thread 11 (Thread 0x7fa41552a640 (LWP 8119) "QSGRenderThread"):
#1  0x00007fa45bbe4270 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#2  0x00007fa45c8bb00c in QWaitCondition::wait(QMutex*, QDeadlineTimer) () at /usr/lib/libQt5Core.so.5
#3  0x00007fa45e907eb7 in  () at /usr/lib/libQt5Quick.so.5
#4  0x00007fa45e90a40b in  () at /usr/lib/libQt5Quick.so.5
#5  0x00007fa45c8b4f7f in  () at /usr/lib/libQt5Core.so.5
#6  0x00007fa45bbde259 in start_thread () at /usr/lib/libpthread.so.0
#7  0x00007fa45c3bd5e3 in clone () at /usr/lib/libc.so.6

Thread 10 (Thread 0x7fa415fc9640 (LWP 8098) "KCupsConnection"):
#1  0x00007fa45ae9b781 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#2  0x00007fa45caf8caf in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#3  0x00007fa45ca9e97c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#4  0x00007fa45c8b3da2 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#5  0x00007fa4160a9bab in KCupsConnection::run() () at /usr/lib/libkcupslib.so
#6  0x00007fa45c8b4f7f in  () at /usr/lib/libQt5Core.so.5
#7  0x00007fa45bbde259 in start_thread () at /usr/lib/libpthread.so.0
#8  0x00007fa45c3bd5e3 in clone () at /usr/lib/libc.so.6

Thread 9 (Thread 0x7fa416f53640 (LWP 8091) "latte-dock"):
#1  0x00007fa4573a1524 in  () at /usr/lib/libusbmuxd-2.0.so.6
#2  0x00007fa4573a28a9 in  () at /usr/lib/libusbmuxd-2.0.so.6
#3  0x00007fa45bbde259 in start_thread () at /usr/lib/libpthread.so.0
#4  0x00007fa45c3bd5e3 in clone () at /usr/lib/libc.so.6

Thread 8 (Thread 0x7fa440bdd640 (LWP 7824) "QQmlThread"):
#1  0x00007fa45aef19d9 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007fa45ae9b781 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#3  0x00007fa45caf8caf in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#4  0x00007fa45ca9e97c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#5  0x00007fa45c8b3da2 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#6  0x00007fa45e5a8509 in  () at /usr/lib/libQt5Qml.so.5
#7  0x00007fa45c8b4f7f in  () at /usr/lib/libQt5Core.so.5
#8  0x00007fa45bbde259 in start_thread () at /usr/lib/libpthread.so.0
#9  0x00007fa45c3bd5e3 in clone () at /usr/lib/libc.so.6

Thread 7 (Thread 0x7fa441f07640 (LWP 4738) "QQmlThread"):
#1  0x00007fa45aef1ae8 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007fa45ae9b781 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#3  0x00007fa45caf8caf in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#4  0x00007fa45ca9e97c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#5  0x00007fa45c8b3da2 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#6  0x00007fa45e5a8509 in  () at /usr/lib/libQt5Qml.so.5
#7  0x00007fa45c8b4f7f in  () at /usr/lib/libQt5Core.so.5
#8  0x00007fa45bbde259 in start_thread () at /usr/lib/libpthread.so.0
#9  0x00007fa45c3bd5e3 in clone () at /usr/lib/libc.so.6

Thread 6 (Thread 0x7fa444131640 (LWP 4733) "QDBusConnection"):
#1  0x00007fa45ae9e45d in g_main_context_check () at /usr/lib/libglib-2.0.so.0
#2  0x00007fa45aef1a8b in  () at /usr/lib/libglib-2.0.so.0
#3  0x00007fa45ae9b781 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#4  0x00007fa45caf8caf in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#5  0x00007fa45ca9e97c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#6  0x00007fa45c8b3da2 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#7  0x00007fa45cd54ae8 in  () at /usr/lib/libQt5DBus.so.5
#8  0x00007fa45c8b4f7f in  () at /usr/lib/libQt5Core.so.5
#9  0x00007fa45bbde259 in start_thread () at /usr/lib/libpthread.so.0
#10 0x00007fa45c3bd5e3 in clone () at /usr/lib/libc.so.6

Thread 5 (Thread 0x7fa444932640 (LWP 4732) "latte-d:disk$3"):
#1  0x00007fa45bbe4270 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#2  0x00007fa44637615c in  () at /usr/lib/dri/i965_dri.so
#3  0x00007fa446375b18 in  () at /usr/lib/dri/i965_dri.so
#4  0x00007fa45bbde259 in start_thread () at /usr/lib/libpthread.so.0
#5  0x00007fa45c3bd5e3 in clone () at /usr/lib/libc.so.6

Thread 4 (Thread 0x7fa445133640 (LWP 4731) "latte-d:disk$2"):
#1  0x00007fa45bbe4270 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#2  0x00007fa44637615c in  () at /usr/lib/dri/i965_dri.so
#3  0x00007fa446375b18 in  () at /usr/lib/dri/i965_dri.so
#4  0x00007fa45bbde259 in start_thread () at /usr/lib/libpthread.so.0
#5  0x00007fa45c3bd5e3 in clone () at /usr/lib/libc.so.6

Thread 3 (Thread 0x7fa445934640 (LWP 4730) "latte-d:disk$1"):
#1  0x00007fa45bbe4270 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#2  0x00007fa44637615c in  () at /usr/lib/dri/i965_dri.so
#3  0x00007fa446375b18 in  () at /usr/lib/dri/i965_dri.so
#4  0x00007fa45bbde259 in start_thread () at /usr/lib/libpthread.so.0
#5  0x00007fa45c3bd5e3 in clone () at /usr/lib/libc.so.6

Thread 2 (Thread 0x7fa446135640 (LWP 4729) "latte-d:disk$0"):
#1  0x00007fa45bbe4270 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#2  0x00007fa44637615c in  () at /usr/lib/dri/i965_dri.so
#3  0x00007fa446375b18 in  () at /usr/lib/dri/i965_dri.so
#4  0x00007fa45bbde259 in start_thread () at /usr/lib/libpthread.so.0
#5  0x00007fa45c3bd5e3 in clone () at /usr/lib/libc.so.6

Thread 1 (Thread 0x7fa458773840 (LWP 3983) "latte-dock"):
#1  0x00007fa45bbe4270 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#2  0x00007fa45c8bb00c in QWaitCondition::wait(QMutex*, QDeadlineTimer) () at /usr/lib/libQt5Core.so.5
#3  0x00007fa45e90bdd7 in  () at /usr/lib/libQt5Quick.so.5
#4  0x00007fa45e97a2bf in QQuickWindow::event(QEvent*) () at /usr/lib/libQt5Quick.so.5
#5  0x00007fa45d7fed62 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#6  0x00007fa45caa000a in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#7  0x00007fa45cfa5c29 in QPlatformWindow::windowEvent(QEvent*) () at /usr/lib/libQt5Gui.so.5
#8  0x00007fa45d806087 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#9  0x00007fa45caa000a in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#10 0x00007fa45caf7fad in QTimerInfoList::activateTimers() () at /usr/lib/libQt5Core.so.5
#11 0x00007fa45caf88aa in  () at /usr/lib/libQt5Core.so.5
#12 0x00007fa45ae9e02c in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0
#13 0x00007fa45aef1b59 in  () at /usr/lib/libglib-2.0.so.0
#14 0x00007fa45ae9b781 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#15 0x00007fa45caf8c36 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#16 0x00007fa45ca9e97c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#17 0x00007fa45caa6ee4 in QCoreApplication::exec() () at /usr/lib/libQt5Core.so.5
#18 0x000056386b03e7cd in  ()
#19 0x00007fa45c2e6b25 in __libc_start_main () at /usr/lib/libc.so.6
#20 0x000056386b03f19e in _start ()
[Inferior 1 (process 3983) detached]

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 Michail Vourlakos 2021-06-01 11:30:29 UTC
try to use default layout because most of the crashes come from applets and not Latte

> sleep 7 && /usr/bin/latte-dock

that is not a good practice it can create abnormal behavior
Comment 2 Arush Gupta 2021-06-03 14:46:48 UTC
Yeah, it seems to work with default layout. Thanks
Comment 3 Mickey 2022-02-15 01:35:46 UTC
Created attachment 146749 [details]
New crash information added by DrKonqi

latte-dock (0.10.8) using Qt 5.15.2

- What I was doing when the application crashed:
Drinking my hot chocolate while watching garuda boot and have the dock crash before anything besides the background appeared.

-- Backtrace (Reduced):
#4  0x00007f0b5ab7c6b4 in QSGTexture::setFiltering(QSGTexture::Filtering) () at /usr/lib/libQt5Quick.so.5
#5  0x00007f0b5abacec0 in QSGOpaqueTextureMaterialShader::updateState(QSGMaterialShader::RenderState const&, QSGMaterial*, QSGMaterial*) () at /usr/lib/libQt5Quick.so.5
#6  0x00007f0b5ab9558f in QSGBatchRenderer::Renderer::renderMergedBatch(QSGBatchRenderer::Batch const*) () at /usr/lib/libQt5Quick.so.5
#7  0x00007f0b5ab988fe in QSGBatchRenderer::Renderer::renderBatches() () at /usr/lib/libQt5Quick.so.5
#8  0x00007f0b5ab99045 in QSGBatchRenderer::Renderer::render() () at /usr/lib/libQt5Quick.so.5