Bug 454172 - [wayland] changing gain in audacity crashes latte
Summary: [wayland] changing gain in audacity crashes latte
Status: REPORTED
Alias: None
Product: lattedock
Classification: Plasma
Component: application (show other bugs)
Version: 0.10.8
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: Michail Vourlakos
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2022-05-21 16:54 UTC by Andrej Halveland
Modified: 2022-09-05 13:10 UTC (History)
2 users (show)

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


Attachments
New crash information added by DrKonqi (10.26 KB, text/plain)
2022-06-21 17:10 UTC, Osman Kovan
Details
New crash information added by DrKonqi (17.88 KB, text/plain)
2022-09-05 13:10 UTC, mattianicolella
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrej Halveland 2022-05-21 16:54:20 UTC
Application: latte-dock (0.10.8)

Qt Version: 5.15.4
Frameworks Version: 5.94.0
Operating System: Linux 5.17.8-zen1-1-zen x86_64
Windowing System: Wayland
Distribution: "Arch Linux"
DrKonqi: 5.24.90 [KCrashBackend]

-- Information about the crash:
Latte dock seems to crash when changing the gain of a track in audacity a bunch of times in a row.

Drag and move the gain slider --> Release it --> Drag and move the gain slider again --> Release it --> Crash
Sometimes you have to do it for few more times for latte to crash

And also it only does this when audacity is launched with the "GDK_BACKEND=x11" variable as audacity's timeline doesn't update on wayland without the specified variable. Audacity launched without any variables does not crash the latte dock.

The crash can be reproduced every time.

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

[KCrash Handler]
#4  0x00007f45463ba0c4 in QSGTexture::setFiltering(QSGTexture::Filtering) () at /usr/lib/libQt5Quick.so.5
#5  0x00007f45463e9fd0 in QSGOpaqueTextureMaterialShader::updateState(QSGMaterialShader::RenderState const&, QSGMaterial*, QSGMaterial*) () at /usr/lib/libQt5Quick.so.5
#6  0x00007f45463d30ce in QSGBatchRenderer::Renderer::renderMergedBatch(QSGBatchRenderer::Batch const*) () at /usr/lib/libQt5Quick.so.5
#7  0x00007f45463d68de in QSGBatchRenderer::Renderer::renderBatches() () at /usr/lib/libQt5Quick.so.5
#8  0x00007f45463db2f1 in QSGBatchRenderer::Renderer::render() () at /usr/lib/libQt5Quick.so.5
#9  0x00007f45463c2e85 in QSGRenderer::renderScene(QSGBindable const&) () at /usr/lib/libQt5Quick.so.5
#10 0x00007f454642a69c in QSGOpenGLLayer::grab() () at /usr/lib/libQt5Quick.so.5
#11 0x00007f454642acce in QSGOpenGLLayer::updateTexture() () at /usr/lib/libQt5Quick.so.5
#12 0x00007f45465789a7 in QQuickOpenGLShaderEffectMaterial::updateTextures() const () at /usr/lib/libQt5Quick.so.5
#13 0x00007f45463c3589 in QSGRenderer::preprocess() () at /usr/lib/libQt5Quick.so.5
#14 0x00007f45463c2e4c in QSGRenderer::renderScene(QSGBindable const&) () at /usr/lib/libQt5Quick.so.5
#15 0x00007f45463c3324 in QSGRenderer::renderScene(unsigned int) () at /usr/lib/libQt5Quick.so.5
#16 0x00007f454641b2b5 in QSGDefaultRenderContext::renderNextFrame(QSGRenderer*, unsigned int) () at /usr/lib/libQt5Quick.so.5
#17 0x00007f4546477851 in QQuickWindowPrivate::renderSceneGraph(QSize const&, QSize const&) () at /usr/lib/libQt5Quick.so.5
#18 0x00007f4546426446 in  () at /usr/lib/libQt5Quick.so.5
#19 0x00007f454642adc4 in  () at /usr/lib/libQt5Quick.so.5
#20 0x00007f45444f036a in  () at /usr/lib/libQt5Core.so.5
#21 0x00007f4543f6b54d in  () at /usr/lib/libc.so.6
#22 0x00007f4543ff0b14 in clone () at /usr/lib/libc.so.6

Thread 11 (Thread 0x7f450d2b4640 (LWP 4619) "latte-do:gdrv0"):
#1  0x00007f4543f6a920 in pthread_cond_wait () at /usr/lib/libc.so.6
#2  0x00007f452e6fcc0c in  () at /usr/lib/dri/radeonsi_dri.so
#3  0x00007f452e6f635c in  () at /usr/lib/dri/radeonsi_dri.so
#4  0x00007f4543f6b54d in  () at /usr/lib/libc.so.6
#5  0x00007f4543ff0b14 in clone () at /usr/lib/libc.so.6

