| Summary: | Discover notifier crashes in flatpak_installation_create_monitor() every time on boot | ||
|---|---|---|---|
| Product: | [Applications] Discover | Reporter: | saunders |
| Component: | Notifier | Assignee: | Plasma Bugs List <plasma-bugs-null> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | crash | CC: | aleixpol, mikael79, nate, phil, swami |
| Priority: | HI | Keywords: | drkonqi, regression |
| Version First Reported In: | 5.26.0 | ||
| Target Milestone: | --- | ||
| Platform: | Compiled Sources | ||
| OS: | Linux | ||
| See Also: | https://bugs.kde.org/show_bug.cgi?id=323151 | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | https://crash-reports.kde.org/organizations/kde/issues/306818/ | ||
|
Description
saunders
2022-10-15 19:42:25 UTC
Thanks for bug bug report. Would you be able to compile with debug symbols for Flatpak and Discover's Flatpak backend and attach a new symbolicated backtrace so we can get a better look? Thanks! Also, is this a regression compared to Plasma 5.25? Or was it happening there too? worked in 5.25 I didn't get a better debug but I did find the problem. Found out if I start "/usr/lib64/libexec/DiscoverNotifier" manually after booting everything is good. Turns out the issue was one of my drives mounts after DiscoverNotifier runs. That drive is where I keep most flatpak files. I fixed the issue and now it loads every time. You can delete this. Thanks for looking into this, glad that everything works now. Seems like a new instance of the age-old automount race condition. Can we make the Notifier run only after all automounted volumes have been automounted? I would expect that the autostart processes wouldn't get started after automount has happened at all. I don't think it's Discover-specific by any means and I'm unsure how this automount works. (In reply to Aleix Pol from comment #6) > I would expect that the autostart processes wouldn't get started after > automount has happened at all. It does though, that's the bug. It causes other issues, not just this. So this is indeed not a Discover-specific issue, but rather a general one. Found the bug report for it: Bug 323151. *** This bug has been marked as a duplicate of bug 323151 *** I have a custom setup I wrote to do full disk encryption. The encrypted drive with the flatpack files is mounted after the main drive has booted, and I thought I had it unencrypting high enough up the chain to avoid issues like this. Apparently not. So I wrote a boot level init script and now all is well. So yeah, this one was very much unique to me. *** Bug 463070 has been marked as a duplicate of this bug. *** *** Bug 467012 has been marked as a duplicate of this bug. *** *** Bug 478334 has been marked as a duplicate of this bug. *** *** Bug 511602 has been marked as a duplicate of this bug. *** Years later we're no closer to implementing Bug 323151, and according to sentry, the issue is escalating, with 25k crashes in the last month. The race condition thing may have been a red herring. Un-duping and raising priority. Looks like a fix for this was just released in Plasma 6.5.4, tracked by Bug 493686. Duping to that until and unless we get evidence that it's still happening. *** This bug has been marked as a duplicate of bug 493686 *** |