Bug 432695 - Discover doesn't exit cleanly
Summary: Discover doesn't exit cleanly
Status: RESOLVED DUPLICATE of bug 431319
Alias: None
Product: Discover
Classification: Applications
Component: discover (show other bugs)
Version: 5.20.90
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Dan Leinir Turthra Jensen
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-02-09 16:47 UTC by Nate Graham
Modified: 2021-04-07 19:04 UTC (History)
1 user (show)

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


Attachments
Doesn't exit cleanly (452.71 KB, video/mp4)
2021-02-09 16:47 UTC, Nate Graham
Details
So many threads (33.47 KB, text/plain)
2021-02-10 04:52 UTC, Nate Graham
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nate Graham 2021-02-09 16:47:23 UTC
Created attachment 135535 [details]
Doesn't exit cleanly

Everything KDE from git master.

See screen recording.

When Discover's main window is closed, the process doesn't fully exit. This makes it look like it's not running, but if you try to launch it, it won't launch, because it's already running. Needless to say, this is not an optimal user experience.

This started happening to me over the last few weeks. First it happened some of the time, now it's graduated to being 100% reproducible. I'm not sure what changed on my system to provoke this, but whatever it is, Discover is not happy about it.
Comment 1 Nate Graham 2021-02-09 17:05:53 UTC
Looks like the main process does eventually exit after 30 seconds to a minute. Still it should exit immediately as soon as the main window is closed.
Comment 2 Aleix Pol 2021-02-10 01:16:09 UTC
can you take a backtrace?

You can do it by running it in gdb, closing discover and as it's in this 30s frame press Ctrl+C on gdb then run "thread apply all bt".

This should give us a backtrace for every running thread, hopefully will tell us who is keeping us.

FWIW I cannot reproduce.
Comment 3 Nate Graham 2021-02-10 04:52:08 UTC
Created attachment 135552 [details]
So many threads

So many threads. I'm attaching the backtrace as a text file because it's rather long.
Comment 4 Nate Graham 2021-04-07 19:04:25 UTC
*** This bug has been marked as a duplicate of bug 431319 ***