Thread 10 (Thread 0x7f450dab6640 (LWP 4618) "latte-do:gdrv0"):
#1  0x00007f4543f6a920 in pthread_cond_wait () at /usr/lib/libc.so.6
#2  0x00007f452e6fcc0c in  () at /usr/lib/dri/radeonsi_dri.so
#3  0x00007f452e6f635c in  () at /usr/lib/dri/radeonsi_dri.so
#4  0x00007f4543f6b54d in  () at /usr/lib/libc.so.6
#5  0x00007f4543ff0b14 in clone () at /usr/lib/libc.so.6

Thread 9 (Thread 0x7f450fb6f640 (LWP 4610) "QQmlThread"):
#1  0x00007f4543fb751d in clock_gettime () at /usr/lib/libc.so.6
#2  0x00007f4542b16602 in g_main_context_check () at /usr/lib/libglib-2.0.so.0
#3  0x00007f4542b6c877 in  () at /usr/lib/libglib-2.0.so.0
#4  0x00007f4542b136c5 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#5  0x00007f45446e47df in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#6  0x00007f454469279c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#7  0x00007f45444f353f in QThread::exec() () at /usr/lib/libQt5Core.so.5
#8  0x00007f45460e9420 in  () at /usr/lib/libQt5Qml.so.5
#9  0x00007f45444f036a in  () at /usr/lib/libQt5Core.so.5
#10 0x00007f4543f6b54d in  () at /usr/lib/libc.so.6
#11 0x00007f4543ff0b14 in clone () at /usr/lib/libc.so.6

Thread 8 (Thread 0x7f4527574640 (LWP 4602) "latte-do:shlo0"):
#1  0x00007f4543f6a920 in pthread_cond_wait () at /usr/lib/libc.so.6
#2  0x00007f452e6fcc0c in  () at /usr/lib/dri/radeonsi_dri.so
#3  0x00007f452e6f635c in  () at /usr/lib/dri/radeonsi_dri.so
#4  0x00007f4543f6b54d in  () at /usr/lib/libc.so.6
#5  0x00007f4543ff0b14 in clone () at /usr/lib/libc.so.6

Thread 7 (Thread 0x7f4527d75640 (LWP 4601) "latte-dock:sh0"):
#1  0x00007f4543f6a920 in pthread_cond_wait () at /usr/lib/libc.so.6
#2  0x00007f452e6fcc0c in  () at /usr/lib/dri/radeonsi_dri.so
#3  0x00007f452e6f635c in  () at /usr/lib/dri/radeonsi_dri.so
#4  0x00007f4543f6b54d in  () at /usr/lib/libc.so.6
#5  0x00007f4543ff0b14 in clone () at /usr/lib/libc.so.6

Thread 6 (Thread 0x7f453cd1d640 (LWP 4600) "latte-d:disk$0"):
#1  0x00007f4543f6a920 in pthread_cond_wait () at /usr/lib/libc.so.6
#2  0x00007f452e6fcc0c in  () at /usr/lib/dri/radeonsi_dri.so
#3  0x00007f452e6f635c in  () at /usr/lib/dri/radeonsi_dri.so
#4  0x00007f4543f6b54d in  () at /usr/lib/libc.so.6
#5  0x00007f4543ff0b14 in clone () at /usr/lib/libc.so.6

Thread 5 (Thread 0x7f453d65f640 (LWP 4599) "latte-dock:cs0"):
#1  0x00007f4543f6a920 in pthread_cond_wait () at /usr/lib/libc.so.6
#2  0x00007f452e6fcc0c in  () at /usr/lib/dri/radeonsi_dri.so
#3  0x00007f452e6f635c in  () at /usr/lib/dri/radeonsi_dri.so
#4  0x00007f4543f6b54d in  () at /usr/lib/libc.so.6
#5  0x00007f4543ff0b14 in clone () at /usr/lib/libc.so.6

Thread 4 (Thread 0x7f453e1ff640 (LWP 4594) "QDBusConnection"):
#1  0x00007f4543fb751d in clock_gettime () at /usr/lib/libc.so.6
#2  0x00007f4542b1667a in g_main_context_check () at /usr/lib/libglib-2.0.so.0
#3  0x00007f4542b6c877 in  () at /usr/lib/libglib-2.0.so.0
#4  0x00007f4542b136c5 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#5  0x00007f45446e47df in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#6  0x00007f454469279c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#7  0x00007f45444f353f in QThread::exec() () at /usr/lib/libQt5Core.so.5
#8  0x00007f454495075a in  () at /usr/lib/libQt5DBus.so.5
#9  0x00007f45444f036a in  () at /usr/lib/libQt5Core.so.5
#10 0x00007f4543f6b54d in  () at /usr/lib/libc.so.6
#11 0x00007f4543ff0b14 in clone () at /usr/lib/libc.so.6

Thread 3 (Thread 0x7f453eaf8640 (LWP 4591) "WaylandEventThr"):
#1  0x00007f4543543d7d in  () at /usr/lib/libQt5WaylandClient.so.5
#2  0x00007f45444f036a in  () at /usr/lib/libQt5Core.so.5
#3  0x00007f4543f6b54d in  () at /usr/lib/libc.so.6
#4  0x00007f4543ff0b14 in clone () at /usr/lib/libc.so.6

Thread 2 (Thread 0x7f453f2f9640 (LWP 4590) "WaylandEventThr"):
#1  0x00007f4543f6a920 in pthread_cond_wait () at /usr/lib/libc.so.6
#2  0x00007f45444f77b4 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () at /usr/lib/libQt5Core.so.5
#3  0x00007f4543543d24 in  () at /usr/lib/libQt5WaylandClient.so.5
#4  0x00007f45444f036a in  () at /usr/lib/libQt5Core.so.5
#5  0x00007f4543f6b54d in  () at /usr/lib/libc.so.6
#6  0x00007f4543ff0b14 in clone () at /usr/lib/libc.so.6

Thread 1 (Thread 0x7f453f98ff80 (LWP 4583) "latte-dock"):
#1  0x00007f4543f6a920 in pthread_cond_wait () at /usr/lib/libc.so.6
#2  0x00007f45444f77b4 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () at /usr/lib/libQt5Core.so.5
#3  0x00007f454642fa20 in  () at /usr/lib/libQt5Quick.so.5
#4  0x00007f45464806e9 in QQuickWindow::event(QEvent*) () at /usr/lib/libQt5Quick.so.5
#5  0x00007f454538aa7c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#6  0x00007f4544699ff8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#7  0x00007f4544b903a0 in QPlatformWindow::deliverUpdateRequest() () at /usr/lib/libQt5Gui.so.5
#8  0x00007f45446bd910 in QObject::event(QEvent*) () at /usr/lib/libQt5Core.so.5
#9  0x00007f454538aa7c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#10 0x00007f4544699ff8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#11 0x00007f454469aaf3 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib/libQt5Core.so.5
#12 0x00007f45446e0988 in  () at /usr/lib/libQt5Core.so.5
#13 0x00007f4542b16163 in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0
#14 0x00007f4542b6c9e9 in  () at /usr/lib/libglib-2.0.so.0
#15 0x00007f4542b136c5 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#16 0x00007f45446e47bc in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#17 0x00007f454469279c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#18 0x00007f454469d2a9 in QCoreApplication::exec() () at /usr/lib/libQt5Core.so.5
#19 0x0000555d6a89eb46 in  ()
#20 0x00007f4543f08290 in  () at /usr/lib/libc.so.6
#21 0x00007f4543f0834a in __libc_start_main () at /usr/lib/libc.so.6
#22 0x0000555d6a8a599e in _start ()
[Inferior 1 (process 4583) detached]

Reported using DrKonqi
Comment 1 Michail Vourlakos 2022-06-17 07:28:13 UTC
https://userbase.kde.org/LatteDock/HowToReportCrashes
Comment 2 Osman Kovan 2022-06-21 17:10:52 UTC
Created attachment 150022 [details]
New crash information added by DrKonqi

latte-dock (0.10.8) using Qt 5.15.5

This bug shows one-by-one payloads from bug #455466

-- Backtrace (Reduced):
#4  0x00007f4f1a0c61d4 in QSGTexture::setFiltering(QSGTexture::Filtering) () at /usr/lib/libQt5Quick.so.5
#5  0x00007f4f1a0f5ef0 in QSGOpaqueTextureMaterialShader::updateState(QSGMaterialShader::RenderState const&, QSGMaterial*, QSGMaterial*) () at /usr/lib/libQt5Quick.so.5
#6  0x00007f4f1a0deffe in QSGBatchRenderer::Renderer::renderMergedBatch(QSGBatchRenderer::Batch const*) () at /usr/lib/libQt5Quick.so.5
#7  0x00007f4f1a0e27fe in QSGBatchRenderer::Renderer::renderBatches() () at /usr/lib/libQt5Quick.so.5
#8  0x00007f4f1a0e7211 in QSGBatchRenderer::Renderer::render() () at /usr/lib/libQt5Quick.so.5
Comment 3 Michail Vourlakos 2022-06-22 05:46:46 UTC
https://userbase.kde.org/LatteDock/HowToReportCrashes
Comment 4 mattianicolella 2022-09-05 13:10:37 UTC
Created attachment 151831 [details]
New crash information added by DrKonqi

latte-dock (0.10.77) using Qt 5.15.5

Latte crashes at startup when an external monitor is attached before logging in.

-- Backtrace (Reduced):
#4  0x00007f6fd8eef1d4 in QSGTexture::setFiltering(QSGTexture::Filtering) () at /usr/lib/libQt5Quick.so.5
#5  0x00007f6fd8f1eef0 in QSGOpaqueTextureMaterialShader::updateState(QSGMaterialShader::RenderState const&, QSGMaterial*, QSGMaterial*) () at /usr/lib/libQt5Quick.so.5
#6  0x00007f6fd8f07ffe in QSGBatchRenderer::Renderer::renderMergedBatch(QSGBatchRenderer::Batch const*) () at /usr/lib/libQt5Quick.so.5
#7  0x00007f6fd8f0b7fe in QSGBatchRenderer::Renderer::renderBatches() () at /usr/lib/libQt5Quick.so.5
#8  0x00007f6fd8f10211 in QSGBatchRenderer::Renderer::render() () at /usr/lib/libQt5Quick.so.5