Bug 450295 - [crash] occasionally crashing when switching virtual desktop
Summary: [crash] occasionally crashing when switching virtual desktop
Status: REOPENED
Alias: None
Product: lattedock
Classification: Plasma
Component: application (show other bugs)
Version: 0.10.8
Platform: Manjaro Linux
: NOR crash
Target Milestone: ---
Assignee: Michail Vourlakos
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-02-15 09:55 UTC by jendal
Modified: 2024-10-28 15:27 UTC (History)
1 user (show)

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


Attachments
ddd backtrace for latte-dock (28.69 KB, image/png)
2022-03-17 07:58 UTC, jendal
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jendal 2022-02-15 09:55:33 UTC
SUMMARY
I'm using manjaro, running with kernels 5.15 and 5.16 (different desktops), with multiple screens, panels on top and bottom, and with global menu, digital time, weather, system tray, and lock/logout widgets. When rapidly switching between virtual desktops latte-dock crashes. I'd like to report the backtrace but I am not experienced enough to do so, specifically I'm uncertain about the steps described in: https://wiki.archlinux.org/title/Debugging/Getting_traces. 


STEPS TO REPRODUCE
1. Install latte-dock
2. Maybe have the widgets as described above.
3. Quickly switch between virtual desktops. I switch using shortcuts.

OBSERVED RESULT
Latte-dock crashes. Running latte-dock through krunner often makes panels appear again.

EXPECTED RESULT
No crash.

SOFTWARE/OS VERSIONS
KDE Plasma Version: 5.23.5 
KDE Frameworks Version: 5.90.0
Qt Version: 5.15.2
OS: Manjaro Linux x86_64 
Kernel: 5.15.19-1-MANJARO 
Packages: 1579 (pacman) 
Shell: bash 5.1.16 
WM: KWin
Comment 1 Michail Vourlakos 2022-02-15 10:20:03 UTC
https://userbase.kde.org/LatteDock/HowToReportCrashes
Comment 2 Bug Janitor Service 2022-03-02 04:35:56 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 jendal 2022-03-03 10:08:31 UTC
I haven't experienced any crashes after clearing the cache of latte-dock. For now, close the report and if it starts happening again I can reopen it.

Thanks for your feedback.
Comment 4 jendal 2022-03-17 07:58:05 UTC
Created attachment 147544 [details]
ddd backtrace for latte-dock

Latte-dock began crashing again. I ran with ddd and attached the backtrace as an image.
Comment 5 jendal 2022-03-17 07:59:21 UTC
I've added an image of the backtrace as the bug started occurring again.
Comment 6 Michail Vourlakos 2022-03-17 09:05:32 UTC
(In reply to jendal from comment #5)
> I've added an image of the backtrace as the bug started occurring again.

crash report does not contain any latte code reference...
this is starting to feel more like one of your applets is crasing or your graphic driver issue.
I personally do not user VDs at all and use only Activities . In my system such crash never occurs.
Comment 7 jendal 2022-03-17 09:13:47 UTC
(In reply to Michail Vourlakos from comment #6)
> (In reply to jendal from comment #5)
> > I've added an image of the backtrace as the bug started occurring again.
> 
> crash report does not contain any latte code reference...
> this is starting to feel more like one of your applets is crasing or your
> graphic driver issue.
> I personally do not user VDs at all and use only Activities . In my system
> such crash never occurs.

I'll try removing applets as it occurs on both of my computers. Should I comment if I find the troublesome applet? 

And thanks for the very quick feedback.
Comment 8 Michail Vourlakos 2022-03-17 09:59:28 UTC
(In reply to jendal from comment #7)
> (In reply to Michail Vourlakos from comment #6)
> > (In reply to jendal from comment #5)
> > > I've added an image of the backtrace as the bug started occurring again.
> > 
> > crash report does not contain any latte code reference...
> > this is starting to feel more like one of your applets is crasing or your
> > graphic driver issue.
> > I personally do not user VDs at all and use only Activities . In my system
> > such crash never occurs.
> 
> I'll try removing applets as it occurs on both of my computers. Should I
> comment if I find the troublesome applet? 
> 
> And thanks for the very quick feedback.

yep, good to know if there is an applet producing this
Comment 9 Jackson 2024-10-28 15:27:40 UTC
This has affected me for along time, and when needing to switch desktops often Latte Dock would crash so frequently it became useless, sometimes multiple times within a few minutes.

I narrowed down the problem to the Latte Tasks widget (even with no other applets Latte would crash). I use a Unity-style setup with a panel on the left, so my workaround was simple to stop using Latte Tasks and use KDE's Icons-Only Task manager. Then latte-dock is fine and I haven't seen it crash in over a week.

I did try to use Latte Tasks but using the default "Plasma" indicators, and that seemed to work fine too. Switching the indicators to "Latte" soon brought back the crashes, but then going back to Plasma didn't make the problem go away after it started (hence just going back to using the Icons-Only Task manager).