Bug 441885 - Latte dock crashing when changing Plasma appearance
Summary: Latte dock crashing when changing Plasma appearance
Status: RESOLVED WORKSFORME
Alias: None
Product: lattedock
Classification: Plasma
Component: application (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Michail Vourlakos
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2021-09-01 23:32 UTC by Sean Fried
Modified: 2021-12-24 18:12 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (30.26 KB, text/plain)
2021-11-28 06:56 UTC, Tommy Beauclair
Details
New crash information added by DrKonqi (18.12 KB, text/plain)
2021-12-09 00:40 UTC, Peifeng Yu
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sean Fried 2021-09-01 23:32:05 UTC
Application: latte-dock (0.10.0)

Qt Version: 5.15.2
Frameworks Version: 5.85.0
Operating System: Linux 5.11.0-31-generic x86_64
Windowing System: X11
Drkonqi Version: 5.22.4
Distribution: Ubuntu 21.04

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

Latte seems to crash whenever I am playing with themes. Changing to a different theme/messing with window decorations/etc.

The crash can be reproduced sometimes.

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

[KCrash Handler]
#4  0x00007fc4b4e29544 in QSGTexture::setFiltering(QSGTexture::Filtering) () from /lib/x86_64-linux-gnu/libQt5Quick.so.5
#5  0x00007fc4b4e5777f in QSGOpaqueTextureMaterialShader::updateState(QSGMaterialShader::RenderState const&, QSGMaterial*, QSGMaterial*) () from /lib/x86_64-linux-gnu/libQt5Quick.so.5
#6  0x00007fc4b4e41169 in QSGBatchRenderer::Renderer::renderUnmergedBatch(QSGBatchRenderer::Batch const*) () from /lib/x86_64-linux-gnu/libQt5Quick.so.5
#7  0x00007fc4b4e44f8d in QSGBatchRenderer::Renderer::renderBatches() () from /lib/x86_64-linux-gnu/libQt5Quick.so.5
#8  0x00007fc4b4e457a2 in QSGBatchRenderer::Renderer::render() () from /lib/x86_64-linux-gnu/libQt5Quick.so.5
#9  0x00007fc4b4e2dc84 in QSGRenderer::renderScene(QSGBindable const&) () from /lib/x86_64-linux-gnu/libQt5Quick.so.5
#10 0x00007fc4b4e2e153 in QSGRenderer::renderScene(unsigned int) () from /lib/x86_64-linux-gnu/libQt5Quick.so.5
#11 0x00007fc4b4e8e8d7 in QSGDefaultRenderContext::renderNextFrame(QSGRenderer*, unsigned int) () from /lib/x86_64-linux-gnu/libQt5Quick.so.5
#12 0x00007fc4b4efa139 in QQuickWindowPrivate::renderSceneGraph(QSize const&, QSize const&) () from /lib/x86_64-linux-gnu/libQt5Quick.so.5
#13 0x00007fc4b4e9caed in ?? () from /lib/x86_64-linux-gnu/libQt5Quick.so.5
#14 0x00007fc4b4e9d457 in ?? () from /lib/x86_64-linux-gnu/libQt5Quick.so.5
#15 0x00007fc4b2ddb341 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#16 0x00007fc4b213e450 in start_thread (arg=0x7fc470b34640) at pthread_create.c:473
#17 0x00007fc4b28d2d53 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 10 (LWP 1983 "latte-dock"):
#1  0x00007fc4aed0ef4a in ?? () from /lib/x86_64-linux-gnu/libusbmuxd-2.0.so.6
#2  0x00007fc4aed10348 in ?? () from /lib/x86_64-linux-gnu/libusbmuxd-2.0.so.6
#3  0x00007fc4b213e450 in start_thread (arg=0x7fc471cf2640) at pthread_create.c:473
#4  0x00007fc4b28d2d53 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 9 (LWP 1978 "KCupsConnection"):
#1  0x00007fc4b14a3cc6 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fc4b144e023 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fc4b302021b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007fc4b2fc511b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fc4b2dda182 in QThread::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fc472603e0c in KCupsConnection::run() () from /lib/x86_64-linux-gnu/libkcupslib.so
#7  0x00007fc4b2ddb341 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007fc4b213e450 in start_thread (arg=0x7fc47251c640) at pthread_create.c:473
#9  0x00007fc4b28d2d53 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 8 (LWP 1959 "QQmlThread"):
#1  __GI___libc_read (fd=18, buf=0x7fc48bffe9b0, nbytes=16) at ../sysdeps/unix/sysv/linux/read.c:24
#2  0x00007fc4b1450d1c in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fc4b14a3c6d in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fc4b144e023 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fc4b302021b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fc4b2fc511b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007fc4b2dda182 in QThread::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007fc4b4b3e7a9 in ?? () from /lib/x86_64-linux-gnu/libQt5Qml.so.5
#9  0x00007fc4b2ddb341 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#10 0x00007fc4b213e450 in start_thread (arg=0x7fc48bfff640) at pthread_create.c:473
#11 0x00007fc4b28d2d53 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 7 (LWP 1812 "latte-d:disk$3"):
#1  __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x561799a39608, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at ../sysdeps/nptl/futex-internal.c:123
#2  0x00007fc4b2144540 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x561799a395b8, cond=0x561799a395e0) at pthread_cond_wait.c:504
#3  __pthread_cond_wait (cond=0x561799a395e0, mutex=0x561799a395b8) at pthread_cond_wait.c:628
#4  0x00007fc4a68f129b in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#5  0x00007fc4a68eae2b in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#6  0x00007fc4b213e450 in start_thread (arg=0x7fc4a4e5a640) at pthread_create.c:473
#7  0x00007fc4b28d2d53 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 6 (LWP 1811 "latte-d:disk$2"):
#1  __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x561799a39608, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at ../sysdeps/nptl/futex-internal.c:123
#2  0x00007fc4b2144540 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x561799a395b8, cond=0x561799a395e0) at pthread_cond_wait.c:504
#3  __pthread_cond_wait (cond=0x561799a395e0, mutex=0x561799a395b8) at pthread_cond_wait.c:628
#4  0x00007fc4a68f129b in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#5  0x00007fc4a68eae2b in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#6  0x00007fc4b213e450 in start_thread (arg=0x7fc4a565b640) at pthread_create.c:473
#7  0x00007fc4b28d2d53 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (LWP 1810 "latte-d:disk$1"):
#1  __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x561799a3960c, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at ../sysdeps/nptl/futex-internal.c:123
#2  0x00007fc4b2144540 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x561799a395b8, cond=0x561799a395e0) at pthread_cond_wait.c:504
#3  __pthread_cond_wait (cond=0x561799a395e0, mutex=0x561799a395b8) at pthread_cond_wait.c:628
#4  0x00007fc4a68f129b in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#5  0x00007fc4a68eae2b in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#6  0x00007fc4b213e450 in start_thread (arg=0x7fc4a5e5c640) at pthread_create.c:473
#7  0x00007fc4b28d2d53 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (LWP 1809 "latte-d:disk$0"):
#1  __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x561799a39608, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at ../sysdeps/nptl/futex-internal.c:123
#2  0x00007fc4b2144540 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x561799a395b8, cond=0x561799a395e0) at pthread_cond_wait.c:504
#3  __pthread_cond_wait (cond=0x561799a395e0, mutex=0x561799a395b8) at pthread_cond_wait.c:628
#4  0x00007fc4a68f129b in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#5  0x00007fc4a68eae2b in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#6  0x00007fc4b213e450 in start_thread (arg=0x7fc4a665d640) at pthread_create.c:473
#7  0x00007fc4b28d2d53 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (LWP 1791 "QDBusConnection"):
#1  0x00007fc4b14a3cc6 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fc4b144e023 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fc4b302021b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007fc4b2fc511b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fc4b2dda182 in QThread::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fc4b328408b in ?? () from /lib/x86_64-linux-gnu/libQt5DBus.so.5
#7  0x00007fc4b2ddb341 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007fc4b213e450 in start_thread (arg=0x7fc4acc32640) at pthread_create.c:473
#9  0x00007fc4b28d2d53 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (LWP 1766 "QXcbEventQueue"):
#1  0x00007fc4b52fec1a in ?? () from /lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007fc4b5300ffa in xcb_wait_for_event () from /lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007fc4adb159f8 in ?? () from /lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#4  0x00007fc4b2ddb341 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fc4b213e450 in start_thread (arg=0x7fc4ad7de640) at pthread_create.c:473
#6  0x00007fc4b28d2d53 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (LWP 1731 "latte-dock"):
#1  __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x56179b1690c4, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at ../sysdeps/nptl/futex-internal.c:123
#2  0x00007fc4b2144540 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x56179b169070, cond=0x56179b169098) at pthread_cond_wait.c:504
#3  __pthread_cond_wait (cond=0x56179b169098, mutex=0x56179b169070) at pthread_cond_wait.c:628
#4  0x00007fc4b2de150b in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fc4b4e9ec6a in ?? () from /lib/x86_64-linux-gnu/libQt5Quick.so.5
#6  0x00007fc4b4f080a7 in QQuickWindow::event(QEvent*) () from /lib/x86_64-linux-gnu/libQt5Quick.so.5
#7  0x00007fc4b3d51783 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#8  0x00007fc4b2fc67ba in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007fc4b34ec834 in QPlatformWindow::windowEvent(QEvent*) () from /lib/x86_64-linux-gnu/libQt5Gui.so.5
#10 0x00007fc4b3d5897a in QApplication::notify(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#11 0x00007fc4b2fc67ba in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#12 0x00007fc4b301f533 in QTimerInfoList::activateTimers() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#13 0x00007fc4b301fe74 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#14 0x00007fc4b14508eb in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#15 0x00007fc4b14a3d28 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#16 0x00007fc4b144e023 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#17 0x00007fc4b3020204 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#18 0x00007fc4b2fc511b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#19 0x00007fc4b2fcd604 in QCoreApplication::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#20 0x0000561798f03b77 in ?? ()
#21 0x00007fc4b27e3565 in __libc_start_main (main=0x561798f016f0, argc=1, argv=0x7ffcf15456f8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffcf15456e8) at ../csu/libc-start.c:332
#22 0x0000561798f0a94e in _start ()
[Inferior 1 (process 1731) 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-09-02 11:32:42 UTC
I think everything points to qt and graphics driver. Nonetheless,

https://userbase.kde.org/LatteDock/HowToReportCrashes
Comment 2 Bug Janitor Service 2021-09-17 04:35:58 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 3 Bug Janitor Service 2021-10-02 04:35:50 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!
Comment 4 Tommy Beauclair 2021-11-28 06:56:29 UTC
Created attachment 144020 [details]
New crash information added by DrKonqi

latte-dock (0.10.4) using Qt 5.15.2

- What I was doing when the application crashed:
I was changing some plasma settings. Latte dock restarted and an error message with segfault appears.

Happens sometimes when I'm doing things unrelated to plasma settings

-- Backtrace (Reduced):
#4  0x00007f5e8b23f184 in QSGTexture::setFiltering(QSGTexture::Filtering) () at /lib/x86_64-linux-gnu/libQt5Quick.so.5
#5  0x00007f5e8b27003f in QSGOpaqueTextureMaterialShader::updateState(QSGMaterialShader::RenderState const&, QSGMaterial*, QSGMaterial*) () at /lib/x86_64-linux-gnu/libQt5Quick.so.5
#6  0x00007f5e8b256bdc in QSGBatchRenderer::Renderer::renderMergedBatch(QSGBatchRenderer::Batch const*) () at /lib/x86_64-linux-gnu/libQt5Quick.so.5
#7  0x00007f5e8b25c1e5 in QSGBatchRenderer::Renderer::renderBatches() () at /lib/x86_64-linux-gnu/libQt5Quick.so.5
#8  0x00007f5e8b25cbd2 in QSGBatchRenderer::Renderer::render() () at /lib/x86_64-linux-gnu/libQt5Quick.so.5
Comment 5 Peifeng Yu 2021-12-09 00:40:48 UTC
Created attachment 144373 [details]
New crash information added by DrKonqi

latte-dock (0.10.4) using Qt 5.15.2

- What I was doing when the application crashed:

This happens to me multiple times for a while now. I'm not entirely sure about how this is triggered. But it seems to be related to launching new applications and LatteDock needs to update. But it also happened a fiew time when I'm not doing anything related to window.

-- Backtrace (Reduced):
#4  0x00007fd3e4596c14 in QSGOpaqueTextureMaterialShader::updateState(QSGMaterialShader::RenderState const&, QSGMaterial*, QSGMaterial*) () at /usr/lib/libQt5Quick.so.5
#5  0x00007fd3e457d41a in QSGBatchRenderer::Renderer::renderMergedBatch(QSGBatchRenderer::Batch const*) () at /usr/lib/libQt5Quick.so.5
#6  0x00007fd3e4582b96 in QSGBatchRenderer::Renderer::renderBatches() () at /usr/lib/libQt5Quick.so.5
#7  0x00007fd3e45835a5 in QSGBatchRenderer::Renderer::render() () at /usr/lib/libQt5Quick.so.5
#8  0x00007fd3e456a622 in QSGRenderer::renderScene(QSGBindable const&) () at /usr/lib/libQt5Quick.so.5
Comment 6 Michail Vourlakos 2021-12-09 06:09:51 UTC
https://userbase.kde.org/LatteDock/HowToReportCrashes
Comment 7 Michail Vourlakos 2021-12-09 06:10:04 UTC
waiting feedback
Comment 8 Peifeng Yu 2021-12-09 07:28:55 UTC
I'll try to reproduce this using a debug build of Latte Dock and also qt, since the stack trace seems to originate in the qt code.

I'll report back next week when I got time.
Comment 9 Bug Janitor Service 2021-12-24 04:35:07 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 10 Peifeng Yu 2021-12-24 18:09:01 UTC
I compiled latte-dock and qt with debug info and I've been running latte-dock under gdb for about a week now without any crash, while previously the crash can happen multiple times a day. I think it's safe to assume the latest git version somehow fixed this.
Comment 11 Michail Vourlakos 2021-12-24 18:12:50 UTC
(In reply to Peifeng Yu from comment #10)
> I compiled latte-dock and qt with debug info and I've been running
> latte-dock under gdb for about a week now without any crash, while
> previously the crash can happen multiple times a day. I think it's safe to
> assume the latest git version somehow fixed this.

it could be a packaging issue