Bug 463919 - Frequent kwin_wayland crash
Summary: Frequent kwin_wayland crash
Status: RESOLVED DUPLICATE of bug 448825
Alias: None
Product: krunner
Classification: Plasma
Component: general (show other bugs)
Version: 5.26.5
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-01-06 10:43 UTC by Gustavo Parreira
Modified: 2023-01-06 20:43 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
crashlog (36.52 KB, text/plain)
2023-01-06 10:43 UTC, Gustavo Parreira
Details
coredump (27.05 KB, text/plain)
2023-01-06 10:49 UTC, Gustavo Parreira
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gustavo Parreira 2023-01-06 10:43:05 UTC
Created attachment 155069 [details]
crashlog

SUMMARY

I'm getting frequent, seemingly random crashes on KDE Wayland. Most of the times it happens when opening a new program, but sometimes it happens just by merely using Firefox.

I use the Overview Desktop Effect to open my apps, but this crash was also happening with the Applications Menu widget.

Not sure if both types of crashes are related, but in one of the cases my panels just disappear and restart automatically a few seconds later, while in the other one the entire session crashes and restarts, killing off all of my open processes.

There doesn't seem to be a specific way to reproduce the issue, but I was able to reproduce the crash and get a crash log by opening BitWarden and then, immediately after, opening Authy.

STEPS TO REPRODUCE
1. Open a new program

OBSERVED RESULT

Sometimes plasmashell will restart itself, other times the entire session will crash and restart

EXPECTED RESULT

Program opens and session remains intact

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch Linux/KDE Wayland
(available in About System)
KDE Plasma Version: 5.26.5
KDE Frameworks Version: 5.101.0
Qt Version: 5.15.7
Comment 1 Gustavo Parreira 2023-01-06 10:49:14 UTC
Created attachment 155070 [details]
coredump
Comment 2 Gustavo Parreira 2023-01-06 11:09:05 UTC
UPDATE:

This actually seems entirely related to the Overview Desktop Effect. I was under the impression that I saw this behavior with Application Launcher, but while I am able to reliably replicate this crash in Overview by opening BitWarden and Authy in quick succession, I am unable to replicate with Application Launcher.
Comment 3 David Edmundson 2023-01-06 16:38:17 UTC
Crash in a runner thread:

#8  0x00007faf60ea9f27 in realloc () at /usr/lib/libc.so.6
#9  0x00007faf61d20e09 in QListData::realloc_grow(int) () at /usr/lib/libQt5Core.so.5
#10 0x00007faf61d20eb3 in QListData::append(int) () at /usr/lib/libQt5Core.so.5
#11 0x00007faf63c8b256 in  () at /usr/lib/libKF5Service.so.5
#12 0x00007faf63c8e06d in KServiceFactory::serviceOffers(int, int) () at /usr/lib/libKF5Service.so.5
Comment 4 David Edmundson 2023-01-06 16:39:04 UTC
I moved to krunner, but it's equally plausible that kwin is deleting a runner whilst a thread is active.
Comment 5 Nicolas Fella 2023-01-06 20:09:29 UTC
(In reply to David Edmundson from comment #4)
> I moved to krunner, but it's equally plausible that kwin is deleting a
> runner whilst a thread is active.

*** This bug has been marked as a duplicate of bug 448825 ***
Comment 6 Nicolas Fella 2023-01-06 20:09:58 UTC
(In reply to David Edmundson from comment #4)
> but it's equally plausible that kwin is deleting a
> runner whilst a thread is active.

Exactly, see https://bugs.kde.org/show_bug.cgi?id=448825
Comment 7 Gustavo Parreira 2023-01-06 20:39:20 UTC
(In reply to Nicolas Fella from comment #6)
> (In reply to David Edmundson from comment #4)
> > but it's equally plausible that kwin is deleting a
> > runner whilst a thread is active.
> 
> Exactly, see https://bugs.kde.org/show_bug.cgi?id=448825

Seems very related to this issue, with the exception that in that issue the replication steps are slightly different and kwin_wayland hard crashes for me instead of just locking up.

Either way, this could actually be a symptom of the same issue. I'll wait for Plasma 5.27 and check if it still happens after that commit.
Comment 8 Gustavo Parreira 2023-01-06 20:42:50 UTC
Actually, the version of krunner I am running does include that commit, so it seems like this issue was not fully resolved.
Comment 9 Gustavo Parreira 2023-01-06 20:43:39 UTC

*** This bug has been marked as a duplicate of bug 448825 ***