-
-
Notifications
You must be signed in to change notification settings - Fork 160
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
Agent can sometimes hang #283
Comments
Miiiiiiiiiight be related to it losing the file handle? Like if another agent launches and grabs it. |
I know this is not very helpful, but I just had the same issue. Killing the agent process has nudged it back. MacBook Air M1 running macOS Monterey 12.1 (21C52). If there are any steps to grab debug information next time it happens, let me know and I'll try to acquire it. |
👋 Having the same (AUTH_SOCK env set up, socket.ssh showing in the right folder etc). Running macOS Monterey 12.2 Beta (21D5025f) on a MacBook Air M1 w/ 7 GPU cores. Let me know if I can do anything to help diagnose! |
👋 appreciate the offers for help everyone! If you run into this, can you please post, from
|
And, of course, if anyone somehow figures out steps to reproduce, that'd be extra helpful ;) |
I can certainly post the information you asked when it happens again, but (thankfully) most of the time it just works so it could take a while. I'm not sure about the others, but I wouldn't have steps to reproduce. Like I said, it usually just works, but some times when SSHing to a host it doesn't offer the Secretive keys. That's all. |
You'll need a custom build that includes #291 for these instructions to be useful – currently trying to get Apple to fix an App Store Connect bug that's breaking notarization, and then I'll get a build for that up. |
Thanks. I built it locally but it doesn't find any of my keys in the Secure Enclave. I suspect they're tied to the bundle identifier, is that right? If you're able to provide me with a debug build that can access my keys, I'm happy to run it and wait for the issue to happen again, but I would rather avoid having to re-create the keys and the worse part updating every place where I added the public keys. |
@c10l yeah it's dependent on bundle ID. There's one built now (https://github.com/maxgoedjen/secretive/actions/runs/1636743208) but unfortunately having some issues with notarization service right now. It's still signed and everything just not notarized. Hopefully fixed in a few days, if you're not comfortable with an unnotarized build (extremely understable in context). |
Alright, test build (with notarization) here: https://github.com/maxgoedjen/secretive/actions/runs/1641979026 |
Nice one, thanks! Nice you sorted out the notarisation even before I had a chance to ge the previous version. I've installed it now, showing as |
Has been happening to me as well and it just happened now (Apple M1 Max, macOS 12.1). I did not run the test build from https://github.com/maxgoedjen/secretive/actions/runs/1641979026 yet but this is the output you asked for in a previous comment:
https://gist.github.com/kirooshu/39a90d01c18343abed376bc1b52e5b8c |
Running |
I've ran into this issue a few times in the last couple of weeks, here's the activity manager info from my system. No reproduction steps unfortunately, this seems to happen randomly during long periods of display sleep.
Open Files and Ports
Sample of SecretAgent
|
This just happened to me with the 0.0.0_beta1 (1.1641979026) build.
Open Files and Ports
Sample
|
This is happening to me constantly on Secretive 2.2.0
Open Files and Portscwd /Users/kakoni/Library/Containers/com.maxgoedjen.Secretive.SecretAgent/Data txt /Applications/Secretive.app/Contents/Library/LoginItems/SecretAgent.app/Contents/MacOS/SecretAgent txt /Library/Preferences/Logging/.plist-cache.O8TN2ttm txt /usr/lib/dyld txt /usr/share/icu/icudt70l.dat txt /private/var/db/timezone/tz/2022a.1.0/icutz/icutz44l.dat txt /private/var/db/analyticsd/events.allowlist txt /System/Library/CoreServices/SystemAppearance.bundle/Contents/Resources/SystemAppearance.car txt /System/Library/CoreServices/SystemAppearance.bundle/Contents/Resources/Aqua.car txt /System/Library/CoreServices/SystemAppearance.bundle/Contents/Resources/FauxVibrantLight.car txt /System/Library/CoreServices/SystemAppearance.bundle/Contents/Resources/VibrantLight.car txt /Applications/Secretive.app/Contents/Library/LoginItems/SecretAgent.app/Contents/Resources/Base.lproj/Main.storyboardc/MainMenu.nib txt /private/var/db/mds/messages/501/se_SecurityMessages txt /System/Library/Keyboard Layouts/AppleKeyboardLayouts.bundle/Contents/Resources/AppleKeyboardLayouts-L.dat txt /System/Library/Caches/com.apple.IntlDataCache.le.kbdx txt /System/Library/CoreServices/CoreGlyphs.bundle/Contents/Resources/Assets.car 0 /dev/null 1 /dev/null 2 /dev/null 3 /Users/kakoni/Library/Containers/com.maxgoedjen.Secretive.SecretAgent/Data/socket.ssh 4 ->0x5e21138d55b42ed5 5 ->0x5e21138d55b42e0d 8 /Users/kakoni/Library/Containers/com.maxgoedjen.Secretive.SecretAgent/Data/socket.ssh SampleSampling process 1047 for 3 seconds with 1 millisecond of run time between samples Sampling completed, processing symbols... Analysis of sampling SecretAgent (pid 1047) every 1 millisecond Process: SecretAgent [1047] Path: /Applications/Secretive.app/Contents/Library/LoginItems/SecretAgent.app/Contents/MacOS/SecretAgent Load Address: 0x100bc4000 Identifier: com.maxgoedjen.Secretive.SecretAgent Version: 2.2.0 (1) Code Type: ARM64 Platform: macOS Parent Process: ??? [1] |
I think this is fixed by #495 – if anyone sees it again please reopen. |
Don't have any good steps to reproduce this currently, but does occasionally happen.
The text was updated successfully, but these errors were encountered: