Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't quit Keka #709

Closed
criswaller opened this issue Nov 29, 2020 · 22 comments
Closed

Can't quit Keka #709

criswaller opened this issue Nov 29, 2020 · 22 comments

Comments

@criswaller
Copy link

criswaller commented Nov 29, 2020

👉 To fix this issue update to v1.2.8 or newer

Due to a bug in the terminate code, if you have "Automatically download and install updates in the future" selected in a version between versions 1.2.0 and 1.2.7 Keka will need to be force-quit after it automatically updates in the background. More detailed info in #709 (comment).

Original report

I cannot quit Keka from the Dock, Force Quit or Activity Monitor. I had to use killall from Terminal.

@aonez aonez self-assigned this Nov 30, 2020
@aonez aonez added this to the 1.2.5 milestone Nov 30, 2020
@aonez
Copy link
Owner

aonez commented Nov 30, 2020

Hi @criswaller,

Does this happens always? Only after extracting/compressing specific files? Can you check if there's any log from Keka in the Console.app?

Thanks!

@cryptochrome
Copy link

cryptochrome commented Dec 2, 2020

I can confirm this issue exists. I have the same problem. I haven't found a pattern yet on when it happens or under what circumstances. It just happens every time I use Keka. The process doesn't react to sigterm or quitting through Finder.

What I can tell though is that there are hundreds (!) of running "Keka Finder Integration" processes running (see screenshot below).

macOS 11.0.

Screenshot Activity Monitor 2020-12-03 00-16-00

@aonez
Copy link
Owner

aonez commented Dec 3, 2020

Wops... @cryptochrome not sure what's happening there. Can you enable the "Enable debug information" and "Save debug information" and once you reproduce the issue share with me the logs of Keka?

Screenshot 2020-12-03 at 15 39 56

You can disable the Finder Extension meanwhile, not sure why you have that many. macOS is the one that spawns/kills it, not Keka directly.

@franckm-rait are you having the same problem? Not able to close Keka or too many Finder Extensions?

@franckm-rait
Copy link

@aonez Yes, exactly the same problem. When I use Keka on Big Sure (X86), I can't shutdown the computer without Force Quit Keka.

Seems not to be linked to the extraction of certain type of file. Not checked on extension.

@no-response no-response bot closed this as completed Dec 7, 2020
@aonez aonez reopened this Dec 7, 2020
@aonez aonez added the blessed label Dec 7, 2020
@no-response no-response bot closed this as completed Dec 7, 2020
Repository owner deleted a comment from no-response bot Dec 9, 2020
Repository owner deleted a comment from no-response bot Dec 9, 2020
@aonez aonez added bug and removed more info needed labels Dec 9, 2020
@aonez aonez reopened this Dec 9, 2020
@aonez aonez modified the milestones: 1.2.5, Look at Dec 14, 2020
@nighto
Copy link

nighto commented Dec 14, 2020

Happens with me as well. When you press Quit button, it only minimizes the application; the icon remains on the Dock with the running dot symbol.

arlindo.pereira@nb-apereira ~ % ps xau | grep eka
arlindo.pereira  24299   0.0  0.1  4450912  10408   ??  Ss   10:15PM   0:00.68 /Applications/Keka.app/Contents/PlugIns/KekaFinderIntegration.appex/Contents/MacOS/KekaFinderIntegration
arlindo.pereira  23983   0.0  0.1  4450912  10224   ??  Ss   10:00PM   0:00.66 /Applications/Keka.app/Contents/PlugIns/KekaFinderIntegration.appex/Contents/MacOS/KekaFinderIntegration
arlindo.pereira  23832   0.0  0.1  4450912  10172   ??  Ss    9:55PM   0:00.67 /Applications/Keka.app/Contents/PlugIns/KekaFinderIntegration.appex/Contents/MacOS/KekaFinderIntegration
arlindo.pereira   1363   0.0  0.0  4415900      8   ??  Ss   Thu05PM   0:00.09 /Applications/Keka.app/Contents/XPCServices/org.sparkle-project.InstallerConnection.xpc/Contents/MacOS/org.sparkle-project.InstallerConnection
arlindo.pereira    847   0.0  0.0  4428392    108   ??  Ss   Thu05PM   0:00.78 /Applications/Keka.app/Contents/XPCServices/org.sparkle-project.InstallerLauncher.xpc/Contents/MacOS/org.sparkle-project.InstallerLauncher
arlindo.pereira    674   0.0  0.0  4431968    756   ??  Ss   Thu05PM   0:01.43 /Applications/Keka.app/Contents/XPCServices/org.sparkle-project.Downloader.xpc/Contents/MacOS/org.sparkle-project.Downloader
arlindo.pereira    665   0.0  0.0  4454960   5372   ??  Ss   Thu05PM   0:01.93 /Applications/Keka.app/Contents/PlugIns/KekaFinderIntegration.appex/Contents/MacOS/KekaFinderIntegration
arlindo.pereira    658   0.0  0.0  4369664      8   ??  Ss   Thu05PM   0:00.06 /Applications/Keka.app/Contents/XPCServices/org.sparkle-project.InstallerStatus.xpc/Contents/MacOS/org.sparkle-project.InstallerStatus
arlindo.pereira    562   0.0  0.2  5008364  35560   ??  S    Thu05PM   0:07.66 /Applications/Keka.app/Contents/MacOS/Keka -psn_0_98328
arlindo.pereira  42189   0.0  0.0  4268216    556 s000  R+    4:38PM   0:00.00 grep eka

The log just says:

2020-12-14 16:33:05.419 DEV: Update in progress, closing automatically when done...
2020-12-14 16:34:35.234 DEV: Update in progress, closing automatically when done...

Disabling the extension on Keka's Preferences window won't change the situation.

If it helps I can also record a short video.

Thanks in advance.

@gingerbeardman
Copy link
Contributor

These "Keka Finder Integration" processes are managed by macOS and it keeping them around is by design. See: knurling/ServiceStation#17

If there's an issue with Keka itself quitting, then that must be considered separately.

@aonez
Copy link
Owner

aonez commented Dec 16, 2020

@nighto does this happens constantly for you? Does it not update eventually? At least now I have something to test 😉

@Oleg-Chashko
Copy link
Contributor

Oleg-Chashko commented Dec 16, 2020

Hi @aonez
These "Keka Finder Integration" processes are managed by macOS and it keeping them around is by design.
Is this really normal for MacOS? o_0

Screenshot Screenshot 2020-12-16 at 09 43 13

@nighto
Copy link

nighto commented Dec 16, 2020

@aonez yeah, it is always present on alt-tab; if I press Cmd+Q it only minimizes, does not close. Somewhat annoying but I'm ignoring it so far :P

@aonez
Copy link
Owner

aonez commented Dec 16, 2020

@Oleg-Chashko let's follow that other issue here: #734

@aonez
Copy link
Owner

aonez commented Dec 16, 2020

@nighto what version of Keka are you using? If you disable "Automatically check for updates" in Keka's Preferences it still refuses to quit?

@nighto
Copy link

nighto commented Dec 16, 2020

@aonez it's Version 1.2.0 (4179). Indeed, unchecking the Check for updates checkbox solved the issue.

@aonez
Copy link
Owner

aonez commented Dec 16, 2020

Thanks for the feedback @nighto! So clearly at least that version has an issue updating. Can you manually update to the latest v1.2.5 and see (in the next days) if the error reproduces with "Automatically check for updates" enabled?

@criswaller @cryptochrome @franckm-rait @IvanStanul are you running the latest version of Keka?

@cryptochrome
Copy link

I can confirm 1.2.5 fixes the issue for me. App quits just fine now. I also don't seem to have dozens of Finder Integration processes anymore.

Kudos for fixing it! 👍

@nighto
Copy link

nighto commented Dec 16, 2020

@aonez I can confirm it has been fixed as well. Thanks a lot! :)

@wary-hermit
Copy link

Confirming also that new update fixed the problem for me, thanks!

@Stanzilla
Copy link

I noticed the same, always when there is an update, keka won't close and I have to force quit it, sometimes multiple times. last noticed it with the update to 1.2.7 today

@aonez aonez added the fixed label Jan 25, 2021
@aonez
Copy link
Owner

aonez commented Jan 25, 2021

Thanks for the feedback @Stanzilla and all of you.

Finally fixed this one. This only happens when you have "Automatically download and install updates in the future" selected so Keka updates in the background. Once the update is downloaded and installed Keka is unable to quit due a bug in the terminate code. This is fixed in the upcoming v1.2.8.

I recommend all affected with this issue to call "Check for updates" to update to v1.2.8 or even download the full Keka package and install it manually. Once in that new version the automatic download in the background will work flawlessly.

I'll be updating the main topic of the issue with this instructions for newcomers.

@nighto
Copy link

nighto commented Jan 25, 2021

Hi, just happened to me a few minutes ago while trying to upgrade MacOS to Big Sur.

Screenshot 2021-01-25 at 11 54 34

had to manually open a terminal, grep for Keka and manually kill the processes to be able to continue the installation.

@aonez
Copy link
Owner

aonez commented Jan 25, 2021

Yep @nighto... I'm releasing v1.2.8 hopefully tomorrow. Sorry about that!

@aonez
Copy link
Owner

aonez commented Jan 27, 2021

1.2.8 and subsequently a hotfix 1.2.9 has been released. Closing this one. Thanks to all!

@aonez aonez closed this as completed Jan 27, 2021
@nighto
Copy link

nighto commented Jan 27, 2021

Thank you @aonez =)

@aonez aonez pinned this issue Jan 28, 2021
@aonez aonez unpinned this issue Feb 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

9 participants